quadrature to voltage converter

On Fri, 05 Aug 2005 18:30:50 GMT, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

Hello Jim,

Interesting. LTspice can actually read-in a PSpice Schematics. Now
all I need to figure out is how to import my PSpice symbols into
LTspice. I have tons that I've made up that don't exist in the
standard libraries.

Maybe Jon's program could also read PSpice schematics then. But even if
you could translate it all to LTSpice I guess you'd be restricted to
whatever symbols he's got in his conversion program or you would have to
create new ones.
It may be able to, though I've never tried. There seems to be a
program called Cohesion Designer that uses/used a very similar set of
description lines to what LTSpice uses. And it wouldn't surprise me
to find that various Spice programs which support graphical schematic
capture using very similar ways of storing the schematics. But I've
no idea, at all.

I could certainly look at a few examples, though. Wouldn't hurt me
much to deal with slight differences, if I can identify them.

Regarding the symbol libraries, though, I'm currently not using
LTSpice's graphical symbol definitions because I haven't come up with
a way of rendering them in ASCII. So I need an ASCII library of
parts, anyway. I just support the basic ones, like capacitors,
diodes, resistors, coils, transistors, fets, etc. Discretes. IC
packages are simply missing, for example, but could be added on a
per-need basis.

I think I can work out a method for converting graphical package
descriptions into reasonable ASCII if I focus on rectangular images.
But that isn't done, yet.

In short, I need some input about prioritizing things and I need to
find a way of dealing with the more important/common needs. For now,
it's more something to illustrate a concept, with the accident that it
also has some modest utility.

Jon
 
On Fri, 05 Aug 2005 17:26:25 GMT, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

Hello Jon,

When I want to put out a schematic on a newsgroup, there is an
advantage to doing it in ASCII since it is a light load on the web and
will be archived for the long haul on google. I also tried to use
Andy's program for a bit, but I really found myself not liking some
aspects I couldn't customize and, more fundamentally, I just don't
like editing and modifying schematics done in ASCII. I often go
through several iterations and ASCII editing does NOT allow me to
stretch wires and so on -- too little intelligence. I also prefer,
because I'm a hobbyist and not a professional in this field, to do
some measure of validation before I post. LTSpice helps me do some
basic checks to help catch certain mistakes I may make or to point me
to thinking more on an issue before I write about it.

That is great. Probably you should promote it some more or at least
place a post with "LTSpice to ASCII schematic" or something in the
subject line to a few NGs.
I've held off of doing that mostly because I didn't think I'd worked
through enough of the issues to bring it across a critical threshold
of utility, yet. And I worried about trying to get a bunch of folks
testing it out and then finding some serious flaws that made it nearly
unusable, so that they then decided to never again bother looking at
it if I improved it.

I still think I need either some more input from others or to put more
time into it myself before "putting it out there."

What I've done here is to just suggest it within a thread in the hope
that some may actually let me know if it helps them or not. I'm still
at that point in its infancy.

I'd volunteer to post in the German NGs if
you like. There are a lot of people who use LTSpice for schematics and
they could really use your program but most likely just do not know
about it.
Well, I can read a fair amount of German so I wouldn't even mind
getting questions or comments in German. So that is fine. But I'd
definitely want it known that this is just an infant concept and that
I'd welcome and deeply appreciate constructive thoughts.

Jon
 
Jon,

I'd volunteer to post in the German NGs if
you like. There are a lot of people who use LTSpice for schematics and
they could really use your program but most likely just do not know
about it.

Well, I can read a fair amount of German so I wouldn't even mind
getting questions or comments in German. So that is fine. But I'd
definitely want it known that this is just an infant concept and that
I'd welcome and deeply appreciate constructive thoughts.
So should I mention it over there to get some more folks to try it? I
wouldn't include your email address because of spam concerns but I guess
people could get that from the web site where the utility is stored.

Regards, Joerg

http://www.analogconsultants.com
 
On Fri, 05 Aug 2005 23:00:25 GMT, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

Jon,

I'd volunteer to post in the German NGs if
you like. There are a lot of people who use LTSpice for schematics and
they could really use your program but most likely just do not know
about it.

