April 2010
1 post
test
test
Apr 21st
January 2010
3 posts
WatchWatch
Jan 24th
WatchWatch
Jan 24th
WatchWatch
Jan 24th
1 note
December 2009
4 posts
Dec 24th
WatchWatch
Wireless Lab
Dec 24th
1 note
Dec 24th
1 note
Dec 24th
November 2009
6 posts
Nov 18th
Nov 18th
Nov 18th
WatchWatch
Lab-Serial(2) After uploading the following code to Processing, we can see the graph changing by turning the potentiometer. Created 20 April 2005 Updated 5 August 2008 by Tom Igoe Updated 2 November 2009 by Rob Faludi */ import processing.serial.*; Serial myPort; // The serial port int graphXPos = 1; // the horizontal position of the graph: void setup () { size(400, 300); ...
Nov 18th
WatchWatch
Lab-Motors(2) After adding a Switch and an H-bridge, we can control the direction of motor’s spin. // On this part, we add a switch and an H-bridge to the circuit. the H-bridge allows the changing of current flow.  In the end, we can controll the direction of motor's spin. ]]]][CDATA[> // ]]]]>]]>
Nov 18th
WatchWatch
Lab-Motors(1) For this lab, we add a motor to a circuit. After building the circuit and uploading codes to the Arduino board , we can use a potentiometer to control the motor. Lab-Motors(2)
Nov 18th
October 2009
6 posts
WatchWatch
Lab-Analog Output(3) Create Something Unique
Oct 16th
Oct 14th
WatchWatch
Lab-Analog Output(1) Servo and Potentiometer Add a servo and potentiometer to the circuit, and upload following code to the board. #include <Servo.h> Servo myservo; // create servo object to control a servo int potpin = 0; // analog pin used to connect the potentiometer int val; // variable to read the value from the analog pin void setup() { myservo.attach(9); //...
Oct 14th
Oct 4th
Oct 4th
Oct 4th
September 2009
10 posts
WatchWatch
Lab2-Electronics Varying Voltage
Sep 25th
Sep 25th
Sep 25th
Sep 25th
Sep 25th
Sep 25th
Sep 25th
Sep 25th
Sep 25th
Sep 25th