• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

LTspice potentiometer

ronv

Well-Known Member
Most Helpful Member
Can anyone supply me a pot model and instructions to install and run it? I've been using 2 resistors for to long now.
Thanks
 

ericgibbs

Well-Known Member
Most Helpful Member

ronv

Well-Known Member
Most Helpful Member
Pot

Hi Eric,

Yahoo is where I got this one. I think I don't know how to set it up.
I have a folder named new in both the sub and sym folders. I put the symbol in the new symbol folder as an .asy file and the subcircuit in the new sub file as a .sub file. I then changed the Spice model line to point at the sub file.
I seem to have a mental block about this. Don't know why.
 

Attachments

ronv

Well-Known Member
Most Helpful Member
Could I be putting it to far down? I am using like your option b. except my path is lib, sub, new, potentiometer.
When I try to run your asc. I modify the include directive to new/potentiometer.sub, but no dice. I get unknown subcircuit called.
Eric, I know this is a pain, but could you share your files and the directories you put them in? Then I should be able to run your schematic and be on exactly the same page. I keep thinking if I could do this once I would finally "get it."
 

ericgibbs

Well-Known Member
Most Helpful Member
hi Ron,
This is my zipped up Passive folder, its tucked away in: C:\Program Files\LTC\LTspiceIV\MyWork
 

Attachments

ronv

Well-Known Member
Most Helpful Member
Thanks Eric,
I put the sym in the main symbol file and the sub in the main sub file and away it went (with includes). Is it possible to step the pot with time? It would be neat for example if you could see the output of an amplifier change as the pot changed.
 

ericgibbs

Well-Known Member
Most Helpful Member
Thanks Eric,
I put the sym in the main symbol file and the sub in the main sub file and away it went (with includes). Is it possible to step the pot with time? It would be neat for example if you could see the output of an amplifier change as the pot changed.
hi Ron,
This is one option.

EDIT:
Download this free audio program, use the 'Generate' option to create 'chirp' wave files.
You can change the start/stop freq, amplitude, waveform type and the time period.
Export the file as a 'wav' file
Use the LTS 'wave' option to drive the 'chirp' waveforms into your audio amp simulations.


http://audacity.sourceforge.net/
 

Attachments

Last edited:

ronv

Well-Known Member
Most Helpful Member
Thanks Eric,
I'd give you a big green dot if I knew how.
 

Latest threads

EE World Online Articles

Loading

 
Top