I have a board setup with a switch and a temperature sensor. When I try to combine the two sketches I get multiple errors.
Can someone take a quick look at combining the two sketches?
Hi I have exactly the same problem but now using the latest IDE environment and MySensors build. Did you manage to find out what was causing the issue? In my set-up seems like the ethernet module is not communication with the rest of the hardware.
Fixed. The IDE was using the incorrect Ethernet library after a clean install of the Arduino IDE.
Sorry, but I'm afraid I can't help you any further.
If the tests in the sketch do not go any further, there is something wrong with the board itself...
@tsunami said in having trouble with water flow sensor + relay + moisture:
#define CHILD_ID_MOISTURE 2
#define CHILD_ID_HUM 3
#define CHILD_ID_TEMP 4
try
#define CHILD_ID_MOISTURE 12
#define CHILD_ID_HUM 13
#define CHILD_ID_TEMP 14
Also delete node from controller if you still see the ID mixed up
@Shiny I use Ws2812 all over the place in the MySensors Dollhouse setup: https://www.mysensors.org/build/dollhouse
Maybe you can get some hints from there.
@marceltrapman
when you change the BAUD rate setting in the source/config file to something lower/other you can also use 3.3V Arduinos as (Serial)Gateway. Of cause your controller needs also to be told about the lower BAUD rate.
Check out http://wormfood.net/avrbaudcalc.php?postbitrate=9600&postclock=8 for an overview of Clockspeeds (usually 8MHz for 3.3V and 16MHz for 5V types) and coresponding BAUD rates.