<?xml version="1.0" encoding="utf-8" ?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
				<channel rdf:about="http://www.8051projects.net/">
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>
				<dc:language>en-gb</dc:language>
				<dc:date>2008-12-01T23:16:35-08:00</dc:date>
				<dc:creator>contact@nospam.com</dc:creator>
				<admin:generatorAgent rdf:resource="http://e107.org" />
				<admin:errorReportsTo rdf:resource="mailto:contact@nospam.com" />
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>
				<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
				<items>
				<rdf:Seq>
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t10679.html" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>HI GUYS,I m facing a problem how to count the pulse codes given by the IR sensor TSOP1738...i want program on the basis of which key is pressed in the  remote...I m working on a home automation( IR) project, and i m using the PIC16F72 mcu.already i was enable the counter read the o/p of the IR sensor, but i don't know how to read the codes according to the key pressed......please help me, and  send me some example codes.........ITS VERY URGENT......... this PROJECT DEAD LINE is on 18th july....help me................</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>I hope you have read how RC5 remote works.. so the time for every bit is defined and fixed. After you sense the first low at pin where IR receiver is connected, you wait for fixed amount of time to read bits coming on the way with IR signal.You may need to do lot of testing as timing is always a problem.Try to start with something. Use my 8051 IR project as reference. It will help you.use 1736 for reception not 1738.PS: moving this post to PIC Discussion section.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>electronicfreak</dc:creator>
						<dc:subject></dc:subject>
						<description>what is the difference between 1738 and 1736,what is the problem with 1738....ur code is in C or it is in assembly language......thanx for ur suggetion..........may i know at what time u will be online......</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>TSOP series is represented as TSOP17XXwhere XX means the modulating frequency.if you are modulating data to be sent at 38khz then you have to use TSOP1738 so that you can demodulate the signal successfully.RC5 remote use 36khz carrier frequency so you have to use TSOP1736 to demodulate the remote signal successfully.I dont have a fixed time for being online</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Read this for RC5 ... http://www.ustr.net/infrared/infrared1.shtmlAnd here's Ajay's code in asm ... http://www.8051projects.net/downloads185.html</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>electronicfreak</dc:creator>
						<dc:subject></dc:subject>
						<description>i m using the counter in microcontroller, it it increments the register when rising pulse occurs... is it a right right way to read the rc5 code...in ur prooject you r using the INT1  pin?it makes any   difference</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>umibond</dc:creator>
						<dc:subject></dc:subject>
						<description>hi u can use interrupts pins...it ill be easy way i think write ur counting program inside interrupt service routine......</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>electronicfreak</dc:creator>
						<dc:subject></dc:subject>
						<description>i dont know how to count a signal which connected to intrupt pin....please can u send me anyexample code......is it works like inbuilt counter as mentioned in my previous reply..</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>electronicfreak</dc:creator>
						<dc:subject></dc:subject>
						<description>thanx every one, i m using the PIC16F72 for this project ,and i m using synchronus counter on pin PC1...... there are  2 counter input pins , can i short them as u made it in above ckt............</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>just use the timer in counter mode and i think you dont even need to use interrupt pin.whenever a the input signal complete its cycle counter will be incremented by one. Hence your pulses will get counted automatically.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>well, if there are two timer/counters in the PIC,i think u may need both of them, one in the counter mode to count the pulses and one in the timer mode (internal clock) to measure the time. just start the timer and counter simultaneously and read the counter value when the internal timer reaches a fixed pre determined value.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>Electronicfreak, he is not angry on anyone  Please take it lightly..anyway.. there are number of ways you can decode the IR signal. as i told you my asm code do the same. you can take it as a reference.I have considered the fixed timing of IR signal which is known as per RC5 protocol. other way is you calculate the timing on runtime by using timer controlled by interrupt.If you do the timer way, your program will become clock frequency independent. So you can use either way you want.You can download the code from download section and test it and analyze it carefully.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Guys,I think the OP wants to decode the RC5 codes rather than count pulses.Calling electronicfreak....... do you want to decode the RC5 pulses in order to determine which key was pressed or do you want to count the number of pulses received?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>right arun , i got it now. actually , i was thinking on the lines that the pulses are continuous, but the IR sensor would give a burst of pulses  which can happen randomly in real time so yes, u need the interrupt to sense when that occurs, right?good thinking .</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t10679.html">
						<title>Re: IR based home automation HOW TO COUNT THE PULSE CODE MODULATION OUTPUT</title>
						<link>http://www.8051projects.net/forum-t10679.html</link>
						<dc:date>2008-12-01T23:16:35-08:00</dc:date>
						<dc:creator>electronicfreak</dc:creator>
						<dc:subject></dc:subject>
						<description>sashijoseph wrote ...Guys,I think the OP wants to decode the RC5 codes rather than count pulses.Calling electronicfreak....... do you want to decode the RC5 pulses in order to determine which key was pressed or do you want to count the number of pulses received?i want to determine which key was pressed .. which ever the way ,its counting pulses of the burst or the other</description>
						</item>
				</rdf:RDF>