Arduino Serial Call Response


Posted on Feb 5, 2014

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
Click here to download the full size of the above Circuit.

, 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:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Multipattern Running LEDs
    Smoke-detector
    automatic low power emergancy light
    emergency lamp circuit problem
    Controller keeps circuits cool
    8 NC temperature adjustment
    OP27 multiple S-type thermocouple circuit



    Top