Tuesday, June 25, 2013

Day 12 Tuesday 6-25

Back at it again!


Even with all the deep sleep everyone got from being so worn out, we are very sluggish today. One group member has poison oak and another has around 30 chigger bites and we all have scratches and weird bumps! With all the precautions we took, we still came out beat by nature.
Wild Watch = 0 Nature =1

We are learning how to program the Arduino board. Basic steps for now but soon we will be able to rule the world MUHAHA!

We started by accomplishing the tutorial again with blinking LED lights.   http://www.hacktronics.com/Tutorials/arduino-flashing-led.html


Once we finished, we started to work towards setting up the board and codes for the PIR sensors.  We were using the tutorial from "hacktronics" but found that we made the mistake of assuming the wiring was common.  We found that "bildr" was better at explaining how to set our "breadboard" due to user comments.  http://bildr.org/2011/06/pir_arduino/






There was one set back, we was worried that the power voltage would not be compatible. After research, this particular PIR can sustain an Arduino board between 5v-12v.  So why wasn't it sensing motion?  Duh!!! We had our power wire in 3.5v instead of 5v.












Once this was corrected, we were able to start reading the sensing output.  It will post a message ever 2 seconds.






Our next goal is to see if we can get the motion sensor to light the LED when motion is being sensed.

No comments:

Post a Comment