Arduino Starter Series - The Interactive LED

This is a project from my Arduino starter series.

This project follows up from The Blinking LED tutorial to add in a push button to control the state of the LED, turning it on and off. This project is ideal for beginners whoU have no experience with Arduino programming and prototyping. Enjoy!

Project Requirements
  • Arduino Uno/Duemilanove/Diecimila
  • USB cable to program Arduino
  • Breadboard
  • One LED (Any colour will do)
  • One 220 Ohm Resistor
  • One Pushbutton
  • Wires to power the components on the breadboard
The Breadboard Setup

The Interactive Blinking LED Sketch

Arduino Sketch

What code? This project doesn't require any code. The basic idea here is that the push button turns the LED on so all you're doing is closing the circuit and providing power to the LED once the push button is pressed.

Comments

comments powered by Disqus