I'm trying to add a new permanent component (ULN2803) to LTSpice, having asc and asy files. I have read some tutorials in the web but focused on .lib and .sub files. How can I add the component from these files? Thank you
2 Answers
If you want to add a permanent component add the .sub files into
ltspiceiv\lib\sub
Add .asy files into
ltspiceiv\lib\sym
Make sure the spicemodel parameter (while your editing the .asy file goto edit\"edit attributes") .asy file matches the .lib or .sub files (you can even put a different full path like c:\models or something like that, if you don't specify the full path it will look in the lib folder)
Make sure the model name is in the .lib file
Make sure that the pins match (if your creating your own .asy file make sure the pins in the .asy go to the pins in the model in the correct order). If you have to, debug this by running the spice file, and look at the netlist in view\spice netlist
Check this it might help you
http://www.electro-tech-online.com/attachments/uln2803-zip.55163/
-
\$\begingroup\$ Using a .asc instead of a .sub file for a component. I was looking for that as well. Thanks Sanjeev, I voted you up again :-) \$\endgroup\$– hennepCommented May 7, 2022 at 8:38