Hello everyone,
hope you can help me out with this one.
Lets start with the main question and afterwards I am going to give more details what I am actually trying to do. I am glad for any hint you can give me:
Main question:
I have a motor driver (TB6612FNG) with a standby pin STDBY. I only want this pin to have power if PWMA and/or PWMB has power.
Board
Is it possible to use one diode from PWMA to STDBY and one diode from PWMB to STDBY? Or will this destroy anything?
More details:
I am actually really new to all of this, but I can say that I have been pretty much searching and learning so much over the recent days.
I want to control a total of 16 DC motors (reversible, 350ma, 12V).
The motors can only turn into the same direction at once and PWM is not important.
For example:
- motor 1,3,5 turn left
- motor 10,13,5 turn right
- NOT: motor 1 turn left, motor 2 turn right
As chip I am using an ESP8266 that has an 16-IO port extension (MCP23017).
Each of these 16 ports should control a single motor. 2 Pins of the ESP8266 controll the direction of all motors at the same time.
I started with a single relais for each port. That worked, but the motors were not reversible.
Then I switched to MOSFETs, which were way smaller, but were not able to reverse as well.
Ordered 8 L293D and thought they might be too weak, so I ordered 8 L298D and then I found out they probably do not work with 12V as the voltage drop is too high.
So finally I settled on the 8 TB6612FNG chips.
In the schematic you can see the way I would like to hook it up.
For example I only connected a single motor driver that is connected to 2 motors.
So I would add another 7 driver motors to this.
Each of the 16 ESP ports is connected to one PWMx and if this is high, the motor should move.
As I do not want to power all the motors at the same time, I only want to power the STDBY if the motor should actually move. So if PWMA and/or PWMB is HIGH.
Is this possible with diodes?
Another way would be to add another 8 pins that control each STDBY of the motor drivers, but that does not sound too clever for me.
Am I missing any capacitors/resistors?
Any suggestion is welcome.
Thank you very much!