Well, I can read a fair amount of German so I wouldn't even mind
getting questions or comments in German. So that is fine. But I'd
definitely want it known that this is just an infant concept and that
I'd welcome and deeply appreciate constructive thoughts.

So should I mention it over there to get some more folks to try it? I
wouldn't include your email address because of spam concerns but I guess
people could get that from the web site where the utility is stored.

Regards, Joerg
Sure. That would be fine!

Jon
 
Hello Jon,

So should I mention it over there to get some more folks to try it? I
wouldn't include your email address because of spam concerns but I guess
people could get that from the web site where the utility is stored.

Sure. That would be fine!

Ok, just did in "de.sci.electronics" and "de.sci.ing.elektrotechnik".

Regards, Joerg

http://www.analogconsultants.com
 
Hello Bob,

Here is a trick that may work. Build negative pulse detectors for the A
and B outputs, and use an RS flipflop. Connect B to set, A to reset.
Then, when the encoder is going forward, the duty cycle is long, whereas
when the encoder is going backwards, the duty cycle is short. This way,
you can use 'interrupt on change' and TIMER0 to determine the frequency
and direction...
Now that's slick. Not the lowest parts count solution but Jamie could
use an interrupt instead of having to continuously monitor the ADC
channel. Possibly this could even be done without a timer available, via
a software waiting loop.

Regards, Joerg

http://www.analogconsultants.com
 
On Sat, 06 Aug 2005 00:00:52 GMT, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

Hello Jon,

So should I mention it over there to get some more folks to try it? I
wouldn't include your email address because of spam concerns but I guess
people could get that from the web site where the utility is stored.

Sure. That would be fine!

Ok, just did in "de.sci.electronics" and "de.sci.ing.elektrotechnik".
Viel Dank. Ich hoffe, daß es vielleicht hilft.

Jon
 
On Fri, 05 Aug 2005 17:00:26 GMT, Jonathan Kirwan <jkirwan@easystreet.com>
wroth:

When I want to put out a schematic on a newsgroup, there is an
advantage to doing it in ASCII since it is a light load on the web and
will be archived for the long haul on google.
On the other hand, an LTSpice file "xxx.asc" is 100 percent text and can
be cut and pasted into a message. Like this:

----cut here----
Version 4
SHEET 1 888 1240
WIRE -560 976 -560 848
WIRE -560 848 -480 848
WIRE -480 848 -480 896
WIRE -560 848 -560 832
WIRE -224 896 -224 848
WIRE -224 848 -96 848
WIRE -96 848 -96 832
WIRE -96 848 -96 976
WIRE -480 976 -480 1024
WIRE -480 1024 -496 1024
WIRE -224 976 -224 1024
WIRE -224 1024 -160 1024
WIRE -432 1024 -480 1024
WIRE -240 1024 -224 1024
WIRE -368 1024 -304 848
WIRE -304 848 -224 848
WIRE -304 1024 -368 848
WIRE -368 848 -480 848
WIRE -560 1072 -560 1104
WIRE -96 1072 -96 1104
WIRE -720 1104 -720 944
WIRE -720 864 -720 720
WIRE -720 720 -560 720
WIRE -560 720 -560 752
WIRE -560 720 -96 720
WIRE -96 720 -96 752
FLAG -96 1104 GND
FLAG -560 1104 GND
FLAG -720 1104 GND
SYMBOL RES -576 736 R0
SYMATTR InstName R1
SYMATTR Value 2K
SYMBOL res -112 736 R0
SYMATTR InstName R2
SYMATTR Value 2K
SYMBOL res -496 880 R0
SYMATTR InstName R3
SYMATTR Value 101K
SYMBOL res -240 880 R0
SYMATTR InstName R4
SYMATTR Value 100K
SYMBOL cap -368 1008 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C1
SYMATTR Value .01ľ
SYMBOL cap -240 1008 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C2
SYMATTR Value .01ľ
SYMBOL VOLTAGE -720 848 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL NPN -160 976 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn -496 976 M0
SYMATTR InstName Q2
SYMATTR Value 2N3904
TEXT -768 1176 Left 0 !.tran 25m startup
TEXT -776 1224 Left 0 ;This example schematic is supplied for
informational/educational purposes only.

----end of file----

Cut and paste the above into LTSpice and you can not only see the
schematic, you can run the simulation and even modify it.

