ef
Course 1: Self-driving Car & Mechatronics Integration
Workshop Series | Ages: 14+ (above 3rd gr. Junior High)
Total course cost: 64€
14+ (above 3rd gr. Junior High)
120 minutes
Nikos Zourtsanos, Dimitris Piperidis
Ομάδα Α: 12/10, 19/10, 02/11, 09/11, 16/11, 23/11, 30/11, 07/12, ώρα 10:45 – 12:45
Ομάδα Β: 13/10, 20/10, 03/11, 10/11, 17/11, 24/11, 01/12, 08/12, ώρα 10:45 – 12:45
Course 1 falls under the workshop series Self-driving Cars & AI and focuses on the analysis, explanation and synthesis of:
- the electromechanical parts of the vehicle
- the basic motion and remote control programming
- the programming and image capture from a built-in camera
- the basic programming of autonomous tracking algorithms (face detection and tracking)
Course 1 consists of the following sessions:
Session 1: General Description and Integration of the Self-driving Car Mechanical Subsystems
Description of the mechatronic assembly of the self-driving car as well as the autonomous functions we wish it to perform. Explanation of the kit of materials and tools that will be used to build the vehicle. Assembling the vehicle frame. Mounting motors and soldering the wires.
Session 2: Integration of the Self-driving Car Electrical Subsystems
Description of the power circuit of the self-driving car. Installation of switch, battery case, voltage regulator. Implementation of required electrical soldering for the installation and operation of the electrical subsystems. Implementation of the voltage regulator - motor driver – motors connections. Implementation of voltage regulator wiring - ESP32 CAM.
Session 3: Synthesis of the Embedded Computing System (ESP32 CAM) for the Self-driving Car
Installation of ESP32-CAM embedded computer system to the robot. Introduction to the ESP32-CAM computer system and its capabilities. Introduction to the ESP32-CAM programming environment, settings, downloading code to the microprocessor. Implementation of a step by step procedural code. Familiarization with the basic commands of ESP32 CAM.
Session 4: Programming Basic Motions for the Self-driving Car
The logic behind vehicle motion (linear, rotary, circle segments) and motor rotation. ESP32 CAM motor-computer interface, gate level explanation. Basic self-driving car speed control in 2 dimensions. Programming routines for linear and rotational motion, stop. Implementation of a basic application so that the vehicle performs a series of programmed motions inside the workspace.
Session 5: Connectivity and client/server programming for the Self-driving car
Explanation of the code to connect the Embedded Computing System ESP32-CAM to WiFi and programming to find the signal quality. Introduction to client/server programming logic and the concept of a web server. Implementation of test code for image capture and basic settings related to this capture.
Session 6: Design of a support base of the Embedded Computing System (ESP32 CAM) for the Self-driving Car
Finding the best angle of the camera of the ESP32-CAM on the robot for optimal visual coverage. Designing a suitable support base for the ESP32-CAM and printing it using a 3D printer. Building the vehicle's outer casing.
Session 7: Self-driving Car remote control mode programming
To server/client programming techniques for data transfer. Programming to remote control the vehicle via a keyboard. Programming server/client services for sending motion commands to the self-driving car.
Session 8: Programming and Management of Visual Information for the Self-driving Car
Programming to capture live video from the ESP32-CAM camera. Display the live video stream in a remote computer window. Remote control the vehicle in order to track a moving object via video on a remote computer. Programming algorithms for autonomous face tracking (face detection and tracking).
References - Supplementary Material
- https://randomnerdtutorials.com/esp32-cam-video-streaming-face-recognition-arduino-ide/
- https://randomnerdtutorials.com/esp32-cam-video-streaming-web-server-camera-home-assistant/
- https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
- https://www.youtube.com/watch?v=q-KIpFIbRMk
- https://www.youtube.com/watch?v=RCtVxZnjPmY
- https://www.youtube.com/watch?v=O6sDBmK3qho
- https://all3dp.com/2/esp32-cam-arduino-tutorial/
- https://www.youtube.com/watch?v=-g6Q9lSHDzg
- https://www.youtube.com/watch?v=7-3piBHV1W0
- https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html
- https://www.arduino.cc/
- https://www.arduino.cc/reference/en/
- https://playground.arduino.cc/
ef