Tell us about yourself!
Complete Your Profile- learn4ever favorited SMD 555 Timer Piano! by Alexisgm971 year ago
- learn4ever commented on Akshay Jha's instructable Wireless Remote Using 2.4 Ghz NRF24L01 : Simple Tutorial Using of NRF24L01 & Arduino2 years ago
- learn4ever followed 3D Printing and Arduino channel 2 years ago
- learn4ever commented on AndyTallack's instructable Using the Sparkfun Motor Driver 1A Dual TB6612FNG - a Beginner's Guide2 years agoView Instructable »
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).
- learn4ever followed Instructables Guides2 years ago
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