1 / 26

Department of Electronic Engineering NUIG

Department of Electronic Engineering NUIG. A Bluetooth and Ethernet Control System for Home Entertainment Devices. By: Shane Long Supervisor: Mr. Frank Callaly Apr 2007. System Specification Hardware Design Design Issues LIRC Package Installation of LIRC LIRC Programs Ethernet Interface

jerry
Télécharger la présentation

Department of Electronic Engineering NUIG

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Department of Electronic Engineering NUIG A Bluetooth and Ethernet Control System for Home Entertainment Devices By: Shane Long Supervisor: Mr. Frank Callaly Apr 2007

  2. System Specification Hardware Design Design Issues LIRC Package Installation of LIRC LIRC Programs Ethernet Interface Server Application Client Application Sharp Zaurus Bluetooth Interface Server Application Client Application Other Usage modes for the System Review References Overview

  3. Bluetooth Rx USB Serial Tx IR-Tx/Rx Bluetooth Mobile Phone System Specification Linux Workstation Ethernet Sharp Zaurus PDA

  4. Hardware Design • Hardware must have following capabilities • transmit IR signal at least 5m • receive IR signal at 38kHZ • serial interface (4 wires) • voltage control (serial port is power supply)

  5. Hardware Design Issues • Low power output from serial port • range in miliWatts • Extra power required to transmit IR signal sufficient distance • battery method??? • capacitor method???

  6. LIRC Package • Linux Infra-Red Control • decoding and sending of IR signals • reads remote control config file and sends signal out through serial port • Large no. of config files available • Sony, Philips, LG, Hauppauge, Hitachi etc.

  7. Sample Configuration File • begin remote • name SONY_RM-830 • bits 11 • flags SPACE_ENC • eps 25 • aeps 100 • header 2478 500 • one 1272 500 • zero 673 500 • ptrail 673 • gap 26940 • toggle_bit 0 • begin codes • Mute 0x148 • Power 0x548 • TV 0x0E8 • Teletext 0x7E8 • Input 0x528 • Output 0x338 • 1 0x008 • 2 0x408 • 3 0x208 • 4 0x608 • 5 0x108 • 6 0x508 • 7 0x308 • 8 0x708 • 9 0x088 • 0 0x488

  8. LIRC Daemon • Centre component of the LIRC package • receives parameters from IR Txing application • converts parameters to IR commands • sends IR commands to serial port

  9. irsend txing program xmode2 rxing waveform mode2 rxing pulse width irpty control over s/ware LIRC Tx/Rx Control Programs

  10. LIRC Installation Issues • To install LIRC serial driver the RS-232 driver first must be removed/overwritten • RPMs • LIRC-0.8.0 many RPM dependencies not available • Removal of RS-232 driver and recompilation • time consuming

  11. Installation of LIRC

  12. Ethernet Interface • Using workstation as remote control • cumbersome • not hand held • Ethernet interface provides mechanism to • control IR Tx with handheld device • control IR Tx from truly remote location

  13. Webpage VS Client/Server App

  14. Advantages Truly Generic Webpage would work on every browser Truly Remote WWW works anywhere in the world Browser Existence No need to develop client application Disadvantages Response Times Possibly too slow for application Webpage Application

  15. Advantages Standard Client-server architecture standard practice Response Times Extremely fast response times Control over lircd Parameters can be passed to lircd easily Disadvantages Client-Server Development Two applications must be developed Client Server Application

  16. Ethernet Server Application (1) • Application written in the Python • Task of Application • To connect to UNIX socket to control lircd • lircd –l opens socket at port 8765 for connection • Three parameters are required for IR Tx • SEND_ONCE • CONFIG_NAME • BUTTON_NAME • Implemented using Python sockets

  17. Ethernet Server Application (2) • Task of Application (contd) • To receive connection from client program and pass control of lircd • Implemented using Python XML-RPC libraries • Set of standard protocols that automate encoding and transport of messages • Three parameters to be sent across network link as integers

  18. Ethernet Client Application(1) • Task of Application • to connect to server application • Using Python XML-RPC libraries • Pass arguments to server application and hence to lircd to control the IR Tx • Arguments passed as integers • Client Application as a GUI • Remote control look and feel Developed using PyQt, a GUI design toolkit for Python

  19. Sharp Zaurus PDA Qtopia Application Builder Compatible with PyQt Wireless ethernet card Wireless handheld device Linux Variant OS Kernel: 2.4.78-rmk7-pxa3-embedix Ethernet Client Application(2)

  20. Bluetooth Interface • Wireless capabilities • Remote device • Mobile Phone • Bluetooth enabled workstation • Local device • USB Bluetooth dongle

  21. Bluetooth Server Application • Task of Application • To connect to UNIX socket to control lircd • To receive connection from client application and pass control of lircd to client

  22. Bluetooth Client Application • Task of Application • to connect to server application • gain control of lircd through server • To be developed for a mobile phone • J2ME • written on workstation and uploaded to wireless server • downloaded to mobile phone using WAP

  23. Other usage modes for System • Control over MP3/CD player with RC using IR Rx and irpty • Network Application to control Tx/Rx over the internet • Possible usage of a Linux core microcontroller instead of workstation

  24. Bluetooth Rx USB Serial Tx IR-Tx/Rx Bluetooth Mobile Phone Review Linux Workstation Ethernet Sharp Zaurus PDA

  25. Questions???

More Related