I’ve been playing around with the Grove Lora 433 for a while, and tought to give it a go on my Arduino mega. I’m using the client example, same code as on my Arduino Uno (which works great). But on my mega I get the following message:
RF95 client test.
Heres the code (I only changed pins to 3,4 instead of 5,6)
// -- mode: C++ --
// Example sketch showing how to create a simple messageing client
// with the RH_RF95 class. RH_RF95 class does not provide for addressing or
// reliability, so you should only use RH_RF95 if you do not need the higher
// level messaging abilities.
// It is designed to work with the other example rf95_server
// Tested with Anarduino MiniWirelessLoRa
// Singleton instance of the radio driver
SoftwareSerial ss(3, 4);
Serial.println(“RF95 client test.”);
// Defaults after init are 434.0MHz, 13dBm, Bw = 125 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC on
// The default transmitter power is 13dBm, using PA_BOOST.
// If you are using RFM95/96/97/98 modules which uses the PA_BOOST transmitter pin, then
// you can set transmitter powers from 5 to 23 dBm:
Serial.println(“Sending to rf95_server”);
// Send a message to rf95_server
uint8_t data = “Hello World!”;
// Now wait for a reply
uint8_t len = sizeof(buf);
// Should be a reply message for us now
Serial.print("got reply: ");
Serial.println(“No reply, is rf95_server running?”);
Anyone who knows whats causing this?
I have tried a few other megas, and changed pins to 30,31, and default 5,6 too.