Linear regulators like the 7805 are great, but they’re not terribly efficient. Depending on the input voltage you might see 50% efficiency. Going to a switch mode supply, that efficiency shoot up to about 90%.

For his drop-in replacement, [K.C. Lee] is using the LM3485, a switch mode regulator that only needs a few extra parts to turn it into a replacement for the 7805. You will need a cap on the input, but you should already be putting those in your circuit anyway, right?

Many CPU-usage widgets have stylistically borrowed from vehicles, displaying something mimicking the tachometer found in the dashboard. [Pat] took it a step further and tried his hand at re-borrowing this style. He figured, why not use an actual physical tachometer to display how hard the CPU on his Raspberry Pi was revving?

With the goal of tuning 0-100% CPU usage to 0-8000 RPM on the tach, the first step was diagnosing the range of PWM input frequencies that moved the needle across the tach’s full arc. Using his Tektronix 3252C function generator he quickly determined 0-440 Hz would be needed and graphed a handful of intermediate points. The response curve was not linear, so he drew up some fudging guidelines to make all the datapoints match.

Next, he wrote a few lines of Python (he shared) to make the Pi to poll its CPU usage and translate it to the proper frequency. The Pi makes outputting easy, GPIO pin 11 carried the signal to a 7404 for buffering, then out to the tach. The automotive tach itself ran on 12V, but its input signal required only 5V so he pulled a 7805 from his parts bin.

Once it was all put together it worked beautifully using just the one extra component. Some might see this as more clever than USB dependent or Arduino bloated based tachometer hacks.

See the video after the break of the tach twitching even when the mouse moved, and pegging the red when opening a browser. No more need to use up valuable screen real-estate (or use a screen at all) if you want to see at a glance when your Pi is putting in work.

We’re quite sure that all hobbyists have used the 7805 voltage regulator at least once in their lives. They are a simple way to regulate 7V+ voltages to the 5V that some of our low power projects need. [Ken Shirriff] wrote an amazingly detailed article about its theory of operation and implementation in the silicon world.

As you may see in the picture above such a regulator is composed of very different elements: transistors, resistors, capacitors and diodes, all of them integrated in the die. [Ken] provides the necessary clues for us to recognize them and then explains how the 7805 can have a stable output even when its temperature changes. This is done by using a bandgap reference in which the difference between transistor base-emitter voltages for high and low current is used to counter the effects of temperature. As some elements looked a bit odd during [Ken]’s reverse engineering process, he finally concluded that what he purchased on Ebay may be a counterfeit (read this Reddit comment for another opinion).

[Pixel] just sent in this automotive hack which disconnects his car charger when the vehicle stops moving for at least 10 minutes. Why would you need such a thing? The 12V outlet in his vehicle isn’t disconnected when the ignition is turned off. If he leaves a charger plugged in when parking the car, he often returns to a drained battery.

The fritzing diagram tells the story of this hack. He’s using a 7805 to power the Arduino mini. This monitors an ADXL362 accelerometer, starting the countdown when motion is no longer sensed by that chip. At the 10-minute mark the N-channel MOSFET kills the ground side of the outlet. Good for [Pixel] for including a resetable fuse on the hot side. But it was the diode all the way to the left that caught our eye. Turns out this is part of a filtering circuit recommended in a forum post. It’s a Zener that serves as a Transient-Voltage-Suppression diode.

Another comment on that thread brings up the issue we also noticed. The 7805 linear regulator is constantly powered. Do you think putting the uC into sleep and leaving the linear regulator connected is an adequate solution? If not, what would you do differently?

At any rate, we enjoyed reading two posts on this topic. [Göran’s] first adventure with the hardware started when he was trying to design his own speed controller. He saw a reference design in the LM7805 linear regulator datasheet which allows the adjustment of the output by changing the ground reference. When fed with 12V this ends up putting off some heat but it is a simple and reliable solution. He was a bit surprised to crack open a Zalman module and find the exact same circuit inside.

The controller in the background is an eBay purchase. He cracked that one open as well (that’s the link at the top) and found a circuit with a linear regulator in it, but this time it was a TL431 adjustable regulator. So here are our questions: Which one of these two is better and why. And can you do it relatively inexpensively without generating as much heat?

Concerned with your project’s power consumption but don’t want to constantly leave an ammeter wired in series with your power supply? [Rajendra] feels your pain and has recently documented his solution to the problem: a variable-output bench top power supply that clearly displays load current consumption among other things!

Everything is wired up in a nice roomy enclosure that has front-panel access to ±5V and variable outputs, an adjustment potentiometer, and even an input for an integrated frequency counter. A PIC16F689 MCU runs the show and displays the variable output voltage and current on a 16×2 character LCD. Although clearly useful as is, the PIC has plenty of I/Os and muscle left for future expansion and a capacitance meter has already been hinted at as and addition for version 2!

We still can’t figure out why a standard charging scheme hasn’t been developed for handheld devices (other than greed). Certainly we understand that many devices have different electrical needs as far as voltage and current are concerned, but we still long for the ability to use one charger for many different doodads. [Rupin] is trying to narrow down the number of dedicated chargers he uses by adding a USB charging port to his Nokia cellphone charger. Since the USB standard calls for regulated 5V a hack like this can often be done just by patching into the power output coming off of the voltage regulator in the plug housing of the device. [Rupin’s] charger had 5V printed on the case, but when he probed the output he found well over 8 volts. He added a 7805 linear regulator to get the stable output he needed, then cut a hole in the case to house the connector.

Since [Rupin] wants to use this as an iPod charger he couldn’t just let the two data lines float. Apple uses a specific charger verification scheme which requires some voltage dividers to get the device to start charging.