Digital Input and Output

Lab: Digital Input and Output with an Arduino

I used my own full-colored LEDs(which have 3 types of anode) and tried to change the color by changing anodes.

And then I checked if resisters affect the brightness by changing Ohms from 10k to 220.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e6ba4055-7f76-4536-9bb1-0b92ed2db49d/IMG_7577.mov

Here is my code(It is same as the textbook though)

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0fb2b1c3-3b21-4c33-84a5-a073b454c122/Untitled.png

Analog Input

Lab: Analog In with an Arduino

I put my circuit as below image.

I use my Arduino Duemilanove for this assignment, it of course worked!

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d6f87f37-aab7-40c1-9383-6fbe34450a64/CB00D56A-D617-45E5-9574-B809C1A016A4.jpeg

Code and Serial output

I could check if it worked.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/47c66e54-4803-41f5-bb09-f49d8e607479/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3a3fc1c7-ae49-40e4-925d-90cf705ac06b/IMG_7579.mov

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/596be1eb-ee30-4624-ab73-16074cce16dc/IMG_7578.mov