With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
SMD 555 Timer Piano!
Check the internet for PinMode with INPUT_PULLUP and also look for "debounce" push buttons.2 things that will go wrong when you use push buttons simply connected as open switch: it will float and (aside from the "floating" input) when you press it, it will bounce.Also beware that (especially brushed) electromotors produce a lot of RF interference so that could also be part of your problem, make sure to put capacitors over the motor inputs. Finally try not to power your motor with the same power lines as the RF module
OMPBB - One More Project Breadboard
True, they already have back EMF protection in the chip but it won't hurt to double up.Putting a diode between GND and VCC is to protect yourself from accidental polarity reversal. It's a simple way to protect a circuit and not absolutely necessary it will work without (even cleverer is to add a bridge rectifier so it would work in both ways).
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.