[Lab: Environment] Labduino


(Click on the picture to see the gif.)

The LED breather example from class uses a PWM pin to simulate an analog output to dim the LED. AnalogWrite actually still uses digital output, but controls the percentage of the time of on or off to make the pseudo analog output. (analog output)

I found a reference to make the real analog output buy connecting a capacitor to filter the voltage during on or off, in order to average the voltage. http://arduino-info.wikispaces.com/Analog-Output


Force resistive sensor controlling a servo motor (analog input – digital output)

photo 3-1

Sound impact sensor controlling a stepper motor (digital input? – analog output)

Meanwhile, the serial monitor prints out the input as 1 or 0. (Serial output)

Screen Shot 2015-02-09 at 12.40.53 PM

A serial in sketch to help the use choose between coffee and tea. (Serial input)



Leave a Reply

Your email address will not be published. Required fields are marked *