To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 4021
4020  |  4022
Subject: 
Re: RCX Serial Hardware Hack
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 29 May 2008 12:15:50 GMT
Viewed: 
25101 times
  
Dear Claude

In lugnet.robotics.rcx.legos, Claude Baumann wrote:
In lugnet.robotics.rcx.legos, Bernhard Powolny wrote:
http://www-date.uni-paderborn.de/pub/people/dasas/Beh03.pdf

I can't find it anymore neither.


A: Thank you for finding the PDF.

Then i have done as it is discriped in
http://www.convict.lu/Jeunes/RCXCam/RCXCam_Journal.htm
but i dont understand realy why we should do that?

1) To correctly use the H8 TX line with the CMUCam2 module, the driving RCX
software MUST shut down the 38kHz carrier

like :

   void infrared_off()      {
//! disable IR carrier frequency.    // carrier_shutdown();
//extern inline void carrier_shutdown(void)
  T1_CR  =0;
  T1_CSR =0;
  }

The carrier should be quiet in any case, because it disturbs the TX signal.

and
2)set the port6<7> pin LOW. Now the upper PNP transistor isn't conducting
anymore.

FOR WHAT reason...

We tried this,but it didn't work. Why, because the transistor will drain some
current, if the emitter has positive voltage and the base goes low. If the
carrier is off, and by accident you set long range, then you have the chance to
repeat what I did: kill a couple of infrared LEDs. Don't forget that they are
driven at high current, but under the condition of a 50% duty cycle that is
guaranteed by the carrier. If you shut down the timer, then the pin is high or
low - the timer stops and you don't know the actual port6<7> state -

If you have short range, the LEDs will rapidly heat also and only burn after a
while. So, if your IR-TX doesn't work anymore... check you LEDs.


A: I will check ( measure the Voltage on the IF LEDS) should be approx. 9V
betweem LED and Transistor if everything is off.

But how managed  the people from to   http://www.convict.lu/Jeunes/RCXCam/RCXCam_Journal.htm
do it ????

With the CMUCam2 everything works fine, even at 19600 as I said.
.

A: Now i had success . It works.


more snap from the  http://www.convict.lu/Jeunes/RCXCam/RCXCam_Journal.htm
It is important to add a 100k pull-up resistor to the TX line !!! Otherwise the
TX voltage will drop down to 0.45V it

Pulling up the TX line IS necessary-at least with the CMUCam2, because the RX of
this device is not pulled up.

I have allready done it.

No idea, why it should not work. We have run our the CMUCam2 for hours at many
occasions. We rebuilt the whole thing with another RCX, that we sent to Tufts
Univ. They successfully played with the stuff.

A:Ok Now it works

best regards
Bernhard



Message is in Reply To:
  Re: RCX Serial Hardware Hack
 
(...) The carrier should be quiet in any case, because it disturbs the TX signal. (...) We tried this,but it didn't work. Why, because the transistor will drain some current, if the emitter has positive voltage and the base goes low. If the carrier (...) (17 years ago, 24-May-08, to lugnet.robotics.rcx.legos)

7 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