Skip to the content
PCBKitNew board
2 layers80 × 31.2 mmUKMARSBOT RP2040Wall Sensor Basic, the printed circuit board in 3D

UKMARSBOT RP2040Wall Sensor Basic

ukmars/gemini9

Respository for hardware and software components of UKMARSBOT gemini

Size
80 × 31.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
27
Pads
74
Tracks, vias
190, 6
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
8 Jan 2025
Updated
8 Oct 2026

Overview

UKMARSBOT RP2040Wall Sensor Basic is an open-source printed circuit board by ukmars, from the ukmars/gemini repository on GitHub, published under the MIT licence. It is a 2-layer board of 80 × 31.2 mm with 30 parts on 27 nets, routed with 190 tracks and 6 vias.

It is built around the TLCR5800 and BC337-40. Its parts include 14 resistors, 3 diodes, 2 capacitors, 2 transistors and 1 connector. It belongs with the sensors and measurement boards and the RP2040 boards of this library.

Main components

2

README

README.md

Overview

Here is the UKMARS repository for our Gemini Micromouse. A robot capable of competing in our half size line following, Full Size Wall following and Full Size Maze Solving competitions.

The Gemini robot is a second revision of the clubs first robot UKMARSBOT https://github.com/ukmars/ukmarsbot Gemini has been designed so that the core microprocessor can be changed without having to change the chassis or sensor configuration. This has been done with what we call a mezzanine board. This "Mez" board connects the microprocessor to the chassis and the sensors.

At present the robot has been designed around the Raspberry Pi Pico (w) to facilitate the use of MicroPython as a control language for the robot. This is taught is schools and allows schools to use the robot as part of their teaching aid. The Pico allows for other languages as well with the first alternative being C.

It is possible to build a Gemini robot using all commercially available parts.

In the future we hope to offer different Mez boards to allow a range of microcontrollers to be used. We are always looking for help from the community. So if you would like to design a mez board for a different microcontroller please get in touch.

This repo will contain all you need in order to build your own Gemini robot and get ready to compete in our competitions

The groups website can be found https://ukmars.org/

A step by step build guide can currently be found https://ukmars.org/projects/gemini/

This "main" repo contains details relevant to the very latest PCB's that have been produced and distributed to schools and group members. If you know you have a different version board than the latest (unlikely) you can find relevant KiCad documents in a release relating to your board. You will see a link to this on the right of this message

If you have found your way here without knowing about the UKMARS group, welcome. Becoming a member of UKMARS automatically gets you a set of PCB to build your own Gemini robot. All you have to do is source the parts and build.

Technology details

All of the boards have been designed using the latest version 8 release of KiCad. They may get upgraded to version 9 but this is not a priority at the moment and the automations we have in place are not compatible with v9.

You do not need KiCad installed in order to view the boards or the schematics

Build details

The docs folder contains schematics, PCB renders and BOM lists. These are built directly from the KiCad and the component choices listed in the schematic represents the groups default choice of component. They are not necessarily the only option and builders are free to change the spec of components if they feel they have suitable technical knowledge to do so. In addition to the components listed in the \docs\all_projects_bom.csv you will also need the following components to build a mouse.

Supplier details

Components

The following is a list of recommended UK supplier for the passive components of the board. Due to shipping costs we do recommend trying to source all passive components from one supplier if at all possible.

RSonline - https://uk.rs-online.com/web/

Rapid electronics - https://www.rapidonline.com/

Farnell - https://uk.farnell.com/

Robot bits, Microprocessors and other

The following sites can be used to find the components not available from the above suppliers

https://thepihut.com/

https://shop.pimoroni.com/ - Motors and Encoders

https://www.amazon.co.uk/ - good for batteries and the DC motor controller

Mechanical Parts not in the BOM

ItemDescriptionpart numbers and supplier options
Encoders and encoder cablesThese can be ordered along side the motor so you might have already looked at these
You will need two 6 pin 1mm pitch JST-SH cables to connect the motor encoder to the main board. An adaptor is used to convert the JST-SH cable to 2.54 pitch to connect it to J1 and J2
Encoder adapter boardThis board converts JST-SH to 2.54 pins.
This does make soldering of the robot easier.
You can omit this part if you are comfortable soldering wires from a JST-SH cable direct to the chassis board
https://thepihut.com/products/breakout-for-6-pin-jst-sh-style-connector-side-entry
JST_SH cablesThese cables connect the motor encoder to the chassis.

If you are comfortable soldering small cables direct to the chassis then you can use the second option. You DO NOT need the JST-SH adaptor board if you solder the wires direct to the chassis. This option is for experienced builders only as it increases the risk of problems with motors and/or encoders reading being reversed.
https://thepihut.com/products/jst-gh-1-25mm-pitch-6-pin-cable-100mm-long


https://amzn.eu/d/hsau12j
Wheels and TyresPololu Wheel 32×7mm Pair available in black or white or you could 3D print some and use O rings for tyresPi Hut SKU: POL-1087 or SKU: POL-1088

https://thepihut.com/products/pololu-wheel-32x7mm-pair-black
Motor MountsYou need 2 motor mounts. They can be 3D printed if you have the capability or you can buy the Polulo ones.

3D print models can be found in the \mechanical folder. GeminiN20MotorMount.STL - Print upside down
Pi Hut code SKU: POL-989

https://thepihut.com/products/pololu-micro-metal-gearmotor-bracket-pair-black
Battery and connectorThe battery should be a PP3 9Volt block Lithium Ion rechargeable one with micro USB charging socket and ideally charge level LEDs on the side.
Ideally 1200mAH capacity or greater
https://amzn.eu/d/i8hoP5S

