Subject
- Posted on
Infrared control
- 09-01-2009
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,
/\/\
Re: Infrared control
On Tue, 1 Sep 2009 12:03:46 -0700 (PDT), MTB
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
Re: Infrared control
MTB wrote:
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
Site Timeline
- » hello groupies :)!
- — Next thread in » General Robotics Forum
-

- » dc motor control for a balancing platform (segway)
- — Previous thread in » General Robotics Forum
-

- » evoMUSART 2013: First CFP (with correct dates)
- — Newest thread in » General Robotics Forum
-

- » Heat pump refrigerant change to R-22 substitute
- — The site's Newest Thread. Posted in » General Metalworking
-

- » DCC sound question
- — The site's Last Updated Thread. Posted in » Model Railroad Forum
-









