CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

IR Remote

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest








IR Remote
PostPosted: Wed Dec 23, 2009 8:27 am     Reply with quote

Hi friends,
I want to make a remote control using PIC mc,
I referred many links and finally I found that,

1. TIMER can be used to generate carrier(40khz).
2. On/off timer can be used to send data.

....whether it works or not.

One more thing. Can I use UART for this ? But CCS doesn't support 14bit uart transmission (I am using RC5).

Anyone can help me.

Thanks....
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Wed Dec 23, 2009 9:30 am     Reply with quote

Quote:
But CCS doesn't support 14bit uart transmission
Rubbish.
CCS hasn't to do with. Neither Microchip nor other uPs are supporting it. If they would, how to generate manchester coded ASK
modulation from the UART output?

Actually, everyone has been able to generate RC5 either completely in software or with timer output + software up to now.
yerpa



Joined: 19 Feb 2004
Posts: 58
Location: Wisconsin

View user's profile Send private message Visit poster's website

PostPosted: Wed Dec 23, 2009 11:45 am     Reply with quote

Agree with FvM. You would be best to use a modulator/demodulator IR transceiver instead of generating the modulation frequency with the PIC. The data bit times are long enough that you can toggle a port bit to generate data, and input a bit to read data directly from the transceiver. You will want to use a millisecond timer interrupt for a bit time reference.
Guest








PostPosted: Wed Dec 23, 2009 1:41 pm     Reply with quote

But i found a ccs library that can generate signals for RC5 + some other protocols.

I don't know whether it work or not.
But i will try....
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group