It is currently 19 May 2012, 17:50





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
 howto Building a remote to control pc with lirc under linux 
Author Message
Post howto Building a remote to control pc with lirc under linux
hi,
i want to build(rather than buy) a remote for controlling xxms via
lirc.I've already built the receiver part.Can anyone give any pointers?


29 Dec 2007, 18:50
Post Re: howto Building a remote to control pc with lirc under linux
anirudh wrote:
> hi,
> i want to build(rather than buy) a remote for controlling xxms via
> lirc.I've already built the receiver part.Can anyone give any
> pointers?

You can use any remote control have lying around handy with lirc, you just
have to let lirc "learn" the codes and then assign them to tasks. This is
the easy way to do it.

Now if you still want to build your own transmitter then you need to study
up on the various protocols to get a feel for how they work. Then you pick
one (or design your own) and go from there. I would use a PIC, but you
could do it with more parts and not use one. Usually you have a carrier of
about 38kHz that is modulated in some fashion, usually by switching it on
and off. RECS80 and RC5 (not to be confused with RC5 encryption techniques)
are two popular protocols. This should give you a decent list of things to
Google so have at it a bit and come back with more questions. :-)


29 Dec 2007, 18:50
Post Re: howto Building a remote to control pc with lirc under linux
On Aug 25, 11:48 pm, "Anthony Fremont" <any...@nospam.com> wrote:
> anirudh wrote:
> > hi,
> > i want to build(rather than buy) a remote for controlling xxms via
> > lirc.I've already built the receiver part.Can anyone give any
> > pointers?
>
> You can use any remote control have lying around handy with lirc, you just
> have to let lirc "learn" the codes and then assign them to tasks. This is
> the easy way to do it.
>
> Now if you still want to build your own transmitter then you need to study
> up on the various protocols to get a feel for how they work. Then you pick
> one (or design your own) and go from there. I would use a PIC, but you
> could do it with more parts and not use one. Usually you have a carrier of
> about 38kHz that is modulated in some fashion, usually by switching it on
> and off. RECS80 and RC5 (not to be confused with RC5 encryption techniques)
> are two popular protocols. This should give you a decent list of things to
> Google so have at it a bit and come back with more questions. :-)

If i just transmit a pulse of around 38 khz ,would it be taken as a 1
by the receiver?
In that case,since lirc can learn any protocol,i can just make up my
own protocol :) ,
i.e. basically permuting a string of 'n' bits,if i want to have 2^n
commands at the computer.I only intend to use it in a small room,where
there are no other sources of interference.
Would such a simple scheme work with lirc?


29 Dec 2007, 18:50
Post Re: howto Building a remote to control pc with lirc under linux
On 2007-08-25, anirudh <anirudhvij@gmail.com> wrote:
> If i just transmit a pulse of around 38 khz ,would it be taken as a 1
> by the receiver?

Pretty much. There are other freqs around 40kHz that some receivers are
sensitive to, so know what you've got.

There are lots of schemes for modulating the carrier. On top of that,
there are lots of ways to frame the data on the modulated carrier.
Even if you want to roll your own hardware, you'll probably get the
best results with lirc if you mimic some existing device. I know there's
lots of info on Sony remotes if you google it.

--
Ben Jackson AD7GD
<ben@ben.com>
http://www.ben.com/


29 Dec 2007, 18:50
Post Re: howto Building a remote to control pc with lirc under linux
Ben Jackson wrote:
> On 2007-08-25, anirudh <anirudhvij@gmail.com> wrote:
>> If i just transmit a pulse of around 38 khz ,would it be taken as a 1
>> by the receiver?
>
> Pretty much. There are other freqs around 40kHz that some receivers
> are sensitive to, so know what you've got.
>
> There are lots of schemes for modulating the carrier. On top of that,
> there are lots of ways to frame the data on the modulated carrier.
> Even if you want to roll your own hardware, you'll probably get the
> best results with lirc if you mimic some existing device. I know
> there's lots of info on Sony remotes if you google it.

What he said. :-)


29 Dec 2007, 18:50
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group, phpBB SEO.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.