- Posts: 30
- Thank you received: 0
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:
req node id
send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
sensor started, id 255
req node id
send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
req node id
send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
req node id
send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
req node id
send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
req node id
send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
T: 24.00
req node id
send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:
H: 35.00
#ifndef MyConfig_h
#define MyConfig_h
/***
* Configure Sensor Network
*/
#define RF24_CHANNEL 90 //RF channel for the sensor net, 0-127
#define RF24_DATARATE RF24_250KBPS //RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps
#define RF24_PA_LEVEL RF24_PA_MAX //Sensor PA Level == RF24_PA_MIN=-18dBm, RF24_PA_LOW=-12dBm, RF24_PA_HIGH=-6dBM, and RF24_PA_MAX=0dBm
#define RF24_PA_LEVEL_GW RF24_PA_LOW //Gateway PA Level, defaults to Sensor net PA Level. Tune here if using an amplified nRF2401+ in your gateway.
#define BASE_RADIO_ID ((uint64_t)0xA8A8E1FC00) // This is also act as base value for sensor nodeId addresses. Change this (or channel) if you have more than one sensor network.
// MySensors online examples defaults
#define DEFAULT_CE_PIN 9
#define DEFAULT_CS_PIN 10
/***
* Enable/Disable debug logging
*/
#define DEBUG
#endif
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
PaulRB wrote: Thanks for the suggestion. The ClearEepromConfig sketch ran with no problems. Unfortunately I am still getting the exact same output from the Humidity sketch.
Can you tell me what the "st=fail" actually means? Could it indicate that the radio module is not working properly? (I have tested them before with other Arduino sketches)
And why does the output say "sensor started, id 255" and then immediately after "req node id"?
Is there any output from the Pi side that would be helpful?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
PaulRB wrote: Thanks. Did you mean that the Arduino fails to send a message to the Pi?
I have caps close to both nrf modules, as you can see in the pics I posted earlier. I remember, when I was running other sketches a while back, that the caps helped increase the range that the units would work over. At the moment they are <1m apart.
Please Log in or Create an account to join the conversation.