Can I use ESP32 and L293D (less area on robot chassis) as motor driver instead of L298N?
If so, how can I supply to it 5V? Or 3.3V is enough?
Yes, you can use that. Accordingly to the datasheet, you need to supply 5V.
See it here: http://www.ti.com/lit/ds/symlink/l293d.pdf
Thanks for your answer.
I was having problems to substitute L298N for L293D. It was wire problem. Now I got it.
The other concern was how to feed L293D with 5V. As far as I know we don’t have 5V pin on ESP32 as we have on Arduino.The good news is we can feed L293D with 3.3V directly from ESP32. It works. 🙂
Thanks a lot.
I’m glad you got it working.
You can power it using the ESP32 VIN pin – it provides 5V.
Thanks for your quick reply.
So, in my understanding, 5V pin has double function: it can supply 5V (if ESP32 is connected to USB) and, also, it can receive 5V, in order to feed the board. Is that right?
If I am right, what is going to happen if I feed ESP32 through 5V pin but using, for instance, 6V (4 x 1.5V batteries)? Is it has a voltage regulator?
I couldn’t find this answer.
Thanks a lot.
And I very happy new year for us. we deserve it. 🙂
Answering your first question: yes, it can output 5V (if powered through the USB) or you can powered it through that pin.
The ESP32 has the AMS1117 voltage regulator. So, you should be fine powering using 6V. Take a look at the datasheet: http://www.advanced-monolithic.com/pdf/ds1117.pdf
I hope this helps.
Happy new year for you too! 😀