alset-v2
An ESP32/Arduino + Raspberry Pi RC car featuring GPS, machine vision, pathfinding and Bluetooth control.
View the Project on GitHub
Main architecture
Please note that some parts of this page might be outdated or incomplete.
1. Boards
- Sparkfun ESP32 Thing (main MCU)
- Pololu A-Star Micro 32u4 (motors, ultrasonic & speed sensors)
- Pololu A-Star Micro 328PB (GPS, LCD, ultrasonic sensors)
- Raspberry Pi 3B (openCV, Blynk server, GPS webapp)
2. Sensors
- 4x ultrasonic sensors
- front center
- front left
- front right
- left center
- right center
- back center
3. Comms
- Raspberry Pi <=> HW UART <=> ESP32
- 328PB <=> I2C <=> 32u4 <=> HW UART <=> ESP32
- ESP32 <=> BT/WiFi <=> Phone (emulated serial)
- ESP32 <=> BT <=> PS4 Controller
- ESP32 <=> ESP-NOW <=> Joystick (To-Do)
4. Peripherals
- ESP32:
- A-Star:
- ESC & servo
- Ultrasonic
- Encoder
- 328PB:
- GPS
- LCD (I2C)
- Buzzer & LEDs
- Voltage sensor
5. Power
- Motors: included NiMH pack
- 2p li-ion
- TP4056 charger
- 5v regulator
- TP4056 USB connected to powerbank
6. Circuit board
- USB connectors on left side bottom
- Batteries connected via screw terminals
- 5V regulator output on power rail
- All gpio pins broken out (only for pcb)
- Connectors for all modules
7. Safety
- Batteries
- ESC has auto poweroff
- 5V regulator has auto poweroff
- Must implement poweroff for Pi
- Perform shutdown functions on low voltage
- Obstacles
- Connection
- on connection lost for more than 100 ms brake
- on any powerloss fully stop
- on connect do not start until brake is toggled (To-Do)
- if connection lost multiple times in less than two minutes fully stop (To-Do)
- if more than two consecutive packets are lost stop (To-Do)
8. Chassis
- design
- simple way to detach from wheelbase
- easy access to everything
- modularity
- cable hooks??? (To-Do)
- holes for cables (To-Do)