GithubHelp home page GithubHelp logo

zeziba / pimotioncamera Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 854 KB

Raspberry Pi Autonomous Camera with Network Access Storage Saving

License: GNU General Public License v3.0

Python 94.85% Shell 5.15%
python raspberry-pi-3 raspberry-pi-camera raspberry-pi-gpio nas-storage pi-camera pir-sensor motion

pimotioncamera's Introduction

PiMotionCamera

Included in this package is a python 3 program that runs a Pi camera in conjunction with a PIR motion sensor. The picture will be saved to a local NAS run by a samba server.

In order to run the package there are a few setup steps needed

If a NAS storage sever is desired I recommend the samaba server to store content on and retrive. To use the samaba server a Linux computer or Pi will have to be used to host it. As all the commands and code is used to set-up and save to a samba server, it is require to have these tools installed Samaba, follow this link to see how to install the samaba sever.

To run the package all you need is the included files unless you would like a NAS storage. To run the default package just follow these steps.

  • Download the program as a zip
  • Extract to desired location
  • Open a terminal
  • Navigate to the PiMotionCamera folder
  • Navigate to the PiCameraServer
  • run sudo ./connect_server.sh
  • Navigate back to the PiMotionCamera folder by entering in cd ..
  • use python3 ./config_parser.py in the terminal
  • use python3 ./PiMotionCamera.py

Following the above sets should allow the camera to start functioning and start taking pictures if motion is detected by the PIR sensor.

If the camera fails to take pictures ensure that everything is plugged in correctly and that the camera is enable in the configuration menu for the pi.

To connect to the Samba server you will need the following packages
  • sambas
  • samba-common-bin
  • samba-client

The above will allow you to work witht eh samba server

pimotioncamera's People

Contributors

zeziba avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

simhaonline

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.