Code Monkey home page Code Monkey logo

vscontrol's Introduction

VSControl

Serial control for ViewSonic video projector

Overview

This is a simple shell script to control a ViewSonic digital video projector. I have tested this with a ViewSonic PJD7820HD; it may or may not work with other projectors.

Hardware connection

Connect a USB to serial device (I useda TRENDnet TU-S9), null modem, and gender changer to the serial port of the projector.

Software setup

The ViewSonic projector expects serial data at (8,n,1) at 115200 baud. This can be configured with stty:

stty -F /dev/ttyUSB0 115200

(substitute /dev/ttyUSB0 for the terminal device provided by the USB serial adapter)

Usage

Simply run the script and provide an option. For example, to turn the projector on, use:

./projector.sh on

A list of common options can be seen by running the script with no options. For a full list of available options, use:

./projector list

Bugs

  • Currently the serial device is hard-coded as /dev/ttyUSB0.
  • There is no support for reading any data or status from the projector, only writing.

Notes

This can be used from an Onion Omega (or presumably any similar OpenWRT device with a USB port) after first installing the coreutils-stty package:

opkg install coreutils-stty

and setting the device speed as outlined above.

vscontrol's People

Contributors

mccollam avatar

Stargazers

Zhao Han avatar Mikkel Kroman avatar

Watchers

James Cloos avatar

Forkers

frostymccool

vscontrol's Issues

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.