Last week, my lecturer—who is teaching subject codenamed II3231—gave us an assignment to make a light-emitting diode (LED) turns on or off by using a toggle switch. This particular assignment requires us to utilize Arduino Uno.
My teammates are Fat Han and Andreas; they simply deserve the credits for the work they’ve done for this assignment. More importantly, this assignment actually refers to this tutorial included in Arduino website.
All right, the tools and materials required for this assignment are:
- Arduino Uno
- USB Cable
- Jumper cable—as long as you need it (sorry for the pun)
- Resistor, using ≅ 1K ohm
- Breadboard, preferably the big ones, and
- Push button
Here is the schematic for this assignment:
- Brown: to Ground
- Orange: to VCC (5V)
- Green: to LED
- Blue: to push button (pin 2) from the Resistor
And, that’s it.
During this project, you can say we encountered almost no difficulties and obstacles. However, there may be only little documentation available regarding this project.