Giter VIP home page Giter VIP logo

capturecam2web's Introduction

Capture images from Canon PowerShot SX110 IS

This code captures images from Canon PowerShot camera and provides the images on a webpage and add them to an archive

For this purpose the Camera needs:

  • to be connected to Raspberry Pi with an USB cable
  • should be powered with an external powersupply
  • the powerbutton needs to be controllable by the Raspberry Pi

Camera modification

To be able to poweron/poweroff the camera needs to be modified.

  • First the camera needs to be disasembled (remove back and front enclosure)
  • Solder two wires to the Powerbutton connector in the front enclosure. (use coated copper wire)
  • guide the cables through the battery box out of the camera and add some hot melt binding.
  • reassemble the camera
  • connect an optocopler to the two wire. Ensure correct polarization of the bipolar transistor within the optocopler. Measure the voltage on both wire refered to the camera supply votage. The lower cable must be connected to the emitter.
  • connect photodiode with a ~150Ohm resistor to a gpio pin of the raspberry (i'm using GPIO 24 (PIN18))

Software configuration

Software configuration on the raspbrry is done by using the install.sh script. If the systemd service is correctly registered and running you can create a file /tmp/capturepic to get the pictures from camera. Alternatively you can use the filecontrol.py in the webdirectory.

capturecam2web's People

Contributors

bachmmmar avatar

Watchers

 avatar  avatar

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.