Skip to content

Pi Zero Optimizations

Michael Lynch edited this page Mar 22, 2021 · 6 revisions

The Pi Zero (W) is not officially supported by TinyPilot, but it offers a low-performance TinyPilot experience if your resources are limited.

General suggestions

  • Do not enable the read-only filesystem since the overlay filesystem consumes too much memory leading to overall slower performance.

Lower the default framerate

Lowering the framerate from 30 FPS (the default) to 15 FPS drastically reduces CPU usage. This not only helps to reduce the power consumption and heat dissipation, but it also improves the responsiveness of the web interface.

Reducing the framerate also reduces the frequency of TinyPilot dropping or repeating typed keys.

To change the settings, edit the file /home/tinypilot/settings.yml, and add the following lines so they become the default for both the initial installation and upgrades.

ustreamer_desired_fps: 15
ustreamer_drop_same_frames: 15

Re-run the installation command after adding these lines.

Clone this wiki locally