/college-arduino-bt-rc-car

(2023.2) College project involving a RC car controlled by an Arduino MEGA 2560 via Bluetooth using the HC-05 module and the Dabble app (Gamepad Module [Android & iOS]) also featuring 4x Ultrasonic Sensors to prevent crashing.

Primary LanguageC++

college-arduino-bt-rc-car

(2023.2) College project involving a RC car controlled by an Arduino MEGA 2560 via Bluetooth using the HC-05 module and the Dabble app Gamepad Module [Android & iOS]) also featuring 4x Ultrasonic Sensors to prevent crashing.

  • Logic Control: Arduino MEGA 2560
  • BT: HC-05 Module
  • Ultrasonic Sensor: HC-SR04 (check out docs/)
  • Phone BT app: Dabble (Gamepad module) (Android & iOS)

TODO

  • Set the right pins (pin.h)
  • (maybe) Update/embed (properly) the main images under media/ to this README.md

DONE

  • Figure out how to split the project code into multiple files (headers)
    • Writing the basics of the header files:
      • pin.h
      • commonFunctions.h
      • US_HC-SR04.h
      • engine.h
    • Get the multiple files working together (at least 'Verifiable')
  • Rename all variables of engineTesting.ino since they're basically all wrong because I considered the wrong schematics (credits to @EduardoDepari)

@2023-10-26

  • OPTIMIZATION: Ultrasonic Sensor pulseIn() duration timeout
  • FEATURE: (src/commonFunctions.h) runForDuration() function using millis()
    • while(runForDuration()) for *testingRoutines()

@2023-10-30

  • FEATURE: forwards() - Movement restrictions based on sensors' proximity.

@2023-11-09

  • (tons of refactoring and full migration from Arduino MEGA to ESP32)
  • Build: Voltage regulator for the ESP32 (12 to 5V) using a LM7805
    • Redoing of power circuits/solderings considering the migration above (credits to @EduardoDepari and @KaykyNakagawa)

@2023-11-10

  • Improved data types (uint*_t)
  • Usage of constexpr instead of #define
  • Added proper debugging modes
    • DEBUG_MODE
    • DEBUG_MODE_ROUTINE_LOOPING_ONLY

@2023-11-14

  • Improved debugging modes
  • migrated back to Arduino due to college supply problems
  • FEATURE: added BOOST mode

Remaining credits to...