Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 3.51 KB

README.md

File metadata and controls

64 lines (46 loc) · 3.51 KB

bugbot-hardware

Everything physical about BugBot: the schematics, the bill of materials, 3D models of the robots and their boards, the mechanical design, the assembly guide, and the circuit simulation bench that doubles as the schematics' test suite.

Part of the BugBot open-source plan.

What is public and what is not

The schematics are public: every sheet as KiCad source and as PDF, the symbol library, the netlists, and the BOM with part numbers. Anyone can read, simulate and repair every circuit.

The PCB layout is not published: no .kicad_pcb, no gerbers, no pick-and-place files. The 3D models here were exported without copper, so they show the boards and their parts but not the routing.

Two robots

Robot Moves by Boards
robots/vibration/ four vibration motors on a silicone mat three 40 × 40 mm boards — Motion, Vision, Odometry — stacked on 2 × 5 sockets
robots/omni/ three 24 mm omni wheels on sub-micro gearmotors one Ø77 mm main board, plus a front sensor board, three wheel encoders and an NFC floor board

They share no boards today. Each robot's own README says what it is made of.

The vibration robot

Board Does
Motion battery, USB-C charging, 3.3 V rail, four DRV8830 motor drivers, two servo outputs, the ToF module connector
Vision ESP32-P4 (plus its C6 for Wi-Fi), OV5647 camera on a 22-pin flex, power switch, boot and reset buttons, LED
Odometry PMW3360 optical-flow sensor and BNO055 IMU, on a 10-way cable to Motion

Layout

path what
robots/<robot>/design/schematics/<Board>/ KiCad schematic sheets, BugBot.kicad_sym, the project file, golden_netlist.xml, and the schematic PDF
robots/<robot>/design/bom/ the BOM with part numbers and the JLCPCB BOM CSVs
robots/vibration/design/3d/ .step and .glb of each board without copper, plus renders
robots/vibration/sim/ the circuit bench: ngspice simulation of the whole stack from the netlists, 89 static checks, scenario runs, and an interactive schematic bench. See its README.md
robots/omni/design/lib/ the omni robot's board generators and layout tools, including the KiCad push-and-shove fork
robots/omni/mech/ the omni robot's OpenSCAD chassis and its FreeCAD assembly scripts
robots/<robot>/docs/ assembly and bring-up
viewer/ a web page that spins the board models (uses the .glb files), hosted at https://www.bugbotlab.com/hardware/viewer/

The two robots are not organised identically, because they did not grow the same way: the vibration robot's boards are hand-drawn in KiCad and simulated, while the omni robot's are generated by script and driven from a FreeCAD assembly that owns the board outlines. Each design/schematics/<Board>/ folder means the same thing in both.

Simulation is the schematic test suite

robots/vibration/sim/ builds a SPICE model of the three boards from golden_netlist.xml and checks it against the datasheets: rails, currents, USB limits, no-cell behaviour, motor stalls. When a schematic changes, python robots/vibration/sim/tools/sync_boards.py refreshes the snapshot and python robots/vibration/sim/check_static.py plus python robots/vibration/sim/sim_stack.py say whether it still holds. That is why the bench lives in this repo rather than beside the firmware.

Needs KiCad 10 installed (for ngspice and kicad-cli).

Licence

MIT, BugBotLab Ltd. Hardware files under the same licence.