Skip to content

schowdhuri/axn-cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axn-cam

Poor man's action camera using Raspberry Pi Zero

Installation

  1. Create directory:sudo mkdir /opt/axn_cam
  2. Copy start.py: cp start.py /opt/axn_cam/start
  3. Make it executable: sudo chmod 755 /opt/axn_cam/startup
  4. Copy the index file to the same directory: cp index /opt/axn_cam/
  5. Create the log file: sudo touch /var/log/axn_cam.log
  6. Copy the startup script axn_cam_startup to /etc/init.d/
  7. Make it executable: sudo chmod 755 /etc/init.d/axn_cam_startup
  8. Test starting the program: sudo /etc/init.d/axn_cam_startup start
  9. Test stopping the program sudo /etc/init.d/axn_cam_startup stop
  10. Register script to be run at start-up sudo update-rc.d axn_cam_startup defaults
  11. If you ever want to remove the script from start-up, run: sudo update-rc.d -f axn_cam_startup remove

Wiring

Check out my blogpost

Troubleshooting

  1. Access issues can be resolved by adding write permissions to the index file, log file and the /opt/axn_cam directory
  2. Make sure /opt/axn_cam/start and /etc/init.d/axn_cam_startup are executable
  3. The camera is known to 'freeze' while recording. The status LED stays on and doesn't respond to the toggle switch. I have a hunch that this is due to overheating (I could be wrong). I don't know of a workaround yet (except for restarting the Pi)

About

Poor man's action camera built using Raspberry Pi Zero

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published