GithubHelp home page GithubHelp logo

skyehoefling / rpicampantilt Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 29 KB

.NET 5 based Pan-Tilt Module for Raspberry Pi PCA9685

License: MIT License

C# 2.94% Shell 0.13% CMake 0.40% C 94.69% C++ 1.83%
raspberry-pi raspberry-pi-camera arducam pca9685 dotnet pan-tilt

rpicampantilt's Introduction

RPiCamPanTilt

.NET 5 based Pan-Tilt Sample App for a Raspberry Pi 4 using the Arducam Pan-Tilt Module (PCA9685).

This is a .NET 5+ implementation of the Arducam PCA9685 pan-tilt camera module. It uses the all the C native driver code that was originally found on the official repository https://github.com/Arducam/PCA9685. This project exposes necessary APIs which allows the shared C# code to invoke them.

Hardware

This project uses the Arducam PCA9685 Pan-Tilt Module and a Raspberry Pi

The hardware was purchased on Amazon using the link below

Supported Devices

This has been tested on a Raspberry Pi 4 with the full .NET 5 SDK. No guarentees it will compile on any other system.

Getting Started

The fastest way to get started is by running the build.sh script from the root directory and then running the .NET sample application. If you are interested in the individual build steps, skip ahead to Building.

Quick Start

In the root of the repository execute the build.sh script and then run the sample app

./build.sh
cd PanTiltSample
dotnet run

Building

The complete build is broken into 2 main components

  • Native C drivers
  • .NET 5 code

The first step is to compile the native code which will be used by the .NET code.

cd lib
cmake .
make

Once the native code is compiled you can build and run the .NET code.

cd PanTiltSample
dotnet run

Created by Andrew Hoefling

License

The MIT License (MIT) see License File

rpicampantilt's People

Contributors

skyehoefling avatar

Watchers

 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.