sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.29k stars 633 forks source link

How to measure the frequency #678

Closed ghost closed 2 years ago

ghost commented 2 years ago

I simulated an oscillator for high frequencies above 500kHz how can I measure the frequency, are there any tools for this besides an oscilloscope which is limited to 500 microseconds

pfalstad commented 2 years ago

To properly simulate a high frequency oscillator, you need a smaller timestep.

Do Options->Other Options, then set the time step size to 50n

Once you do that, the scope resolution will also be adjusted so you can use it.

ghost commented 2 years ago

arigato