With "ESP32-Cam WiFi HD DashCam" Arduino source code, and the suggested circuit, you can make a DashCam to record the video during driving.
A timelapse camera for cyclists using M5Stack TimerCamera-F and Flutter.