Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 14th May 2008, 07:23 PM   (permalink)
Experienced Member
crust has a spectacular aura about
Default

The RC5 protocol is pretty easy to decode. Use the input capture function to measure either 1) the time from edge to edge or 2) the time from falling edge to falling edge. Either one of those will let you decode the protocol. That is exactly what the ps3toothfairy (shameless plug) device does. Then you take the measurements and convert them to 1 or 0 based on the pulse width. Your exact measurement from the ICP will depend on which of the above methods you use.
__________________
www.ps3toothfairy.com -- Full IR control for your PS3
crust is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
MP Lab Program Help bamafan54 Micro Controllers 3 19th October 2007 02:53 AM
Accessing EEPROM Clayton Micro Controllers 15 23rd March 2007 03:00 AM
Need some help with a code provided by ATMEL ikalogic Micro Controllers 1 23rd January 2007 02:45 PM
Tough assembly program for the PIC16F84 asmpic Micro Controllers 34 3rd December 2004 06:50 PM
An error in pic16f84a, why? Zener_Diode Micro Controllers 6 11th April 2004 02:55 AM



All times are GMT. The time now is 02:11 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.