Skip to content

sahilohe/cameraPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

#How to use

Steps to get the cameraPi working

  1. Use GPIO pin number 10 (You can use any GPIO, change the number in the code)

  2. Given is the code named 'camera.py' in the directory (you can check inside)

  3. Keep this directory('cameraPi') in /home/pi

To run this code on startup, you can do :

  1. Open terminal and type sudo nano .bashrc
  2. Go to the down and paste (echo "Activating the Camera") and (without the brackets ) (python3 /home/pi/cameraPi/camera.py)
  3. Ctrl + O to save the file
  4. Reboot and now you simply have to open the terminal and it shows "Activating Camera" and you can go on clicking photos.

If you want more ways to run this python code at startup you check out https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/#init

If there are any problem while running this code, do contact me

About

capture photos with raspberry pi with a click of a button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages