Wireless programming Moteino R3

It works!

The last few weeks I have spent a lot of time tweaking the RFM69 library and trying to get the wireless programming to work. I believe the RFM69 library is now more stable and ready for some prime time and also the wireless programming is working nicely for Moteino R3. If you think about it, being able to reprogram a mote that is 200m away, or somewhere in a tree, underground, in your attic, or on the bottom of your pool, is a pretty cool thing.

I reorganized the Github repository a little, moved some files and now the classes for wireless programming are in their own repository to avoid conflicts with the SPIFlash lib:

https://github.com/LowPowerLab/WirelessProgramming

If you have a Moteino R3 (or R2) with the onboard FLASH chip, you are ready to try programming it wirelessly, go ahead, it’s pretty neat.

The examples for Moteino R2 and R3 are in the directories for their libraries: RFM12B and RFM69.

More great stuff is coming, I got a lot of ideas for Moteino R3, I am thinking of migrating my home wireless sensor network to R3 and implementing a lot more home automation on these.

4 thoughts on “Wireless programming Moteino R3

  1. I am excited with what you have done so far, but I would like to see a gateway/node example in which the gateway sends a specific command byte or message to the node requesting this or that data and the node responds with a once only response. Further down the road, it would be nice to see an example where a node initiates a message cycle based on new external input. With these features, and the what is already in your software, bluetooth doesn’t come close. Thanks again for your hard work and efforts.1

    • Thanks, I think the LEDs example illustrates that. It can be adapted for R3 also, and the other examples also show various requests. I will soon post more examples of what I’m doing. Just keep tuned 🙂

  2. I am curious how you arrived at using part AT25F512B for flash. I happen to have some AT45DB011D on hand, which are substantially similar though perhaps simpler software implementation.

    My curiosity comes from wanting to use the flash not only for wireless programming, but also logging some data, so that a sensor can be out of range when it takes its samples, but a collector can come by and request wirelessly for a sensor to send its log. Have not yet dived into your particular software implementation.

    I’m also trying to decide which of several libraries I should use to make a library compatible with rf12, rf69 (or rf22, now “old”) and the rf23bp long range transceiver. I want to have my gateway use a powerful radio to talk to a few far flung sensors, but use the less expensive and lower powered ones around the house, all in the same software.

    Just ideas… Great stuff you are doing!

    Cheers!

    • I used the atmel flash in the beginning but it was a slow chip so I ended up ditching it. BTW the wireless programming will use the first portion of the flash because the FLASH could be any size so there’s always a first 32k sector at address 0. So you can use anything beyond 32k to log your data.
      I am thinking of making a new RFM12B lib version, one that would match the RFM69 vars and function names. So all the examples would then work on both. But it’s number 1 million on my TO-DO list…

Comments are closed.