Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.59 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.59 KB

Need for Speed

Finn Moore, Dimash Umirbayev

Idea

  • Create fun and exciting remote-controlled cars with live video streaming
  • Compete in a fast-paced racing game and explore inaccessible locations

System Architecture

Controls

PS2 controller hacked over SPI

  • Custom PID module in C
  • Speed control (PWM) and direction (H-Bridge) controlled with right joystick
  • Camera panning servos controlled with left joystick
  • Camera position reset: X button, LED flashlight toggle: O button
  • Start race with Start button

Wireless Transmission

  • XBee modules on base station and each car wirelessly transmit via UART protocol
  • ESP32-CAM module records, compresses (JPG), and transmits video over UDP

Finish Line Detection

  • Blue finish line is detected using the color connected components mode on PixyCam modules on each Car
  • Sends data over XBee indicating which car crossed the finish line
  • When this data is received, a UART Interrupt is triggered on the base station stopping the race and displaying winner