Jesus Christ.... forgot to pull the reset pin low... it seems to be working nowHello,
I'm trying to get this library to work with the Arduino Nano and Adafruits RFM69HCW Breakout module (
https://www.adafruit.com/product/3070).
I have connected these modules like this:
Arduino | Adafruit RFM69 |
5V | VIN |
GND | GND |
D2 | G0 |
D13 | SCK |
D12 | MISO |
D11 | MOSI |
D10 | CS |
Note: The Adafruit modules have a built in voltage regulator and level shifter.
I tried several different examples from the ones that came with the library itself and other tutorials like the Sparkfun one (
https://learn.sparkfun.com/tutorials/rfm69hcw-hookup-guide), but the nodes always get stuck when trying to send something. With the Button example it registers the button press (printing the respective text to the serial monitor) and then it's stuck. I've added an additional Serial.println (because I don't have an LED connected) within the if-statement around the send command, but it never gets printed. The built in LED of the Arduino, which is connected to pin13, also is permanently on after the button was pressed.
if (radio.sendWithRetry(RECEIVER, "Hi", 2)) //target node Id, message as string or byte array, message length
Blink(LED, 40, 3); //blink LED 3 times, 40ms between blinks
Serial.println("sending ok"); // never appears on the serial monitor
}
It would be great if someone could point out the issue causing this.
Thanks