(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)
- Set the right pins (
pin.h
) - (maybe) Update/embed (properly) the main images under
media/
to thisREADME.md
- 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')
- Writing the basics of the header files:
- Rename all variables of
engineTesting.ino
since they're basically all wrong because I considered the wrong schematics (credits to @EduardoDepari)
- OPTIMIZATION: Ultrasonic Sensor
pulseIn()
duration timeout - FEATURE: (
src/commonFunctions.h
)runForDuration()
function usingmillis()
-
while(runForDuration())
for*testingRoutines()
-
- FEATURE:
forwards()
- Movement restrictions based on sensors' proximity.
- (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)
- Improved data types (
uint*_t
) - Usage of
constexpr
instead of#define
- Added proper debugging modes
DEBUG_MODE
DEBUG_MODE_ROUTINE_LOOPING_ONLY
- Improved debugging modes
- migrated back to Arduino due to college supply problems
- FEATURE: added BOOST mode
- @Rhyan for all the 3D stuff