I have a question, when I wont send do domoticz from Arduino presentation lightsensor I can send by serial something like this:
1;2;0;0;16;V_LIGHT_LEVEL
and domoticz will understend that is the lightsensor LUX ?
I have a question, when I wont send do domoticz from Arduino presentation lightsensor I can send by serial something like this:
1;2;0;0;16;V_LIGHT_LEVEL
and domoticz will understend that is the lightsensor LUX ?
@Bart I do not know what You mean with DE+RE pins on the converter.
On the converter You connect A and B calbe from bus.
DE and RE pins fromMAX485 You connect with sealf and connect to pin in my case D2 on Arduino.
@hek
On the pictures is connect to TX and RX pins arduino but I tried to connect to pins 8,9,2 and result was the same
On thsi connections with pins 8,9,2 ofcourse and library mysensors 2.0 should works fine ?
Hello,
I have a problem running gatewayserial to rs-485 and the node with the usual lightsensor.
NODE # 1 as a gateway and tried to upload a sketch of the library 2.0 and 1.5.4, and the monitor serial I can not see any data, I use to check on the serial PuTTy com6 because the converter rs-485 to USB is connected to the PC.
NODE # 2 as a light sensor, during the upload Sketch by arduino programmer for serial monitor can see the data being sent but after plugging arduino to rs-485 as below no longer visible.
My question is whether I have something wrong with the connection or sketch, can someone show an example of a complete sketch for the gateway, and a node?
Connection mine looks like this:
TX and RX Connect was to pins 0 and 1 in arduino or 8 and 9, DE is always PIN 2.