This project is an autonomous smart car system based on an ESP32 and Arduino GIGA.
The ESP32 handles RFID/NFC card detection, WiFi UDP communication, LED effects, and command forwarding.
The Arduino GIGA controls the vehicle movement using Hall sensors, servos, and stepper motors.
- RFID/NFC card control using RC522
- WiFi UDP communication between devices
- NeoPixel LED animation and light control
- Front and rear servo steering
- Dual stepper motor drive system
- Hall sensor based steering correction
- Sensor enable/disable commands from RFID cards
- Stop and resume vehicle logic
- Straight driving mode when sensors are disabled
- ESP32
- Arduino GIGA
- RC522 RFID/NFC reader
- NeoPixel LED strip
- 2 Hall sensors
- 2 Servo motors
- 2 Stepper motors with drivers
- WiFi network for UDP communication
The ESP32 reads RFID cards and sends commands either through UDP or UART.
RFID cards can:
- Open or close doors
- Turn lights on
- Stop or resume the car
- Enable or disable left/right Hall sensors
- Force the car to drive straight
The Arduino GIGA receives sensor commands from the ESP32 over UART and controls:
- Steering servos
- Stepper motor speed
- Hall sensor correction logic
Commands sent from ESP32 to Arduino GIGA:
sensor left on
sensor right on
sensor both on
sensor both off