Arduino Serial Call Response

  
Inside:
Repository
This sketch sends an ASCII A (byte of value 65) on startup and repeats that until it gets a serial response from the computer. Then it sends three sensor values as single bytes, and waits for another response from the computer. You can use the Arduino serial monitor to view the sent data, or it can be read by Processing (see code below), Flash, PD
Arduino Serial Call Response - schematic

, Max/MSP (see example below), etc. Connect analog sensors to analog input pin 0 and 1 with 10K ohm resistors used as voltage dividers. Connect a pushbutton or switch to digital I/O pin 2 with a 10Kohm resistor as a reference to ground.



Leave Comment

characters left:

New Circuits

.