Saturday, December 7, 2013

Process Final Project

So in class we were testing why the outlet exploded the night before......

and we figured out it was not the way we connected the wires to the outlet but that it was the multimeter that we were checking the voltage with..... who would have guessed. The multimeter was not marked so we placed the red and black wires in the improper holes of the multimeter. Once we fixed that there were thankfully no more explosions. YAYYY


We tested the outlet plugged in to see if there was any voltage coming out of it and there was 120 V.


Now this is after the multimeter problem where we tested the voltage so that when Miriam blew on the wind sensor, the relay box would click on and the voltage on the multimeter would hit 120. We also had to adjust the code so that the relay box would start LOW and then when the threshold was hit it would switch to HIGH for 10 seconds and back to LOW.


We then plugged in the lamp to the outlet and the outlet to the wall.... and....


it worked!!! that was exciting!!! 
so we needed to adjust the threshold so people didn't have to faint to blow on the wind sensor. Here is our finalized code:


Our next problem was figuring out what people were going to blow on so we decided a candle. As people blew on the LED of a candle, the LED would go off and the lamp would then turn on. (This code above also includes the LED part)










No comments:

Post a Comment