Skip to the content
2 layers63.8 × 41.1 mmIR + ultrasound, the printed circuit board in 3D

IR + ultrasound

qaismasri/Luner-ICE

Imperial College London · ELEC40006 Electronics Design Project 1 (EEERover) · Group 15

Size
63.8 × 41.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
19
Pads
82
Tracks, vias
88, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
13 May 2026
Updated
6 Aug 2026

Overview

IR + ultrasound is an open-source printed circuit board by qaismasri, from the qaismasri/Luner-ICE repository on GitHub. It is a 2-layer board of 63.8 × 41.1 mm with 32 parts on 19 nets, routed with 88 tracks and 0 vias.

It is built around the MCP6022-I/P and LM393. Its parts include 17 resistors, 6 capacitors, 3 ICs, 3 connectors and 1 diode.

Main components

2

README

README.md

Lunar-ICE Rover

A remotely operated lunar rover that drives a simulated lunar surface and identifies rocks by their radio, infrared, ultrasonic and magnetic signatures.

Imperial College London · ELEC40006 Electronics Design Project 1 (EEERover) · Group 15

Documentation Contents Sensors Architecture Team

About the project

The goal was to design and build, from scratch, a remotely controlled rover capable of exploring a simulated lunar surface and surveying the rocks it finds there. The rover has to be driven around large obstacles by a remote operator, park itself next to a target rock, and work out two things about it: how old it is, and what type of rock it is.

Nothing about the rock is visible from the outside. Everything the rover reports has to be recovered from four faint signals the rock emits — a radio transmission carrying its age, infrared pulses, an ultrasonic tone, and a magnetic field. Each of those needed its own sensor, its own analogue signal chain to pull a usable signal out of the noise, and its own place on the chassis.

The project ran over one term as a six-person group design exercise, and had to satisfy a handful of hard constraints:

  • Under 750 g all-up mass
  • £60 budget for components
  • 3.3 V logic throughout — the microcontroller's inputs are not 5 V tolerant
  • Driven entirely by a remote operator, with no line-of-sight assumptions beyond the same Wi-Fi network
Complete rover chassis with both arms
Complete assembly — both plates, radio arm and sensor arm
Base plate and sensor plate separated
Two-plate stack — motors and power below, sensors above
Sensor arm mounted on the chassis
Sensor arm — sweeps three sensors across the rock
Radio antenna arm mounted on the sensor plate
Radio arm — fixed, angled down toward the rock

These are the Fusion 360 renders. Photographs of the built rover are the one thing this repository still lacks — see the wanted list.

Back to top

Contents

SectionWhat you will find
About the projectGoals, constraints and what the rover has to do
TeamWho built it, and who did what
The sensorsThe four sensing subsystems, one picture each
Identifying a rockHow four signals become a rock type and an age
System architectureThe two-board split and how data flows
DocumentationAll twelve technical chapters
Repository layoutWhere everything lives
Build and runGetting it onto the hardware

For the full technical write-up — calculations, simulations, measurements and PCB files — go to the documentation.

Back to top

Team

Group 15 — six first-year students, with the work split by subsystem.

NameMain contributions
Tibor VargaRadio circuit design and LTspice simulation
Junhao LiuChassis and sensor arm CAD, magnetic sensing
Qais MasriRadio research, PCB design, movement and controller, finances
Tunir SarkarInfrared sensor and firmware
Yangping LiMotor subsystem and drive integration
Shivang MehraUltrasound and magnetic sensing, integration
Back to top

The sensors

Four independent subsystems. The radio reports the rock's age; the other three combine to give its type.

Hand-wound ferrite coil antenna
Radio · rock age
120-turn ferrite coil tuned to 89 kHz.
ASK carrier, UART at 600 baud.
Infrared detection circuit
Infrared · rock type
SFH300 phototransistor, ×100 amplifier,
band-pass filter, LM393 comparator.
Ultrasonic receiver circuit on breadboard
Ultrasound · rock type
Prowave 400SR160 receiver, two ×34 stages,
deliberately clipped, envelope detected.
DFRobot SEN0619 magnetometer module
Magnetic · rock type
SEN0619 (BMM350) TMR magnetometer,
0.1 µT resolution over I²C.

