ECE101 - Basic Electrical and Computer Engineering

You can learn from our mistakes.

I mentioned sprintf() briefly in my post about communicating between your PIC and the computer but have since learned a couple things I think others could benefit from. So this is going to be a kinda hodge-podge post.
First, I threw together a quick function that will take any number, convert it to ASCII, [...]

Voltage Follower

The Basics
The voltage follower, like the comparator, requires no components other than the op-amp itself.  The voltage follower is typically used as a buffer; whatever circuit is connected to the output will have essentially no effect on the circuit attached to the input.  Either of the inputs is connected directly to the output.  The [...]

Comparator
The Basics
The comparator, unlike the previous amplifiers I’ve covered, requires no components other than the op-amp itself.  The inverting and non-inverting inputs are used to compare two voltages.  The higher of the two inputs will drive the output to the corresponding supply rail.  For example, if the voltage applied to the non-inverting input is higher [...]

If you’ve studied the history of electricity at all, you have certainly heard of The War of the Currents.  Edison wanted DC current for power distribution, Tesla wanted AC current.  After quite the dirty little fight, Tesla came out on top with his AC current.  But why?  Despite all the arguments and under handed tactics [...]

I’ll put up a text version when time permits.

We found out the other day that our site search was not functioning (and probably hadn’t been for a while).  We’re happy to report that we fixed it immediately after becoming aware of the problem.  If you find any issues with the site in the future, or have any other comments or questions, please email [...]

Summing Amplifier
Note: For this and future circuits topics I’ll be using LTSpice, which is provided free from Linear Technology here.  I also recommend viewing my LTSpice Tutorial.  Also, unless otherwise stated, any future discussions involving op-amps will assume an ideal op-amp.  This will assume that the voltages at both inputs are at the same voltage [...]

Difference Amplifier

Note: For this and future circuits topics I’ll be using LTSpice, which is provided free from Linear Technology here.  I also recommend viewing my LTSpice Tutorial.  Also, unless otherwise stated, any future discussions involving op-amps will assume an ideal op-amp.  This will assume that the voltages at both inputs are at the same voltage [...]