Hi guys, first a big thanks for your great work. I spend lot of hours (~15h) to get your examples running, but without success. So i ask kindly for your help please.
I build up a gateway and a sensor node. All code is untouched example code from git or mysensors.com.
The problem i've, that the node does not get a sensorID from the gateway.
The sensor sends a request to the gateway, the gateway receives the request and that's it.
gateway log:
*0;0;3;0;14;Gateway startup complete.
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
*
sensor log
eq node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
sensor started, id 255
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
As the eeprom of both was filled up with 0xFF (255), the sensor starts with id 255. As all MySensor code examples are configured to work with AUTO ID, the sensor should get an ID and hold that in the eeprom, but this does not happen in my environment. Am i right until here?
After reading some parts of source code, i've tried manually to write the sensorID to the sensor eeprom and sensor starts with sending out his presentation and sensor data. Gateway was receiving sensor data too.
Maybe the communication is only working in one way: sensor-->gateway, but not in the other way: gateway-->sensor. But why??
A listing what i've already tried:
-
hardware:
-
gateway:
- type:
- arduino:
- pro mini 5V (m328)
- pro mini 3.3V (m328)
- uno (m328)
- mega 2560
-
node:
- arduino:
- pro mini 5V (m328)
- pro mini 3.3V (m328)
- uno (m328)
-
nrf24l01:
- capacitors:
- foil 100nF
- and electrolytic capacitor (1µ - 470µ)
- power supply
- arduino powered and external power supply
- 3.3v stable, yes
- connection
- verified 100 times, it must be correct
- breadboard and flying wires
- tried 10 different nrf24l01 modules
- modules looks like this:
-
software:
-
ide
- 1.0.5-r2 (windows)
- 1.0.5 (linux)
- 1.5.7 beta (windows)
-
mySensors
- 1.4 stable
- 1.4 dev
- 1.3 stable
- eeprom clear, yes - many times
I've read a lot of forum posts, but without any answer that fixed my problem.
I have no idea anymore what i can try as next.
So please, i need you help.