Jim
 
On Sat, 06 Aug 2005 01:38:45 GMT, jmeyer@nowhere.net wrote:

On Fri, 05 Aug 2005 17:00:26 GMT, Jonathan Kirwan <jkirwan@easystreet.com
wroth:

When I want to put out a schematic on a newsgroup, there is an
advantage to doing it in ASCII since it is a light load on the web and
will be archived for the long haul on google.

On the other hand, an LTSpice file "xxx.asc" is 100 percent text and can
be cut and pasted into a message. Like this:
Of course. And that capability already exists and is available. And
yet there still remains a desire for just providing a visual, ASCII
schematic when posting. There are times when it is important to
provide exactly what you suggest. And times when just the ASCII image
is the right thing to provide.

I think the one does not completely subsume the other.

Jon
 
Hello Jon,

Ok, just did in "de.sci.electronics" and "de.sci.ing.elektrotechnik".

Viel Dank. Ich hoffe, daß es vielleicht hilft.

Amazing. Except for immigrants I haven't found many Americans who are
fluent in German. I mentioned your language skills in the posts but
hinted that you might occasionally reply in English. Everyone over there
understands that anyway (or they wouldn't be able to use LTSpice...).

Regards, Joerg

http://www.analogconsultants.com
 
On Sat, 06 Aug 2005 15:52:11 GMT, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

Hello Jon,

Ok, just did in "de.sci.electronics" and "de.sci.ing.elektrotechnik".

Viel Dank. Ich hoffe, daß es vielleicht hilft.

Amazing. Except for immigrants I haven't found many Americans who are
fluent in German. I mentioned your language skills in the posts but
hinted that you might occasionally reply in English. Everyone over there
understands that anyway (or they wouldn't be able to use LTSpice...).
I wouldn't say I'm fluent. You give me too much credit for producing
a negligible thing. I'm terrible at producing unstilted German, for
example, while reasonably okay at reading the more common usages.

I do continually put in effort to read German, though, and I'd enjoy
improving myself. I also wouldn't mind giving some Germans a few
laughs over my struggles -- especially, if they'd let me in on the
joke, once in a while.

Jon
 
Hello Jim,

On the other hand, an LTSpice file "xxx.asc" is 100 percent text and can
be cut and pasted into a message. ...
Yes, but that doesn't place a two dimensional schematic on the screen.
It can be hard to quickly grasp a circuit from a Spice listing. For
younger engineer it may be very difficult.

Regards, Joerg

http://www.analogconsultants.com
 
On Sat, 06 Aug 2005 21:33:08 GMT, Joerg <notthisjoergsch@removethispacbell.net>
wroth:

Hello Jim,

On the other hand, an LTSpice file "xxx.asc" is 100 percent text and can
be cut and pasted into a message. ...

Yes, but that doesn't place a two dimensional schematic on the screen.
It can be hard to quickly grasp a circuit from a Spice listing. For
younger engineer it may be very difficult.

Regards, Joerg

http://www.analogconsultants.com
A quick highlight and copy of the included text will remove the listing
from the message so that it can be pasted into LTSpice where it becomes much
more valuable than a simple schematic. A young engineer should already have the
free LTSpice in his toolbox.

Can you probe a 2D ASCII schematic with a virtual oscilloscope to the
see the voltages at every node? Or change a part value to see what happens?
You can with LTSpice.

Jim
 
On Sat, 06 Aug 2005 00:00:52 GMT, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

snip
Ok, just did in "de.sci.electronics" and "de.sci.ing.elektrotechnik".
I just added the ability, using the +c command line option, to
automatically copy the ASCII schematic to the Windows clipboard.
Appears to work fine and it does verify that WinOldAp is present and
able to handle clipboard operations, so it is safe and won't crash.

That feature will save the effort required to copy and paste from a
DOS box.

Jon
 
On Thu, 04 Aug 2005 22:06:28 GMT, Jamie Morken <jmorken@shaw.ca> wroth:

Hi,

I have a rotary encoder outputting a quadrature signal that I would like
to convert to a voltage that indicates the encoders rotation direction
and rotation rate.

Jamie Morken
Use your mouse to highlight the text between "---cut start---" and
"---cut stop---". Press ctrl-C to copy to the Windows clipboard. Open Window's
notepad and use ctrl-V to paste the text. Save the resultant file somewhere as
"Quad-Analog.asc".

Start LTspice and then open the Quad-Analog.asc file you just made. I
think it will do the job for you.

Jim

---cut start---

Version 4
SHEET 1 2056 708
WIRE -256 352 -256 256
WIRE -256 256 -176 256
WIRE -112 352 -112 304
WIRE -112 304 -48 304
WIRE 0 304 0 416
WIRE 0 304 48 304
WIRE 0 416 176 416
WIRE 176 416 432 416
WIRE 176 416 176 464
WIRE 176 464 208 464
WIRE 288 464 336 464
WIRE 336 464 432 464
WIRE 336 512 336 464
WIRE -256 432 -256 624
WIRE -256 624 -112 624
WIRE 336 576 336 624
WIRE 336 624 1056 624
WIRE -112 432 -112 624
WIRE -112 624 160 624
WIRE 160 672 160 624
WIRE 160 624 336 624
WIRE 496 432 560 432
WIRE 208 256 672 256
WIRE 608 432 608 384
WIRE 608 272 672 272
WIRE 672 384 608 384
WIRE 608 384 608 272
WIRE 224 304 560 304
WIRE 560 304 560 368
WIRE 560 368 672 368
WIRE 736 240 1280 240
WIRE 736 352 832 352
WIRE 832 352 832 464
WIRE 832 464 864 464
WIRE 944 464 992 464
WIRE 1056 416 1056 368
WIRE 1056 368 1088 368
WIRE 1328 464 1280 464
WIRE 1280 464 1280 240
WIRE 1408 464 1472 464
WIRE 1536 416 1536 256
WIRE 1536 176 1536 144
WIRE 1536 144 1584 144
WIRE 1648 96 1648 32
WIRE 1648 32 1840 32
WIRE 1344 64 1344 32
WIRE 1344 32 1648 32
WIRE 1344 144 1344 176
WIRE 1968 624 1968 464
WIRE 1840 400 1840 368
WIRE 1840 80 1840 32
WIRE 1536 512 1536 624
WIRE 1536 624 1840 624
WIRE 1648 192 1648 224
WIRE 1648 304 1648 368
WIRE 1648 368 1168 368
WIRE 1648 368 1840 368
WIRE 1840 368 1840 160
WIRE 1840 480 1840 624
WIRE 1840 624 1968 624
WIRE 1840 368 1920 368
WIRE 1968 368 1968 400
WIRE 1056 512 1056 624
WIRE 1056 624 1536 624
WIRE 1920 368 1968 368
WIRE -176 256 48 256
WIRE -48 304 0 304
WIRE 560 432 608 432
FLAG 160 672 0
FLAG 1920 368 out
FLAG 1344 176 0
FLAG -176 256 phi_0
FLAG -48 304 phi_90
FLAG 560 432 rate
SYMBOL Digital\\dflop 128 208 R0
WINDOW 3 -31 -45 Left 0
SYMATTR InstName A1
SYMATTR Value Vhigh=5
SYMBOL voltage -256 336 R0
WINDOW 3 -154 -267 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 0 1e-7 1e-7 50e-6 100e-6 10)
SYMBOL voltage -112 336 R0
WINDOW 3 -301 -224 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5 25e-6 1e-7 1e-7 50e-6 100e-6 20)
SYMBOL Digital\\xor 480 384 R0
WINDOW 3 -84 -2 Left 0
SYMATTR InstName A2
SYMATTR Value Vhigh=5
SYMBOL res 304 448 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL cap 320 512 R0
SYMATTR InstName C1
SYMATTR Value 10nF
SYMBOL Digital\\and 704 192 R0
WINDOW 3 -83 -2 Left 0
SYMATTR InstName A3
SYMATTR Value Vhigh=5
SYMBOL Digital\\and 704 304 R0
WINDOW 3 -61 124 Left 0
SYMATTR InstName A4
SYMATTR Value Vhigh=5
SYMBOL res 960 448 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL npn 992 416 R0
SYMATTR InstName Q1
SYMBOL res 1184 352 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL res 1424 448 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL npn 1472 416 R0
SYMATTR InstName Q2
SYMBOL res 1552 272 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R5
SYMATTR Value 10K
SYMBOL pnp 1584 192 M180
SYMATTR InstName Q3
SYMBOL voltage 1344 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL res 1632 208 R0
SYMATTR InstName R6
SYMATTR Value 10K
SYMBOL res 1824 64 R0
SYMATTR InstName R7
SYMATTR Value 100K
SYMBOL res 1824 384 R0
SYMATTR InstName R8
SYMATTR Value 100K
SYMBOL cap 1952 400 R0
SYMATTR InstName C2
SYMATTR Value 10nF
TEXT 336 192 Left 0 !.tran 400e-5

