Dilshan R Jayakody. (jayakody2000lk@gmail.com)



Similar documents
Assembly. Integrated Circuits. DILSHAN R JAYAKODY (jayakody2000lk@gmail.com)

To perform Ethernet setup and communication verification, first perform RS232 setup and communication verification:

PIC18F2455/2550/4455/4550 Data Sheet

SA-9600 Surface Area Software Manual

DUKANE Intelligent Assembly Solutions

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Application Note: Connecting to a 2500 Series Processor using PLC Workshop

DPH-10U VoIP USB Phone Quick User Guide

Application Note. Equipment Needed

Network/Floating License Installation Instructions

ScanShell.Net Install Guide

Troubleshooting Tips Lifestyle SA-2 & SA-3 Amplifier. Troubleshooting Tips

Guide to Installing BBL Crystal MIND on Windows 7

STUDY OF CELLPHONE CHARGERS

AXIS Video Capture Driver. AXIS Video Capture Driver. User s Manual

Cart Interface Installation & Control Board Manual for M38 XP and RX Carts and Legacy M39 Carts

Technical Details and Schematic: A 1200-Baud APRS / Packet Digipeater

Complete Train Control. Run Your Trains, Not Your Track! 1 PR3 Programmer 1 USB Cable 1 This Instruction sheet

Multi-Profile CMOS Infrared Network Camera

PN-L702B LCD MONITOR TOUCH PANEL DRIVER OPERATION MANUAL. Version 2.1

Setting up VPN Access for Remote Diagnostics Support

CAT5 KVM Extender User Manual

Keri USB-A Connection and Configuration

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

This document is intended to make you familiar with the ServersCheck Monitoring Appliance

Evo Laser Firmware Developer s Manual

Total solder points: 248 Difficulty level: beginner advanced. 15 Channel infrared receiver K8050 ILLUSTRATED ASSEMBLY MANUAL

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

UMI3 Parametric USB MIDI Foot Controller. User s Manual

This document is intended to make you familiar with the ServersCheck Monitoring Appliance

Short Manual Intellect v SP2 module Unipos Contents:

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

19 LCD / 8 CHANNEL DVR COMBO WITH 160GB HDD & 4 CAMERAS

Honeywell Internet Connection Module

LAN / WAN Connection Of Instruments with Serial Interface By Using a Terminal Server

One of the following messages will appear in red when DisplayStudio is not properly connected to a media player on the wireless network.

Bluetooth HC-06 with serial port module Easy guide

TDP43ME NetPS. Network Printer Server. Control Center. for Ethernet Module

Remote Monitoring and Control of the R&S FSL with a Web Browser

DSG SoftPhone & USB Phone Series User Guide

Product Description. Licenses Notice. Introduction TC-200

IMMS-CCC. IMMS-CCC Hardwire Central Interface. Installation Instructions

8/16-Port IP KVM Switch IKVM-8010 / IKVM Quick Installation Guide

Table of Contents. Chapter1. Introduction Before Installation System Requirements... 1

MDI FAQ. Version 8.1.0a Page 1 of 16

DAS202Tools v1.0.0 for DAS202 Operating Manual

Software User Guide UG-461

Inventory Tracking Software Operations Manual

Data Logging Software and Cable Bundle Model DL-SC3 User Manual. Overview

CLEARONE DOCUMENT (REVISION 1.0) October, with Converge Pro Units

RS232 Board datasheet

User s Guide for OpenERP Microsoft Outlook Free Plug-in 1.0 By Axelor

PM1122 INT DIGITAL INTERFACE REMOTE

Yale Software Library

Customer Tips. How to Upgrade, Patch or Clone Xerox Multifunction Devices. for the user. Purpose. Upgrade / Patch / Clone Process Overview

Ocean Controls RC Servo Motor Controller

Phone: Fax: Web: info@ctiautomation.net

HCS-3300/3302/3304 USB Remote Programmable Laboratory Grade Switching Mode Power Supply

User Manual of Web Client

3.5 EXTERNAL NETWORK HDD. User s Manual

USER GUIDE Version 2.0

P420-M TM USB speakerphone

If you are unable to set up your Linksys Router by using one of the above options, use the steps below to manually configure your router.

Modification of an AOR AR-8600 receiver to tune it with a ACECO FC-3002 frequency finder

ipad Installation and Setup

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

