Author Topic: Getting stuck with Arduino Nano and Adafruit RFM69HCW  (Read 1590 times)

fz

  • NewMember
  • *
  • Posts: 1
Getting stuck with Arduino Nano and Adafruit RFM69HCW
« on: November 16, 2017, 12:18:53 PM »
Jesus Christ.... forgot to pull the reset pin low... it seems to be working now


Hello,

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:
ArduinoAdafruit RFM69
5VVIN
GNDGND
D2G0
D13SCK
D12MISO
D11MOSI
D10CS

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.

Code: [Select]
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

« Last Edit: November 16, 2017, 12:27:35 PM by fz »