I'm a Moteino newbie, just received a pair of Moteino R2s. Their default behavior, as shipped, was to transmit 'A', 'AB', 'ABC', etc from one Moteino to the other. I next compiled and uploaded the simple "Blink" program into the "receiver" Moteino, and saw the LED blink on and off as it should.
How do I now restore the default behavior of the pair of Moteinos? Is the source or ".hex" code for this behavior available somewhere?
As stated on the instructions on the invoice, they come bundled with the default Sender/Receiver code that is available on my github repository.
Here are all the examples available for the RFM12B library: https://github.com/LowPowerLab/RFM12B/tree/master/Examples (https://github.com/LowPowerLab/RFM12B/tree/master/Examples)
The sketches I use to preload are the "Test_2way_gateway" and "Test_2way_node_withFlash"
Thanks for the reply. Sorry I must ask these dumb newbie questions. I'm an experienced programmer, but brand new to Moteino and Arduino programming.
I uploaded the "Test_2way_gateway" script into my moteino receiver (marked with colored label). It now displays "Listening at 433mhz" like it originally did, but is evidently not receiving anything from the "transmitter" moteino.
Did I upload the wrong script?
Maybe a parameter, such as NODEID or NETWORKID or the encryption KEY, doesn't match between the transmitter(slave) and receiver (master). These parameters in Test_2way_gateway were set to: NODEID 1, NETWORKID 50. The "receiver" moteino originally displayed lines like: "[56] 123 ABCDEFG...", indicating some parameter was set to 56.
Should I simply upload the "Test_2way_node" example into my other moteino? It looks like it's paremters are set to match those in "Test_2way_gateway".
All parameters must match. Frequency must match the hardware otherwise RF performance will suffer. Node IDs also have to be different.