# ESP32 ROBOT CONTROLLER
## Description
Control board for autonomous or radio-controlled robots.
It has inputs to connect distance sensors and encoders for autonomous mode.
It can be radio controlled by the ESP32 bluetooth or by connecting a Flysky RC controller receiver to the IBUS port.
It also has 3 push buttons and you can connect some kind of display by I2C to visualize and select configuration modes.
## Project Details
- **Owner:** adriangispert
- **Created:** 7/26/2023
- **Last Updated:** 2/8/2024
- **Visibility:** Public
- **Forks:** 210
- **Copies:** 1
## Key Components
### D1 — [SS34](https://www.flux.ai/jecstronic/ss34.md)
- Manufacturer Name: Multicomp
- Part Type: Diode
- Datasheet URL: https://octopart.com/datasheet/ss34-multicomp-5386508
- Manufacturer Part Number: SS34
**Pins:**
- A
- K
### J1 — [XY301V-A-5.0-2P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-2p.md)
- Manufacturer Part Number: XY301V-A-5.0-2P
- Manufacturer Name: Ningbo Xinlaiya Elec.
**Pins:**
- PIN1 [pin 1]
- PIN2 [pin 2]
### J10 — [XY301V-A-5.0-3P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-3p.md)
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2005271131_Ningbo-Xinlaiya-Elec--XY301V-A-5-0-3P_C557652.pdf
- Manufacturer Name: Microchip
- Manufacturer Part Number: XY301V-A-5.0-3P
**Pins:**
- PIN1
- PIN2
- PIN3
### J11 — [XY301V-A-5.0-3P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-3p.md)
- Manufacturer Name: Microchip
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2005271131_Ningbo-Xinlaiya-Elec--XY301V-A-5-0-3P_C557652.pdf
- Manufacturer Part Number: XY301V-A-5.0-3P
**Pins:**
- PIN1
- PIN2
- PIN3
### J12 — [XY301V-A-5.0-3P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-3p.md)
- Manufacturer Part Number: XY301V-A-5.0-3P
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2005271131_Ningbo-Xinlaiya-Elec--XY301V-A-5-0-3P_C557652.pdf
- Manufacturer Name: Microchip
**Pins:**
- PIN1
- PIN2
- PIN3
### J13 — [OLED-Display-0.96](https://www.flux.ai/adrian95/oled-display-096.md)
- Part Type: Display Device
**Pins:**
- GND
- SCK
- SDA
- VDD
### J14 — [Pin Header 01x04 2.54mm Vertical](https://www.flux.ai/adrian95/pin-header-01x04-254mm-vertical.md)
- Part Type: Connector
**Pins:**
- Pin_1 [pin 1]
- Pin_2 [pin 2]
- Pin_3 [pin 3]
- Pin_4 [pin 4]
### J2 — [XY301V-A-5.0-2P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-2p.md)
- Manufacturer Name: Ningbo Xinlaiya Elec.
- Manufacturer Part Number: XY301V-A-5.0-2P
**Pins:**
- PIN1 [pin 1]
- PIN2 [pin 2]
### J3 — [XY301V-A-5.0-2P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-2p.md)
- Manufacturer Part Number: XY301V-A-5.0-2P
- Manufacturer Name: Ningbo Xinlaiya Elec.
**Pins:**
- PIN1 [pin 1]
- PIN2 [pin 2]
### J4 — [Pin Header 01x04 2.54mm Vertical](https://www.flux.ai/adrian95/pin-header-01x04-254mm-vertical.md)
- Part Type: Connector
**Pins:**
- Pin_1 [pin 1]
- Pin_2 [pin 2]
- Pin_3 [pin 3]
- Pin_4 [pin 4]
### J5 — [Pin Header 01x04 2.54mm Vertical](https://www.flux.ai/adrian95/pin-header-01x04-254mm-vertical.md)
- Part Type: Connector
**Pins:**
- Pin_1 [pin 1]
- Pin_2 [pin 2]
- Pin_3 [pin 3]
- Pin_4 [pin 4]
### J6 — [XY301V-A-5.0-3P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-3p.md)
- Manufacturer Part Number: XY301V-A-5.0-3P
- Manufacturer Name: Microchip
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2005271131_Ningbo-Xinlaiya-Elec--XY301V-A-5-0-3P_C557652.pdf
**Pins:**
- PIN1
- PIN2
- PIN3
### J7 — [XY301V-A-5.0-3P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-3p.md)
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2005271131_Ningbo-Xinlaiya-Elec--XY301V-A-5-0-3P_C557652.pdf
- Manufacturer Name: Microchip
- Manufacturer Part Number: XY301V-A-5.0-3P
**Pins:**
- PIN1
- PIN2
- PIN3
### J8 — [XY301V-A-5.0-3P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-3p.md)
- Manufacturer Part Number: XY301V-A-5.0-3P
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2005271131_Ningbo-Xinlaiya-Elec--XY301V-A-5-0-3P_C557652.pdf
- Manufacturer Name: Microchip
**Pins:**
- PIN1
- PIN2
- PIN3
### J9 — [XY301V-A-5.0-3P](https://www.flux.ai/jharwinbarrozo/xy301v-a-50-3p.md)
- Manufacturer Name: Microchip
- Datasheet URL: https://datasheet.lcsc.com/lcsc/2005271131_Ningbo-Xinlaiya-Elec--XY301V-A-5-0-3P_C557652.pdf
- Manufacturer Part Number: XY301V-A-5.0-3P
**Pins:**
- PIN1
- PIN2
- PIN3
### SW1 — [SWITCH SMD 4PIN](https://www.flux.ai/adrian95/switch-smd-4pin.md)
- Part Type: Switch
**Pins:**
- P
- P1
- S
- S1
### SW2 — [SWITCH SMD 4PIN](https://www.flux.ai/adrian95/switch-smd-4pin.md)
- Part Type: Switch
**Pins:**
- P
- P1
- S
- S1
### SW3 — [SWITCH SMD 4PIN](https://www.flux.ai/adrian95/switch-smd-4pin.md)
- Part Type: Switch
**Pins:**
- P
- P1
- S
- S1
### SW8 — [EG1218](https://www.flux.ai/adrian95/eg1218.md)
- Part Type: Switch
- Manufacturer Name: E-Switch
- Manufacturer Part Number: EG1218
- Datasheet URL: https://sten-eswitch-13110800-production.s3.amazonaws.com/system/asset/product_line/data_sheet/119/EG.pdf
**Pins:**
- 1
- 2
- 3
### U1 — [ESP32-DEVKIT-V1](https://www.flux.ai/vasyl/esp32-devkit-v1.md)
- Manufacturer Part Number: ESP32-DEVKIT-V1
- Datasheet URL: https://www.snapeda.com/parts/ESP32-DEVKIT-V1/Do%20it/datasheet/
- Manufacturer Name: Espressif Systems
- Part Type: Module
**Pins:**
- 3V3
- D12
- D13
- D14
- D15
- D18
- D19
- D2
- D21
- D22
- D23
- D25
- D26
- D27
- D32
- D33
- D34
- D35
- D4
- D5
- EN
- GND
- GND__1
- RX0
- RX2
- TX0
- TX2
- VIN
- VN
- VP
### U2 — [TB6612FNG,C,8,EL](https://www.flux.ai/adrian95/tb6612fngccc8cel.md)
- Manufacturer Part Number: TB6612FNG(O,C,8,EL
- Part Type: Integrated Circuit
- Datasheet URL: https://toshiba.semicon-storage.com/info/docget.jsp?did=10660&prodName=TB6612FNG
- Manufacturer Name: Toshiba Semiconductor and Storage
**Pins:**
- AIN1 [pin 21]
- AIN2 [pin 22]
- AO1@1 [pin 1]
- AO1@2 [pin 2]
- AO2@1 [pin 5]
- AO2@2 [pin 6]
- BIN1 [pin 17]
- BIN2 [pin 16]
- BO1@1 [pin 11]
- BO1@2 [pin 12]
- BO2@1 [pin 7]
- BO2@2 [pin 8]
- GND [pin 18]
- PGND1@1 [pin 3]
- PGND1@2 [pin 4]
- PGND2@1 [pin 9]
- PGND2@2 [pin 10]
- PWMA [pin 23]
- PWMB [pin 15]
- STBY [pin 19]
- VCC [pin 20]
- VM1 [pin 24]
- VM2 [pin 13]
- VM3 [pin 14]
### U3 — [7805](https://www.flux.ai/jecstronic/7805.md)
- Manufacturer Part Number: 7805
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_Foshan-Blue-Rocket-Elec-7805_C305416.pdf
- Manufacturer Name: Foshan Blue Rocket Elec
- Part Type: Integrated Circuit
**Pins:**
- GND
- VI
- VO
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/adriangispert/esp32-robot-controller](https://www.flux.ai/adriangispert/esp32-robot-controller).*
---
*Generated from [https://www.flux.ai/adriangispert/esp32-robot-controller](https://www.flux.ai/adriangispert/esp32-robot-controller)*