-
Basic electronic
In this section we will work on basic electronic concepts such as Ohm's law, resistors, initial basic circuits, etc.
Controlling DC motors
Hardware required
- Arduino Board
- DC motor
- H bridge motor driver L293D
- Breadboard
- Jumper wires
Theoretical concepts
For this project we are using an integrated circuit called L293D which has two H-bridges that allow to control two motors simultaneously.
This circuit internally works at 5 volts but can provide voltages of up to 36 volts for the motors connected to it.
On the Internet you can find many diagrams that show the different pins and the function of each of them.
Depending on the activation of the pins, the motors can be stopped, rotate forwards or backwards.
Unlike a servo motor, in this type of direct current motors the amplitude of the rotation cannot be controlled. They are engines that can offer many revolutions but without exact control of the position or the number of turns.
Code