
INT R1.0.1
manyetox/Autonomous-Photonics-Carrier
Source-available modular mobile carrier for autonomous photonics experiments using ESP32 control, optical flow, IMU sensing and magnetic wheel encoding.

Source-available modular mobile carrier for autonomous photonics experiments using ESP32 control, optical flow, IMU sensing and magnetic wheel encoding.
Wheel Encoder is an open-source printed circuit board by manyetox, from the manyetox/Autonomous-Photonics-Carrier repository on GitHub. It is a 2-layer board of 20 × 16.8 mm with 5 parts on 17 nets, routed with 73 tracks and 34 vias.
Its parts include 2 capacitors, 2 connectors and 1 IC. It belongs with the sensors and measurement boards of this library.
A source-available mobile robotics platform for autonomous and reconfigurable free-space photonics experiments.
This repository contains the electronics, fabrication files, preliminary embedded firmware, and research documentation for my UCL Electrical and Electronic Engineering third-year BEng project. The carrier is intended to move standard optical hardware around a tabletop, estimate its own motion from complementary sensors, and ultimately support closed-loop optical experiment setup and alignment.
Project status — 29 October 2026: Platform V2 works, including the motors, BNO086 IMU, and PAW3395 optical-flow sensor. The MA730 magnetic encoders remain untested because of component-ordering delays. Platform V3 is now in development, replacing the BNO086 with a lower-cost STMicroelectronics LSM6DS3. V3 hardware and firmware validation, full multi-sensor autonomy, and quantitative positioning experiments remain in progress. See the V3 development notes.
Platform V2 photographed during assembly. V2 has since been reported working; magnetic-encoder testing is still awaiting components. These photographs show V2, not the developing V3.
The carrier now has three platform generations, with V3 under development:
| System generation | Meaning | Status |
|---|---|---|
| Platform V1 | First integrated/monolithic autonomous-photonics carrier electronics | Historical, validated, superseded by V2 |
| Platform V2 | Modular carrier with BNO086 IMU | Working prototype; magnetic encoders still untested |
| Platform V3 | Next carrier generation with lower-cost LSM6DS3 IMU | In development; see V3 notes |
The numbers on individual V2 PCBs are board-local revisions, not new carrier generations. For example, OFS-R2.1.1 means Optical-Flow Sensor board revision 2.1.1; it is still part of Platform V2. The same applies to MB-R2.1, MDI-R2.0, and ENC-R1.0.
See VERSIONING.md before using fabrication files.
Free-space optical experiments are normally assembled and aligned manually. Even a simple setup can require repeated positioning of posts, lenses, polarisers, sources, detectors, and cameras. The long-term research question behind this project is whether a low-cost fleet of mobile optomechanical carriers can make parts of that process reconfigurable, repeatable, measurable, and eventually autonomous.
This repository focuses on the carrier layer: motion, embedded electronics, local sensing, and the interfaces needed for higher-level perception and closed-loop experiment control. It does not claim that autonomous optical alignment has already been solved; that is the experimental work this platform is intended to enable.
The project is being developed as an experimental research platform rather than only as a mobile-robot hardware build. The central question is:
Can a self-propelled optical post-holder module combine mobile positioning, multi-sensor localisation, and optical feedback to autonomously reconstruct and align repeatable free-space photonics experiments?
The current evaluation is organised around six questions:
These questions are intended to map directly onto measurable experiments. Results will only be reported after the relevant mechanical, electronic, localisation, and optical-control subsystems have been implemented and experimentally characterised.
Design-evolution note: the earliest research framing included an on-carrier screw-and-flexure fine-positioning stage and UWB ranging. Those ideas belong to the earlier design direction and are not core Platform V2 subsystems. Platform V2 instead focuses on a modular mobile carrier using wheel encoding, bottom optical flow, inertial sensing, planned overhead visual localisation, and later optical feedback. Fine optomechanical correction can be evaluated as a separate layer if required.
flowchart LR
B["1S LiPo / external power"] --> MB["MB-R2.1<br/>ESP32-WROOM-32UE mainboard"]
MB --> MDI["MDI-R2.0<br/>TC78H651 + BNO086"]
MDI --> LM["Left DC gearmotor"]
MDI --> RM["Right DC gearmotor"]
MB --> OFS["OFS-R2.1.1<br/>PAW3395 optical-flow board"]
MB --> ENC["ENC-R1.0<br/>MA730 wheel encoder boards"]
OFS --> REL["Relative tabletop motion"]
ENC --> WHEEL["Wheel angle / odometry"]
MDI --> IMU["Inertial orientation / motion"]
CAM["Overhead camera + fiducials<br/>planned system layer"] --> HOST["Host perception + experiment software<br/>planned"]
HOST --> MB
REL --> FUSION["Pose estimation / sensor fusion<br/>planned"]
WHEEL --> FUSION
IMU --> FUSION
CAM --> FUSIONThe V2 redesign deliberately separates functions across small PCBs. This makes the system easier to manufacture, debug, replace, and revise than V1's dense integrated board.
| Board ID | Function | Key devices | PCB | Current state |
|---|---|---|---|---|
| MB-R2.1 | Main controller / power / breakout | ESP32-WROOM-32UE, NCP186 3.3 V LDO | 4-layer, ~25 × 27.1 mm | Validated |
| MDI-R2.0 | Dual motor drive + IMU | TC78H651FGN, BNO086 | 4-layer, ~25 × 27 mm | Validated |
| OFS-R2.1.1 | Bottom optical-flow sensing | PAW3395, AP2127K-1.8 | 2-layer, ~19.3 × 24.0 mm | Working, author-confirmed |
| ENC-R1.0 | Wheel-angle sensing | MA730 magnetic encoder | 2-layer, ~20 × 16.8 mm | Untested; component ordering delayed |
Platform V2 design render. V2 uses a modular electronics architecture so sensing, motor control, and the main controller can be manufactured, debugged, and revised independently.
V3 replaces the V2 BNO086 with the STMicroelectronics LSM6DS3, identified in the latest schematic discussion. This is a six-axis accelerometer/gyroscope; V3 needs a matching driver and host-side orientation estimation instead of the BNO086 rotation-vector interface. The supplied V3 hardware includes the two-layer MDI-R3.0 motor/IMU board and OFS-R2.2 optical board. See V3 development notes.
V1 placed most functions on one approximately 50 × 50 mm, 8-layer PCB. The design included an ESP32-S3-WROOM-1, DWM3000 UWB, BNO086 IMU, two TMC5041 stepper-controller ICs, DRV8231 motor-driver stages, and the associated power and USB circuitry. It was a useful integration exercise and was built around the original concept of combining coarse mobile motion with local stepper/flexure positioning.
Platform V1 concept. The first carrier generation combined the mobile base with local optomechanical positioning and concentrated most of the electronics onto a single integrated PCB.
The current architecture intentionally moves away from putting every possible function on one carrier PCB. The main reasons were:
The V1 source is retained because it documents the design path and may still be useful to researchers interested in a more integrated architecture.
Before the dedicated photonics-carrier generations, I developed a more general mobile-robot electronics platform. It is retained in hardware/legacy-reference because several practical design lessons carried into this project, but it is not Platform V0 and should not be treated as part of the carrier version sequence.
Legacy mobile-robot reference design retained for engineering context. It predates the autonomous-photonics carrier and is included only to document relevant design heritage.
Autonomous-Photonics-Carrier/
├── hardware/
│ ├── platform-v1/ # Historical integrated carrier
│ ├── platform-v2/
│ │ ├── mainboard/MB-R2.1/
│ │ ├── motor-driver-imu/MDI-R2.0/
│ │ ├── optical-flow/OFS-R2.1.1/
│ │ └── wheel-encoder/ENC-R1.0/
│ ├── platform-v3/ # MDI-R3.0 and OFS-R2.2 development files
│ └── legacy-reference/ # Pre-project robot electronics; not a platform version
├── firmware/
│ ├── platform-v2/agent-v2.4/ # Latest local V2 firmware and client
│ ├── platform-v3/ # LSM6DS3 firmware pending
│ └── preliminary/ # Original scaffold retained
├── software/ # Planned host-side autonomy / experiment software
├── docs/ # Architecture, methods, validation, manufacturing notes
├── data/ # Experimental-data conventions; no results claimed yet
├── media/ # Image/video placeholders
├── VERSIONING.md
├── CHANGELOG.md
├── CITATION.cff
└── LICENSE.mdNative KiCad source files are provided alongside fabrication outputs. Current fabrication packages are separated from superseded board revisions so that a Gerber revision cannot be mistaken for a platform generation.
Start here:
The CSV BOMs in the board folders were auto-extracted from the KiCad PCB files to make review easier. They are not a substitute for checking the schematic and part datasheets before ordering.
The latest local Agent v2.4 package is included for ESP32 + BNO086 + PAW3395. It includes web controls, independent motor factors, level/origin calibration, relative positioning, telemetry and an Open WebUI client. ESP32 compilation and host checks are documented with the package; the author’s working-V2 report does not validate every automated action. V3 LSM6DS3 firmware remains pending.
A deliberately conservative PlatformIO/Arduino scaffold is included in firmware/preliminary. It establishes the intended embedded-software structure, status reporting, motor-control abstraction, serial command interface, and placeholders for BNO086, PAW3395, and MA730 integration.
It is not the final autonomy firmware and it is not presented as experimentally validated software. Peripheral signal-to-GPIO assignment is left disabled by default wherever the uploaded hardware files do not prove the final system interconnect unambiguously. This prevents a public repository from presenting guessed pin mappings as fact.
The preliminary firmware and parts of the repository/software scaffolding were prepared with assistance from OpenAI ChatGPT 5.6 and then reviewed against the project hardware files. See AI_ASSISTANCE.md.
The intended estimation hierarchy is complementary rather than relying on a single sensor:
Prototype IMU/optical-flow positioning firmware has been developed in the project. Global localisation, encoder integration, multi-carrier coordination, and optical-feedback optimisation remain development work; measured positioning performance has not yet been published.
The repository is organised so that later results can be reproduced rather than reported only as a final demo. The principal measurements are:
See docs/research-methodology.md and docs/validation.md. Until those experiments are complete, target resolutions or simulated estimates should not be read as measured performance.
For the research context behind the architecture, see docs/related-work.md.
This project sits between robotic optical alignment, autonomous laboratories, and mobile multi-sensor robotics. The most directly relevant prior work is summarised here; the longer discussion belongs in docs/related-work.md.
Commercial active-alignment systems from companies such as Physik Instrumente provide useful industrial context: high-precision automated optical alignment is already practical, but such systems are generally built around dedicated stages and predefined alignment tasks rather than low-cost independently mobile optical carriers [6].
The distinction matters: this repository does not claim that the individual techniques above are new. The research question is whether coarse mobile positioning, complementary low-cost sensing, standard optomechanical compatibility, and closed-loop optical feedback can be combined into a scalable carrier architecture for reconfigurable free-space experiments.
Author: Taylan Arslan
Programme: UCL Electrical and Electronic Engineering — BEng third-year project, 2026–27
Project supervisor: Prof. Kaan Akşit
EEE co-supervisor: Thomas Gilbert
The supervisors are acknowledged for academic supervision; this repository is maintained by the author and is not an official UCL product or endorsement.
Research feedback, reproducibility reports, bug findings, and non-commercial improvements are welcome. Please read CONTRIBUTING.md before opening a pull request. In particular, use the versioning vocabulary above when discussing hardware revisions.
This repository is intentionally source-available for non-commercial research, education, and personal experimentation, but it does not grant commercial-use rights under its public licences.
Because of the non-commercial restriction, this project should not be described as OSHWA-compliant “open-source hardware.” See LICENSE.md for the exact scope and important IP limitations.
This is research hardware, not a certified product. Re-check power rails, polarity, motor current, battery protection/charging, connector orientation, clearances, and fabrication outputs before use. If the carrier is used around lasers or other optical sources, follow the laboratory's laser-safety procedures; this repository does not replace a risk assessment or device datasheet.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | Conn_01x07_Socket | Library-kicad:7 pin smd conn 2.54 | J1, J2 |
| 1 | 100n | Capacitor_SMD:C_0603_1608Metric | C2 |
| 1 | 1u | Capacitor_SMD:C_0603_1608Metric | C1 |
| 1 | MA730 | Package_DFN_QFN:QFN-16-1EP_3x3mm_P0.5mm_EP1.75x1.75mm | U1 |

