Not Your Typical ATX Bench PSU

We know what you’re thinking — yet another scrap PC power supply turned into a bench PSU. But look a little closer and you’ll see a nicely designed linear bench supply that just fits inside a gutted ATX case.

A lot of the items on [Medzik]’s BOM for this build are straight from the scrap bin. The aforementioned ATX supply case is one, as is the power transformer donated by a friend. Modules such as the 30V/2A regulator, the digital volt/ammeter, and a thermostat module to control the fan at higher power settings were all sourced via the usual suspects. The PSU boasts two outputs — an adjustable 0-22 volt supply, and a fixed 12-volt output. An unusual design feature is a secondary input which uses the 22-VAC supply from a Weller soldering station to give the PSU a little more oomph. This boosts the maximum output to 30 volts; one wonders why [Medzik] didn’t just source a bigger transformer, but you work with what you have sometimes. There are some nice touches, too, like custom-printed vinyl overlays for the case.

It’s a good-looking and compact unit with a decent suite of features, and you could do a lot worse when building your next bench supply. If it’s not your cup of tea though, just take your pick — tiny and yellow, built to last, or ensconced in Ultrasuede.

A Raspberry Pi Rain Man In The Making

We see a lot of Raspberry Pis used to play games, but this is something entirely different from the latest RetroPie build. This Raspberry Pi is learning how to read playing cards, with the goal of becoming the ultimate card counting blackjack player.

If [Taxi-guy] hasn’t named his project Rain Man, we humbly suggest that he does so. Because a Pi that can count into a six-deck shoe would be quite a thing, even though it would never be allowed anywhere near a casino. Hurdle number one in counting cards is reading them, and [Taxi-guy] has done a solid job of leveraging the power of OpenCV on a Pi 3 for the task. His description in the video below is very detailed, but the approach is simple: find the cards in a PiCam image of the playing field using a combination of thresholding and contouring. Then, with the cards isolated, compare the rank and suit in the upper left corner of the rotated card image to prototype images to identify the card. The Pi provides enough horsepower to quickly identify an arbitrary number of non-overlapping cards; we assume [Taxi-guy] will have to address overlapping cards and decks that use different fonts at some point.

We’re keen to see this Pi playing blackjack someday. As he’s coding that up, he may want to look at algorithmic approaches to blackjack strategies, and the real odds of beating the house.

Continue reading “A Raspberry Pi Rain Man In The Making”

Nematoduino: A Roundworm Neural Model On An Arduino

When it comes to building a neural network to simulate complex behavior, Arduino isn’t exactly the first platform that springs to mind. But when your goal is to model the behavior of an organism with only a handful of neurons, the constraints presented by an Arduino start to make sense.

It may be the most important non-segmented worm you’ve never heard of, but Caenorhabditis elegans, mercifully abbreviated C. elegans, is an important model organism for neurobiology, having had its entire nervous system mapped in 2012. [Nathan Griffith] used this “connectome” to simulate a subset of the diminutive nematode’s behaviors, specifically movements toward attractants and away from obstacles. Riding atop a small robot chassis, the Arduino sends signals to the motors when the model determines it’s time to fire the virtual worm’s muscles. An ultrasonic sensor stands in for the “nose touch” neurons of the real worm, and when the model is not busy avoiding a touch, it’s actively seeking something to eat using the “chemotaxis” behavior. The model is up on GitHub and [Nathan] hopes it provides an approachable platform for would-be neuroroboticists.

This isn’t the first time someone has modeled the nematode’s connectome in silico, but kudos to [Nathan] for accomplishing it within the constraints an Arduino presents.

Continue reading “Nematoduino: A Roundworm Neural Model On An Arduino”

Propane-Powered Plasma Rifle

It may not be a “phased plasma rifle in the 40-watt range,” and it doesn’t even use plasma in the strict definition, but it’s pretty cool nonetheless. It’s a propane-powered bottle-launching rifle, and it looks like a lot of fun.

[NighthawkInLight] sure likes things that go pop, like his watermelon-wasting air-powered cannon and cheesy-poof pop gun. This one has a little more oomph to it, powered as it is by a propane torch. The principle is simple: fill a soda bottle with propane, ignite the gas, fun ensues. The details are a little more subtle, though, and allowances need to be made to keep back pressure from preventing the projectile from filling with fuel. [NighthawkInLight] overcomes this with some clever machining of the barrel. The final production version in the video below is needlessly but delightfully complex, with a wooden stock and a coil of clear vinyl tubing helical plasma accumulator before the barrel; the last bit is just for show, and we have to admit that it looks pretty good.

