i have a problem, i need to switch an LED on from an open drain output. The open drain output can have no pull up tied to it, it can only be Low and H iZ. I was thinking an n-channel jfet might do it, but then i thought... no pe, I can't clear the jfet once it turns on unless I can pull the gate high (I can turn it on by pulling it low, but showing the gate HiZ will do noth ing)... is there anything that switches based on a HiZ or Low signal?
much thanks
Didn't find your answer? Ask the community — no account required.
J
John Larkin
open drain output can have no pull up tied to it, it can only be Low and HiZ. I was thinking an n-channel jfet might do it, but then i thought... nope, I can't clear the jfet once it turns on unless I can pull the gate high (I can turn it on by pulling it low, but showing the gate HiZ will do nothing)... is there anything that switches based on a HiZ or Low signal?
How much current does the LED need? What can the port sink?
What do you mean by "The open drain output can have no pull up tied to it." If that's literally true, it can't be done.
Absent that, here are two ways:
Vcc------R------led------port
or
Vcc-------R------+-------port | | LED | | | gnd
John Larkin Highland Technology Inc
www.highlandtechnology.com jlarkin at highlandtechnology dot com
Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom timing and laser controllers
Photonics and fiberoptic TTL data links
VME analog, thermocouple, LVDT, synchro, tachometer
Multichannel arbitrary waveform generators
P
panfilero
The open drain output can have no pull up tied to it, it can only be Low an d HiZ. I was thinking an n-channel jfet might do it, but then i thought... nope, I can't clear the jfet once it turns on unless I can pull the gate h igh (I can turn it on by pulling it low, but showing the gate HiZ will do n othing)... is there anything that switches based on a HiZ or Low signal?
." If
I mean my circuit has several open drain outputs tied together, their purpo se is to override a control signal, basically when everything is running go od all my open drains are open and the control signal can do its thing, its just tied to a highZ, but if one of my open drains goes low, it pulls this control signal low and basically disables it.... so tying any of my open d rains high defeats the purpose
S
Spehro Pefhany
open drain output can have no pull up tied to it, it can only be Low and HiZ. I was thinking an n-channel jfet might do it, but then i thought... nope, I can't clear the jfet once it turns on unless I can pull the gate high (I can turn it on by pulling it low, but showing the gate HiZ will do nothing)... is there anything that switches based on a HiZ or Low signal?
"it's the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
A
Artemus
open
was
clear
by
anything
I mean my circuit has several open drain outputs tied together, their purpose is to override a control signal, basically when everything is running good all my open drains are open and the control signal can do its thing, its just tied to a highZ, but if one of my open drains goes low, it pulls this control signal low and basically disables it.... so tying any of my open drains high defeats the purpose
************
What's the impedance of the control signal? Art
A
Artemus
open
was
clear
by
anything
is to
open
highZ,
purpose
Never mind, that isn't going to work.
How about isolating the control sig from the wire-or bus with a diode? Will that still pull the control sufficiently low to disable it? Then you are free to pull up the drain(s). Art
J
Jim Thompson
open drain output can have no pull up tied to it, it can only be Low and HiZ. I was thinking an n-channel jfet might do it, but then i thought... nope, I can't clear the jfet once it turns on unless I can pull the gate high (I can turn it on by pulling it low, but showing the gate HiZ will do nothing)... is there anything that switches based on a HiZ or Low signal?
Guess what an open drain output does with no pull-up...
Initially it might be called a "wanderer" >:-}
Pull it low
Then go to hi-Z... it stays low ;-) ...Jim Thompson
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
P
Phil Hobbs
Put the pullup and LED on the open drains, and use a separate MOSFET (e.g. a 2N7002) to ground the control signal. You'll need another inverter stage in between, or perhaps you can effectively move the open drains to the P-channel side and have the resistor and LED pull down instead of up.
You can usually do that on MCU GPIO pins.
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics
160 North State Road #203
Briarcliff Manor NY 10510 USA
+1 845 480 2058
hobbs at electrooptical dot net
http://electrooptical.net
J
Jim Thompson
open drain output can have no pull up tied to it, it can only be Low and HiZ. I was thinking an n-channel jfet might do it, but then i thought... nope, I can't clear the jfet once it turns on unless I can pull the gate high (I can turn it on by pulling it low, but showing the gate HiZ will do nothing)... is there anything that switches based on a HiZ or Low signal?
If
is to override a control signal, basically when everything is running good all my open drains are open and the control signal can do its thing, its just tied to a highZ, but if one of my open drains goes low, it pulls this control signal low and basically disables it.... so tying any of my open drains high defeats the purpose
HOW does it over-ride the control? Show a schematic. If you're trying to over-ride a conventional CMOS output by pulling it low, you might not release the magic smoke, but something IS likely to get warm. ...Jim Thompson
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
P
panfilero
thanks for the tips, using pull-ups on my current open drains for the LEDs and then using that to trigger another FET for my "no pull up" open drain requirement makes sense to me, I think that's a good solution!
Jim,
It does pull the CMOS output low, there's a current limiting resistor on the output so nothing should get warm, just a resistor to ground is what the output sees when it's disabled
much thanks!
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.