This repository contains engineering materials of a self-driven vehicle's model participating in the WRO Future Engineers competition in the season 2024.
t-photos
contains 2 photos of the teamv-photos
contains 6 photos of the vehiclevideo
contains the video.md file with the link to a video where driving demonstration existsschemes
contains one or several schematic diagrams in form of JPEG, PNG or PDF of the electromechanical components illustrating all the elements (electronic components and motors) used in the vehicle and how they connect to each other.src
contains code of control software for all components which were programmed to participate in the competitionmodels
is for the files for models used by 3D printers to produce the vehicle elements.docs
contains documents such as the BOM and general principles to help setup the project.
- Chassis: LaTraxx Rally RC car chassis, selected for its robust design, stability, and adaptability to modifications.
- Advantages:
- High durability and suitable for various terrains.
- Pre-existing servo mount and ESC compatibility for smooth integration.
- Modifications: Mounted custom brackets for sensors and Raspberry Pi using 3D-printed parts.
-
Drive Motor: DC motor controlled by an ESC.
- Reason for Selection: Provides high torque and speed for quick acceleration.
- Engineering Considerations:
- Speed: Capable of achieving consistent lap times on the track.
- Torque: Sufficient to handle inclines and sharp turns.
- Power: Optimized for the 6V NiMH battery.
-
Steering: Chassis-integrated servo motor for precise control.
- Mount the Raspberry Pi and Arduino Nano on the chassis using custom 3D-printed brackets.
- Secure the ultrasonic sensors at the front and sides to maximize obstacle detection.
- Connect the servo and ESC to the Arduino Nano via PWM.
- Ensure all wiring is neatly routed to avoid interference with moving parts.
- Use zip ties and adhesive pads to stabilize components.
- Main Battery: 11.1V LiPo, stepped down for:
- Raspberry Pi 3 (via a buck converter).
- Arduino Nano (via USB of Pi).
- Motor Battery: 6V NiMH dedicated to the DC motor.
- Reasoning:
- Separate power sources prevent voltage drops affecting the control systems.
- Reduces noise interference from high-current components.
- Ultrasonic Sensors:
- Placement: One at the front and one on each side for 360° obstacle detection.
- Usage: Measure distances to walls and obstacles for navigation and avoidance.
- Raspberry Pi Camera:
- Purpose: Line detection for track navigation.
- Implementation: Mounted on a tilt bracket for adjustable angles.
-
Navigation:
- Use the Raspberry Pi camera for detecting lines, red and green traffic symbols and corners.
- Ultrasonic sensors ensure collision-free movement.
-
Control Flow:
- Raspberry Pi handles high-level decision-making.
- Arduino Nano processes real-time sensor data and actuates motors accordingly.
Component | Quantity | Description | Cost (USD) | URL |
---|---|---|---|---|
Raspberry Pi 3 Model B+ | 1 | Main processor for navigation and control | $38.50 | Buy from Cytron |
Arduino Nano | 1 | Microcontroller for sensor and motor control | $15.99 | Buy on Amazon |
Pi Camera | 1 | Camera module for vision-based navigation | $45.99 | Buy on Amazon |
Ultrasonic Sensor (HC-SR04) | 1-3 | Distance measurement for wall following | $3.00 each | Buy on Amazon |
11.1V 3S LiPo Battery | 1 | Power supply for the system | $98.99 | Zeee |
Step-Down Voltage Regulator | 1 | Converts 11.1V to required voltage levels for the Pi and motors | $6.71 | Buy on Amazon |
1/18 LaTraxx Rally RC Chassis | 1 | Chassis and mechanical structure | $119.95 | HobbyTown |
3D printed base plate | 1 | STL file | ||
3D printed base plate mount | 2 | STL file | ||
3D printed camera mount | 1 | STL file | ||
Illuminated Halo Ring Switch | 2 | $9.49 | Amazon | |
Screw Pack (M2, M3) | 1 | $8.19 | Amazon | |
Micro SD Card (32GB) | 1 | Must be at least 32GB | $49.99 | Amazon |
Jumper Wire Pack | 1 | >15cm | $6.98 | Amazon |