https://amzn.eu/d/cmckSHt

Rapid Online Order Code: 18-0092
Nuts and boltsIf you are using 3D printed mounts which have 3mm holes in them you need 4 M3 x 30mm flat head polyamide bolts. Pack of M3 polyamide nuts 8 required

M3 x 10mm plastic spacers or 10mm piece of plastic tubing

Ebay is a good place to order small quantities of M3 hardware
Rapid Online Order Code: 51-3852

Rapid-Online Order Code: 51-3437

https://www.ebay.co.uk/str/kaysfasteners

Stand OffsUsed for mounting connecting the sensor and mez board to the chassis

Lots of ways to do this but a pack of standoff's makes this simple.

A nylon screw and nut can be used as a skid
https://amzn.eu/d/eMlVNY3

ScreenNot required, but a screen can be helpful. The important thing with a screen is the pin order which needs to be Gnd, Vcc, SCL, SDA left to right. Other screens can be used but will require custom connectors
Warning The screens available from Pimoroni can be used but their GND and Vcc pins are reversed when compared to the mez board connector. EXTREME care needs to be taken if wiring these
https://a.aliexpress.com/_EJEPBEO
https://amzn.eu/d/ffaTN75

All of the options here are what UKMARS believe to be the best starting options for schools and new builders. It does not represent the only options available. If you have suitable experience and knowledge feel free to swap components as you see fit. If you do deviate from the build guide and/or suggested components please make sure to mention this if you encounter problems.

Parts

30
QtyValueFootprintReferences
310RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR7, R8, R9
3680RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR10, R12, R14
3BPW85CLED_THT:LED_D3.0mm_Horizontal_O3.81mm_Z2.0mmFPD1, LDPD1, RDPD1
3LEDLED_THT:LED_D3.0mmD1, D2, D3
3TLCR5800LED_THT:LED_D5.0mm_Horizontal_O1.27mm_Z3.0mmDLED1, DLED2, FLED1
2100uF, 16vCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC1, C2
210KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4, R6
22k2Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR11, R13
23.2mmMountingHole:MountingHole_3.2mm_M3_PadH1, H2
2390RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R3
2BC337-40Package_TO_SOT_THT:TO-92_Inline_WideQ1, Q2
11k8Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR15
133RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
1Conn_01x16Connector_PinSocket_2.54mm:PinSocket_1x16_P2.54mm_VerticalJ1

Questions

How big is the UKMARSBOT RP2040Wall Sensor Basic PCB?

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

What parts does the UKMARSBOT RP2040Wall Sensor Basic use?

30 parts, built around the TLCR5800 and BC337-40. 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 UKMARSBOT RP2040Wall Sensor Basic KiCad files?

From the ukmars/gemini repository on GitHub, at the commit this page was made from: the board is ecad/UKMARSBOT_RP2040Wall-Sensor-Basic/UKMARSBOT_RP2040Wall-Sensor-Basic.kicad_pcb and its schematic ecad/UKMARSBOT_LineSensorBasic/UKMARSBOT_LineSensorBasic.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the UKMARSBOT RP2040Wall Sensor Basic design in my own project?

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

More from ukmars/gemini

3
  • 2 layers40.5 × 81.4 mmUKMARSBOT LineSensorBasic, the printed circuit board in 3D

    UKMARSBOT LineSensorBasic

    ukmars/gemini

    Respository for hardware and software components of UKMARSBOT gemini

    32 parts9MIT
  • 2 layers99.1 × 81.3 mmUKMARSBOT RP2040Chassis, the printed circuit board in 3D

    UKMARSBOT RP2040Chassis

    ukmars/gemini

    Respository for hardware and software components of UKMARSBOT gemini

    22 parts9MIT
  • 2 layers62.6 × 81.3 mmUKMARSBOT RP2040Mezzanine, the printed circuit board in 3D

    UKMARSBOT RP2040Mezzanine

    ukmars/gemini

    Respository for hardware and software components of UKMARSBOT gemini

    17 parts9MIT

Similar boards

  • 4 layers99.1 × 81.3 mmSSEverythingMainBoardv2, the printed circuit board in 3D

    SSEverythingMainBoardv2

    paulbuzzby/Micromouseboards

    Here are different sets of PCBs for various Micro Mouse applications

    71 parts
  • 2 layers45 × 53 mmHalfMonti SensorPcbS, the printed circuit board in 3D

    HalfMonti SensorPcbS

    neilpstevenson/monty-mouse-mini

    Source code for micromouse Monty Mini

    33 partsMIT
  • 2 layers84.3 × 56.9 mmEbus, the printed circuit board in 3D

    Ebus

    piwko28/smart-home-ebus-adapter

    eBUS adapter PCB for use with ebusd-esp firmware as well as with other UART devices.

    51 parts18GPL-3.0
  • 2 layers283 × 177.5 mmUC-50-001, the printed circuit board in 3D

    UC-50-001

    sporniket/kicad-conversions--thomson-mo5--v1

    A conversion to Kicad EDA of the schematics of a computer released around 1984 known as the "Thomson MO5".

    225 parts7CC0-1.0
  • 2 layers152.4 × 188 mmYoklama dip v1, the printed circuit board in 3D

    Yoklama dip v1

    ardaS37/varlama

    An ESP32 RFID and Android NFC attendance system for managed facilities.

    35 parts1
  • 2 layers278 × 135 mmN3-universal, the printed circuit board in 3D

    N3-universal

    oliviera999/n3_firmwires

    firmwires des bojetw connectés n3

    179 parts
  • 2 layers45 × 30 mmHome work, the printed circuit board in 3D

    Home work

    pOmelchenko/mipt_homework_pcb

    7 parts