hardware hacked rebuilt vacuum cleaner.
cockpit (raspberry pi) — web robot control, sends command to chassis over uart, streams rpi camera over http.
- fastapi — web server for HTML and REST API
- fastapi websockets — realtime input sending
- nipplejs — vanilla js joystick
- ustreamer — fast webcam streaming
chassis (arduino nano) — receives json over uart and controls all the hardware
- ArduinoJson — fast input/output parsing
- FastLED — led strip control
-
arduino chassis firmware build:
install
arduino-cli
, connect arduino nano.cd chassis make all
-
raspberry pi cockpit deploy:
apt install docker.io docker-compose cd cockpit export DOCKER_BUILDKIT=1 docker compose up -d
- raspberry pi 3 / 4
- arduino nano / leonardo (any board w/ 10-bit adc for precise battery reading)