Let's Make Robots!

button

Code Post - Interfacing Arduino and Python

This is something I've done by hand at least ten times and always seem to lose it so I've decided to post it here. It is an easy way to debug and test stuff will developing software for the Arduino (or any Microcontroller really). There is a python code that sends string messages to the arduino over serial based on which arrow key on your keyboard is pressed. There is also an Arduino code that listens for these messages, then repeats the message back to the PC to make sure it went through.

So, this challenge is for anyone! From analog guys to digital guys. Only thing you should make is get leds turn on and off alternately, when you switch on and off … Read more
Use the reset button on the Arduino as an input button
Using a
Have you ever written a simple Arduino application that just needed a single button? Most Arduino's and their clones have a reset button. Depending on your … Read more

Momentary push button to on/off switch?

Is there some way to make an on/off switch using a momentary push button? I think the buttons feel more natural. They are smaller too. Just wonderin'...

Gives push button the typical ON/OFF toggle function.
Hi everyone, this is my first walkthrough, hope You'll enjoy ;-) ___Where the story begins___ I wanted to use a PC PSU as power supply for my works and I was … Read more
Hi LMR...          I think that you often run into the problem with MCU that when you press a button it read it not only one time but often even 50 times or … Read more