Help in transmitting between arduino


#1

s there a way to transmit between the various arduino connected to the cayenne dashboard ?! for newbies I mean.
I’ll explain the problem. I have a photovoltaic system and I would like to light a resistance only when the difference between production and consumption exceeds a certain threshold. but unfortunately I divided the two arduino who manage the whole thing.


#2

you can use trigger for this. on one arduino calculate the difference between production and consumption and send it to cayenne. then set a trigger to this value and turn ON a button which in turn turns ON the light.


#3

the problem and that are two different Arduino to carry out the task of production and consumption … I’m looking for help


#4

why are you using two arduino for this? can you provide more details.


#5

because in different places, for example outside in the garden I have the arduino for the control of pumps and ground moisture, outside where I have the current counter I have an arduino for current loads, next to the photovoltaic another arduino, next to the thermal panel another the temperature probes … understood now ?!


#6

this can be achieved by doing a long work around.

Arduino 1 : carry out the task of production.

Arduino 2 : carry out the task of consumption.

Publish both values to cayenne.
Add two button widget to arduino 3 which you want to control the light.
Now set trigger for y and z which turns ON the two buttons.
Then in your Arduino 3 read values of both button and if they are true then turn ON the light.