This is the second installment of a series about programming our favorite little micro-controller, the Arduino. Last week I covered connecting and blinking an LED. This week I will discuss connecting a push button that controls the LED. This is the simplest way to use a button. However, it isn’t always the best way since it doesn’t account for ‘debouncing’. In the next installment of this series I will talk more about ‘debouncing’ the button input and why it is important. Also, I will have a fun and easy project that incorporates what we have learned so far in this series.
Subscribe to the MAKE podcast | Download for iTunes
Check out what people are doing with the Arduino on the MAKE website.
In the Maker Shed:
Make: Arduino
Related:
How-to Tuesday: Arduino 101 blink an LED
16 thoughts on “How-to Tuesday: Arduino 101 the button”
Comments are closed.
very nice video. everything is so clear, my mother should be able to understand this. great job.
@samurai1200
Thanks for the feedback!
Is there any way to download the video file for these tutorials, like we do with the M4V files for Make TV?
Yes you can.
http://blip.tv/file/get/Make-HowtoTuesdayArduino101TheButton718.m4v
Thank you, thank you, thank you. I have been wanting to learn more about basic circuitry and arduino for a while, I never really found an easy way to start. You make it really easy to understand and makes me want to go out and try it.
Thanks.
@nick
You’re Welcome! You’re Welcome! You’re Welcome!
I hope this get more people into Arduino and physical computing. Make sure to send me a link to any projects you make!
I might have missed it playing the video a couple of times but, I didn’t hear what resistor value you used. What should I use?
(I’m an electronics newbie — self learning guy)
Thanks,
John
Just verifying with my last comment. I saw a post from arduino.cc forums that a value of 1K to 10K ohms resistor can be used. Is this true? Thanks.