Bench Supplies Get Smaller Thanks To USB-C

Bench power supplies are an indispensable tool when prototyping electronics. Being able to set custom voltages and having some sort of current limiting feature are key to making sure that the smoke stays inside all of the parts. Buying a modern bench supply might be a little too expensive though, and converting an ATX power supply can be janky and unreliable. Thanks to the miracle of USB-C, though, you can build your own fully-featured benchtop power supply like [Brian] did without taking up hardly any space, and for only around $12.

USB-C can be used to deliver up to 100W but is limited to a few set voltage levels. For voltages that USB-C doesn’t support, [Brian] turns to an inexpensive ZK-4KX buck-boost DC-DC converter that allows for millivolt-level precision for his supply’s output. Another key aspect of using USB-C is making sure that your power supply can correctly negotiate for the amount of power that it needs. There’s an electronic handshake that goes on over the USB connection, and without it there’s not a useful amount of power that can be delivered. This build includes a small chip for performing this negotiation as well.

With all the electronics taken care of, [Brian] houses all of this in a 3D-printed enclosure complete with a set of banana plugs. While it may not be able to provide the wattage of a modern production unit, for most smaller use cases this would work perfectly. If you already have an ATX supply around, though, you can modify [Brian]’s build using that as the supply and case too.

Continue reading “Bench Supplies Get Smaller Thanks To USB-C”

New Raspberry Pi 4 Compute Module: So Long SO-DIMM, Hello PCIe!

The brand new Raspberry Pi Compute Module 4 (CM4) was just released! Surprised? Nope, and we’re not either — the Raspberry Pi Foundation had hinted that it was going to release a compute module for the 4-series for a long while.

The form factor got a total overhaul, but there’s bigger changes in this little beastie than are visible at first glance, and we’re going to walk you through most of them. The foremost bonuses are the easy implementation of PCIe and NVMe, making it possible to get data in and out of SSDs ridiculously fast. Combined with optional WiFi/Bluetooth and easily designed Gigabit Ethernet, the CM4 is a connectivity monster.

One of the classic want-to-build-it-with-a-Pi projects is the ultra-fast home NAS. The CM4 makes this finally possible.

If you don’t know the compute modules, they are stripped-down versions of what you probably think of as a Raspberry Pi, which is officially known as the “Model B” form-factor. Aimed at commercial applications, the compute modules lack many of the creature comforts of their bigger siblings, but they trade those for flexibility in design and allow for some extra functionality.

The compute modules aren’t exactly beginner friendly, but we’re positively impressed by how far Team Raspberry has been able to make this module accessible to the intermediate hacker. Most of this is down to the open design of the IO Breakout board that also got released today. With completely open KiCAD design files, if you can edit and order a PCB, and then reflow-solder what arrives in the mail, you can design for the CM4. The benefit is a lighter, cheaper, and yet significantly more customizable platform that packs the power of the Raspberry Pi 4 into a low-profile 40 mm x 55 mm package.

So let’s see what’s new, and then look a little bit into what is necessary to incorporate a compute module into your own design.

Continue reading “New Raspberry Pi 4 Compute Module: So Long SO-DIMM, Hello PCIe!”

Retro Calculator Design Has Creative Tactile Touchscreen

We’ve all heard it a thousand times – they don’t make ’em like they used to. Sometimes, that’s for good reason, but there is a certain build quality to electronics of the mid-20th century that is hard to find in hardware today. This inspires great nostalgia and dedication in some, like [Michael Park], who set out to build a calculator reminiscent of the best HP designs from yesteryear.

The scissor mechanism allows the touch screen to move linearly and activate the tactile switch without twisting, no matter where along its surface it is pressed.

One of the major factors for [Michael] was the great feel of the keys on these classic units. Wanting to experiment with different layouts without a lot of rewiring, the idea of keys with individual displays became attractive. Existing parts on the market were prohibitively expensive, however. Instead, [Michael] used a single touchscreen with a switch mounted underneath to provide tactile feedback with a nifty scissor-arm guide mechanism. Combined with individual see-through plastic overlays, the MP-29 has a fully reconfigurable pad of 30 keys with dynamically updatable labels.

