You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to send carefully timed, but arbitrary data, using this module? I'm looking to send 433MHz data that consists of high/low periods where each 'period' is a multiple of 400us. So I wondered could I clock the HSPI at 2500Hz and get it to stream '1s' and '0s' representing each needed high/low.
The text was updated successfully, but these errors were encountered:
Sure can. At 2500 Hz you can easily load more data once the 16byte buffer is exhausted without any noticeable delay.
A better option might be the i2s (not i2c) module, as I've seen people use it to drive WS2812 LEDs. The i2s module can also be used with DMA to continuously stream data in the background with no interruption to the main code. There should be a few examples around of this, but i've never used it myself.
Thanks. I'm looking at the I2S interface at the moment, the problem being that it cannot be slowed down to anything close to 2500Hz. I'm currently trying to run it at 80kHz and 'scale up' all my data by 32 (so 32 '1' bits represents a single HIGH in 433MHz speak). FYI, some of the I2S examples seem wrong as they imply a maximum divisor of (127 x 127) but it looks like it's (63 x 63); I suspect that someone didn't count the bit mask properly ;-). Oh, and I happen to have esp8266-01 which don't expose the HSPI pins - I'll know better for next time and get some esp8266-13s instead :-).
It is possible to send carefully timed, but arbitrary data, using this module? I'm looking to send 433MHz data that consists of high/low periods where each 'period' is a multiple of 400us. So I wondered could I clock the HSPI at 2500Hz and get it to stream '1s' and '0s' representing each needed high/low.
The text was updated successfully, but these errors were encountered: