Problem with Jeenode V4
(Just to start with a bit of background – I’ve got 8 Jeenodes so far – 4 of these hand soldered without any real problems except for turning the radio the wrong way round for the first one)
I received my first 2 Jeenode V4’s a couple of days ago – and soldered them together, and started them up.
Both displayed the same behaviour – where the prompt for the Demo sketch cam up as one line, with no further activity.
I have spent a bit of time trying to find out why – including using a magnifying glass to check my soldering etc.
In the end I had to start software debugging – and it all ended up with these lines in RF12.cpp
” // wait until RFM12B is out of power-up reset, this takes several *seconds*
Serial.println(“Ready for rf12_xfer 3”);
rf12_xfer(RF_TXREG_WRITE); // in case we’re still in OOK mode
Serial.println(“Ready for digitalread”);
// while (digitalRead(RFM_IRQ) == 0)
As you can see between my debug statements I ended up with commenting out the “while” loop waiting for the RFM_IRQ pin.
With this line commented out both boards work as expected, and my ROOMS sketch works ok.
Running the DEMO sketch I have set the ID’s correctly, and receive packets from the other active nodes in the house.
Any ideas on what went wrong?