How To Connect A Directsofl To A Powerpoint With An Acd With An Ctel With An Dm-Tel Modem On A Pc Or Ipad Or Ipa (Powerpoint) With A Powerline 2 (Powerline

Intel Active Management Technology with System Defense Feature Quick Start Guide

Bluetooth HID Profile

NStar Build 648. Release Notes. Page 1 of 17

4x1 USB HDMI KVM Switch Quick Installation Guide

BeoLink Media Installation Guide

Advanced Car Security System Using GSM

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

Name Description Model Number. Parameters Min. Typ. Max. Note. Vaux Voltage 9.8 V 12 V 13.2 V Auxiliary Supply Voltage

Quick Start Guide NVR DS-7104NI-SL/W NVR. First Choice For Security Professionals

USER GUIDE. Publication AP7080. Allen & Heath 1 XONE:1D User Guide

Ethernet. Customer Provided Equipment Configuring the Ethernet port.

OpenScape Business V2

rs-ba1 remote control software quick reference guide

Avalanche Remote Control User Guide. Version 4.1.3

Testing Robots Using the VEXnet Upgrade

Remote Monitoring and Control of the R&S FSV with a Web Browser

Real-time Operating Systems Lecture 27.1

PePWave Surf Series PePWave Surf Indoor Series: Surf 200, AP 200, AP 400

BASLER ACE QUICK INSTALLATION GUIDE

USB PC Adapter V4 Configuration

Midland BT Updater BTUpdater Program Program file (x86) ), Midland

POCKET AUDIO GENERATOR K8065

Iridium Extreme TM Satellite Phone. Data Services Manual

ETHERNET WEATHER STATION CONNECTIONS Application Note 33

Configuring the Switch with the CLI Setup Program

Remote Access Enhancements

ivms-4200 Client Software Quick Start Guide V1.02

IS SERIES. QuikStart Programming Guide. IP Network Direct System. Programming Videos

MAX17061A Evaluation Kit/Evaluation System

Schneider OS-Loader usage via Ethernet or USB.

DVR-4TL/8TL/16TL Setup Guide

The GV-I/O Box 8 Ports provides 8 inputs and 8 relay outputs, and supports both DC and AC output voltages.

Transcription:

Dilshan R Jayakody XBMC is a cross platform Media Center Application with 0-foot UI. In this project we develop USB port base controller for XBMC application. Main functionality of this controller unit is to provide remote control interface, LCD base player information panel and rotary encoder base controller for XBMC. With this given hardware design and software programs, user may be able to control XBMC without using standard input devices such as keyboard and mouse. This system is design to work with XBMC - JSON RPC interface. (jayakody2000lk@gmail.com) Fig.2- XBMC USB Controller Fig. - XBMC Audio Player This device is design to work with XBMC Version 0. (codename Dharma) or newer versions. Older version of XBMC may not work this system because of the differences in its Web Control Interface. All the software programs are All the schematics, PCB designs and other released under the terms of design files are released under the terms of - - Microchip s PIC8F4550 is a main hardware controller of this system. This microcontroller is used for USB interfacing, as LCD driver, IR base remote control data decoder and as a driver of the other input devices (such as rotary encoder and push switches). XBMC Controller s USB interface is design to work as a USB HID class device. cont d This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 7 Second Street, Suite 300, San Francisco, California, 9405, USA.

This system is design to work with Microsoft Windows Operating Systems and we test this system in Windows XP Professional editions and some few Windows XP Embedded editions also. Supplied firmware of this system is design to work with Sony SIRC 20bit infrared protocol and supplied ini file is configured for Sony RMT-V408 remote controller. \Controller\release folder with filename mcci.ini. This ini file contains 3 main sections such as xbmc, device and keymap. xbmc section contain 3 parameters: Address: IP address of the system where XBMC is installed. (In most of the configurations this parameter value set to defaults as 27.0.0.) Port: Port number assigned for XBMC web interface. (This value is need to verify with your XBMC network settings) Location: full path and filename of the XBMC executable file. Fig.3 Sony RMT-V408 Remote Controller Software Content This system consists with two main software modules:. PIC8F4550 base software (firmware): This software module is developed using MikroC version 4.60. 2. Windows XBMC control application: Developed using Delphi 7 and work as a virtual Windows Service Application. System configuration file Before work with this system end user need to configure controller application for his/her remote control and for his/her software setup. This configuration file is located at device section contain 2 parameters related with the USB controller. If your using default firmware, these values must be VID = 33824 and PID =. If you alter firmware with different vendor ID and product IDs, make sure to change these values also. keymap section is used to assign functionalities to the remote control buttons. Key and the value formats for this section are described in below. E.g: 42228=,38 Parameter for command Command Type Received data from USB controller module cont d - 2 -

Command Type: Specify the type of the command as integer value. Valid command types are: F F2 Value Description Send WM_KEYDOWN window message to XBMC. ASCII value of the key is need to Rotary Encoder Push Switch Push Switch specify at the parameter section. E.g: 24226=,3 2 Send WM_CHAR window message to XBMC. Character code is need to specify at the parameter section. 3 Perform predefine actions based on the following parameter values: : Increase volume 2: Decrease volume 3: Return to the home screen of XBMC 4: Toggle audio mute function USB Controller - hardware connections This given PCB design have 2 external connectors. J connector is used to connect rotary encoder and two push switches to the system. Connection diagrams of the J is illustrated in Fig. 4. J2 connector is used to connect USB cable to the system. Connections to the J2 is listed in below table: Connection Description Cable Color USB D+ Green 2 USB D- White 3 USB Red 4 USB Ground Black 5 Cable Shield N/A For J2 use standard 3feet 28/24AWG USB cable with USB male A connector. J Connector Fig.4 Connections to Connector J Installation and Initial Setup Before start the initial setup we assume that target PC may have following minimum system requirements: Windows XP or newer version of Windows operating system XBMC 0. or newer version USB 2.0 port Suitable SIRC protocol base remote controller unit If the target system meets the above specified requirement, continue the system setup process as follows:. Start XBMC and Click System and open Network tab. 2. Under the Services change the following options: Allow control of XBMC via HTTP : ON Port : 80 Username : Password : (Clear both username and password fields) 3. Press Esc key. 4. Close XBMC. cont d - 3 -

