RFM69 driver #885
Replies: 7 comments
-
Posted at 2015-06-19 by DrAzzy I'll see if I can find time to test this this weekend - I've got the boards with me. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-06-19 by @gfwilliams Great - thanks! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-07-09 by @gfwilliams @drazzy did you ever get a chance to look at this? It'd be nice to get it module-ified. What do you think about turning it into more of a stream-based interface, with |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-07-09 by DrAzzy Haven't even had a chance to look at it. A lot of my interest has dissipated since I am not doing anything long range, and now that I've gotten the 433mhz stuff working reliably, the short range radio is sufficient for what I'm working on. And there are just so many other projects in the queue. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-10-04 by dgustavus Hi! I am trying to get a Sparkfun RFM69HCW breakout board to work with a Pico. This is the only thread I can find about the RFM69 module. I am using the example in the tutorials for SPI connected devices to listen for incoming packets, but whenever I actually force the onInit() function to run by entering it in the web IDE, this happens:
I am not a very experienced js programmer, but can try to help debug this module with some guidance. There seems to be little interest in it, but having used an esp8266, I find that power is a consideration for battery operation and also the range through walls is not very good. In contrast, my Moteino network is superior in both of those areas. A Pico could be a very nice addition to the network with a working driver. Thanks, Duane |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-10-04 by @gfwilliams I'm pretty sure Basically on initialisation it tries to write to some registers and read the result, and errors if it can't: https://github.com/espruino/EspruinoDocs/blob/master/devices/RFM69.js#L82 Are you sure it's connected exactly as that page describes? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-10-04 by dgustavus Thanks Gordon! I am embarrassed to say I was one pin off in my connection. I moved everything over one pin and I get the Connected message. I still have not read a packet, but that probably has to do with the packet format the moteino uses. Now back to reading the docs. Duane |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-06-16 by @gfwilliams
Hi,
I just hacked up a very basic RFM69 driver. Not in a module yet because I'm sure it needs a lot of refinement, but:
Transmit:
Receive:
If anyone has some RFM69s they want to try out (@drazzy? :) ) I'd be interested to see how this works :) Currently this uses 433Mhz, but it can be changed pretty easily in the
connect
function.Beta Was this translation helpful? Give feedback.
All reactions