Skip to content

ieeeconcordia/Project-Icarus-Formula-WIEEE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Project Icarus - Formula WIEEE RC Car Code 🏎️

A beginner-friendly Robotics project for competeting with a wireless formula-style robot car using WiFi and a smartphone app.

🚀 What Does This Do?

This project lets you control a two-wheeled robot car wirelessly using your smartphone! The robot can:

  • Move forward and backward
  • Turn left and right
  • Be controlled remotely via WiFi
  • Work with different control interfaces (buttons or sliders)

📱 Two Control Options

We provide two different versions of the code, each with a different smartphone interface:

1. Button Control (Formula_IEEE_Buttons.ino)

  • Simple button interface - perfect for beginners!
  • 4 directional buttons: Forward, Backward, Left, Right
  • 1 center slider for fine speed control
  • Easy to understand - just press and hold buttons to move

2. Slider Control (Formula_IEEE_sliders.ino)

  • Advanced joystick-like control - for more precise movement
  • 2 sliders: one for forward/backward, one for left/right turning
  • Smoother, more gradual control
  • Variable speed based on how far you move the sliders

🔧 What You Need

Hardware:

  • ESP32 development board
  • 2x DC motors
  • Motor driver board (L298N or similar)
  • Wheels and chassis
  • Battery pack
  • Jumper wires

Software:

  • Arduino IDE
  • RemoteXY app on your smartphone (Android / iOS)

🚀 Quick Start Guide

Step 1: Install Arduino IDE

  1. Download Arduino IDE from arduino.cc
  2. Install the ESP32 board package in Arduino IDE

Step 2: Install RemoteXY Library

  1. In Arduino IDE, go to Tools → Manage Libraries
  2. Search for "RemoteXY" and install it

Step 3: Choose Your Code

  1. For beginners: Use Formula_IEEE_Buttons.ino
  2. For advanced users: Use Formula_IEEE_sliders.ino

Step 4: Upload the Code

  1. Copy the entire code from your chosen file
  2. Paste it into a new Arduino IDE sketch
  3. Connect your ESP32 to your computer
  4. Select the correct board and port in Arduino IDE
  5. Click Upload ⬆️

Step 5: Connect Your Phone

  1. Download RemoteXY app on your smartphone
  2. Upload the code to your ESP32
  3. Look for WiFi network "RemoteXY" or "ESP32_AP"
  4. Connect with password: 123456789
  5. Open RemoteXY app and start controlling!

🔌 Wiring Connections

Connect your motors to these ESP32 pins:

Motor 1 (Left):          Motor 2 (Right):
- Enable: Pin 27         - Enable: Pin 14  
- Input 1: Pin 25        - Input 1: Pin 12
- Input 2: Pin 26        - Input 2: Pin 13

🎯 Key Differences Between Versions

Feature Button Version Slider Version
Control Style Discrete buttons Continuous sliders
Learning Curve Easier for beginners Little more advanced
Speed Control Fixed speeds Variable speeds

🛠️ How It Works

Both versions use the same core principles:

  1. WiFi Connection: ESP32 creates a WiFi hotspot
  2. RemoteXY App: Your phone connects and sends control commands
  3. Motor Control: ESP32 receives commands and moves the motors accordingly
  4. Movement Logic:
    • Forward/Backward: Both motors spin in same direction
    • Turning: Motors spin in opposite directions

🌟 Tips for Success

  1. Start simple: Begin with the button version
  2. Test early: Upload code before adding all hardware
  3. Check connections: Double-check all wiring
  4. Practice: Try both versions to see which you prefer!

Good luck with your Formula WIEEE Car! 🏁

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages