There’s many different ways of measuring current. If it’s DC, the easiest way is to use a shunt resistor and measure the voltage across it, and for AC you could use a current transformer. But the advent of the Hall-effect sensor has provided us a much better way of measuring currents. Hall sensors offers several advantages over shunts and CT’s – accuracy, linearity, low temperature drift, wider frequency bandwidth, and low insertion loss (burden) being some of them. On the flip side, they usually require a (dual) power supply, an amplification circuit, and the ability to be “zero adjusted” to null output voltage offsets.
[Daniel Mendes] needed to measure some fairly high currents, and borrowed a clip-on style AC-DC current probe to do some initial measurements for his project. Such clip on current probes are usually lower in accuracy and require output DC offset adjustments. To overcome these limitations, he then built himself an invasive hall sensor current probe to obtain better measurement accuracy (Google Translated from Portugese). His device can measure current up to 50 A with a bandwidth stretching from DC to 200 kHz. The heart of his probe is the LAH-50P hall effect current transducer from LEM – which specialises in just such devices. The 25 mV/A signal from the transducer is buffered by an OPA188 op-amp which provides a low output impedance to allow interfacing it with an oscilloscope. The op-amp also adds a x2 gain to provide an output of 50 mV/A. The other critical part of the circuit are the high tolerance shunt resistors connected across the output of the LAH-50P transducer.
The rest of his design is what appears to be a pretty convoluted power supply section. [Daniel] wanted to power his current probe with a 5V input derived from the USB socket on his oscilloscope. This required the use of a 5 V to 24 V boost switching regulator – with two modules being used in parallel to provide the desired output power. A pair of linear regulators then drop down this voltage to +15 / -15 V required for the trasducer and op-amp. His blog post does not have the board layout, but the pictures of the PCB should be enough for someone wanting to build their own version of this current sensor.
Nerd Ralph loves cheap and dirty hacks, and for that we applaud him. His latest endeavor is a LiFePO4 battery charger that he made out of parts he had on hand for under $0.50 US. (Although we think he really made it for the fun of making it.)
The circuit is centered around a TL431 programmable shunt regulator, which is an awesome and underrated chip in its own right. If you don’t know the TL431 (aka LM431), you owe it to yourself to fetch the datasheet and pick up a couple with your next electronics part order. In fact, it’s such a great chip, we can’t resist telling you about it for a minute.
Continue reading “Ode to the TL431, and a LiFePO4 Battery Charger”
[DainBramage] needed a DC ammeter to check how long his amateur radio station would be able to stay powered on battery backup power. The one’s he already had on hand were a Clamp Meter, which could only measure AC, and another one that measured just a few milliamps. Since he didn’t have one which could measure up to 25A, he decided to build his own DIY DC Ammeter with parts scavenged from his parts bin. Measuring DC current is not too difficult. Pass the current to be measured through a precision resistor, and measure the voltage drop across it using a sensitive voltmeter.
I = V/R
So far, so good. If it’s late at night and you’ve had a lot of coffee, busy building your DC ammeter, things could head south soon. [DainBramage]’s first step was to build a suitable Shunt. He had a lot of old, 1Ω, 10W resistors lying around. He made a series-parallel combination using nine of them to create a hefty 1Ω, 90W shunt (well, 0.999999999 Ohms if you want to be picky). This gave him a nice 1 Volt per Amp ratio, making it easy to do his measurements.
Next step was to hook up the shunt to a suitable voltmeter. Luckily, he had a Micronta voltmeter lying around, ripped out from a Radio Shack product. Since he didn’t have the voltmeter data, he hooked up a 10k resistor across the meter inputs, and slowly increased the voltage applied to the meter. At 260mV, the needle touched full-scale and the voltage across the inputs of the voltmeter was 33mV. [DainBramage] then describes the math he used to calculate the resistors he would need to have a 10A and a 25A measurement range. He misses his chance to catch the fail. His project log then describes some of the boring details of putting all this together inside a case and wrapping it all up.
A while later, his updates crop up. First thing he probably realized was that he needed more accurate readings, so he added connectors to allow attaching a more accurate voltmeter instead of the analog Micronta. At this point, he still didn’t catch the fail although it’s staring him straight in the face.
His head scratching moment comes when he tries to connect his home made ammeter in series with the 12V DC power supply to his amateur radio station. Every time he tries to transmit (which is when the Radio is drawing some current), the Radio shuts off. If you still haven’t spotted the fail, try figuring out how much voltage gets dropped across the 1Ω shunt resistor when the current is 1A and when it is 5A or more.
[Neil] is driving this Siemens A60 LCD using a parallel port on his Linux box. He likes this module because it has an integrated LED back-light, controller IC, and the pads are large enough for a human to solder. He notes that the screen runs on 2.9V, which matches the forward voltage of the LEDs used as back-lights. This means it is possible to use one f the LEDs as a shunt to drop incoming voltage down to a safe level for the controller. In fact, that’s what he did. The data lines are connected to the parallel port along with some current limiting resistors. The LEDs are connected with resistor calculated for maximum brightness, with the output from the LED used as the source voltage for the LCD controller chip.Whether you want to use one of these screens with a PC or something else, the code that [Neil] worked out should provide the information necessary to do so.
The Nokia cellphone LCD post inspired [Neil] to send in a tip about this project. If you’ve got well documented hacks that you’re just sitting on why not let us know about them?