This schematic is all you need to build your own voltage converter. [Lutz] needed a converter that could boost 5 V to 30 V to power a string of LEDs. The solution was to use low cost ATtiny85 and some passive components to implement a boost converter.
This circuit follows the classic boost converter topology, using the ATtiny85 to control the switch. The 10 ohm resistor is fed back into the microcontroller’s ADC input, allowing it to sense the output voltage. By measuring the output voltage and adjusting the duty cycle accordingly, the circuit can regulate to a specified voltage setpoint.
A potentiometer is used to change the brightness of the LEDs. The software reads the potentiometer’s output voltage and adjusts the voltage output of the circuit accordingly. Higher voltages result in brighter LEDs.
Of course, there’s many other ways to implement a boost converter. Most practical designs will use a chip designed for this specific purpose. However, if you’re interested in rolling your own, the source and LTSpice simulation files are available.
Sometimes when working on a righteous hack, we get goosebumps while watching our code execute faster than we could ever possibly comprehend. Seeing the pixels of the LCD come alive, hearing the chatter of relays and the hum of fans…it’s an amazing thing what electricity can do. And it is equally amazing when you realize that it all started one hundred and thirty five years ago, when [Thomas Edison] changed the world forever with the first practical electric light bulb.
That bulb was lit by a Direct Current – the same thing that runs the computer you’re reading this article on. The same thing that runs many of the hacks you read about here on Hack a Day, and almost all electronic devices in your house. But somewhere in the mix must exist a device that changes the Alternating Current from your wall outlet to the needed DC. Why? Why is it that we transport electricity as AC only to convert it to DC in our homes? You might answer:
“This argument was played out in the War of Currents back in the 1880’s.”
Indeed, it was. But that was a long time ago. Technology has changed. Changed so much to the point that the arguments in the War of Currents might no longer be valid. Join us after the break, where we rehash these arguments, and explore the feasibility of an all DC environment.
Continue reading “Ask Hackaday: Who Wants An All DC House?”
[Dr. Iguana’s] experience moving from projects powered by disposable Alkaline cells and linear regulators to recycled Lithium Ion cells using the buck regulators seen above might serve as an inspiration to make the transition in your own projects.
The recycled cells he’s talking about are pulled out of larger battery packs. As we’ve seen in the past, dead battery packs for rechargeable tools, laptops, etc., are often plagued by a few bad apples. A small number of dead cells can bork the entire battery even though many perfectly usable cells remain. Once he decided to make the switch it was time to consider power regulation. He first looked at whether to use the cells in parallel or series. Parallel are easier to charge, but boosting the voltage to the desired level ends up costing more. He decided to go with cells in series, which can be regulated with the a less expensive buck converter. In this case he made a board for the RT8289 chip. The drawback of this method requires that you monitor each cell individually during charging to ensure you don’t have the same problem that killed the battery from which you pulled these good cells.
[James Glanville] wrote in to show of his latest tube project. It’s a clock using six IV-3 VFD tubes. In addition to the tube displays the project prominently features a blue 3D printed case which hides away all the guts of the build including the Stellaris Launchpad which drives the clock.
Speaking of guts, you’ll want to look through a few of [James’] other posts on the project. His first write-up on this clock shows off the protoboard and point-to-point soldering that makes the tubes work. To help simplify things he went with a MAX6921 VFD driver chip. He mounted it dead-bug style on its own piece of protoboard and then soldered all of the necessary connections to the larger hunk hosting the tubes. There’s also an interesting post that details the switch mode power supply which ramps the USB 5V power all the way up to the 50V used to drive the displays.
If you like this you should check out the first VFD clock he built. We featured it a while back in a links post.
Here’s a USB charging center which [Kenneth Finnegan] built using parts from his junk bin. We’d like to reiterate our claim that he must have the most magical of junk bins (the last thing we saw him pull out of it was a 24-port managed Ethernet switch).
The jack on the side accepts the barrel connector from a 12V wall wart. [Kenneth] mentions that the 2.1mm jack is a standard he uses in all of his projects. Inside there’s a switch mode power supply that provides the regulated 5V to each USB port. We really like the fact that he added some protection; diy is no fun if you end up frying your beloved multi-hundred dollar devices. The yellow components are polyfuses which will cut the power if 600 mA of current is exceeded. This works great for almost all of his devices, but his iPod 4G doesn’t like the system. It sees the voltage dip just a bit and stops charging entirely.
This DC-DC Bipolar PSU was developed for use with a guitar effects pedal. [Obsolete Technology] needed to source both positive and negative 15V. This is pretty easy to do if you’re converting from mains, but he wanted a solution that could work with a lower-voltage AC/DC wall wort or even from batteries.
The part that pulls it all together is the LT3467. It’s a switching power regulator which offers a range of features configured by the layout of a handful of external passive components. It can put out 80 mA on each line (positive and negative). Also extremely useful for this application is the chip’s high frequency operation. Depending on the version, it switches at 1.3 or 2.1 MHz. This is high enough that it will not introduce audible noise into the audio system.
We’ve got an exercise bike whose negative supply for the LCD is blown. We’re going to try build this circuit, trimming it for our voltage needs, and get the contrast working again.
We must be walking past the wrong dumpsters because we certainly haven’t encountered equipment like this just waiting to be salvaged. [Shahriar] found an HP 8648C Synthesized Signal Generator while he was ‘dumpster diving’ and set out to fix the malfunctioning lab equipment. He posted a 1-hour video on the project, which you can find embedded after the break. The actual fix happens in the first half, the rest of the video is spent testing the resurrected device.
The back corner of the case has been dented, which may be the reason this has been thrown out. When it is first powered it emits an unpleasant screeching noise and the user interface doesn’t do anything. [Shahriar] says he recognizes the sound as a malfunctioning switch-mode power supply. Sure enough, when disconnected from the main board it still makes the noise. It turns out there’s a huge electrolytic capacitor the size of a stack of poker chips which has come loose from the PSU board. When it’s resoldered the device fires up as expected.
Now how are we going to find a digital capture oscilloscope that just needs to have its PSU reassembled?
Continue reading “Repairing a junked signal generator”