It’s a creative choice, and one that looks highly satisfying to use. It has all the tactile benefits of individual keys, both in the keypresses and being able to navigate the keypad without looking. Combined with the benefit of reconfigurable keys thanks to the touch screen underneath, it’s a great way to build a user-interface.

The rest of the calculator design closely mimics the HP-29, though [Michael] is also experimenting with alternative layouts too. There are plenty of religious wars in the calculator community over usability, after all – mostly over which side of the pad has the arithmetic functions.

We’ve lamented the demise of the standalone calculator recently; with so many smart devices around, it’s hard to see it making a major comeback anytime soon. Of course, if you’re opinionated on the topic, sound off in the comments below. Video after the break.

Continue reading “Retro Calculator Design Has Creative Tactile Touchscreen”

Free P2P VPN

People use a VPN — virtual private network — for a lot of reasons. However, for many people it is synonymous with hiding your network traffic, one thing that VPN can do. FreePN is a relatively new open source project that aims to build a free peer-to-peer VPN network. Like TOR, it is decentralized.

Right now, you can download for Ubuntu and Gentoo. There is a way to ask for early access for Debian, Fedora, and Arch. Windows, iOS, MacOS, and Android versions are promised for the future.

Continue reading “Free P2P VPN”

Hackaday Links Column Banner

Hackaday Links: October 18, 2020

Remember subliminal advertising? The idea was that a movie theater operator would splice a single frame showing a bucket of hot buttered popcorn into a movie, which moviegoers would see and process on a subconcious level and rush to the concession stand to buy the tub o’ petrochemical-glazed starch they suddenly craved. It may or may not work on humans, but it appears to work on cars with advanced driver assistance, which can be spoofed by “phantom street signs” flashed on electronic billboards. Security researchers at Ben Gurion University stuck an image of a stop sign into a McDonald’s ad displayed on a large LCD screen by the side of the road. That was enough to convince a Tesla Model X to put on the brakes as it passed by the sign. The phantom images were on the screen anywhere from an eighth of a second to a quarter second, so these aren’t exactly subliminal messages, but it’s still an interesting attack that bears looking into. And while we’re skeptical about the whole subliminal advertising thing in the first place, for some reason we really want a bacon cheeseburger right now.

Score one for the good guys in the battle against patent trolls. Mycroft AI, makers of open-source voice assistants, proudly announced their latest victory against what they claim are patent trolls. This appears to be one of those deals where a bunch of investors get together and buy random patents, and then claim that a company that actually built something infringes on their intellectual property. Mycroft got a letter from one such entity and decided to fight it; they’ve won two battles so far against the alleged trolls and it looks pretty good going forward. They’re not pulling their punches, either, since Mycroft is planning to go after the other parties for legal expenses and punitive damages under the State of Missouri’s patent troll legislation. Here’s hoping this sends a message to IP squatters that it may not be worth the effort and that their time and money are better spent actually creating useful things.

Good news from Mars — The Mole is finally completely buried! We’ve been following the saga of the HP³, or “Heat Flow and Physical Properties Package” aboard NASA’s Mars InSight lander for quite a while. The self-drilling “Mole”, which is essentially the guts of an impact screwdriver inside a streamlined case, has been having trouble dealing with the Martian regolith, which is simultaneously too soft to offer the friction needed to keep the penetrator in its hole, but also too hard to pierce in places where there is a “duricrust” of chemically amalgamated material below the surface. It took a lot of delicate maneuvers with the lander’s robotic arm to get the Mole back on track, and it’s clearly not out of the woods yet — it needs to get down to three meters depth or so to do the full program of science it was designed for.

