Stepper motors are a type of brushless DC motor that can be controlled so that they advance a fixed step size. Additionally, they provide a strong holding torque. This can make them useful in applications where you want to rotate the motor precisely without employing encoders. When prototyping, I...

Continue reading...

The local public access station produces a weekly news/entertainment program called The Local Live. The format features a live interview segment where community calls, emails, and tweets are taken on the air. To keep the contact information onscreen throughout the entire segment, I wanted to anima...

Continue reading...

You need to implement a comparator circuit with hysteresis, and you pull up some app notes. They look something like this, credit to Analog Devices:

comparator schematics

If you have a circuit in hand, there are a dozen or so discussions online to determine the comparator’s characteristics: high threshold \(V_{TH...

Continue reading...

This is probably something that would have been obvious to everyone else, but stumped me for a bit when I came across it the other day. I was looking at the rate of change of a sequence, and my smoothing algorithm wasn’t doing any better than just subtracting two points in the sequence farther apar...

Continue reading...