---cut stop---
 
Hello Jonathan,

I just added the ability, using the +c command line option, to
automatically copy the ASCII schematic to the Windows clipboard.
Appears to work fine and it does verify that WinOldAp is present and
able to handle clipboard operations, so it is safe and won't crash.

That feature will save the effort required to copy and paste from a
DOS box.
That is great. I have the impression that the younger generation has
lost the ability to write good old batch files. The next generation
after that probably wouldn't know whether DOS was the name of a rap band
or some kind of cereal.

Regards, Joerg

http://www.analogconsultants.com
 
Hello Jim,

A quick highlight and copy of the included text will remove the listing
from the message so that it can be pasted into LTSpice where it becomes much
more valuable than a simple schematic. A young engineer should already have the
free LTSpice in his toolbox.
If you assume everyone has LTSpice, yes. But if you are using a PC at a
friend's house or an Internet cafe you can't read it.

Can you probe a 2D ASCII schematic with a virtual oscilloscope to the
see the voltages at every node? ...
Yes, but it won't show anything and leaves a nasty scratch on the LCD.

Or change a part value to see what happens?
You can but nothing will change ;-)

Regards, Joerg

http://www.analogconsultants.com
 
On Sun, 07 Aug 2005 21:14:06 GMT, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

Hello Jonathan,

