To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 27640
27639  |  27641
Subject: 
Re: Using generic IR ports for RCX 1.5
Newsgroups: 
lugnet.robotics
Date: 
Sat, 7 Feb 2009 09:20:05 GMT
Viewed: 
15845 times
  
In lugnet.robotics, Steve Hassenplug wrote:
I've seen many people attempt this, but none who have succeeded.  (but
I won't say it's not possible)

Steve


IrDA works quite differently from what the RCX is capable of understanding
normally under usual firmware. I don't think that you can change the dongle
reactions, since on the physical layer it will work according to the IrDA
specifications. The only way to set up a communication with the RCX would be to
write an own bit-banged driver for RX (RCX side). The main issue is that you
cannot use the normal serial RX interrupt function, because the IR-receiver
(Vishay TSOP 1738) reacts in direct function of the presence or absence of a
38kHz IR-signal, although it also reacts in the presence of a single infrared
pulse. More specially, it will be difficult to detect the start and the stop
pulse.

Probably the RCX-TX side could be solved much easier, because you only need to
cut off the infrared signal after the short IrDA required pulse, or control the
RCX IR-LEDs directly. (Note that doing this is not without risk for your RCX. If
by inadvertance you switched on "long range" and pulsed the LEDs for a longer
duration (I mean here milliseconds), then the high current can burn either the
LEDs or the driving transistors. I have done both, so be aware. After this your
RCX is dead, because it can no longer communicate.) Anyway, you will need a
tower to download your new IrDA driver to the RCX!!, or hack the RCX to have a
hardware serial connection. You will also need to patch the firmware or program
on the lowest level.

You can consult http://www.emesystems.com/BS2IrDA.htm#IrDA, if you want to see
how an IrDA application is made.

We have realized a lot of infrared communication devices with the RCX. The last
time during the HALE project http://www.convict.lu/htm/rob/hale.htm. If you are
equiped and skilled to build your own microcontroller electronics, then it is
quite simple to realize a serial replacement tower for the RCX. You will need an
USB/RS232 converter. If you cannot do that, I'd recommend that you try Ebay for
another tower.



Message is in Reply To:
  Re: Using generic IR ports for RCX 1.5
 
I've seen many people attempt this, but none who have succeeded. (but I won't say it's not possible) Steve (...) (16 years ago, 5-Feb-09, to lugnet.robotics)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR