Infrared

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
czhower
Posts: 2
Joined: Sun Mar 23, 2008 8:45 am

Infrared

Post by czhower »

I'm using serial for debugging but several laptops Id like to work with do not have serial. They do have Infrared ports though.

Are the IR ports just serial ports on a COM port? Or are they similar? I've searched quite a bit on IR ports, both here and Google and not much turns up.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Infrared

Post by Brendan »

Hi,
czhower wrote:Are the IR ports just serial ports on a COM port? Or are they similar?
Not sure how they work internally, but it seems they negotiate with each other to determine protocols (one of these protocols is a COM port style protocol with COM port baud rates, etc).

To be honest, I've never really thought of IrDA (and never owned any IrDA hardware).
czhower wrote:I've searched quite a bit on IR ports, both here and Google and not much turns up.
http://en.wikipedia.org/wiki/Infrared_D ... ion#IrCOMM
http://www.irda.org/
http://www.irda.org/displaycommon.cfm?an=5


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

Yes IR are just like virtual com ports, sometimes they may need enabling in the BIOS.
Here is a simple DexOS program to control a furby (the little fury things) by IR, that the same as writing to com port.
Attachments
IR.asm
(13.55 KiB) Downloaded 17 times
IR.inc.asm
change this to IR.inc
(5.15 KiB) Downloaded 45 times
User avatar
gzaloprgm
Member
Member
Posts: 141
Joined: Sun Sep 23, 2007 4:53 pm
Location: Buenos Aires, Argentina
Contact:

Post by gzaloprgm »

Cool! I was also thinking of implementing a homemade ir controller receiver, like lirc for linux.

BTW, Dex, you have lots and lots of asm source files xD

Cheers,
Gonzalo
Visit https://gzalo.com : my web site with electronic circuits, articles, schematics, pcb, calculators, and other things related to electronics.
Post Reply