Skip to the content
PCBKitNew board
2 layers110 × 110 mmMs pcb, the printed circuit board in 3D

Designing a custom micromouse robot.

Size
110 × 110 mm
Copper layers
2
Thickness
1.6 mm
Parts
39
Nets
66
Pads
179
Tracks, vias
247, 26
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
8 Oct 2023
Updated
9 Sep 2024

Overview

Ms pcb is an open-source printed circuit board by opatiny, from the opatiny/micromouse repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 2-layer board of 110 × 110 mm with 39 parts on 66 nets, routed with 247 tracks and 26 vias.

It is built around the DRV8833PW, PKLCS1212E20A0-R1 and PTS526 SMG15 SMTR2 LFS, with the XT60-M among its other parts. Its parts include 8 resistors, 4 diodes, 3 capacitors, 3 connectors and 2 ICs. It belongs with the robots and motor control boards and the ESP32 boards of this library.

Main components

4

README

README.md

Algernon: A custom micromouse robot

YouTube demo of the project: https://youtu.be/nz4QlaSIkbY

Main repository for my bachelor's thesis project.

wholeMouse

Related repositories

The software fo this robot can be found in the two following repositories:

Abstract

This project was inspired by the micromouse competitions, in which small autonomous maze-solving robots compete to solve an unknown maze in the shortest possible time. The main focus of the project was to design a micromouse from scratch, which implied electrical and mechanical design, as well as the manufacturing of our own custom PCB. A physical prototype of the robot was fully assembled and tested. The robot implements 5 ToF distance sensors, an accelerometer and two brushed DC motors with encoders. The microcontroller is an ESP32-S3, and a 2P1S LiPo battery is used as a power supply. On the software side, all of the sensors were tested independently and are functional. A basic odometry task was also implemented, which allows to track the robot's position, and speed regulation of the wheels was added. What is more, a remote debug interface using WiFi was programmed in order to visualize the robot's status in real time.

Report of the project

The report of this thesis can be found in the docs folder of this repository: bachelor-thesis-opatiny.pdf

Repository structure

These are the main folders in this repository:

  • docs: All sorts of documentation about the project, as well as the datasheets and useful images of the components used.
  • electronics: Contains all the KiCad files of the PCB.
  • mechanics: All files related to mechanical design and manufacturing. Also contains all of our custom maze files.
  • matlab: Calculations and plot realized during the project.
  • software: Not the actual micro-controller software. This only contains a few tests done using the Micromouse Simulator tool.

Software

All the software of the robot is in its own repository: opatiny/ms-software.

Electronic design

The robot's PCB was fully designed in KiCad. The list of all the components used can be found in docs/electronics/mouseHardware.md.

Render of the final PCB pcb

3D view of the completed robot 3D

Mechanical design

The mechanical design is relatively simple since the PCB is the main structural element. We just had to design our own caster wheel, that are 3D printed out of PETG, and custom bumpers, 3D printed out of flexible filament.

Comparison of commercial and custom caster wheel caster

Close-up of the bumper bumper

Custom maze

In order to test our robot, we designed our own maze. The walls are 3mm MDF, spray painted white. The connectors are 3D printed out of PETG. Additional "bridge" parts are use to ensure the walls are parallel, and at the right distance from each other. All the parts were designed in solidworks.

The four types of connectors connector

Example of a small section of maze, integrating one of the "bridge" parts maze bridge

Parts

39
QtyValueFootprintReferences
310kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR2, R3, R4
20.1uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC1, C2
21kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR7, R8
2Caster_wheelfootprints:caster_wheel_customH5, H6
2Motor_holesfootprints:Polulu_Micro_GearmotorH3, H4
120kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1
1220uFCapacitor_SMD:CP_Elec_8x10.5C3
140kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR5
15kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR6
1Batteryfootprints:LiPo_2S1P_BatteryBT1
1Bumper_backfootprints:Micromouse_bumperH2
1Bumper_frontfootprints:Micromouse_bumperH1
1DEBUGLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD2
1DRV8833footprints:Polulu_DRV8833DRV1
1D_SchottkyDiode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolderD1
1Debug_3.3VConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mmH7
1Debug_GNDConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mmH9
1Debug_VBATConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mmH8
1ESP32-S3-DEVKITC-1U-N8R2footprints:XCVR_ESP32-S3-DEVKITC-1U-N8R2U1
1Frontfootprints:TinyTronics_VL53L1X_header_frontVL53L1X5
1Front-leftfootprints:TinyTronics_VL53L1XVL53L1X3
1Front-rightfootprints:TinyTronics_VL53L1XVL53L1X2
1GY-521footprints:GY-521U2
1LED_3V3LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD4
1LED_VBATLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD3
1Leftfootprints:TinyTronics_VL53L1XVL53L1X1
1Left motorfootprints:JST_SH_6pinsJ1
1PKLCS1212E20A0-R1footprints:buzzer_double_footprintLS1
1PTS526_SMG15_SMTR2_LFSfootprints:SW_PTS526_SMG15_SMTR2_LFSS1
1Rightfootprints:TinyTronics_VL53L1XVL53L1X4
1Right motorfootprints:JST_SH_6pinsJ2
1XT60-Mfootprints:AMASS_XT60-MJ3

The 38 most common of 39 parts.

Questions

How big is the Ms pcb PCB?

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

What parts does the Ms pcb use?

39 parts, built around the DRV8833PW, PKLCS1212E20A0-R1, PTS526 SMG15 SMTR2 LFS and XT60-M. 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 Ms pcb KiCad files?

From the opatiny/micromouse repository on GitHub, at the commit this page was made from: the board is electronics/ms-pcb.kicad_pcb and its schematic electronics/ms-pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ms pcb design in my own project?

Its repository publishes it under the CERN-OHL-P-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers97.8 × 43.2 mmClose door, the printed circuit board in 3D

    Close door

    NadavBenda/close-the-door-analog

    A tiny fully-analog, battery-powered behavioral reminder device.

    56 parts
  • 4 layers100 × 35 mmNavigator, the printed circuit board in 3D

    Navigator

    Mig-M27/Avionics-PCBs

    Este repositório é usado para gerir as versões dos projetos KiCAD do sistema de Avionics da Porto Space Team. Está dividido em 2 secções: 1.

    107 parts
  • 4 layers37.5 × 30 mmDehydration reminder, the printed circuit board in 3D

    Dehydration reminder

    Adityawadpalliwar/smart-hydration-reminder-PCB

    A compact, low-power, wireless-capable PCB designed to live in a water bottle base or sleeve. It detects when you drink using a 6-axis IMU, keeps a running record of intake events, and reminds you with a buzzer when you…

    39 parts
  • 2 layers94.1 × 63.5 mmGarageOpener, the printed circuit board in 3D

    GarageOpener

    AshiqAshref/Garage-Door-Opener

    Universal Garage Door using BLE (Bluetooth Low Power) running on ESP32 with highest security possible.

    42 partsMIT
  • 2 layers44.5 × 64 mmWoodstove monitor pcb, the printed circuit board in 3D

    Woodstove monitor pcb

    hoodnoah/woodstove_monitor

    An ESP32-based temperature monitor and logger for stack temperature of a woodstove, written in Rust.

    33 parts
  • 4 layers102 × 100 mmZelvicka, the printed circuit board in 3D

    Zelvicka

    RoboticsBrno/Robutek

    Robůtek je robotická platforma založená na čipu ESP32-S3. Je velice rozšitiřelný, ale ze základu umí jezdit, kreslit fixou, jezdit po čáře, pohybovat se bludištěm. Programování je přes Jaculus.

    214 parts12
  • 2 layers60 × 100 mmRobot boosterpack, the printed circuit board in 3D

    Robot boosterpack

    Hylian/BoosterBot

    Turn your TI LaunchPad into a robot!

    62 parts7
  • 2 layers91.9 × 67.1 mmUpdatedPCB2024, the printed circuit board in 3D

    UpdatedPCB2024

    CWRUbotix/Micromouse-2023-24

    A fully autonomous maze-solving not-quite-mouse-sized robot.

    31 parts6GPL-3.0