Go to Post The terror level was lowered to MOE green for this event. - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 15-02-2003, 07:56
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
Re: active interface to DI?

Quote:
Originally posted by dave_l
I *REALLY* want access to the Switch 1/2/3 LEDs on the operator interface.

I have _some_ electronics knowledge, and suspected that the DIs are open collector inputs with a pull up resistor.

I am wondering how involved it would be to use say an NPN (ie current sinking) switching transistor with one of the relay outputs to switch one of the digital inputs?

If possible, I would then use some of my unused relay outputs to control DI 1/2/3 and hence the three LEDs on the OI.

Can any electronics gurus out there suggest a simple circuit?

Thanks
The OI Manual (.pdf from IFI) says that the switch LEDs represent the switch inputs on the RC and are not programmable in PBASIC.

On the other hand, if you used sw1 for the input from your pressure switch, for determining when the compressor should be turned on, you could see from the sw1 LED when the compressor was drawing the battery voltage down.

The "relay outputs" that show up on the OI are the signal the RC passed back to the OI. This same pair of bytes (RelayA and Relay B) are passed inside the RC to the bank of output circuits which control the relay outputs. Shorting one of these would short an output, but have no effect on the feedback bytes, nor on the LEDs. If you wish to use the relay LEDs, you'll have to use Relay1_fwd = 1, or Relay2_rev = 0, to do it

Have you thought of utilizing Out8,9,10 & 11 ? These are low-current outputs to drive your LEDs, and are available from Port1.

dave_l :

Yes just an OC NPN transistor, collector to the input, emitter to ground. Biasing in a digital connection is optional. Every RC digital input has a 10k pull-down resistor to +5V, and all the series resistance it wants, internally. for the sake of your transistor, some series resistance in the base circuit is recommended.

See the IFI site for a .pdf file of the equivalent input circuit.

This is the kind of output you have with the Banner sensors (discussed elsewhere on CD).

Last edited by Lloyd Burns : 15-02-2003 at 08:06.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How much planning goes into your robot? Jnadke General Forum 41 29-01-2006 21:29
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
Robot Digital Input Mike Norton Technical Discussion 5 16-01-2003 14:31
WASH Palm scouting at the Championship Mike Soukup Scouting 2 19-04-2002 15:14
about how Drive Train push the robot... shouldn't the force accelerate the robot? Ken Leung Technical Discussion 12 26-11-2001 09:39


All times are GMT -5. The time now is 19:02.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi