@niclas said in RFM69/95 won't run:
#define MY_RFM95_FREQUENCY (RFM95_434MHZ)
#define MY_RFM95_MODEM_CONFIGRUATION RFM95_BW125CR48SF4096
#define RFM95_RETRY_TIMEOUT_MS (3000ul)
#define MY_TRANSPORT_STATE_TIMEOUT_MS (3000ul)
Hi Nicals,
thanks for the hints with the defines. Currently I am using this sketch:
#define MY_RADIO_RFM95
#define MY_DEBUG_VERBOSE_RFM95
#define MY_RFM95_FREQUENCY (RFM95_434MHZ)
#define MY_RFM95_MODEM_CONFIGRUATION RFM95_BW125CR48SF4096
#define RFM95_RETRY_TIMEOUT_MS (3000ul)
#define MY_TRANSPORT_STATE_TIMEOUT_MS (3000ul)
#define MY_BAUD_RATE 9600
#include <MySensors.h>
#define CHILD_ID 1
MyMessage msg(CHILD_ID, V_TRIPPED);
void setup() {
}
void presentation()
{
present(CHILD_ID, S_MOISTURE);
}
void loop() {
send(msg.set(12));
sleep(10000);
}
So pretty basic I think. However I still get with your defines the error:
208 RFM95:INIT
292 RFM95:INIT:PIN,CS=10,IQP=2,IQN=0
342 RFM95:PTX:LEVEL=13
364 !RFM95:INIT:SANCHK FAIL
395 RFM95:RSL
Unfortunalety my replacement still didn't arrive (i guess due to the COVID-19 crisis....) so I can just work with the breakouts I got.
What exactly do you mean with:
@niclas said in RFM69/95 won't run:
And also:
The fourth line (configuration) needs to be the same on both the node and the gateway in order to work.
Be sure to set the frequncy to 434Mhz on both devices as well.
I can't get is running on one devices (Pro Mini) due to the above mentioned errors, so I didn't even tried it with a second device. What exactly do you mean with fourth line? And which are the "both devices"?