Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ir_ptz

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ir_ptz

  • 0.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

IR PTZ

CLI to controle a Pan, Tilt, and Zoom Camera by InfraRed via an Arduino. This is just a wrapper around arduino_ir_remote that adds the following:

  • cli to replay recorded codes
  • ability to record new codes

Requirements

  • Arduino Uno
  • IR Shield or IR LED and an IR Reviever
  • USB cable (printer cabel)

Hardware Installation

  • Connect the shield to the Arduino
  • Connect arduino via USB to yoru computer

Note if you are not using a shield the IR LED should be connected to PIN 3 and the IR Receiver should be connected to PIN 11

Software installation

Install this gem

$ gem install ir_ptz

You will need to install the Arduino SDK and load the sketch from this gem. To find the sketch run the following:

$ gem contents ir_ptz | grep arduino.ino
/PATH_TO_GEMS/1.9.1/gems/ir_ptz-x.x.x/arduino/arduino.ino

Then in the SDK open the output from above (e.g. /PATH_TO_GEMS/1.9.1/gems/ir_ptz-x.x.x/arduino/arduino.ino)

Still to do

Have writing to the Arduino not stop processing incoming key presses. Basically I will buffer the input in one thread and write out the buffer in the other I think.

FAQs

Package last updated on 03 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc