power supply – Hackaday https://hackaday.com Fresh hacks every day Tue, 29 Oct 2024 19:14:48 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 156670177 Custom Fan Controller For Otherwise Fanless PCs https://hackaday.com/2024/10/29/custom-fan-controller-for-otherwise-fanless-pcs/ https://hackaday.com/2024/10/29/custom-fan-controller-for-otherwise-fanless-pcs/#respond Tue, 29 Oct 2024 20:00:29 +0000 https://hackaday.com/?p=729952 Most of us using desktop computers, and plenty of us on laptops, have some sort of fan or pump installed in our computer to remove heat and keep our machines …read more]]>

Most of us using desktop computers, and plenty of us on laptops, have some sort of fan or pump installed in our computer to remove heat and keep our machines running at the most optimum temperature. That’s generally a good thing for performance, but comes with a noise pollution cost. It’s possible to build fanless computers, though, which are passively cooled by using larger heat sinks with greater thermal mass, or by building more efficient computers, or both. But sometimes even fanless designs can benefit from some forced air, so [Sasa] built this system for cooling fanless systems with fans.

The main advantage of a system like this is that the fans on an otherwise fanless system remain off when not absolutely necessary, keeping ambient noise levels to a minimum. [Sasa] does have a few computers with fans, and this system helps there as well. Each fan module is WiFi-enabled, allowing for control of each fan on the system to be set up and controlled from a web page. It also can control 5V and 12V fans automatically with no user input, and can run from any USB power source, so it’s not necessary to find a USB-PD-compatible source just to run a small fan.

Like his previous project, this version is built to easily integrate with scripting and other third-party software, making it fairly straightforward to configure in a home automation setup or with any other system that is monitoring a temperature. It doesn’t have to be limited to a computer, either; [Sasa] runs one inside a server cabinet that monitors the ambient temperature in the cabinet, but it could be put to use anywhere else a fan is needed. Perhaps even a hydroponic setup.

]]>
https://hackaday.com/2024/10/29/custom-fan-controller-for-otherwise-fanless-pcs/feed/ 0 729952 fan-control-main
Power Supply PCB Redesign https://hackaday.com/2024/10/19/power-supply-pcb-redesign/ https://hackaday.com/2024/10/19/power-supply-pcb-redesign/#comments Sat, 19 Oct 2024 11:00:10 +0000 https://hackaday.com/?p=728572 We’ve often heard you should do everything twice. The first time is to learn what you need to do, and the second time is to do it right. We bet …read more]]>

We’ve often heard you should do everything twice. The first time is to learn what you need to do, and the second time is to do it right. We bet [Ian Carey] would agree after taking his old linear power supply PCB and changing it to a switching regulator design. You can see more about the project in the video below.

The first power-up revealed a problem with the 3.3V output. We’ve often thought it is harder to troubleshoot a new design than it is to repair something that is known to have worked at one time.

The problem was a misread of the datasheet, something we’ve all done at least once. Luckily, a few component value changes cleared things up. It probably would have been feasible to repair the original boards, but it was cheap enough that he just had new boards made.

We always enjoy seeing the thought process behind a project. We also appreciate seeing the bad with the good. It is too easy to just skip to the working version and not mention the steps it took to get there, but that’s where you tend to learn the most.

The video mentions how PCB layout for switchers can be a big deal, and we agree. We are always fans of switching regulator designs made to plug into linear regulator PCB footprints.

]]>
https://hackaday.com/2024/10/19/power-supply-pcb-redesign/feed/ 6 728572 pcb
A Power Supply With Ultra High Resolution Current Measurement Built In https://hackaday.com/2024/10/10/a-power-supply-with-ultra-high-resolution-current-measurement-built-in/ https://hackaday.com/2024/10/10/a-power-supply-with-ultra-high-resolution-current-measurement-built-in/#comments Thu, 10 Oct 2024 23:00:03 +0000 https://hackaday.com/?p=727283 Need to do some real fine power consumption measurements? [Gero Müller] was in that exact situation, and wasn’t happy with the expensive off-the-shelf tools for doing the job. Thus, he …read more]]>

Need to do some real fine power consumption measurements? [Gero Müller] was in that exact situation, and wasn’t happy with the expensive off-the-shelf tools for doing the job. Thus, he built his own. Meet nanoTracer.

nanoTracer measures small current draws in very high resolution.

The concept of the device is simple. It’s a power supply that measures current on a nanoampere scale, and on microsecond intervals. It can deliver from 0 to 5.125 volts in 256 steps, and up to 100 mA of current. It has a sampling bandwidth of 1 MHz, at 2 million samples per second, with effective dynamic range from 100 mA all the way down to 100 nA. For capturing microscopic changes in current draw, that’s invaluable. The device also features a UART for talking to an attached project directly, and additional pins for taking further ADC measurements where needed.

Right now, it’s at an early prototype stage, and [Gero] tells us the software is “very basic” right now. Still, it’s easy to see how this device would be very useful to anyone working to optimize power consumption on low-power projects. One wonders if there are some applications in power-based side-channel attacks, too.

We’re hoping to learn more about nanoTracer from [Gero] soon—how it was built, how it works, and what it’s really like to use. Perhaps one day down the line, the design might even become available for others that could use such a nifty tool. There’s no mucking about when you get down to nanoamps, after all. If you’ve cooked up something similar in your own lab, don’t hesitate to let us know!

]]>
https://hackaday.com/2024/10/10/a-power-supply-with-ultra-high-resolution-current-measurement-built-in/feed/ 11 727283 outtiepop
Train Speed Signaling Adapted For Car https://hackaday.com/2024/09/11/train-speed-signaling-adapted-for-car/ https://hackaday.com/2024/09/11/train-speed-signaling-adapted-for-car/#comments Thu, 12 Sep 2024 02:00:56 +0000 https://hackaday.com/?p=706766 One major flaw of designing societies around cars is the sheer amount of signage that drivers are expected to recognize, read, and react to. It’s a highly complex system that …read more]]>

One major flaw of designing societies around cars is the sheer amount of signage that drivers are expected to recognize, read, and react to. It’s a highly complex system that requires constant vigilance to a relatively boring task with high stakes, which is not something humans are particularly well adapted for. Modern GPS equipment can solve a few of these attention problems, with some able to at least show the current speed limit and perhaps an ongoing information feed of the current driving conditions., Trains, on the other hand, solved a lot of these problems long ago. [Philo] and [Tris], two train aficionados, were recently able to get an old speed indicator from a train and get it working in a similar way in their own car.

The speed indicator itself came from a train on the Red Line of the T, Boston’s subway system run by the Massachusetts Bay Transportation Authority (MBTA). Trains have a few unique ways of making sure they go the correct speed for whatever track they’re on as well as avoid colliding with other trains, and this speed indicator is part of that system. [Philo] and [Tris] found out through some reverse engineering that most of the parts were off-the-shelf components, and were able to repair a few things as well as eventually power everything up. With the help of an Arduino, an I/O expander, and some transistors to handle the 28V requirement for the speed indicator, the pair set off in their car to do some real-world testing.

This did take a few tries to get right, as there were some issues with the power supply as well as some bugs to work out in order to interface with the vehicle’s OBD-II port. They also tried to use GPS for approximating speed as well, and after a few runs around Boston they were successful in getting this speed indicator working as a speedometer for their car. It’s an impressive bit of reverse engineering as well as interfacing newer technology with old. For some other bits of train technology reproduced in the modern world you might also want to look at this recreation of a train whistle.

]]>
https://hackaday.com/2024/09/11/train-speed-signaling-adapted-for-car/feed/ 33 706766 train-main
Rescuing High-Res Displays from Older Macs https://hackaday.com/2024/09/10/rescuing-high-res-displays-from-older-macs/ https://hackaday.com/2024/09/10/rescuing-high-res-displays-from-older-macs/#comments Tue, 10 Sep 2024 15:30:08 +0000 https://hackaday.com/?p=706631 When Apple started rolling out its Retina displays, it multiplied the amount of pixels compared to their standard, non-Retina displays by four. This increased pixel density while keeping the standard …read more]]>

When Apple started rolling out its Retina displays, it multiplied the amount of pixels compared to their standard, non-Retina displays by four. This increased pixel density while keeping the standard screen size — idea for those needing a lot of detail for their work. But, as is common with Apple, using these displays outside of the Apple ecosystem can be quite a challenge. Retina displays have been around for about a decade now, though, with some third-party hardware able to break them free of their cage. This post details how [Kevin] liberated the 5K display from a 2017 iMac for more general use with support for USB-C.

The first step was to find a used iMac for the right price, and then sell off most of its parts to recoup most of the initial cost. That brought the cost of the panel itself to about $250. The key to getting the display working without all of the Apple hardware is the R1811 driver board, which can be had for around $300. A new 156 watt power supply was added to the mix, and [Kevin] also put in a few extras like a USB cable extension and a latching push-button which kills the display’s power. Additionally, he attempted to get the original iMac speakers working with this setup too, but none of his attempts resulted in anything close to quality sound so he’s mostly abandoned that extra feature for now.