5. Extract supplied software package and make sure that mcci.ini file is properly configured. 6. Connect XBMC USB controller to the PC. If device is working properly, Windows automatically detect the device and configure it to the target system. Component List C 4.7MFD/0V Capacitor C2, C3 0pF Capacitor C4, C5 0.MFD Capacitor R 00Ω Resistor Fig.5 XBMC player information 7. Start mcci.exe application. If everything is properly configured, XBMC starts automatically. 8. Check the all XBMC functionalities with remote controller and controls on the XBMC USB controller. Technical Specifications of the Device R2, R3, R4, R5, R6, R7 Q IR IC J J2 SV LCD SW, SW2 RE USB 22kΩ Resistor 20.0MHz Crystal (HC49U Package) TSOP36 PIC8F4550 8pin Header connector 5pin Header connector 4pin Header connector MC602 LCD Module 6mm tactile momentary switch TL240N Panasonic EVQ-WTEF255 or equivalent mechanical rotary encoder 3feet long 28/24AWG USB port cable with male A connector. Please note that all these technical specifications are valid only with the bundled firmware file (Version.0.0.3). USB Version : 2.0 Device Class : 0x0 Vendor ID : 0x8420 Product ID : 0x Manufacturer : Dilshan R Jayakody Product : Media Center Control Interface Product Version : 0. Power Mode : Self powered 00mA Max USB interfaces : 0x3 - HID class References PIC8F2455/2550/4455/4550 Data sheet http://ww.microchip.com/downloads/en/ DeviceDoc/39632e.pdf IR Receiver Modules for Remote Control Systems TSOPxx http://www.vishay.com/docs/82006/tsopxx.pdf JSON RPC - XBMC http://wiki.xbmc.org/index.php?title=json_rpc JSON-RPC 2.0 Specification http://groups.google.com/group/json-rpc/web/json-rpc- 2-0?pli= - 4 -

IR TSOP36 4.7MFD/0V VS VO C C2 C3 C4 C5 0pF 0pF R 0.MFD 0.MFD 00R R2 20.00MHz Q CONTROL_IN (J) : 8 - ROTERY_A 7 - ROTERY_COM 6 - ROTERY_B 5 - ROTERY_SWA 4 - ROTERY_SWB 3 - SW2A 2 - SW3A - SW2/3_COM IC 2 3 4 5 6 7 8 9 0 2 3 4 5 6 7 8 9 20 MCLR/VPP/RE3 RA0/AN0 RA/AN RA2/AN2/VREF-/CVREF RA3/AN3/VREF+ RA4/T0CKI/CIOUT/RCV RA5/AN4/SS/HLVDIN/C2OUT RE0/AN5/CKSPP RE/AN6/CK2SPP RE2/AN7/OESPP VDD VSS OSC/CLKI RA6/OSC2/CLKO RC0/TIOSO/T3CKI RC/TOSI/ICCP2/UOE RC2/CCP/PA VUSB RD0/SPP0 RD/SPP PIC8F4550_40 R3 R4 RB7/BKI3/PGD 40 RB6/KBI2/PGC 39 RB5/KBI/PGM 38 RB4/AN/KBI0/CSSPP 37 RB3/AN9/CCP2/VPO 36 RB2/AN8/INT2/VMO 35 34 RB/AN0/INT/SCK/SCL RB0/AN2/INT0/LFT0/SDI/SDA 33 VDD 32 VSS 3 RD7/SPP7/PD 30 RD6/SPP6/PC 29 RD5/SPP5/PB 28 27 RD4/SPP4 RC7/RX/DT/SDO 26 RC6/TX/CK 25 RC5/D+/VP 24 RC4/D-/VM 23 22 RD3/SPP3 2 RD2/SPP2 R5 R6 R7 2 3 4 5 6 7 8 9 0 2 3 4 5 SV LCD 602 - GREEN (D+) 2 - WHITE (D-) 3 - RED () 4 - BLACK () 5 - SHIELD J CONTROL_IN J2 USB

5 00R R IR IC R2 C Q R3 R4 R5 R7 R6 C2 0pF C3 C4 0.MFD C5 J 4.7MFD/0V TSOP36 PIC8F4550_40 SV 20.00MHz J2 0pF 0.MFD