Hi everyone,
Firstly I would like to say hello, this is my first post (I am french Canadian so pardon my english)
As my first project, I am building a little robot on wheels that can detect walls and stuff. I am using a h-bridge L293E to control a 12V DC motor with my Arduino Uno R3 (the motor is powered by a (v battery and my Arduino to my laptop). Here is the datasheet of my L293E :
I followed that tutorial since I am still a beginner: https://itp.nyu.edu/physcomp/labs/motors-and-transistors/dc-motor-control-using-an-h-bridge/
Here is the sketch:
With small 6V DC motor, it works perfectly fine !! I press the switch, the direction changes. Everything is perfect. For my project tho, I need 12V Dc motor, so I unplug the other motor and plug the 12V motor.
As I suspected, the 9V battery is not enough to power the DC motor (even tho the 9V battery + 12DC motor alone works)... So I put two 9V batteries in series (should be okay for the chip who can be powered up to 36V) and still it does not work..!!
Can someone please help me ?? Thank you