Calibrate
Measure your camera's real motor speed once, so no dark band rolls through the picture.
Your camera’s shutter keeps turning in front of the sensor. If the sensor’s timing doesn’t match the motor, a dark band rolls through the picture. Dials are rough: a Nizo set to 18 runs at 17.2.
Run it
- Load the cartridge, set the dial to the speed you film at, and aim at a plain, evenly lit wall.
- On the Pi, stop the recorder and start the calibration with your dial speed:
sudo systemctl stop s8cam.service
python3 ~/s8test.py --calibrate --dial 18
- When it asks, run the camera for about 13 seconds. Measuring starts by itself.
- Start the recorder again:
sudo systemctl start s8cam.service.
It reads the motor speed from the shutter band and writes it into s8profile.json. Use more than one dial speed? Calibrate each, then pick the one you film at under Settings on http://s8cam.local:8080.
The rule
The exposure is exactly one motor cycle, so every row of the sensor sees one full turn of the shutter and the band disappears.
exposure_us = round(1,000,000 / motor_fps)
FPS = 1,000,000 / (exposure_us + 800)
| Motor (fps) | Exposure (µs) | Sensor (fps) |
|---|---|---|
| 16 | 62,500 | 15.80 |
| 17.2 | 58,140 | 16.97 |
| 18 | 55,556 | 17.74 |
| 24 | 41,667 | 23.55 |
| 25 | 40,000 | 24.51 |
The 800 µs is the sensor’s gap between frames.
Know your motor speed already? Type it into the Builder’s Motor speed field and download a new profile.