Skip to the content
2 layers110 × 90 mmPlaca1, the printed circuit board in 3D

GammaVersion's repo for WRO Future Engineers 2023 season

Size
110 × 90 mm
Copper layers
2
Thickness
1.6 mm
Parts
53
Nets
75
Pads
225
Tracks, vias
601, 113
Pours
20
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
4 Feb 2023
Updated
16 Sep 2023

Overview

Placa1 is an open-source printed circuit board by qu4Vix, from the qu4Vix/WRO-GammaVersion-2023 repository on GitHub. It is a 2-layer board of 110 × 90 mm with 53 parts on 75 nets, routed with 601 tracks and 113 vias.

Its parts include 26 ICs, 9 resistors and 7 diodes. It belongs with the ESP32 boards of this library.

README

README.md

WRO 2023 GammaVersion's

GammaVersion's repo for WRO Future Engineers 2023 season


Contents


Hardware

Building an autonomous car for this challenge involves a meticulous process of reimagining and redesigning various components to achieve precision, safety, and efficiency. In this project, we focused on enhancing the car's steering mechanism, designing a custom-printed circuit board (PCB) to connect all the components seamlessly, and implementing Light Detection and Ranging (LiDAR) technology for superior distance measurement compared to traditional ultrasonic sensors.

Component List

  • DOIT ESP32 DevKit V1 x2
  • Pixy 2
  • RPLIDAR A1 M8
  • MPU 9250
  • Pololu Magnetic Encoder
  • DSM44 Servo
  • RC Smart Car Chassis Kit Includes a simple motor
  • Motor Driver x2
  • Power Supply x3
  • RGB LEDS

Models

3D-Printed Supports and Structural Parts: As a crucial part of our project, we designed and 3D-printed custom supports to secure mechanical components and sensors. These supports ensured precise placement and minimized interference. Additionally, we utilized 3D printing to create lightweight yet robust structural components, allowing us to tailor the car's design to our specific needs while maintaining its strength and adaptability.

Electronics

LiDAR Implementation: Rather than relying on traditional ultrasonic sensors for obstacle detection, we opted for LiDAR technology. LiDAR, which stands for Light Detection and Ranging, uses laser beams to measure distances to objects with exceptional precision. This technology offers several advantages over ultrasonic sensors:

a. Greater Range: LiDAR can detect objects at much greater distances, providing the car with more time to react to potential obstacles.

b. High Precision: LiDAR provides accurate distance measurements, resulting in better navigation and collision avoidance.

c. 360-Degree Coverage: LiDAR offers a full 360-degree view around the car, ensuring comprehensive situational awareness.

d. Environmental Adaptability: LiDAR is less affected by environmental factors such as ambient light, making it more reliable in various conditions.

Esp-32 To bring our autonomous car project to fruition, we opted for the ESP-32 microcontroller as the central control unit. The ESP-32 boasts several compelling advantages that played a pivotal role in our decision-making process:

  1. Computing Power and Versatility: The ESP-32 distinguishes itself with its robust computational capabilities and remarkable versatility. Equipped with a potent dual-core processor and ample memory capacity, it emerged as the natural choice for our robotics endeavor, enabling rapid computation and accommodating our storage needs seamlessly.

  2. Advanced Wireless Connectivity: The ESP-32 integrates cutting-edge Wi-Fi and Bluetooth connectivity, positioning it as a frontrunner for efficient wireless communication. This capability empowered us to establish seamless and reliable communication channels between the autonomous car and external devices, such as remote controls or monitoring systems.

  3. Sensor and Actuator Compatibility: The ESP-32's adaptability extends to sensor and actuator integration. With its multitude of I/O (input/output) pins and versatile interface options, we effortlessly connected and controlled various sensors, including the IMU and LiDAR, as well as the steering servos.

Custom PCB Design: To seamlessly connect and control all the components of our autonomous car, we designed and printed a custom PCB. The PCB acted as the central hub that allowed us to interface with sensors, motors, microcontrollers, and other electronic components efficiently.

Our custom PCB design allowed for cleaner wiring, reduced interference, and enhanced reliability. It simplified the process of connecting and configuring various sensors and actuators, enabling smoother integration and troubleshooting during the development phase.

Our custom-designed PCB played a central role in integrating various components seamlessly. To ensure efficient power management and distribution, we implemented three distinct power sources:

a. Dual 5-Volt Power Supplies: One 5-volt power supply was dedicated to powering the LiDAR system, while the other supplied power to the steering servos. This separation of power sources allowed us to optimize the energy delivery to these critical components, ensuring their reliable operation.

b. 3.3-Volt Power Supply: A dedicated 3.3-volt power supply was employed to energize the microcontrollers, IMU (Inertial Measurement Unit), motor drivers, and LED lights. This voltage level was carefully chosen to meet the requirements of these electronic components, guaranteeing stable and consistent performance.

By employing these distinct power sources, we effectively managed the power needs of our autonomous car's various subsystems, ensuring that each component received the appropriate voltage and current for reliable operation. This meticulous power management contributed to the overall success and stability of our robotics project.

Ackerman's Steering Geometry

One of the key aspects of our project was reimagining the steering system to achieve a reduced turn ratio. To accomplish this, we implemented Ackermann steering geometry. Ackermann steering geometry is a mechanism that ensures that all four wheels of the car track along different paths during a turn, reducing tire wear and enabling smoother and more precise turns.