Click any sensor to read its full design write-up.

Back to top

Identifying a rock

Each rock type maps to a unique combination of the three type-sensors:

Rock typeInfraredUltrasoundMagnetic
Basaltoid547 HzPresentDown
Gravion312 HzAbsentDown
Regolix312 HzPresentUp
Lunarite547 HzAbsentUp

Read as a truth table, any two of the three columns identify all four types. All three are measured anyway, so they cross-check one another and produce a confidence score — the figure that tells the operator when a reading is unreliable and should be rescanned.

The rover is driven and scanned entirely from a browser on the same Wi-Fi network, so the operator needs no special software.

Mission control web interface
Back to top

System architecture

The rover runs on two Adafruit Metro M0 Express boards, split by responsibility. Board 2 does nothing but read sensors; Board 1 handles Wi-Fi, the motors and the classification. Keeping them separate means network activity can never disturb sensor timing.

mermaid
flowchart LR
    subgraph Rock
        R["Target rock"]
    end

    subgraph B2["Board 2 — Sensing"]
        RAD["Radio<br/>89 kHz ASK"]
        IR["Infrared<br/>pulse counter"]
        US["Ultrasound<br/>40 kHz"]
        MAG["Magnetometer<br/>BMM350"]
    end

    subgraph B1["Board 1 — Control"]
        WEB["Wi-Fi web server"]
        CLS["Classification"]
        MOT["Motor driver"]
    end

    OP(["Operator<br/>browser + gamepad"])

    R --> RAD & IR & US & MAG
    RAD & IR & US & MAG --> PKT["Sensor packet @ 1 Hz"]
    PKT -->|"UART link"| B1
    WEB <-->|HTTP over Wi-Fi| OP
    CLS --> WEB
    MOT --> WHEELS["Drive motors"]
System diagram of the rover
Back to top

Documentation

The complete write-up — design reasoning, calculations, LTspice simulations, oscilloscope captures, CAD renders and PCB layouts — lives in docs/.

#ChapterWhat it covers
01System overviewMission objectives, rock types, architecture, data flow
02Infrared sensingPhototransistor front-end, band-pass filtering, comparator, pulse counting
03Radio sensingFerrite antenna, tuned LC, amplifier, envelope detector, Schmitt trigger, UART decode
04Ultrasound sensing40 kHz transducer, two-stage gain, deliberate clipping, envelope detection
05Magnetic field sensingHall-effect dead end, switch to a TMR magnetometer, thresholds
06Mechanical designTwo-plate chassis, radio arm, servo-driven sensor sweep arm
07Movement and controlTank steering, keyboard control, gamepad mixing, latency fix
08PCB designTwo-board split, schematics, footprints, layout rules
09Web interfaceMission control page, chunked serving, scan workflow
10Dual-board architectureWhy two boards, the UART link, packet format, classification
11Cost and bill of materialsComponent spend against budget
12ReferencesDatasheets and sources

New to the project? Start with chapter 01.

Back to top

Repository layout

text
Lunar-ICE/
├── docs/                      Technical documentation and all 71 figures
│
├── Full_Board_Code/           Flight firmware — the code that runs on the rover
│   ├── Board 1/               Wi-Fi, web server, motors, rock classification
│   └── Board 2/               All four sensors, streams readings to Board 1
│
├── Lonely_Board/              Single-board prototype (everything on one Metro M0)
│
├── sensing/                   Per-subsystem research, test firmware and PCBs
│   ├── Infrared/              IR pulse-detection test code
│   ├── radio/                 Coil calculations and radio test code
│   ├── ultrasonic/            Ultrasonic test code and design notes
│   ├── magnetic/              Magnetometer test code
│   └── PCBs/                  KiCad projects and manufacturing Gerbers
│
└── software/                  Web interface, servo tests, classification notes
    ├── Website/rover_website/ Board 1 firmware serving mission control
    └── Servo_test/            Sensor-arm servo sweep test

Every folder has its own README: docs · figures · firmware · prototype · sensing · software

Back to top

Build and run

You will need PlatformIO and two Adafruit Metro M0 Express boards, one with a WINC1500 Wi-Fi shield.

bash
cd "Full_Board_Code/Board 1"     # Wi-Fi, web interface, motors, classification
pio run --target upload

cd "Full_Board_Code/Board 2"     # sensors
pio run --target upload

Board 1 prints its IP address over USB serial on boot — open it in a browser on the same network to drive the rover and trigger scans.

Wiring, Wi-Fi credentials and build notes are in Full_Board_Code/README.md.

Back to top

Parts

32
QtyValueFootprintReferences
710kRResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR8, R9, R12, R19, R21, R23, R24
5100nFCapacitor_THT:C_Disc_D3.4mm_W2.1mm_P2.50mmC2, C3, C5, C6, C8
41kRResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR10, R13, R14, R16
2100kRResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR11, R17
2330kRResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR20, R22
2MCP6022Package_DIP:DIP-8_W7.62mmU2, U4
11N4148Diode_THT:D_DO-35_SOD27_P2.54mm_Vertical_CathodeUpD1
127kRResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR15
13.3nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC7
139kRResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR18
1Infra_inConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1LM393Package_DIP:DIP-8_W7.62mmU3
1Ultra_inConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1i/oConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1

The 30 most common of 32 parts.

More from qaismasri/Luner-ICE

1
  • 2 layers31.5 × 28.2 mmRadio PCB, the printed circuit board in 3D

    Radio PCB

    qaismasri/Luner-ICE

    Imperial College London · ELEC40006 Electronics Design Project 1 (EEERover) · Group 15

    16 parts

Similar boards

  • 2 layers107 × 60 mmRover, the printed circuit board in 3D

    Rover

    maxwellmbooth/eeerover

    49 parts
  • 2 layers70 × 79 mmIntegrated circuits, the printed circuit board in 3D

    Integrated circuits

    LilyTronics/lily_kicad_lib

    KiCad library by LilyTronics

    37 parts2MIT
  • 2 layers50.8 × 107.9 mmAnalog rev3, the printed circuit board in 3D

    Analog rev3

    PaulStoffregen/O_C_T41

    Ornament and Crime Optimized With Teensy 4.1

    202 parts164
  • 2 layers20.3 × 110 mm4HPico, the printed circuit board in 3D

    4HPico

    rheslip/2HPico-Eurorack-Module-Hardware

    2HP Eurorack module based on Raspberry Pi Pico 2

    73 parts84
  • 2 layers377.2 × 318 mmThree phase bridge, the printed circuit board in 3D

    Three phase bridge

    arcoslab/open-coroco-legacy

    COmpliant RObot COntroller is a free software project aiming to create an impedance controller based on a stm32 microcontroller using bldc motors and strain gauges.

    105 parts6
  • 2 layers58.4 × 36.8 mmBf-018a, the printed circuit board in 3D

    Bf-018a

    botanicfields/KiCad6-Environment

    My symbols, my footprints, my templates, etc. of KiCad6

    22 parts5CC0-1.0
  • 4 layers70 × 60 mmTanklevel, the printed circuit board in 3D

    Tanklevel

    Th3Link/tanklevel

    This project provides a solution for measuring the liquid level in tanks, such as rainwater tanks, using the TL-136 pressure sensor.

    80 parts4CERN-OHL-S-2.0
  • 2 layers113 × 86.7 mmSiC based Battery Disconnect, the printed circuit board in 3D

    SiC based Battery Disconnect

    abhinav937/SiC-Based-Bi-Directional-Circuit-breaker

    KiCad 7 PCB design files for E_Fuse

    138 parts2

Questions

How big is the IR + ultrasound PCB?

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

What parts does the IR + ultrasound use?

32 parts, built around the MCP6022-I/P and LM393. 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 IR + ultrasound KiCad files?

From the qaismasri/Luner-ICE repository on GitHub, at the commit this page was made from: the board is sensing/PCBs/IR + ultrasound/pcbs.kicad_pcb and its schematic sensing/PCBs/Demo pcb/Demo pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the IR + ultrasound design in my own project?

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