How dipto9999/self_balancing_robot works
Project type and purpose
• This is an IoT-style robotics system (“WALL-E”) combining embedded firmware, a Linux single-board computer, and user-facing software.
File structure
Top-level directories and their roles:
• Arduino_Firmware – balancing control, BLE communications, closed-loop PID, PWM motor drive
• Driver_App – Flask/HTML/CSS/JS web app (ngrok-exposed) for remote BLE control
• Dashboard_App – Python/Tkinter camera viewer, AWS S3 upload, AWS-interaction scripts
• Simulation – MATLAB/Simulink model of the control loop
Configuration and support files:
• requirements.txt files for Python dependencies
• .ino and .cpp/.h for MCU code
• KiCad files for PCB
• LaTeX source and PDF for final report
README for additional insights
• It lists hardware components (Arduino Nano 33 BLE, STM32L051, Raspberry Pi Zero 2 W), sensors, actuators, and software stacks (Flask/ngrok, Python/Tkinter, AWS S3).
Detail is key
• Sensors/modules as individual sub-components in the “Embedded Tier”.
• Intermediate data paths (e.g., IMU → complementary filter → PID → PWM).