Git Product home page Git Product logo

picamctrl's Introduction

picamctrl

A project created so that I can control an RS485 camera using PELCO-D protocol from my Raspberry pi.

What you'll need

  • A Raspberry Pi (old as you like, as long as it has a 40 pin GPIO)
  • An RS485 HAT. I spent a whole £12 on this: https://thepihut.com/products/rs485-pizero by AB Electronics
  • Python3 (should be there already)
  • pip (apt install python3-pip)
  • pyserial (pip3 install pyserial)
  • flask (pip3 install flask)
  • flask_SQLAlchemy (pip3 install flask_sqlalchemy)

How to install

  • clone this repository
  • connect the RS485 cable to the port on the HAT
  • run python3 run.py
  • go to a browser http://:5000

It's a bit of a mess

  • Still loads of comments
  • Touch and mouse both work though

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.