Skip to content

Fathin-Ishrak-Romeo/TESLA-Prototype-Voice-control-with-emergency-braking-Manual-control-and-RFID-based-door-security-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Objective

Developed a cost-efficient Tesla-inspired robotic car using Arduino Uno and ESP32-CAM, featuring RFID-based door security lock, Wi-Fi–secured web server for manual control, and Bluetooth-based voice control via an android app, with the ability to switch seamlessly between manual and voice control modes at any time. Integrated an emergency braking and collision avoidance system using ultrasonic sensors that detect obstacles within 30 cm (front/rear) and 15 cm (during turns), automatically stopping the vehicle until a new command is received. Added a rearview camera with backlight support to enhance parking precision and low-light visibility.


Full Setup & Installation Guidelines (Module-wise & Step by Step)

Module 1 Manual Control with Rearview Camera System

Step i: Installing ESP32 Board

  1. Open Arduino IDE.
  2. Go to: File > Preferences
    1
  3. Paste this link https://dl.espressif.com/dl/package_esp32_index.json within the "Additional board manager URLs" section > Click "OK".
    2
    NOTE: If other boards are already installed, add a comma (,) at the end of the existing link/s, paste the link with no space, and then click ‘OK’ as shown in the above picture.
  4. Go to: Tools > Board > Boards Manager.
    3
  5. Search: "esp32 by Espressif Systems" > Select Version: 2.0.0 > Install.
    4

Step ii: Installing Necessary Libraries

  1. Download: "AsyncTCP-master.zip" from HERE
  2. Download: "ESPAsyncWebServer-master.zip" from HERE
  3. Open Arduino IDE.
  4. Go to: Sketch > Include Library > Add .ZIP Library.
    5
  5. Select both of the downloaded "AsyncTCP-master.zip" and "ESPAsyncWebServer-master.zip" library files one by one > Click: "Open".

Step iii: Important Settings for Smooth Real-time Video Steaming

  1. Open: "This PC".
  2. Go to: "Documents" folder > "Arduino" folder > "librares" folder > "ESP_Async_WebServer" folder > "src" folder.
  3. Right Click: "AsyncWebSocket.h" file > Open with > Notepad.
    6
  4. Set the marked macro to 1 as shown in the below picture, then save the file by pressing "Win + S".
    7

Step iv: Using Arduino UNO as an External Programmer to Upload the Code into ESP32 CAM

  1. Build the below circuit.
    500
  2. Connect the Arduino UNO to the PC using USB cable.
  3. Open Arduino IDE
  4. Copy Manual_control_with_rearview_camera.ino code and paste it into the Arduino IDE.
  5. Go to: Tools > Board > esp32 > ESP32 Wrover Module.
    8
  6. Go to: Tools > Adjust the marked settings as below.
    9
  7. Go to: Tools > Port > Select the port to which the Arduino is connected (If multiple ports are shown, try connecting one by one to find the actual port).
  8. Upload the code.

NOTE: If the upload failed, that means there is a connection loss in the circuit.


Circuit Diagram

1400


Module 1 Manual Control System with Camera

WiFi Name: TESLA Prototype V1
Password: 12345678
Web Server: 192.168.4.1

Module 2 Voice Control System With Object Detection & Emergency Braking System

Bluetooth Name: HC-05
Password: 1234 or 0000
Android App: CLICK HERE

Module 3 Door Security System

RFID UID: E1 24 0C 05

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages