So, no possibility to strip down THE code? I will order the 328, but shipping takes a while
Posts made by Martien Wijnands
-
RE: Humidity Sensor Sketch too big for Arduino ProMini?
-
RE: Humidity Sensor Sketch too big for Arduino ProMini?
So it's too small?
-
Humidity Sensor Sketch too big for Arduino ProMini?
I bought a couple of 3.3v , 8Mhz Arduino clones;
http://www.aliexpress.com/item/Pro-Mini-ATmega168-3-3V-8MHz-Compatible-for-Arduino-ProMini/32579105597.htmlWhen I try to upload the humiditysensor.ino from the samples folder, I get the error, sketch too big.
Sketch uses 19,568 bytes (136%) of program storage space. Maximum is 14,336 bytes.
Global variables use 655 bytes (63%) of dynamic memory, leaving 369 bytes for local variables. Maximum is 1,024 bytes.Have I bought the wrong boards, or can I perhaps clean the code?
Thanks in advance!
-
RE: No communication between Sensor and Gateway
Hi,
I solved the issue!
My radio's were fake/defect.
I ordered some new radio's and they work like a charm!
Thanks for all your help and tips/tricks.
-
RE: No communication between Sensor and Gateway
I use MYScontroller as the controller, when this works I plan for using domoticz.
@samuel235
The logs on the gateway;
0;0;3;0;9;gateway started, id=0, parent=0, distance=0
0;0;3;0;14;Gateway startup complete.The logs on the node (after setting the node ID to 5)
find parent
send: 5-5-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 5-5-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 5-5-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
repeater started, id=5, parent=255, distance=255
find parent
send: 5-5-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 5-5-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:No ST:Fail or ST:OK in both outputs. I really think my radio's are not sending/receiving data!
-
RE: No communication between Sensor and Gateway
@sundberg84
My serials logs are on the OP -
RE: No communication between Sensor and Gateway
I use version 1.5
@sundberg84
@samuel235
On the gateway I loaded the sketch SerialGateway.ino from the examples folder.
On the Sensor I loaded the sketch BinarySwitchSensor.ino from the examples folder.@jantup
No, I did not change anything on the example sketches, how do I assign an ID to the gateway and sensor? (I thought this was an automated proces?)Thanks for your replies!
-
No communication between Sensor and Gateway
So I am a real newbe on this, so please be gentle with me...!
Situation:
Gateway;
Arduino Uno with NRF24L01+ module
Uploaded the Serial Gateway on this oneSensor;
Arduino mini pro with NRF24L01+ module
Uploaded the binairy switch sensor on this one
Connected a push button on GND and D3Problem
There seems to be no communication between the sensor and the gateway.Steps I have taken to troubleshoot
Looked up the serial output on gateway;
6-12-2015 12:48:40 RX 0;0;3;0;9;gateway started, id=0, parent=0, distance=0
6-12-2015 12:48:40 RX 0;0;3;0;14;Gateway startup complete.Looked up the serial output on the sensor;
6-12-2015 12:49:34 INFO Unknown message, Msg=find parent, dc=1
6-12-2015 12:49:34 RX find parent
6-12-2015 12:49:34 INFO Unknown message, Msg=send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:, dc=1
6-12-2015 12:49:34 RX send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:When I push my button on the sensor it outputs upper 4 lines again.
In MYSController I only 'see' my gateway, no sensors.
Measured the 3.3 output voltage on the PCB of the 2.4Ghz board.
Please help to take the next troubleshooting step!