By incorporating Ackermann steering, we were able to optimize the car's turning radius, allowing it to navigate tighter corners with ease. This was achieved by adjusting the angles of the wheels and their pivot points, ensuring that the inner and outer wheels followed distinct paths, greatly enhancing the car's maneuverability.


Software

Sensors

  • MPU: We use the MPU's GyroScope functionality to measure the angular speed along the Z-axis. Integrating this speed over time we get the orientation of the car.
  • Encoder: The encoder allows us to know the displacement of the car and consequently its speed, which we regulate using a PID controller.
  • LIDAR: The LIDAR sensor measures distances on a 360º range, therefore it allows the car to have a great knowledge of the surroundings. We store all the readings in an array when they are received.
  • Pixy 2: Pixy is an intelligent camera which can identify regions with the same colour. As a result, our code to handle the detection of the traffic lights is very reduced.

Position

With the data of the orientation and the displacement of the car we are able to calculate the position of the car. This is worked out by integrating the displacement over the trajectory of the car. With these calculations the coordiante origin is set to the initial position of the car, but we change it to the bottom left corner of the playfield with the measures of the LIDAR.

Strategy

Our strategy is to make the car able to define a path for the it to follow depending on the colour blocks it detects. We devide the playfield into eight sections, and the car stores whether it has to travel to the right or to the left in each section.


Photos

Car images

frontback
rightleft
topbottom

Team images

officialfunny

Videos

Demonstration videos

Demonstration videos of the car successfully completing both challenges. The links to each of them can be found in:


Legal

License

The source code in this repository is licensed under the GNU General Public License v3.0.

The hardware exposed in this project is licensed under the Creative Commons Attribution Share Alike 4.0 International license.

The documentation of this repository; found in robot-info, vehicle-photos, videos, team-photos, as well as this README.md; is licensed under the CERN Open Hardware Licence Version 2 - Strongly Reciprocal license.

A copy of each license can be found in the LICENSE file. More information about the licenses in the specific README.md of each section.

Credits


Parts

53
QtyValueFootprintReferences
111210Capacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderU2, U4, U8, U10, U11, U12, U13, U14, U22, U23, U26
9R_USResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R2, R3, R4, R5, R6, R7, R8, R9
7LEDOtros:LEDD1, D2, D3, D4, D5, D6, D7
4, , ,
3LM317_SOT-223Otros:SOT-223-3_TabPin2U3, U9, U25
2ESP-32ESP32:ESP32-DEVKITV1SiESP1, ESP2
2LOGOLibrerias:LogoG***, G***
2ServoOtros:ServoCAM.1, DIR1
2TB6612FNGTB6612FNG:TB6612FNGU5, U6
1BateriaXT60-M:AMASS_XT60-MU15
1BuzzerOtros:BuzzerU16
1CamaraOtros:CamaraU7
1EncoderOtros:EncoderU19
1LIDAROtros:LidarU1
1LOGOLibrerias:TextoG***
1MPU-92-65MPU-92-65:MPU-92-65U18
1MotorOtros:MotorU21
1PulsadorOtros:PulsadorU24
1SwitchOtros:SwitchU17
1Tira_LedsOtros:TiraU20

Similar boards

  • 2 layers217.1 × 393.8 mmSweepv2, the printed circuit board in 3D

    Sweepv2

    davidphilipbarr/Sweep

    Sweep - a small promicro based keyboard inspired by the Ferris.

    53 parts2.1k
  • 2 layers121.9 × 81.3 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    53 parts1kGPL-3.0
  • 2 layers48 × 48 mmUSB, the printed circuit board in 3D

    USB

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    53 parts915
  • 2 layers103.7 × 74.1 mmPicoGUS, the printed circuit board in 3D

    PicoGUS

    polpo/picogus

    Emulation of ISA sound cards and CD-ROM on Raspberry Pi Pico (GUS, SB/Adlib, MPU-401, Tandy, CMS, Panasonic CD-ROM) with USB mouse/joystick support

    53 parts805
  • 2 layers60.5 × 76.8 mmHeadphones prototype pcb, the printed circuit board in 3D

    Headphones prototype pcb

    strangeparts/niubi-headphones

    Flexible circuit board design for adding a headphone jack to an iPhone 7

    53 parts493MIT
  • 2 layers59.1 × 26.1 mmPSRAMmod, the printed circuit board in 3D

    PSRAMmod

    Architeuthis-Flux/JumperlessV5

    The next generation jumperless breadboard

    53 parts332
  • 2 layers49 × 49 mmOpen source BMS, the printed circuit board in 3D

    Open source BMS

    Teslafly/Dead-OpenBMS-dead

    A scalable, open source battery management system

    53 parts248
  • 2 layers39 × 40 mmMdb bridge esp32s3, the printed circuit board in 3D

    Mdb bridge esp32s3

    nodestark/mdb-esp32-cashless

    ESP32-based MDB cashless device for vending machines, supporting EVA DTS DEX/DDCMP telemetry and payments over the MDB protocol via Bluetooth and MQTT

    53 parts190MIT

Questions

How big is the Placa1 PCB?

It measures 110 × 90 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Placa1 use?

53 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Placa1 KiCad files?

From the qu4Vix/WRO-GammaVersion-2023 repository on GitHub, at the commit this page was made from: the board is robot-info/hardware/electronics/PCB/Kicad Project/Placa1.kicad_pcb and its schematic robot-info/hardware/electronics/PCB/Kicad Project/Placa1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Placa1 design in my own project?

Its repository states no licence, so its author keeps all rights: ask qu4Vix before reusing the design.