Monday, April 16, 2012

Week 2: Update

Tasks that were completed in lab:

1) Downloaded the Arduino microcontroller or software to a personal computer

2) Tested software and hardware by uploading "blink example"

3) Looked for source code for reading and displaying an analog voltage on the Arduino website (www.arduino.cc)- "Anaglog Read Serial" -to measure the solar panel voltage as a function of time.

4) Loaded and tested the code


In the process of completing these tasks, the group watched the YouTube video, "Tutorial 01 for Arduino: Getting acquainted with Arduino.


The video proved to be very helpful for the group's understanding of how to handle the Arduino board and code.

-For this portion, the group had the arduino obtain a signal from the potentiometer and display it onto the computer.
 In order to do so, we had the arduino convert the signal to voltage: (Signal/1023)*5=Voltage

 The reason we multiplied by 5 is because the potentiometer was supplied a max of 5 Volts from the Arduino and for the reason for the dividing by 1023 is because the analog signal ranges from 0-1023.




Tasks to consider for next lab:

1) Look for sample code that writes information to external memory.

2) Consider how to measure a current in a range of 0 to 1 Amp.

3) Sautering the Arduino board

No comments:

Post a Comment