and a series circuit (you must press both buttons to turn the light on),
|
|
and a parallel circuit (if you push either or both buttons the light turns on).
|
|
I then put the board together, plugged it into the computer, and uploaded the code.
When you press the button, the red lights flash, but when you aren't pressing the button the green light is on. |
|
I put the board together, plugged it in, and uploaded the code.
When light hit the different phototransistor, the different elements in the light light up. If more light is on one phototransistor than the element that it is connected to is brighter than the others. The three elements are red, blue, and green. |
I put the board together, plugged it in, and uploaded the code.
When you turn the potentiometer (the knob in the center), the servo (the pointer on the side) moves too. |
|
I continued the same process for coding as 2.
|
|
I put the board together, plugged it in, and uploaded the code.
When you press one of the buttons, it will spin. If you hit the other, it will switch directions. The potentiometer controls the speed it spins. If you look through the black page as it spins, it will show a plant growing and then shrinking. |
I continued the same process for coding as 2.
|
|
I put the board together, plugged it in, and uploaded the code.
This mimics a Magic 8 Ball (an all-knowing ball). With a Magic 8 Ball, you ask a question then shake it to get answer. You tilting the switch, it mimics the shaking of the ball, and the computer randomizes the answers. |
|
I continued the same process for coding as 2.
|
|
I put the board together, plugged it in, and uploaded the code.
When you knock three times on the surface that it is resting on, the servo motor will turn and "unlock" the box. Then you push the button and the servo motor will turn and the "lock" the box. |
|
I put the board together, plugged it in, and uploaded the code.
When you touch the wire or something metal connected to the wire the light will turn on. |
|