-
• #2
I'll see if I can find time to test this this weekend - I've got the boards with me.
-
• #3
Great - thanks!
-
• #5
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.
-
• #6
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:
>echo(0); =undefined > =undefined >onInit() =undefined >Uncaught Error: RFM69 not found at line 1 col 58 ...row Error("RFM69 not found");b.w(47,85);if(85!=b.r(47))throw... ^ in function called from system =undefined >
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
-
• #7
I'm pretty sure
RFM69 not found
happens if it's not wired up correctly.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?
-
• #8
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
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.