Git Product home page Git Product logo

remotetone's Introduction

RasPiRepCol

RemoteTone (Beta) is a try to work with an Asus AI Remote from a (dead) Asus motherboard package and a Raspberry Pi, using Python programming language. You can have more information into “doc” folder.

Remote management code cames from ai-remote github project

Requirements

  • First of all : a Raspberry Pi
  • An Asus AI Remote and its IR receiver
  • Python (with Debian / Raspbian : packages “python” and “python-dev”)
  • RPi.GPIO library (0.4.0a or newer). On Raspbian, install package “python-rpi.gpio”.
  • pyUSB library. On raspbian, install package “python-usb”.
  • A small piezzo buzzer. Try to find a 3.3V one if you want the sound to be enough loud.
  • A 330Ω resistor.

You have to connect :

  • One side of the resistor to pin #7 on the GPIO header
  • The other side of the resistor to the “+” connector of the buzzer
  • The other connector of the buzzer to the ground pin of the GPIO header (pin #6)

How to use RemoteTone

You'll first have to build the assembly, and plug it to the Raspberry Pi. Then plug the IR receiver to one of the USB connector of the Raspberry Pi. The receiver should be automatically detected. With a lsusb command, you should have the following line visible : Bus 001 Device 004: ID 0b05:172e ASUSTek Computer, Inc. (device number may differ).

You then have to start RemoteTone with python remote_tone.py, and change frequency with “+” and “-” buttons of the remote. In case of an USB timeout error on launch, you just have to start again RemoteTone.

When you want to stop the program, either hit Ctrl + C or press "Power" button of the remote.

remotetone's People

Watchers

James Cloos avatar Arnaud Boudou 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.