Home - Search - Members
Full Version: IR project
abbas1707
Jul 30 2007, 1:58 PM
hi rickey!
i want to make a project for my summer vacations..i am interested in the project " controlling appliances with Infrared" using 8051. i have some knowledge of it , but i know that u can guide me in a better way..
i want to learn it step by step..and i hope u will help me doing this!!
so plzzzzz help me!! and kindly tell me the first step(starting 1)..
w8ing 4 u reply!!
Ajay
Jul 30 2007, 3:07 PM
for IR project, you must start with sending data via IR. For this.. you need... an IR transmitter and IR receiver. IR transmitter is of course IR LED and receiver is TSOP1738 (used widely).

Now as TSOP1738 works on 38Khz frequency. So you need to make a circuit with the help of 555 Timer IC to generate a 38Khz square wave. Then the wave will be modulated corresponding to the data we want to send. and on the receiver side, TSOP will take care of everything (demodulation).

you can search in google regarding 555 IC if you need info. Once you are done with sending and receiving data, making a remote control for you appliances is piece of cake.

There is an IR project there in our download area. you can take it as reference (for hardware design only).
abbas1707
Jul 31 2007, 6:39 AM
we have to generate pulses of 38kHz, so why to use 555 ic ? we can generate it using 8051. what do u say!!??
Ajay
Jul 31 2007, 7:04 AM
yes you can do that too.. but it just reduce the load from the IC. and you can be sure of accuracy when u use separate hardware. 555 can generate square wave when used in astable mode.
zerisha
Sep 20 2007, 10:01 PM
Why don't u use commercial remote control as transmitter? just built the receiver.
I have done with project like this but using PIC16C84A. U can control 10 equipment what u want.

Now i want to make same project with same function but using AT89C2051, becauce this IC more cheaper than PIC.

Ajay, source code on http://www.8052.com/codelib/rc5-decoding.asm is it ur code?
this code can control up to 8 device isn't it? is it toggle or momentary? what address of remote do u use? can i use 89C2051 ?

Sorry for many question...
Thanks..

Ajay
Sep 21 2007, 12:28 AM
yes that is my code i need to make little changes to make a simple project on it like you can control 8-devices. I am making schematic for this.. soon i will be posting the code along with the schematic..

Also a separate RC5 Library and PC control project (to control your mouse pointer with your TV remote). I am already using PC remote in my daily life now... it made my work really simple.

I will be posting everything soon

Regarding your questions.. yes you can use 2051.. code is really small and please make sure its for 11.0592MHz clock.. this is very important because RC5 is very time critical protocol!
zerisha
Sep 23 2007, 3:35 PM
Yes please post ur code and schematic...
I want to built another IR Remote Control.
Ajay
Sep 23 2007, 8:49 PM
I already posted it in the download section
zerisha
Sep 25 2007, 6:05 PM
As my comment at download section, i have to compile the asm code, but there is many error. Please post the hex code.. Can it modified, to add RC5 acknoledge using LED on one of pin IC ? (It will blink if we press RC)
Ajay
Sep 25 2007, 7:48 PM
hmm.. you can add.. after the valid check is done..
In the code after label valid1

i compiled the same program.. also using it.. no errors so far. can you please tell me what errors you are getting..
zerisha
Sep 27 2007, 4:26 PM
This the error message :

1 Undecodable line, Syntax error
4 Undecodable line, Syntax error
5 Undecodable line, Syntax error
6 Undecodable line, Syntax error
8 Undecodable line, Syntax error
14 Undecodable line, Syntax error
19 Undecodable line, Syntax error
35 Undecodable line, Syntax error
44 Incorrect operand types
47 Unresolved operand(s)
48 Unresolved operand(s)
52 Unresolved operand(s)
53 Unresolved operand(s)
54 Unresolved operand(s)
55 Unresolved operand(s)
56 Unresolved operand(s)
57 Unresolved operand(s)
58 Unresolved operand(s)
59 Unresolved operand(s)
60 Unresolved operand(s)
61 Unresolved operand(s)
62 Unresolved operand(s)
63 Unresolved operand(s)
64 Unresolved operand(s)
65 Unresolved operand(s)
70 Unresolved operand(s)
71 Unresolved operand(s)
72 Unresolved operand(s)
73 Unresolved operand(s)
74 Unresolved operand(s)
75 Unresolved operand(s)
76 Unresolved operand(s)
77 Unresolved operand(s)
78 Unresolved operand(s)
85 Unresolved operand(s)
86 Unresolved operand(s)
87 Unresolved operand(s)
88 Unresolved operand(s)
89 Unresolved operand(s)
90 Unresolved operand(s)
91 Unresolved operand(s)
92 Unresolved operand(s)
93 Unresolved operand(s)
120 Unresolved operand(s)
121 Unresolved operand(s)
124 Unresolved operand(s)
128 Unresolved operand(s)
129 Unresolved operand(s)
132 Unresolved operand(s)
136 Unresolved operand(s)
137 Unresolved operand(s)
140 Unresolved operand(s)
144 Unresolved operand(s)
145 Unresolved operand(s)
148 Unresolved operand(s)
152 Unresolved operand(s)
153 Unresolved operand(s)
156 Unresolved operand(s)
160 Unresolved operand(s)
161 Unresolved operand(s)
164 Unresolved operand(s)
168 Unresolved operand(s)
169 Unresolved operand(s)
172 Unresolved operand(s)
176 Unresolved operand(s)
177 Unresolved operand(s)
180 Unresolved operand(s)
184 Unresolved operand(s)

Is there any setting for Reads51 compiller ? such as case sensitive setting
Ajay
Sep 27 2007, 9:03 PM
which software you are using to compile the program?
i recommend you to use Keil. as the code is less than 2K so you can make use of demo version of keil. To download it. visit www.keil.com
say2paul
Jul 1 2008, 2:18 AM
Can anyone guide me which particular brand's TV remote can be used with this?

And can I change the code to work with some other brand's TV remote?
Ajay
Jul 1 2008, 10:10 PM
if you want a different brand remote to work, then you need to implement its protocol.
which brand you're thinking? i can provide you protocol information on it.
say2paul
Jul 2 2008, 2:42 AM
I want to use IrSIR to send IR signal to this IR Switch using my Symbian mobile phone. Do I need to impliment RC5 protocol over IrSIR or can I do something else whichever is simpler?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Rickey's World © 2003 - 2007