I am working on a project that requires 3 separate arduino boards working together passing information back and forth via serial (open to other communication protocols, but I am relatively new to this). Ultimately they will be wireless.
Set up: 1 arduino uno (we will call it transmitter ) to transmit analog data (need 20 discreet values to be sent) 1 ardunio mega to receive data from transmitter, as well as be connected to (5) analog sensors, and process and use said data to control digital outputs and send sensor data to the next arduino 1 arduino uno connected to a 16x2 LCD which will be updated with information from the Mega, and provide a menu system that is navigated by "transmitter" (listed above).
- reason for three arduinos is that each module will be in a different location.
I don't have the code handy to post, but it seems that in configuring the transmitter and mega (connected with wires between serial ports) i can only pass values 0-9, and nothing larger....
Sorry for the ambiguity in this question - ultimately i am reaching out to see if there is any advice for this type of set up, and how to pass more data serially between them. especially to be able to pass variables or sensor data between the mega and the UNO driving the LCD.
Am I using the wrong data type ? (char, int...?)
FWIW, i have been searching online and through the forums for the last couple of weeks before posting. Most of the information i have found about preparing data to be sent serially has to do with mapping larger values to a small range, which won't work for this application.
Thanks in advance.