Unless you count the pro tip on using CPVC pipe to make custom fittings, this one is nothing but fun. But we don’t have a problem with that.

Continue reading “Propane-Powered Plasma Rifle”

A Lesson On Zener Regulators

For the longest time, Zener diode regulators have been one of those circuits that have been widely shared and highly misunderstood. First timers have tried to use it to power up their experiments and wondered why things did not go as planned. [James Lewis] has put up a worth tutorial on the subject titled, “Zener Diode makes for a Lousy Regulator”  that clarifies the misconceptions behind using the device.

[James Lewis] does an experiment with a regulator circuit with an ESP8266 after a short introduction to Zener diodes themselves. For the uninitiated, the Zener diode can operate in the reverse bias safely and can do so at a particular voltage. This allows for the voltage across the device to be a fixed value.

This, however, depends on the current flowing through the circuit which in turn relies on the load. The circuit will work as expected for loads the draw a small amount of current. This makes it suitable for generating reference voltages for microcontrollers and such.

To make a Zener into a “proper” voltage regulator, you just need to buffer the output with an amplifier of some kind. A single transistor is the bare minimum, but actually can work pretty well. You might also add a capacitor in parallel with the Zener to smooth out some of its noise.

Zener diodes are wonderful little devices and write-ups like these are indispensable for beginners and should be shared more often like the Zener and Schottky Tutorial and Diodes as a Switch.

 

Paperback: ePaper desktop monitor playing Doom

Hackaday Prize Entry: PaperBack Desktop EPaper Monitor

When we announced the Hackaday Prize with its Best Product category, [PK] polled his wife and co-workers about the idea of making a desktop monitor using 6″ 800×600 ePaper, which he has since built and calls the PaperBack. One such requirement for a monitor is to be able to connect to it using one of the usual desktop methods: VGA, DVI or HDMI. Given his previous experience making his own VGA card for the 2015 prize, he went with that. HDMI is in the works.

But it ended up being more than a desktop monitor. He first made a power and breakout board that a VGA input board would eventually connect to. To test it, he included a socket for plugging in an ESP32. With only one bodge he had the Hackaday logo displayed on the ePaper. He also now had the option of using it as a wireless internet connected display.

Moving on to VGA support, [PK] made a VGA input board using the MST9883 chip, which does the A/D conversion of the VGA RGB graphics signal and also recovers a pixel sampling clock from the HSYNC. His new VGA ePaper monitor has to identify itself to the VGA source, telling it dimensions, resolution and so on. This is called the EDID and was handled by the addition of an Atmel ATmega328 to the board. To finish it off, an LCMXO1200C FPGA does the high-speed conversions with the help of a 4 MBit SRAM framebuffer.

His very first test involved simply displaying the Hackaday logo using the ESP32, but now with the VGA input board he has it displaying Doom. Since it’s using ePaper it has only a 1-second refresh rate but it’s hard to come up with a more awesome way to proved that it works. He can also unplug it at any time and walk away with the latest screenshot intact. See it for yourself in the video below.

Continue reading “Hackaday Prize Entry: PaperBack Desktop EPaper Monitor”

Cleaning Up A Low-Cost Buck-Boost Supply

Cheap DC-DC converters have been a boon on the hobbyist bench for a while now, but they can wreak havoc with sensitive circuits if you’re not careful. The problem: noise generated by the switch-mode supply buried within them. Is there anything you can do about the noise?

As it turns out, yes there is, and [Shahriar] at The Signal Path walks us through a basic circuit to reduce noise from DC-DC converters. The module under the knife is a popular buck-boost converter with a wide input range, 0-32 VDC output at up to 5 amps, and a fancy controller with an LCD display. But putting the stock $32 supply on a scope reveals tons of harmonics across a 1 MHz band and overall ripple of about 66 mV. But a simple voltage follower built from a power op-amp and a Zener diode does a great job of reducing the spikes and halving the ripple. The circuit is just a prototype and is meant more as a proof of principle and launching point for further development, and as such it’s far from perfect. The main downside is the four-volt offset from the input voltage; there’s also a broad smear of noise at the high end of the spectrum that persists even with the circuit in place. Centered around 900 MHz as it is, we suspect a cell signal of some sort is getting in. 900 kHz.

If you haven’t checked out the videos at The Signal Path, you really should. [Shahriar] really has a knack for explaining advanced topics in RF engineering, and has a bench to die for. We’ve covered quite a few of his projects before, from salvaging a $2700 spectrum analyzer to multiplexing fiber optic transmissions.

Continue reading “Cleaning Up A Low-Cost Buck-Boost Supply”