I just added the ability, using the +c command line option, to
automatically copy the ASCII schematic to the Windows clipboard.
Appears to work fine and it does verify that WinOldAp is present and
able to handle clipboard operations, so it is safe and won't crash.

That feature will save the effort required to copy and paste from a
DOS box.

That is great. I have the impression that the younger generation has
lost the ability to write good old batch files. The next generation
after that probably wouldn't know whether DOS was the name of a rap band
or some kind of cereal.
Now, if only there were a way of hooking an external program command
to an LTSpice drop down menu item. Could hook this up so that the
LTSpice filename is passed over, with the +c option, and that would
automatically make it ready for pasting elsewhere and almost as
convenient to use as possible.

Oh, just improved the +c option slightly. You can add a character to
it and that character will appear at the beginning of each line in the
paste buffer. I needed that for my Agent newsreader, which normally
wraps the lines unless they are preceded by one of a few different
characters. In my case, I'll probably use the colon :)) character, as
in this example which uses a "speed up" RC in order to overcome Q2's
capacitance when turning off and a diode D1 to help dump some of the
excess charge on C1 also when turning off:

: PRIMARY SPECIFICATIONS
: +12V +5V
: .param Vbb=12V --------------------- | |
: 2 supplies available, | |
: .param Vcc=5V + the relay uses 10mA | |
: @ 12V, ctrl is 0 to 5 --- ---
: .param ILoad=10mA --------------------- - V1 - V2
: --- {Vbb} --- {Vcc}
: - -
: | |
: DESIGN ESTIMATIONS | |
: | |
: .param Q1Vbe=0.6V Q1beta=200 gnd gnd
:
: .param Q2Vce=0.2V Q2Vbe=0.7V Q2beta=50 +12V +12V
: | | +12V
: .param IR2=0.1*Q2Ib | | |
: | | |
: --- D1 \ |
: / \ 1N4148 / R2 |
: DERIVATIVE CALCULATIONS --- \ {R2} |
: | / |
: .param Q2Ic=ILoad Q2Ib=ILoad/Q2beta | | |<e Q2
: ,-+-------+-+-----| 2N3906
: .param Q1Ic=Q2Ib+IR2 Q1Ib=Q1Ic/Q1beta | | |\c
: |/c Q1 --- C1 |
: .param Q1Ie=Q1Ic+Q1Ib +5V---| 2N3904 --- 100p |
: |>e | |
: | | |
: | | \
: RESISTOR VALUES | \ / R3
: \ / R5 \ {RLoad}
: .param RLoad=(Vbb-Q2Vce)/ILoad / R1 \ 330 /
: \ {R1} / |
: .param R2=Q2Vbe/IR2 / | | SIM
: R4 | | | BUZZER
: .param R1=(Vcc-Q1Vbe)/Q1Ie ,---/\/\----+---------' gnd
: | 60
: |
: ---
: .tran 20u - V3
: --- PULSE(5 0 5u 10n 10n 5u 10u)
: -
: |
: |
: |
: gnd

