I wanted a way to control MythTV and my television with a single remote control. So I used a Bumble-B, an IR receiver and LUFA to create a USB keyboard from the Sony remote control for my television. This setup turns out to be really nice. Since it is just a normal HID compliant USB keyboard, it literally works in any computer with USB support. No drivers are needed, just mappings of remote buttons to keyboard keys. CircuitFortunately, both parts that I attached to the Bumble-B have low power requirements and can be driven directly from the IO pins of an AVR. So the IR receiver and indicator LED in this circuit are soldered directly into the Bumble-B board. For the indicator LED, I removed the anode leg and replaced it with the resistor and sealed it with shrink tubing, to keep it insulated and looking nice. DriverThe driver is a heavily modified version of both ir2ps2 firmware and the Demos/Device/ClassDriver/Keyboard demo inside LUFA. Configure your circuit pins and remote control codes at the top of SonyIRKeyboard.c. Note: this driver currently only supports the Sony IR protocol. Other protocol support may be added in the future. Contact fletch. CodesHere is the codes I used for my setup. Tune these or add more entries to support more Sony IR codes.
|
Software |
Вопрос
Вопрос, на первый взгляд, не в тему: Кто-нибудь знает, что такое квантика?
Post new comment