Hello
I would like to do this: I want to establish communication between 2 devices after UART, e.g .:
Sensors> Arduino1> UART> Arduino2> LCD
While there is no problem with sending the command for Arduino1 to Arduino2 ... I don't know how to send variables ..
For example, I have 10 sensors, some output gives digital status 0 or 1 rest analog value.
I don't know how to send all data after UART and how to receive it so that it is clear which value comes from which sensor.
It seems to me that each sensor should be assigned a "name" send from Arduino1 after UART and simply cut it when writing to a variable in Arduino2, then send on LCD?
If there is something in it, I would ask for a link or a place where I can find information about trimming such a string, or how to look for it?
The data string may look like:
t1: 32.25 h1: 75.75 t2: 45.55 h2: 40.00 t3: 80.88 h3: 0 h4: 1
that is: temp1weigh
I would just like to send the data from the sensors remotely and display on another LCD.
best regards
I would like to do this: I want to establish communication between 2 devices after UART, e.g .:
Sensors> Arduino1> UART> Arduino2> LCD
While there is no problem with sending the command for Arduino1 to Arduino2 ... I don't know how to send variables ..
For example, I have 10 sensors, some output gives digital status 0 or 1 rest analog value.
I don't know how to send all data after UART and how to receive it so that it is clear which value comes from which sensor.
It seems to me that each sensor should be assigned a "name" send from Arduino1 after UART and simply cut it when writing to a variable in Arduino2, then send on LCD?
If there is something in it, I would ask for a link or a place where I can find information about trimming such a string, or how to look for it?
The data string may look like:
t1: 32.25 h1: 75.75 t2: 45.55 h2: 40.00 t3: 80.88 h3: 0 h4: 1
that is: temp1weigh
I would just like to send the data from the sensors remotely and display on another LCD.
best regards