(V3+R4 simulate the micro's CMOS output pin.)

I think the colons look okay.

Jon
 
Hello Jon,

Oh, just improved the +c option slightly. You can add a character to
it and that character will appear at the beginning of each line in the
paste buffer. I needed that for my Agent newsreader, which normally
wraps the lines unless they are preceded by one of a few different
characters. ...
In my case it probably won't help. I tried to set lines breaks in all
kinds of newsreaders and under various OSes. Looks great on screen and
when I check the post they are often gone. Guess the server does that
and this is beyond my control. The ISP "customer service" didn't have a
clue but that was no surprise :-(

These days I have the impression some younger folks don't even know what
a newsgroup is.

... In my case, I'll probably use the colon :)) character, as
in this example which uses a "speed up" RC in order to overcome Q2's
capacitance when turning off and a diode D1 to help dump some of the
excess charge on C1 also when turning off:

: PRIMARY SPECIFICATIONS
: +12V +5V
: .param Vbb=12V --------------------- | |
: 2 supplies available, | |
: .param Vcc=5V + the relay uses 10mA | |
: @ 12V, ctrl is 0 to 5 --- ---
: .param ILoad=10mA --------------------- - V1 - V2
: --- {Vbb} --- {Vcc}
: - -
: | |
: DESIGN ESTIMATIONS | |
: | |
: .param Q1Vbe=0.6V Q1beta=200 gnd gnd
:
: .param Q2Vce=0.2V Q2Vbe=0.7V Q2beta=50 +12V +12V
: | | +12V
: .param IR2=0.1*Q2Ib | | |
: | | |
: --- D1 \ |
: / \ 1N4148 / R2 |
: DERIVATIVE CALCULATIONS --- \ {R2} |
: | / |
: .param Q2Ic=ILoad Q2Ib=ILoad/Q2beta | | |<e Q2
: ,-+-------+-+-----| 2N3906
: .param Q1Ic=Q2Ib+IR2 Q1Ib=Q1Ic/Q1beta | | |\c
: |/c Q1 --- C1 |
: .param Q1Ie=Q1Ic+Q1Ib +5V---| 2N3904 --- 100p |
: |>e | |
: | | |
: | | \
: RESISTOR VALUES | \ / R3
: \ / R5 \ {RLoad}
: .param RLoad=(Vbb-Q2Vce)/ILoad / R1 \ 330 /
: \ {R1} / |
: .param R2=Q2Vbe/IR2 / | | SIM
: R4 | | | BUZZER
: .param R1=(Vcc-Q1Vbe)/Q1Ie ,---/\/\----+---------' gnd
: | 60
: |
: ---
: .tran 20u - V3
: --- PULSE(5 0 5u 10n 10n 5u 10u)
: -
: |
: |
: |
: gnd

(V3+R4 simulate the micro's CMOS output pin.)
I was amazed that the MSP430 data sheet figures indicate around half
that value, 30 ohms. Amazing. Still TI will not release hard data on
that which precludes many applications such as driving switcher transistors.
I think the colons look okay.
They do. Could you make them sparkle around Christmas time?

Regards, Joerg

http://www.analogconsultants.com
 
On Sun, 07 Aug 2005 22:24:15 GMT, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

[snip]
These days I have the impression some younger folks don't even know what
a newsgroup is.

[snip]

Yep. A Cox "support" person once told me, "We don't support news".
(Cox has their own news-server ;-)

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 

Welcome to EDABoard.com

Sponsor

Back
Top