Sunday, January 31, 2010

Potentiometer and Switch

Trying my previous switch.
Trying potentiometer.

Basic Circuits



1K ohm, 330 ohm, and then 100 ohm. Lower the resistance, the brighter the LED!


3 LEDs in Series are very dim. First one is the brightest.


Parallel. All the same brightness.



RGB LED!

Sunday, January 17, 2010

Digital Input Output Lab: Videos


Please do excuse the background music/sound. I was playing Korean soap opera and forgot to turn it off. *sigh*

Digital Input Output Lab

My first Arduino Assignment!
I went to Creatron on College street to get a lab kit. I also purchased a wire cutter and wires. I had to go back the next day to get more wires and alligator clips. I went through wires faster than I thought. Creatron didn't have red colour wires, which bothered me a bit. I'm using orange for red for the time being. It doesn't effect the circuit itself, but visually, I wish I had red for power.

Checking all the components, making sure they are all there.


Arduino software downloaded and everything's connected. Blink program is running.

Trying the buzzer with the same Blink program.

Button program is uploaded and switch has been tried. It all made sense until now. I have no idea how the power and ground work for the switch (the bottom part of the breadboard). I followed the lab photo, but I don't understand why there is a resister after the switch. How does current flow in this part? Aaaak! My head explodes thinking about it. Hopefully, that explains in the book.




Tried multiple LED. I will post the program upon request. Not that there is anything much to it.

Making a creative switch! There were several ideas, but I decided to make a punch doll. Punch the doll!! I call thee, CryBunny.
I quickly sew a doll with a pocket on the front. The pocket has opening at the bottom so I can attach the alligator clips.

Installed sewable copper mesh. Copper mesh made me cry <( ; , ; )> They are so expensive! Why are they so expensive? I paid like 17 dollars for a small package. Is copper price went up that much? Hmm... 3-4 dollars per pound. I got ripped off.

Now everything is connected. I try punching the CryBunny. To my surprise (my projects never work in one go), it works! When I punch the doll, lights go on.

Now I attach the buzzer. When I punch, doll goes, 'beeep'. Ideally, it would be screaming 'ouch' sound. If I can program random sounds/swearing words, it'd be very nice...
Video will be published shortly.