Hi Folks I am beginner to ESP 32 for my robot I am getting started with ESP32
Have watched tutorials for each module I am using and combined them to make this circuit
i know this is very ambitious project for beginner lik me but i couldnt help myself
Here my circuit DiagramESP32 Connections.fzz (216.5 KB)
in My project I need to connect
ESP32 as main Controller
1. 10 Small LED RGB 5mm 5V (Planning to use PCA9685 and 9V battery switch button)
All LEDs will be on all the time or some of them will be on
2. 4 Stepper motor SG90 9gm ((Planning to use 2nd PCA9685 and 9V battery switch button)
There won't be any load on servos and will be off when reached at certain angle
3. Two LM2596 step down from 9v to 5.5v for PCA9685
As PCA9685runs on 5.5 V
4. Two DC motors 6v (Planning to use L298N as motor Driver )
ESP32 will be powered by 5V pin of L298N and connected to Vin of ESP32
Two 9V batteries (18V total) will be used with switch button on off
Dc motors for wheels, it has to carry load of the whole circuit and robot body(~400gm), speed is not important
Hence I have decided to use gear reduction 100rpm or 300rpm
5. Control over WIFI/Bluetooth, by Android app(which I can develop from tutorials)
6. 1 Speaker 8 ohm and MAX98357A as audio amp module
with 2 WAV audios (each being ~1 min long) stored in ESP32 as it has 4MB memory
7. I am planning to control ESP32 via Bluetooth or my home WIFI
My doubts
1. Is one ESP 32 will enough for this or do I have to use 2 in I2C
2. Do I have to connect other components registers capacitors for better current management if yes where
3. How do I calculate how much current my circuit will require, I am okay with recharging batteries after ~40min of usage
4. Are all grounds are connected well in my circuit diagram
Please let me know if there are any enhancements that I could do