Milestone: Flask Server Integration — Web-Controlled LED Pulsating

Integrating the PWM light control into the Scrap Rover’s Flask server: a /switch/light endpoint toggles a smooth pulsating effect on and off, running in a background thread alongside camera PTZ and static file serving.

April 27, 2026

Milestone: MOSFET PWM Control — Making a Light Bulb Pulsate from the Pi

First proof-of-concept for GPIO-driven power switching: using an N-channel MOSFET and PWM from the Raspberry Pi 5 to control and pulsate a light bulb. A key stepping stone toward full motor drive control on the Scrap Rover.

April 22, 2026

Streaming the IP camera with WebRTC

Introduction Now that the IP camera is confirmed working over RTSP, the next challenge is getting that stream into a browser without plugins or heavy client software. The solution: convert the RTSP stream to WebRTC and serve it directly from the Pi’s own webpage. The full pipeline looks like this: IP Camera (RTSP) → MediaMTX → WebRTC → Browser WebRTC is natively supported in all modern browsers and brings latency down to under 200ms — a significant improvement over the ~500ms delay observed in VLC. ...

March 29, 2026