quadrature to voltage converter

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

Reply to
Jonathan Kirwan
Loading thread data ...

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.

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

Reply to
Jonathan Kirwan

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.

Regards, Joerg

formatting link

Reply to
Joerg

Sure. That would be fine!

Jon

Reply to
Jonathan Kirwan

Hello Jon,

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

Regards, Joerg

formatting link

Reply to
Joerg

Hello Bob,

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

formatting link

Reply to
Joerg

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

Jon

Reply to
Jonathan Kirwan

On Fri, 05 Aug 2005 17:00:26 GMT, Jonathan Kirwan wroth:

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

Reply to
jmeyer

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

Reply to
Jonathan Kirwan

Hello Jon,

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

formatting link

Reply to
Joerg

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

Reply to
Jonathan Kirwan

Hello Jim,

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

formatting link

Reply to
Joerg

On Sat, 06 Aug 2005 21:33:08 GMT, Joerg wroth:

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

Reply to
jmeyer
[snip]
[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 | |

formatting link
| 1962 | I love to cook with wine. Sometimes I even put it in the food.

Reply to
Jim Thompson

No, it appears that Cox uses Phoenix' dumbest, based on the English they speak ;-)

But a few weeks ago I had a big go-round with DELL computers. I ordered a new PC for my 87-year-old father. It arrived DOA.. Their "support" is in the Philippines, and English is definitely not their first language. And they just kept moving my father and me to a new tech who had no clue of past discussions.

I finally resorted to FedEx-ing a nastygram to DELL headquarters. Got a call from Michael Dell's personal assistant who dispatched a technician directly to my father's house in West Virginia to change out the hard-drive ;-)

To top it off, guess whose company runs the Dell call center? My oldest son's :-( He's their chief software guru. Aaaaargh!

...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.
Reply to
Jim Thompson

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

Reply to
Jonathan Kirwan

Mine is set to 70 :-)

...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.
Reply to
Jim Thompson

On Thu, 04 Aug 2005 22:06:28 GMT, Jamie Morken wroth:

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---

Reply to
jmeyer

Hello Jonathan,

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

formatting link

Reply to
Joerg

Hello Jim,

the

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.

Yes, but it won't show anything and leaves a nasty scratch on the LCD.

You can but nothing will change ;-)

Regards, Joerg

formatting link

Reply to
Joerg

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.