hello i have been trying to simulate this timer circuit, when i try to simulate it keeps saying the circuit is not loaded. Can someone mention the steps in details also the time periods which have to be given as inputs. Any other key points is also requested for simulation in KiCad.
My experience with spice in general is very limited, though I have managed to get a simple opamp amplifier working. It was one of the example projects, but still needed some tinkering to get it to work.
In the video linked to by Paru, he goes to some website, fills in some form to download a complete simulation package and then goes on to copy the LM555 sub circuit.
As an alternative I spent about 2 hours searching the web, tried some 10+ different LM, NE, TLC, and other 555 variants and could not get to a blinking led.
I will also not resort to commercial software, even if they give it away for “free”.
So for me it’s back to my breadboard and oscilloscope.
I removed the external components that allow this example to simulate, and saved out the netlist of just the internal 555 structure into a subcircuit library: NE555.lib (1.2 KB)
You can use this LIB file within KiCad. I had no idea what you were trying to do with your original circuit in the PDF, so I just built a simple astable circuit and successfully simulated that. I attached a ZIP of this example project. NE555_test.zip (5.1 KB)
Thanks Ste. Finally a 555 circuit that works.
I was a bit surprised that changing the battery voltage did not change anything in the simulator, and then discovered it had an extra (hidden) spice parameter.
I replaced it with a battery with RefDes V1 and a value of “DC 15”, in the same way as in the video linked by paru.
Now I also noticed the pdf of Rohit_Kumar.
I see at least 2 errors in the pdf.
First. You have to annotate the schematic, so the question marks in the RefDes’s go away.
Then Voltage sources (such as your battery) need to have a Refdes starting with “V”, or the simulator will not recognize it as a voltage source.
For an estimate of simulation time constants. Take some ball park figure for a RC constant, and divide that time with a factor of at least 10. (50 to 100 or so is usually better, higher resolution often just adds more simulation time) For example, you have a 150k resistor on Q with a capacitor of 4.7uF.
1.5e5 * 5e-6 = 7.5 e-1
Which is just below a second, so simulation resolution should be well below 100ms resolution. Starting with 10ms is probably better.
Note that too high a resolution just slows down simulation, while a too coarse a resolution completely *&^%$#@! the whole simulation and the results do not make sense anymore.
In the screenshot below the resolution clearly is too low.
The output pulse widht (red) is not stable anymore, and the voltage over the timing capacitor (green) becomes chunky.
The goal is to use the 555 timer along with low-cost components that are lying around to create a PWM circuit for controlling a PC fan. A low audible noise is provided by ensuring a frequency slightly above the audible range (25kHz).
I am very grateful to the open-source community and to this forum for allowing me to do this in close to an hour. It really motivated me to learn more about KiCad and its simulation abilities.
Unfortunately as a new user I cannot share my schematic file for those attempting to do the same!