Posts Tagged ‘serial output’

PComp Lab 6: Multiple Serial Output

Lab: Serial Duplex: (http://itp.nyu.edu/physcomp/Labs/SerialDuplex) – Connected two pots to analog input pins 0 and 1 (each in series with 1kOhm resistor), and connected a push button switch (in series with 1 kOhm resistor) to digital pin 2.  - Read and send the serial data: using the code provided on the lab instructions site, I tested [...]

PComp Lab 5: Serial Out

Lab: Serial Output: (http://itp.nyu.edu/physcomp/Labs/SerialOut) – Connected the sensor to the breadboard and Arduino. I had two set ups, one with a potentiometer and one with a photo cell (with 1 Kohm resistor in series), each connected to analog pin 0 on the Arduino. – Read and sent serial data: I programmed the Arduino with the sample [...]