With that all buttoned up, he has a 27″ 5K display with USB-C input for around $650 which is quite a deal. The MacRumors thread that [Kevin] added his project to currently has around 1,700 posts about similar builds too, so it can be a wealth of information for all kinds of models. As Apple drops support for their older machines, these displays will become more and more common and projects like these can keep a lot of e-waste out of the landfill while also providing decent hardware at a bargain price. Don’t just look for iMacs and MacBooks though; there’s a similar process to use various iPad displays for other things as well.

]]>
https://hackaday.com/2024/09/10/rescuing-high-res-displays-from-older-macs/feed/ 26 706631 CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 85
Comparing AliExpress vs LCSC-Sourced MOSFETs https://hackaday.com/2024/08/24/comparing-aliexpress-vs-lcsc-sourced-mosfets/ https://hackaday.com/2024/08/24/comparing-aliexpress-vs-lcsc-sourced-mosfets/#comments Sat, 24 Aug 2024 20:00:30 +0000 https://hackaday.com/?p=701824 These days, it’s super-easy to jump onto the World Wide Web to find purported replacement parts using nothing but the part identifier, whether it’s from a reputable source like Digikey …read more]]>
The fake AliExpress-sourced IRFP460 MOSFETs (Credit: Learn Electronics Repair, YouTube)

These days, it’s super-easy to jump onto the World Wide Web to find purported replacement parts using nothing but the part identifier, whether it’s from a reputable source like Digikey or Mouser or from more general digital fleamarkets like eBay and AliExpress. It’s hardly a secret that many of the parts you can buy online via fleamarkets are not genuine. That is, the printed details on the package do not match the actual die inside. After AliExpress-sourced MOSFETs blew in a power supply repair by [Learn Electronics Repair], he first tried to give the MOSFETs the benefit of the doubt. Using an incandescent lightbulb as a current limiter, he analyzed the entire PSU circuit before putting the blame on the MOSFETs (IRFP460) and ordering new ones from LCSC.

Buying from a distributor instead of a marketplace means you can be sure the parts are from the manufacturer. This means that when a part says it is a MOSFET with specific parameters, it almost certainly is. A quick component tester session showed the gate threshold of the LCSC-sourced MOSFETs to be around 3.36V, while that of the AliExpress ‘IRFP460’ parts was a hair above 1.8V, giving a solid clue that whatever is inside the AliExpress-sourced MOSFETs is not what the package says it should be.

Unsurprisingly, after fitting the PSU with the two LCSC-sourced MOSFETs, there was no more magic smoke, and the PSU now works. The lesson here is to be careful buying parts of unknown provenance unless you like magic smoke and chasing weird bugs.

]]>
https://hackaday.com/2024/08/24/comparing-aliexpress-vs-lcsc-sourced-mosfets/feed/ 26 701824 learn_electronics_repair_psu_analysis
Rebuilding The First Digital Personal Computer https://hackaday.com/2024/08/16/rebuilding-the-first-digital-personal-computer/ https://hackaday.com/2024/08/16/rebuilding-the-first-digital-personal-computer/#comments Fri, 16 Aug 2024 11:00:40 +0000 https://hackaday.com/?p=700609 When thinking of the first PCs, most of us might imagine something like the Apple I or the TRS-80. But even before that, there were a set of computers that …read more]]>

When thinking of the first PCs, most of us might imagine something like the Apple I or the TRS-80. But even before that, there were a set of computers that often had no keyboard, or recognizable display beyond a few blinking lights. [Artem Kalinchuk] is attempting to recreate one of these very early digital computers, the Kenbak-1, using as many period-correct parts as possible.

Considered by many to be the world’s first personal computer, the Kenbak-1 was an 8-bit machine with 256 bytes of memory, using TTL integrated circuits for the logic as there was no commercially available microprocessor available at the time it was designed. For [Artem]’s build, most of these parts can still be sourced including the 7400-series chips and carbon resistors although the shift registers were a bit of a challenge to find. A custom PCB was built to replicate the original, and with all the parts in order it’s ready to be assembled and put into a case which was built using the drawings for the original unit.

Although [Artem] plans to build a period-correct linear power supply for this computer, right now he’s using a modern switching power supply for testing. The only other major components that are different are the status lamps, in this case switched to LEDs because he wasn’t able to source incandescent bulbs that drew low enough current, and the switches which he’s replaced with MX-style keys. We’ll stay tuned as he builds and tests this over the course of several videos, but in the meantime if you’re curious how this early computer actually worked we featured an emulator for it a while back.

]]>
https://hackaday.com/2024/08/16/rebuilding-the-first-digital-personal-computer/feed/ 15 700609 kenbak-main