New answers tagged

2 votes
Accepted

Arduino RPM Calculator Weird behavior

You have an 5V MCU. It expects a 5V signal. It won't see a 3V signal properly, and you are not allowed to give it more than 5V or you will damage the MCU with overvoltage. You also haven't connected ...
Justme's user avatar
  • 148k
1 vote

Using a square and/or sine wave generator through a speaker

To hear what a sine wave sounds like when played through a speaker, you need three things. 1. A signal source, something that produces sine and square wave electrical signals. 2. An amplifier, ...
AnalogKid's user avatar
  • 20.1k
1 vote

Using a square and/or sine wave generator through a speaker

What you're describing are normal (active) PC speakers. As in, the kind you can hook up to a computer via a 3.5mm audio plug. You can get some in a supermarket or might even have some already. The ...
Jonathan S.'s user avatar
  • 18.7k
5 votes

How to check for slope of a square wave output in LTspice

LTSPICE supports waveform arithmetic. Specifically, if you have a node X you can plot D(V(X)) to get the derivative of V(X) (which is its slope). In this case I created a waveform that rises/falls ...
user4574's user avatar
  • 12.2k
3 votes

How to check for slope of a square wave output in LTspice

The MEASURE facility in LTspice allows a TRANsient run to be post-processed for determining maximum slope. The result appears in SPICE ERROR LOG. You can add the MEASURE parameter with the .OP button: ...
glen_geek's user avatar
  • 25.9k
4 votes
Accepted

How to check for slope of a square wave output in LTspice

You used the voltage from the first cursor instead of from the difference. $$\frac{114.45~mV}{2.13~ms}=53.73~V/s $$ So taking rounding error into account the reported value is correct.
GodJihyo's user avatar
  • 23.2k

Top 50 recent answers are included