He asked for one LED to be on with a 5-volt supply and the other to be on with a
12-volt supply. The circuit needs to work for a reasonable tolerence on both supplies. Both on in some small presumably-never-happens transition region is as good a scheme as any.
What Jim did with his second circuit *was* wrong. His "5V" LED was still on at
11.9 volts, and both were off at 4.9.
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
Didn't find your answer? Ask the community — no account required.
J
Jim Thompson
turns on and if you power it up with 12V the 5V LED goes off and the 12V indicator goes on.
until I provide it a voltage drop of 5.6V, and since it's in series with some other stuff (resistors and an LED) I thought it would definitely be off at 5V, but it's on just enough to turn on my FET M1 and not let my D4 LED light up... I'm basically measuring a little over 1V at the gate.
maybe, but why is D1 turning on at all? Is it leakage current that's causing this circuit not to work at 5V? D3 the 12V LED is definitely off at a 5V supply (as it should be) and the circuit works at 12V... but not at 5V...
One final pass...
formatting link
then back to real work >:-} ...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.
J
John Larkin
turns on and if you power it up with 12V the 5V LED goes off and the 12V indicator goes on.
until I provide it a voltage drop of 5.6V, and since it's in series with some other stuff (resistors and an LED) I thought it would definitely be off at 5V, but it's on just enough to turn on my FET M1 and not let my D4 LED light up... I'm basically measuring a little over 1V at the gate.
maybe, but why is D1 turning on at all? Is it leakage current that's causing this circuit not to work at 5V? D3 the 12V LED is definitely off at a 5V supply (as it should be) and the circuit works at 12V... but not at 5V...
I'd never design anything that clumsy. And you obviously Spice-fiddled it until you got it to work. At least you got the transition voltage
*between* 5 and 12 this time.
John Larkin Highland Technology, Inc
jlarkin at highlandtechnology dot com
http://www.highlandtechnology.com
Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom laser drivers and controllers
Photonics and fiberoptic TTL data links
VME thermocouple, LVDT, synchro acquisition and simulation
J
Jim Thompson
[snip]
I can play PSpice in LTspice, but never showed how before...
Copy the following to a file named "Panfilero_LED_4_LTC.cir"
| 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.
J
John Fields
sheets
must
and
I already posted the full .asc file here, so why are you redirecting
its origin?
J
Jim Thompson
sheets
must
it, and
Too much wine already, John? I snipped the bulk of your .ASC listing to keep the posting short, but marked it for anyone entering the discussion late to the game.
Damn! Maybe _you_ are go "Just advisory. I wasn't criticizing. The libraries in LTspice can mislead."
Cranky old fart >:-} ...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.
J
John Fields
sheets
must
it, and
Nope, there's never too much wine.
----
>I snipped the bulk of your .ASC listing to keep the posting short, but marked
it for anyone entering the discussion late to the game.
J
Jim Thompson
it for anyone entering the discussion late to the game.
I was replying to your post that included the full .ASC listing, which made the post rather long.
So I trimmed the .ASC listing to shorten the overall message but added a link to the full message if anyone missed it.
Capish ?:-)
Next time I'll leave an explanatory note for any of you who are mentally slowing down >:-}
Note to Larkin and his butt buddies:
See!! Fields and I will cut each other's throat, if necessary to make a point ;-) ...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.
J
John Larkin
The point being that you are both crabby old hens.
Hey, we all knew that already.
--
John Larkin Highland Technology, Inc
jlarkin at highlandtechnology dot com
formatting link
Precision electronic instrumentation Picosecond-resolution Digital Delay and Pulse generators Custom laser drivers and controllers Photonics and fiberoptic TTL data links VME thermocouple, LVDT, synchro acquisition and simulation
J
josephkk
before JF
get
yet a pen,
is
you
file
fiddle
You clearly DID NOT READ what i posted. Lame flame.
?-)
J
Jim Thompson
JF
pen,
Yup. A lame flame from a lame brain >:-} ...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.
J
josephkk
sometimes sheets
must
Poor self deluded Larkin, doesn't understand braggadocio is an insult, similar to "talking trash" or lying.
that and
it, and
J
josephkk
sometimes sheets
"braggadocio" you must
mostly
inverting it, and
That is true, every spice can. I wish LTspice had a complete set of LT parts as well, but it doesn't.
?-)
J
Jim Thompson
sometimes sheets
must
it, and
I'm working my way thru "talking" to LTspice from other simulators. Some peculiarities... LTspice doesn't treat ".LIB" like other simulators, more like it behaves as ".INC", which barfs on components you haven't even called out to use in your schematic :-( ...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.
J
Jim Thompson
sheets
and
and
Clueless white trash is the BEST descriptor I can find for Larkin. ...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.
J
John Larkin
sheets
Post a circuit yourself. Whine or design.
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
J
Jim Thompson
sometimes sheets
must
it, and
And I've just figured out why. PSpice "indexes" a library, so there's both a .LIB file and a matching .IND file. PSpice uses the .IND file to quickly grab, and put into memory, only those parts in the schematic. LTspice loads the whole library and checks it for LTspice compatibility :-( ...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.
F
Fred Abse
Just so long as you don't adopt his "signature" catchprase.
"For a successful technology, reality must take precedence
over public relations, for nature cannot be fooled."
(Richard Feynman)
F
Fred Abse
Not much use as a design, then...
"For a successful technology, reality must take precedence
over public relations, for nature cannot be fooled."
(Richard Feynman)
F
Fred Abse
Don't you mean "prescribed"?
"Proscribed" means "forbidden".
-- "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman)
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.