manyetox/Autonomous-Photonics-Carrier
Source-available modular mobile carrier for autonomous photonics experiments using ESP32 control, optical flow, IMU sensing and magnetic wheel encoding.

manyetox/Autonomous-Photonics-Carrier
Source-available modular mobile carrier for autonomous photonics experiments using ESP32 control, optical flow, IMU sensing and magnetic wheel encoding.

manyetox/Autonomous-Photonics-Carrier
Source-available modular mobile carrier for autonomous photonics experiments using ESP32 control, optical flow, IMU sensing and magnetic wheel encoding.

manyetox/Autonomous-Photonics-Carrier
Source-available modular mobile carrier for autonomous photonics experiments using ESP32 control, optical flow, IMU sensing and magnetic wheel encoding.
manyetox/Autonomous-Photonics-Carrier
Source-available modular mobile carrier for autonomous photonics experiments using ESP32 control, optical flow, IMU sensing and magnetic wheel encoding.

manyetox/Autonomous-Photonics-Carrier
Source-available modular mobile carrier for autonomous photonics experiments using ESP32 control, optical flow, IMU sensing and magnetic wheel encoding.
manyetox/Autonomous-Photonics-Carrier
Source-available modular mobile carrier for autonomous photonics experiments using ESP32 control, optical flow, IMU sensing and magnetic wheel encoding.


joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.

OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

jamro/tiny-engineer
A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

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



Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
It measures 20 × 16.8 mm and has 2 copper layers, 1.6 mm thick.
5 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.
From the manyetox/Autonomous-Photonics-Carrier repository on GitHub, at the commit this page was made from: the board is hardware/platform-v2/wheel-encoder/ENC-R1.0/source/Wheel-Encoder.kicad_pcb and its schematic hardware/legacy-reference/source/robot aio esp32 manuel solder 8 layer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask manyetox before reusing the design.