Changes

Jump to: navigation, search

Week 4 Lab

247 bytes added, 15:00, 21 April 2009
Serial Basics
** You will need a <code>setup()</code> block, which initializes the Serial communication <code>Serial.begin(9600);</code>
** And in the main loop of the program (<code>loop()</code>), you will need to do the <code>analogRead()</code> and <code>Serial.print()</code> commands from above.
* See what the output from your Sensor is. How does it change as you manipulate your sensor? This is what we were getting at last week estimating figuring out the high and low voltages voltage range for our sensors: when we want to use a sensor inputsto make a project sensitive and responsive to the environment, we need to know what voltages correspond to the conditions of interest. When you start with a new project, this sort of Serial communication is a very valuable tool.
== Controlling the Arduino from a Computer ==

Navigation menu