Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Universal infrared remote control receiver with 89c2051

Status
Not open for further replies.

mip

Member level 2
Joined
Dec 31, 1999
Messages
51
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,288
Activity points
340
transceiver ir code for 2051

Hi @ll,

I would like to build a universal infrared remote control receiver into a hobby grade project based on Atmel 89c2051.

There are many projects based on PIC controllers as UIR (12c509 and 16f84), UIRt, IRMan and others.
These devices receive IR and calculate a 6byte value which is unique to every key beeing sent.

There are no sources available for these projects :( , but as there's also a project based on PIC12c509, it can't be too hard.

I tried metering the time between pulses, identifying them as hi/lo, but I don't know how to limit received values with different lengths to a fixed unique value (kind of checksumming or simply shift bits into a circular buffer?). Additionally, some remotes have a bit that gets toggled on every send.

I don't want to decode (which would be limited to a few remotes talking know protocols like RC5, RECS80, Sony), I want to keep it as universal as possible.

Can somebody please tell me a good algorithm or show me sources?
 

usbman

Advanced Member level 4
Joined
Sep 22, 2002
Messages
118
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Location
Germany
Activity points
1,019
rc5 ir code using at89c2051

At least for RC5 there is a c source at www.8052.com.

Check the codelib there.

usbman
 
  • Like
Reactions: gun

    gun

    points: 2
    Helpful Answer Positive Rating

mip

Member level 2
Joined
Dec 31, 1999
Messages
51
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,288
Activity points
340
89c2051

thx, but I'm currently doing RC5 which limits my application to just a few remotes.
As I said above, I would like to do it in a universal way.
 

Fragrance

Advanced Member level 4
Joined
Jul 26, 2002
Messages
1,191
Helped
247
Reputation
494
Reaction score
198
Trophy points
1,343
Location
East Of Earth
Activity points
8,916
remote sony + 89c2051

Freind please find this i think this is useful

regards
 
  • Like
Reactions: gun

    gun

    points: 2
    Helpful Answer Positive Rating

Fragrance

Advanced Member level 4
Joined
Jul 26, 2002
Messages
1,191
Helped
247
Reputation
494
Reaction score
198
Trophy points
1,343
Location
East Of Earth
Activity points
8,916
rc5 bascom 8051

Freind please find this i think this is useful

regards
 

Fragrance

Advanced Member level 4
Joined
Jul 26, 2002
Messages
1,191
Helped
247
Reputation
494
Reaction score
198
Trophy points
1,343
Location
East Of Earth
Activity points
8,916
remote control 89c2051

Freind i am sedning you this file i hope this will be use ful for you

regards

:
 

Fragrance

Advanced Member level 4
Joined
Jul 26, 2002
Messages
1,191
Helped
247
Reputation
494
Reaction score
198
Trophy points
1,343
Location
East Of Earth
Activity points
8,916
universal ir remote decoder

Freind i am sedning you this file i hope this will be use ful for you

regards
 

buts101

Full Member level 3
Joined
Apr 29, 2005
Messages
168
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Activity points
2,867
bascom infrared remote control

hello there..

i need a program code to decode rc5 sony remote control . i want to use 8051 uc but i found decoder code for 2051 uc for easytip1 code 718 from this site http://www.8052.com/codelib/rc5.c

i can't find the technical detail of easytip remote control or find code for 8051 deocder sony rc5 code

plz help me to sort out the problem

thank you
 

mgajo

Full Member level 2
Joined
May 15, 2001
Messages
147
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
1,019
universal ir remote receiver

Hi

RC5 is standard

Its same for Sony RC5 ,Philips RC5 or XX RC5.

Easy way to use RC5 and 8051 is to use Bascom 8051 compiler.
Just a few lines and it works
 

buts101

Full Member level 3
Joined
Apr 29, 2005
Messages
168
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Activity points
2,867
atmel remote control receiver

can u elaborate more...about "adding few lines"
 
  • Like
Reactions: gun

    gun

    points: 2
    Helpful Answer Positive Rating

vsmGuy

Advanced Member level 2
Joined
Jun 26, 2006
Messages
503
Helped
44
Reputation
88
Reaction score
15
Trophy points
1,298
Location
VddVss
Activity points
3,888
+89c2051 +bascom

@Fragrance

Can you please reupload the file ?
 
  • Like
Reactions: gun

    gun

    points: 2
    Helpful Answer Positive Rating

JaMe

Junior Member level 1
Joined
Nov 8, 2006
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Indonesia
Activity points
1,406
attiny13 ir out bascom

I did project like that last year using ATTINY2313. It was a Universal Remote Control Transceiver. Have been tested at SONY TV, K-world TV-tunner, and a dvd player. Here's my project
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top