
Smart Plant
JGAguado/Smart_Plant
The Smart Plant is a board that can be plugged directly on the soil, close to the plant, that allows the measurement of the environment (soil moisture, environment temperature & illuminance), and presents the…

R1 round home robot: Jetson Nano, CadQuery CAD, 4-layer power & I/O board (KiCad), Unreal 5.8 simulator and Python autonomy (LiDAR mapping, camera obstacles)
R1 power io is an open-source printed circuit board by liorknafo, from the liorknafo/home-robot repository on GitHub, published under the MIT licence. It is a 4-layer board of 73.9 × 100 mm with 79 parts on 63 nets, routed with 877 tracks and 103 vias.
It is built around the SS14. Its parts include 26 resistors, 15 connectors, 9 ICs, 5 capacitors and 5 diodes. It belongs with the robots and motor control and computers and single-board computers boards and the RP2040 boards of this library.
A round (Ø 318 mm, 135.15 mm tall) differential-drive home robot built around an NVIDIA Jetson Nano, together with the Unreal simulator and the Python autonomy stack it is developed against.
| Folder | What's in it |
|---|---|
home-robot-r1/ | Robot hardware: parametric CAD (CadQuery), printable parts, the 4-layer power & I/O board (KiCad, generated from Python and auto-routed), fab package for JLCPCB, harness and BOM, bring-up guide |
home-robot-sim/ | Unreal Engine 5.8 simulator (a furnished apartment, the robot with its LiDAR, camera, IMU, encoders, bumpers and cliff sensors) and the autonomy controller (LiDAR mapping, camera low-obstacle detection, exploration, go-to) |
Status: work in progress. Nothing has been ordered or printed yet.
Hardware:
home-robot-r1/BRINGUP.md: assembly order and first power-up.
home-robot-r1/pcb/fab/ORDERING.md: exact JLCPCB order settings and a verify-before-ordering checklist.home-robot-r1/pcb/fab/: Gerbers, drill files, BOM, placement file, 1:1 PDF and board STEP.home-robot-r1/parts-and-connections.json and cable-cut-list.json: the BOM and the harness.Design history: home-robot-sim/docs/superpowers/ holds the specs and plans.
cad/assembly-meshes.json, cad/home-robot-r1.glb, design-review.html, and the simulator's Content/RobotData/assembly-meshes.json.home-robot-r1/reference-models/SOURCE.txt.Saved/), build output, caches and benchmark reports.tools/fetch_reference_models.sh. The NVIDIA Jetson model needs a manual download; the script prints the steps.home-robot-r1/cad/requirements.txt; CadQuery 2.8.0 + cadquery-ocp 7.9.3.1.1 on Python 3.14 also verified).python home-robot-r1/cad/build_robot.py. It takes about 25 min, and writes the meshes, STEP, print STLs and validation report.$KPY in the script headers, runs the pcb/ scripts and ktest_* tests): on macOS
/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3, on Windows
C:\Program Files\KiCad\9.0\bin\python.exe (or %LOCALAPPDATA%\Programs\KiCad\9.0\bin\python.exe for a per-user install), on
Linux the system python3 with the distribution's KiCad 9 packages.home-robot-r1/pcb/tools/freerouting.jar. It isn't redistributed; download it from the Freerouting releases
(pcb/tools.py pins its sha256, FREEROUTING_SHA256).pcb/tools.py finds these per OS. Override any of them with KICAD_CLI, KICAD_PYTHON, KICAD9_SYMBOL_DIR, KICAD9_FOOTPRINT_DIR,
KICAD9_3DMODEL_DIR, JAVA (or JAVA_HOME) and FREEROUTING_JAR.pcb/route.py with no arguments reproduces the committed routing with these versions; it records them in the board's ROUTED_WITH.kicad-cli, on its first sch erc run in a fresh config dir, copies KiCad's template fp-lib-table into that dir and
then crashes; every later run passes. So on a fresh install or CI the first test_erc_has_no_errors (or test_schematic.py) run
fails: run it again, or first copy <KiCad>/share/kicad/template/fp-lib-table (macOS:
/Applications/KiCad/KiCad.app/Contents/SharedSupport/template/fp-lib-table) to fp-lib-table in the 9.0 config dir
(%APPDATA%\kicad\9.0, ~/Library/Preferences/kicad/9.0, ~/.config/kicad/9.0).home-robot-sim/Scripts/build.command.python home-robot-sim/Scripts/sync_robot_data.py. It reads ../home-robot-r1/cad and copies the robot meshes and parameters.Scripts/launch.command house polished.Scripts/start-autonomy.command, then open http://127.0.0.1:8771/autonomy.html.home-robot-sim/controller/requirements.txt..command script has a .cmd twin in home-robot-sim/Scripts (build.cmd, launch.cmd house polished,
start-autonomy.cmd, run-tests.cmd, drive-house.cmd, drive-square.cmd, process-cameras.cmd).
.\home-robot-sim\Scripts\launch.cmd house polished starts the simulator plus, in
minimized windows, the autonomy service and object detection, then open http://127.0.0.1:8771/autonomy.html.
Every launcher first stops its own earlier runs, so rerunning it never leaves duplicates (NO_AUTONOMY=1 /
NO_VISION=1 skip a part).UE_ROOT) and
Visual Studio 2022 17.14+ with the "Game development with C++" workload, MSVC 14.38+ and Windows SDK 10.0.22621+.home-robot-sim\.venv on first use and run Python in UTF-8 mode (PYTHONUTF8=1). Set it yourself when you
run the Python tools directly, e.g. the CAD build, or they read the UTF-8 sources in the ANSI code page.tools/fetch_reference_models.sh runs in Git Bash. Verified with Python 3.13 + CadQuery 2.6.1 for the CAD build.launch.cmd, or alone with start-vision.cmd. It runs
YOLO26n-seg on each robot camera frame on the PC's NVIDIA GPU and shows boxes + masks under the dashboard's camera
image. By default it runs a TensorRT engine for this PC's GPU, built on the fly the first time (about 1-2 minutes,
vision/ensure_engine.py; the file name records the GPU and TensorRT version, so a new GPU or TensorRT gets a fresh
build). It falls back to PyTorch when TensorRT is unavailable, or with NO_TRT=1.
start-vision.cmd --model <weights or .engine> picks the model: any Ultralytics name (e.g. yolo11n-seg.pt), or
yolov12n-seg.pt, fetched from the YOLOv12 authors' release and loaded through vision/yolov12_compat.py
(Ultralytics publishes no YOLO12 segmentation weights). The robot does not act on these detections.
The pipeline is PyTorch end to end (vision/yoloseg, no OpenCV) and is the same one the robot runs.home-robot-sim/jetson/JETSON.md goes step by step
from the ONNX export on the PC to the FP16 engine and the live camera view on the Nano.cd home-robot-sim && python -m unittest discover -s tests, plus tests/scenarios_round.py.cd home-robot-r1 && python -m unittest discover -s pcb/tests -t . (or python -m pytest pcb/tests;
they include the CAD review-page checks). The tests that need KiCad skip when it isn't found; R1_REQUIRE_KICAD=1 makes them run (and fail).cd home-robot-r1 && $KPY -m unittest pcb.tests.ktest_pcb pcb.tests.ktest_power pcb.tests.ktest_route.MIT (see LICENSE) for everything in this repo: software, CAD, board design and documents. The manufacturer 3D models fetched by tools/fetch_reference_models.sh keep their own terms and are not part of this repo.
This repo is a published snapshot of two working folders that live next to it. To refresh and push it:
tools/sync.sh && git add -A && git commit -m "…" && git push.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | 10k | Resistor_SMD:R_0805_2012Metric | R2, R4, R6, R8, R10, R13, R14, R15, R16, R18, R19, R20, R26 |
| 7 | 100k | Resistor_SMD:R_0805_2012Metric | R1, R3, R5, R7, R9, R11, R17 |
| 5 | 2N7002 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2, Q3, Q4, Q5 |
| 4 | M3 | MountingHole:MountingHole_3.2mm_M3_Pad_Via | H1, H2, H3, H4 |
| 3 | 100nF | Capacitor_SMD:C_0805_2012Metric | C2, C4, C5 |
| 2 | 3.3k | Resistor_SMD:R_0805_2012Metric | R21, R23 |
| 2 | 4.7k | Resistor_SMD:R_0805_2012Metric | R24, R25 |
| 2 | M2.5 clamp | MountingHole:MountingHole_3mm | H5, H6 |
| 2 | SS14 | Diode_SMD:D_SMA | D1, D2 |
| 2 | green | LED_SMD:LED_0805_2012Metric | LED1, LED2 |
| 1 | 100uF 16V | Capacitor_SMD:CP_Elec_6.3x5.8 | C3 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric | R22 |
| 1 | 33k | Resistor_SMD:R_0805_2012Metric | R12 |
| 1 | 3V3 | TestPoint:TestPoint_Pad_D2.0mm | TP4 |
| 1 | 470uF 25V | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C1 |
| 1 | 5 A ATO | Fuse:FuseHolder_Blade_ATO_Littelfuse_FLR_178.6165 | F2 |
| 1 | 5V | TestPoint:TestPoint_Pad_D2.0mm | TP3 |
| 1 | 7.5 A ATO | Fuse:FuseHolder_Blade_ATO_Littelfuse_FLR_178.6165 | F1 |
| 1 | Arm button | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J12 |
| 1 | Battery in | Connector_AMASS:AMASS_XT30UPB-M_1x02_P5.0mm_Vertical | J1 |
| 1 | Bumper L | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J10 |
| 1 | Bumper R | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J11 |
| 1 | Cliff 1 | Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | J6 |
| 1 | Cliff 2 | Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | J7 |
| 1 | Cliff 3 | Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | J8 |
| 1 | Cliff 4 | Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | J9 |
| 1 | DRV8874 left, VIN/OUT row | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | U3P |
| 1 | DRV8874 left, VM/EN/PH row | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | U3L |
| 1 | DRV8874 right, VIN/OUT row | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | U4P |
| 1 | DRV8874 right, VM/EN/PH row | Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_Vertical | U4L |
| 1 | G5LE-1 DC5 | Relay_THT:Relay_SPDT_Omron-G5LE-1 | K1 |
| 1 | GND | TestPoint:TestPoint_Pad_D2.0mm | TP5 |
| 1 | GY-521 MPU-6050 | Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical | U2 |
| 1 | Jetson 5V | Connector_Molex:Molex_Micro-Fit_3.0_43650-0200_1x02_P3.00mm_Horizontal | J3 |
| 1 | Left motor | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Horizontal | J4 |
| 1 | Master rocker | Connector_JST:JST_VH_B2P-VH_1x02_P3.96mm_Vertical | J2 |
| 1 | Motor toggle loop | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J13 |
| 1 | Pico left row | Connector_PinSocket_2.54mm:PinSocket_1x20_P2.54mm_Vertical | U1A |
| 1 | Pico right row | Connector_PinSocket_2.54mm:PinSocket_1x20_P2.54mm_Vertical | U1B |
| 1 | Regulator in (P03 module) | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | U5A |
| 1 | Regulator out (P03 module) | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | U5B |
| 1 | Right motor | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Horizontal | J5 |
| 1 | Spare GPIO | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J15 |
| 1 | Spare I2C | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J14 |
| 1 | VBAT_SW | TestPoint:TestPoint_Pad_D2.0mm | TP1 |
| 1 | VMOT | TestPoint:TestPoint_Pad_D2.0mm | TP2 |
| 1 | yellow | LED_SMD:LED_0805_2012Metric | LED3 |

JGAguado/Smart_Plant
The Smart Plant is a board that can be plugged directly on the soil, close to the plant, that allows the measurement of the environment (soil moisture, environment temperature & illuminance), and presents the…

ugcs/ddc
Drone Show Software is software designed for drone shows, allowing flight path planning as well as control of dozens of drones simultaneously in a synchronized manner.

eddyem/stm32samples
Code samples and ready projects based on bare-metal STM32



execuc/u2if
USB to interfaces implementing MicroPython "machine" module functionalities on a computer.

ZeroPhone/ZeroPhone-PCBs
PCB files for ZeroPhone - for gerbers and schematics, go to "Releases" tab!

It measures 73.9 × 100 mm and has 4 copper layers, 1.6 mm thick.
79 parts, built around the SS14. 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 liorknafo/home-robot repository on GitHub, at the commit this page was made from: the board is home-robot-r1/pcb/r1_power_io.kicad_pcb and its schematic home-robot-r1/pcb/r1_power_io.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
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).