If watching Martian soil experiments proceed doesn’t scratch your itch for space science, why not try running your own radio astronomy experiments? Sure, you could build your own radio telescope to do that, but you don’t even have to go that far — just log into PICTOR, the free-to-use radio telescope. It’s a 3.2-m parabolic dish antenna located near Athens, Greece that’s geared toward hydrogen line measurements of the galaxy. You can set up an observation run and have the results mailed back to you for later analysis.

Here’s a fun, quick hack for anyone who hates the constant drone of white noise coming from fans. Build Comics apparently numbers themselves among that crowd, and decided to rig up a switch to turn on their fume extractor only when the soldering iron is removed from its holder. This hack was executed on a classic old Weller soldering station, but could easily be adapted to Hakko or other irons

And finally, if you’ve never listened to a Nobel laureate give a lecture, here’s your chance. Andrea Ghez, co-winner of the 2020 Nobel Prize in physics for her work on supermassive black holes, will be giving the annual Maria Goeppert Mayer lecture at the University of Chicago. She’ll be talking about exactly what she won the Nobel for: “The Monster at the Heart of Our Galaxy”, the supermassive black hole Sagittarius A*. We suspect the talk was booked before the Nobel announcement, so in normal times the room would likely be packed. But one advantage to the age of social distancing is that everything is online, so you can tune into a livestream of the lecture on October 22.

Custom Electronic Load Makes Use Of Gaming PC Tech

At first glance, you might think the piece of hardware pictured here is a modern gaming computer. It’s got water cooling, RGB LED lighting, and an ATX power supply, all of which happen to be mounted inside a flashy computer case complete with a clear window. In truth, it’s hard to see it as anything but a gaming PC.

In actuality, it’s an incredible custom electronic load that [EE for Everyone] has been developing over the last four months that’s been specifically designed to take advantage of all the cheap hardware out there intended for high-performance computers. After all, why scratch build a water cooling system or enclosure when there’s such a wide array of ready-made ones available online?

The “motherboard” with single load module installed.

Inside that fancy case is a large PCB taking the place of the original motherboard, to which four electronic load modules slot into. Each of these loads is designed to accept a standard Intel CPU cooler, be it the traditional heatsink and fan, or a water block for liquid cooling. With the current system installed [EE for Everyone] can push the individual modules up to 275 watts before the temperatures rise to unacceptable levels, though he’s hoping to push that a little higher with some future tweaks.

So what’s the end game here? Are we all expected to have a massive RGB-lit electronic load hidden under the bench? Not exactly. All of this has been part of an effort to design a highly accurate electronic load for the hobbyist which [EE for Everyone] refers to as the “Community Edition” of the project. Those smaller loads will be derived from the individual modules being used in this larger testing rig.

We’ve actually seen DIY liquid cooled electronic loads in the past, though this one certainly sets the bar quite a bit higher. For those with more meager requirements, you might consider flashing a cheap imported electronic load with an open source firmware to wring out some extra functionality.

Continue reading “Custom Electronic Load Makes Use Of Gaming PC Tech”

Precision Metal Detector Finds Needles In Haystacks

Full-size metal detectors are great for narrowing down a region to start digging through. But what if you had a smaller metal detector that could pinpoint the location? Then you could spend far less time digging and way more time sweeping for metal.

Metal detectors work because of the way metal behaves around electromagnetic fields. [mircemk] reused the ferrite core from an old MW radio to build the antenna coils. When metal objects are close enough, the induced electromagnetism changes the frequency, and the Arduino blinks an LED and beeps a buzzer in time with the new frequency.

[mircemk]’s handheld metal detector is quite sensitive, especially to smaller objects. As you can see in the demo video after the break, it can sense coins from about 4cm away, larger objects like lids from about 7 cm, and tiny things like needles from a few millimeters away. There’s also an LED for treasure hunting in low light.

Don’t want to pinpoint a bunch of useless junk? Build in some phase detection to help you discriminate.

Continue reading “Precision Metal Detector Finds Needles In Haystacks”