Infrared control

General Robotics Forum - All aspects of robots and their applications. 

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Infrared control MTB 09-01-2009
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by MTB on September 1, 2009, 3:03 pm


Hi there,

Anyone got any experience with infrared remote control? I need a
circuit which will enable me to remote control 4 functions on a
"robot". For my purposes, a "function" is being able to switch a DC
motor one way, stop it or switch it the other way. I need to do this
with four motors. Other people might define this as 12 "functions" !!!

I have seen IR tx/rx units which have 5 "bits" of control. Using a
binary system, this ought to give 32 "functions", but I am not sure
how this could be implemented.

Anyone able to give me any clues?

Rgds,

/\/\


Posted by Rich Webb on September 1, 2009, 5:51 pm


On Tue, 1 Sep 2009 12:03:46 -0700 (PDT), MTB

>Hi there,
>Anyone got any experience with infrared remote control? I need a
>circuit which will enable me to remote control 4 functions on a
>"robot". For my purposes, a "function" is being able to switch a DC
>motor one way, stop it or switch it the other way. I need to do this
>with four motors. Other people might define this as 12 "functions" !!!
>I have seen IR tx/rx units which have 5 "bits" of control. Using a
>binary system, this ought to give 32 "functions", but I am not sure
>how this could be implemented.
>Anyone able to give me any clues?

Grab a receiver module, salvaged or new. They're fairly available, for
example at All Electronics at 2 for US$1
<http://www.allelectronics.com/make-a-store/item/PCM-1/IR-RECEIVER-MODULE-FOR-REMOTE-CONTROL/1.html>
or lots of other places including
<http://uk.farnell.com/jsp/search/browse.jsp?NP0006+1004654&Ntk=gensearch_001&Ntt=ir&Ntx=>
(but nothing found at Maplin?!)

Most receivers will work with most remotes, as they typically operate
somewhere around about 38 KHz. For the best range and reliability you'll
want to match the modulation frequency of the remote to the receiver's
bandpass, of course, but if you're within a couple of KHz (36 - 40) you
should still get a signal.

Then... look under the sofa cushions for the remote control that went
with the VCR deck that died four years ago. Clean out the gunk from the
dead battery ooze and plop in new batteries.

Next, decide which twelve distinct codes you want to use, plus one for
an emergency stop. Feed a microcontroller with the output from the
receiver module and sprinkle with a little bit of code and you're done!

--
Rich Webb Norfolk, VA

Posted by MTB on September 2, 2009, 2:06 am


> On Tue, 1 Sep 2009 12:03:46 -0700 (PDT), MTB
> >Hi there,
> >Anyone got any experience with infrared remote control? I need a
> >circuit which will enable me to remote control 4 functions on a
> >"robot". For my purposes, a "function" is being able to switch a DC
> >motor one way, stop it or switch it the other way. I need to do this
> >with four motors. Other people might define this as 12 "functions" !!!
> >I have seen IR tx/rx units which have 5 "bits" of control. Using a
> >binary system, this ought to give 32 "functions", but I am not sure
> >how this could be implemented.
> >Anyone able to give me any clues?
> Grab a receiver module, salvaged or new. They're fairly available, for
> example at All Electronics at 2 for US$1
> <http://www.allelectronics.com/make-a-store/item/PCM-1/IR-RECEIVER-MOD...=
> or lots of other places including
> <http://uk.farnell.com/jsp/search/browse.jsp?N=500006+1004654&Ntk=gens...>
> (but nothing found at Maplin?!)
> Most receivers will work with most remotes, as they typically operate
> somewhere around about 38 KHz. For the best range and reliability you'll
> want to match the modulation frequency of the remote to the receiver's
> bandpass, of course, but if you're within a couple of KHz (36 - 40) you
> should still get a signal.
> Then... look under the sofa cushions for the remote control that went
> with the VCR deck that died four years ago. Clean out the gunk from the
> dead battery ooze and plop in new batteries.
> Next, decide which twelve distinct codes you want to use, plus one for
> an emergency stop. Feed a microcontroller with the output from the
> receiver module and sprinkle with a little bit of code and you're done!
> --
> Rich Webb     Norfolk, VA

Well thanks Rich. Sounds easy! Apart from the Microcontroller/little
bit of code part!

Posted by MTB on September 2, 2009, 4:06 am


> On Tue, 1 Sep 2009 12:03:46 -0700 (PDT), MTB
> >Hi there,
> >Anyone got any experience with infrared remote control? I need a
> >circuit which will enable me to remote control 4 functions on a
> >"robot". For my purposes, a "function" is being able to switch a DC
> >motor one way, stop it or switch it the other way. I need to do this
> >with four motors. Other people might define this as 12 "functions" !!!
> >I have seen IR tx/rx units which have 5 "bits" of control. Using a
> >binary system, this ought to give 32 "functions", but I am not sure
> >how this could be implemented.
> >Anyone able to give me any clues?
> Grab a receiver module, salvaged or new. They're fairly available, for
> example at All Electronics at 2 for US$1
> <http://www.allelectronics.com/make-a-store/item/PCM-1/IR-RECEIVER-MOD...=
> or lots of other places including
> <http://uk.farnell.com/jsp/search/browse.jsp?N=500006+1004654&Ntk=gens...>
> (but nothing found at Maplin?!)
> Most receivers will work with most remotes, as they typically operate
> somewhere around about 38 KHz. For the best range and reliability you'll
> want to match the modulation frequency of the remote to the receiver's
> bandpass, of course, but if you're within a couple of KHz (36 - 40) you
> should still get a signal.
> Then... look under the sofa cushions for the remote control that went
> with the VCR deck that died four years ago. Clean out the gunk from the
> dead battery ooze and plop in new batteries.
> Next, decide which twelve distinct codes you want to use, plus one for
> an emergency stop. Feed a microcontroller with the output from the
> receiver module and sprinkle with a little bit of code and you're done!
> --
> Rich Webb     Norfolk, VA

Hi Rich,

Looks like someone has already done all the hard work for me!

http://www.quasarelectronics.com/3092-14-ch-infrared-remote-control-decoder=
-ic-pack.htm

Just what I need!

/\/\

Posted by Gordon McComb on September 2, 2009, 2:08 pm


MTB wrote:
>
> Hi there,
>
> Anyone got any experience with infrared remote control? I need a
> circuit which will enable me to remote control 4 functions on a
> "robot". For my purposes, a "function" is being able to switch a DC
> motor one way, stop it or switch it the other way. I need to do this
> with four motors. Other people might define this as 12 "functions" !!!
>
> I have seen IR tx/rx units which have 5 "bits" of control. Using a
> binary system, this ought to give 32 "functions", but I am not sure
> how this could be implemented.

Parallax has an inexpensive IR remote study pack that includes a
programming book, universal remote control, and the electronics to
receive/decode the IR. It's written for the BASIC Stamp, but if you have
a different controller you could revise the code, as they provide some
decent how-to.

It's up to you how you define your functions. If pressing "1" on the
remote stops four motors, you code it that way. If pressing "2" starts
three of the motors while the other whistles Dixie, well, you can do
that to. It's all in software.

Look for "IR Remote Parts Kit" on their site. You can download the text,
or buy it as a printed book if you prefer.

Gordon


The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy