https://github.com/schowdhuri/axn-cam
Poor man's action camera built using Raspberry Pi Zero
https://github.com/schowdhuri/axn-cam
raspberry-pi
Last synced: about 1 month ago
JSON representation
Poor man's action camera built using Raspberry Pi Zero
- Host: GitHub
- URL: https://github.com/schowdhuri/axn-cam
- Owner: schowdhuri
- License: mit
- Created: 2017-12-24T07:15:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-21T14:36:25.000Z (over 7 years ago)
- Last Synced: 2025-01-22T07:48:16.160Z (over 1 year ago)
- Topics: raspberry-pi
- Language: Python
- Homepage: https://www.desdevpro.com/article/raspberry-pi-action-camera
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# axn-cam
Poor man's action camera using Raspberry Pi Zero
## Installation
1. Create directory:`sudo mkdir /opt/axn_cam`
1. Copy `start.py`: `cp start.py /opt/axn_cam/start`
1. Make it executable: `sudo chmod 755 /opt/axn_cam/startup`
1. Copy the index file to the same directory: `cp index /opt/axn_cam/`
1. Create the log file: `sudo touch /var/log/axn_cam.log`
1. Copy the startup script `axn_cam_startup` to `/etc/init.d/`
1. Make it executable: `sudo chmod 755 /etc/init.d/axn_cam_startup`
1. Test starting the program: `sudo /etc/init.d/axn_cam_startup start`
1. Test stopping the program `sudo /etc/init.d/axn_cam_startup stop`
1. Register script to be run at start-up `sudo update-rc.d axn_cam_startup defaults`
1. 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](https://www.desdevpro.com/article/raspberry-pi-action-camera)
## Troubleshooting
1. Access issues can be resolved by adding write permissions to the index file, log file and the `/opt/axn_cam` directory
1. Make sure `/opt/axn_cam/start` and `/etc/init.d/axn_cam_startup` are executable
1. 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)