Changes

Jump to: navigation, search

Week 3 Lab

100 bytes added, 06:13, 13 April 2009
no edit summary
val = analogRead(potPin); // read the value from the sensor
</code>
* Q: Looking at the Arduino help for that function (<code>analogRead()</code>), what do you think the value <code>val</code> will be for those highest and lowest voltages at V_INyour A_IN pin?
* Q: How can you verify your guess? (... I have two ideas ... )
=== other loads ===
==== photoresistor ====
* taking the photoresistor from your 147A kit... , it has a resistance of ~160k - ~10k (depending on your lighting conditions).* Q: With the same 10k resistor and setup from the schematic above, replacing the pot with the photoresistor, what range of voltages (and corresponding data values) would you expect to see with thisat your A_IN pin
==== strain gauge ====

Navigation menu