Greetings,
I purchased one moteino ("A") to experiment with, then a little while later I bought two more ("B" and "C").
These later two ("B" and "C") still have their original sketches loaded. One is a "sender", the other
is a "listener".
I am trying to get my first unit ("A") to talk to the working pair, but I cannot seem to find the right configuration. So my question is, do you (Felix) always pre-program with the values shown in the sketches in the RFM12B/Examples, or might the values be different?
For example, my Listener ("C") reports that it hears Node 27 ("B"). I believe that the listener is loaded with the sketch "Test_2way_Gateway", which shows a NetworkID value of 50.
On the other hand, I assume my sender ("B") is loaded with the sketch "Send" which shows a NetworkID value of 99.
I guess everything (Network, Gateway, Key) must match, and the node IDs must be proper, or nothing will hear my first unit ("A"). But there's no way to peek at the sketches loaded in "B" and "C".
I was hoping to prove out A can talk to B & C before taking the leap of faith and reprogramming B & C. Let me know if it is feasible, please!
Thank you again for these wonderful things.
-Chris
Hey Chris,
I load them with test sketches to prove to myself that I'm sending out good units that can be programmed and actually have working radios.
Over time I have been making small changes in the sketches. Most notably, I recently found a bug in the encryption routine. So that could very well explain why your older node doesn't talk to the newer ones. I would not worry about reprogramming them, as long as you use an FTDI adapter.
Also, the test sketches I have on github should be adjusted with settings matching your hardware, ie the frequency.
Hope this helps.