Hi2All!
Surprising is here. After about 24hours I refresh HA and suddenly my motion sensor was integrated.
There is also second entity > battery : 0 , have to look deeper into that for understanding.
Need to change little in the sketch, because don't want every short time 'no movement' so only when there is motion and maybe once a hour indication sensor is alive.
Meantime I found 3 other good threats:
https://forum.mysensors.org/topic/11200/finally-progress-evidence-based-radio-testing-method-and-capacitors
https://forum.mysensors.org/topic/1664/which-are-the-best-nrf24l01-modules/27
https://forum.mysensors.org/topic/9550/build-a-reliable-power-supply-chain
Very usefull for me also finally progress because of lacking time in the past.
Great jobs are done here!
Thanks for this all of you guys or girls!
I have it ,look to my project.. project from example directory working .. but if power on node then register to gateway but not send actual state of relay .. I do it ..
Thanks but that thread ended on the difficult part:
"please, help to send the presentation string when inclusion mode has been triggered"
Anyone have a idea about this?
It would be easier to include one more Arduino and a radio but the hardware and programming is one of the fun part with MySensors
Regards
Hi all...
This is important for all ...
Hek I find problem with manual node ID setting ..
Your code is optimized for ATmega328P 16Mhz - 115200 serial speed ..
and here is problem ... big problem !!
16MHz -115200 is in normal speed : 3.549% ERROR , and in double speed : 2.124% ERROR
with no calibrated 8Mhz internal RC oscilator is normal speed : 8.507% ERROR and in double speed : 3.549%
then in fact .. no problem to send data from MCU to PC .. problem send data from PC to MCU ..
solution :
for sensor node or repeater .. we don't need received data from UART .. then can use 115200 with internal RC oscilator ..
for serial gateway is need to send and received data from to MCU with controller .. then use scrystal 16Mhz (as orginal code ) or use better crystall : 7.3728Mhz , 11.0592Mhz , 14.7456Mhz ... with this crystall is ERROR 0% ... or use lower speed for serial gateway for example 38400bps ...
sorry for all .. but I'm not thinking about it .. and problem was all time in hardware ..
interesting is that if generate own bootloader for my node then first time I set 115200 bps speed and my software show error more then 8.5% ERROR ..and I must change speed to 38400 ...
now it's working .. if node send request for new ID then I send it
regards.
Hi. I do same what you ... but still not working ...
BUt then I use different gateway PCB board .. and right now working .. may be hardware problem..
OK.. I will test it .. and will see..
best regards..
http://www.hobbytronics.co.uk/arduino-tutorial6-rotary-encoder
Want to rip this project apart and add to the led dimmer. Programming is just not my forte
Hi.
I do it .. change configuration in MyCOnfig.h (disable debug) and now gateway not send encoded message .
But right now I test my serial board and have problem ..
If send fast many packet from my sensor (INT0 and INT1) then serial gateway halt .. and no more data received from sensor and output string to uart .. I must reset MCU and all work again..
what is problem ??
Problem is in serial gateway .. after reset all work good .. any idea??
regards.
Hello,
first the pot is only for the digital output, it has no effect on the analog one.
second, check your wiring, the analog should always report something, make sure the analog you use in the sketch is the one wired ... basic mistake... same for the 5V and ground.
there is also a led on the board, if the board is correctly powered at some moment the led should turn up.
Yes, I get it from presentation messages, but like you say a little redundant :)
So, if I can send it once in setup, like this it's better for the controller, not too much work for nothing, just take care of the message send by setup and it's done.
@ntruchsess Good job, I had to do this to WIZ5200 too, although it has bigger buffers/supports more client connections. Same situation for Iboard PRO (with onboard NET, I think 5100)
No, it is not possible nor recommended. The gateway probably need all processing power it has to handle incoming messages and routing to/from serial interface.