Skip to content

Akash, Chris and I present to you the complete code of our final project for the MEAM 5100 - Design of Mechatronic Systems final project in Spring 2025. This code was written for a 3 wheeled robot car which can be manually controlled and has a few autonomous navigation capabilities as well.

Notifications You must be signed in to change notification settings

mshrekhar/battleready-robot-car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Battle Car Project:

This project showcases our team's simple three-wheeled battle car, built for a competitive arena environment. The car features both manual and basic autonomous navigation modes:

WhatsApp Image 2025-05-12 at 14 11 08_e4b73b35

Hardware:

  1. Front-facing PSD sensor
  2. Side-mounted ultrasonic sensor
  3. Vive Sensor - 2 mounted on the top most layer
  4. ESP32S2 microcontroller charged by a portable 5V charger
  5. Motors powered independently using NiMH batteries

Steering:

Manual: Web-based remote control interface

Autonomous: Rudimentary navigation algorithm (future work will enhance autonomy)

Arena Features:

  1. LED ring and whisker switch integrated for game rules compliance
  2. Vive setup available, but sensors proved unreliable near arena edges, so were rarely used

Note: Motors do not include encoders (no PID controller implemented); speed control worked well without it, but feel free to enhance with feedback control if needed

The project was built in the Arduino IDE environment. All the header files have been provided for this project in the folder. Please ensure that all files are in one folder when running the main file.

Instructions:

  1. Upload main file to Microcontroller.
  2. Connect to the wifi network you named in webserver.cpp
  3. Ensure to manually define the IP address you want to use for your remote control. This is also possible in the setupWebServer() function in webserver.cpp. Open your browser and enter this IP address as your URL.
  4. You should now be able to switch between the manual and autonomous modes. Enjoy playing around with this code now!

About

Akash, Chris and I present to you the complete code of our final project for the MEAM 5100 - Design of Mechatronic Systems final project in Spring 2025. This code was written for a 3 wheeled robot car which can be manually controlled and has a few autonomous navigation capabilities as well.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published