Automated Pixel Art With Marbles

Marble machines are a fun and challenging reason to do engineering for the sake of engineering. [Engineezy] adds some color to the theme, building a machine to create 16×16 marble images automatically. (Video embedded below.)

The core problem was devising ways to sort, lift, place, and dump marbles in their correct positions without losing their marbles—figuratively and literally. Starting with color detection, [Engineezy] used an RGB color sensor and Euclidian math to determine each marble’s color. After trying several different mechanical sorting mechanisms, he settled on a solenoid and servo-actuated dump tube to drop the marble into the appropriate hopper.

After sorting, he faced challenges with designing a mechanism to transport marbles from the bottom hoppers to the top of the machine. While paddle wheels seemed promising at first, they tended to jam—a problem solved by innovating with Archimedes screws that move marbles up smoothly without clogs. The marbles are pushed into clear tubes on either side of the machine, providing a clear view of their parade to the top.

Perhaps most ingenious is his use of constant-force springs as a flexible funnel to guide the marbles to a moving slider that drops them into the correct column of the display. When a picture is complete, sliding doors open on the bottom of the columns, dumping the marbles into a chain lift which feeds them into the sorting section. Each of the mechanisms has a mirrored version of the other side, so the left and right halves of the display operate independently.

The final product is slow, satisfying and noisy kinetic testament to [Engineezy]’s perseverance through countless iterations and hiccups.

Marble machines can range from minimalist to ultra-complex musical monstrosities, but never fail to tickle our engineering minds. Continue reading “Automated Pixel Art With Marbles”

On The Nature Of Electricity: Recreating The Early Experiments

Bits of material levitating against gravity, a stream of water deflected by invisible means, sparks of light appearing out of thin air; with observations like those, it’s a wonder that the early experiments into the nature of electricity progressed beyond the catch-all explanation of magic. And yet they did, but not without a lot of lamb’s bladders and sulfur globes, and not a little hand waving in the process. And urine — lots and lots of urine.

Looking into these early electrical experiments and recreating them is the unlikely space [Sam Gallagher] has staked out with the “Experimental History of Electricity,” a growing playlist on his criminally undersubscribed YouTube channel. The video linked below is his latest, describing the apparatus one Francis Hauksbee used to generate static electric charges for his early 18th-century experiments. Hauksbee’s name is nowhere near as well-known as that of Otto von Guericke or William Gilbert, who in the two centuries before Hauksbee conducted their own experiments and who both make appearances in the series. But Hauksbee’s machine, a rotating glass globe charged by the lightest touch of a leather pad, which [Sam] does a fantastic job recreating as closely as possible using period-correct materials and methods, allowed him to explore the nature of electricity in much greater depth than his predecessors.

But what about the urine? As with many of the experiments at the time, alchemists used what they had to create the reagents they needed, and it turned out that urine was a dandy source of phosphorous, which gave off a brilliant light when sufficiently heated. The faint light given off by mercury when shaken in the vacuum within a barometer seemed similar enough that it became known as the “mercurial phosphor” that likely inspired Hauksbee’s electrical experiments, which when coupled with a vacuum apparatus nearly led to the invention of the mercury discharge lamp, nearly 200 years early. The more you know. Continue reading “On The Nature Of Electricity: Recreating The Early Experiments”

A Lightweight Balloon Tracker For High Altitude Missions

It’s pretty easy to take a balloon, fill it up with helium, and send it up in to the upper atmosphere. It’s much harder to keep track of it and recover it when it falls back to Earth. If you’re trying to do that, you might find some value in the Tiny4FSK project from the New England Weather Balloon Society.

Tiny4FSK is intended to be a very small solution for high-altitude tracking. As you might have guessed from the name, it communicates via 4FSK—four frequency shift keying. Basically, it communicates data via four separate tones. Based around the SAMD21G18A microcontroller, it’s designed to run on a single AA battery, which should last for anywhere from 10-17 hours. It communicates via a Si4063 transmitter set up to communicate on 433.2 MHz, using the Horus Binary v2 system. As for data, it’s hooked up with a GPS module and a BME280 environmental sensor for location. The balloon can figure out where it is, and tell you the temperature, pressure, and humidity up there, too.

If you’re looking for a lightweight balloon tracker, this one might be very much up your alley. We’ve featured other projects in this vein, too. Meanwhile, if you’re developing something new in the high-altitude ballooning space, you could keep it to yourself. Or, alternatively, you could tell us via the tipsline and we’ll tell everybody else. Your call!

Doing 1080p Video, Sort Of, On The STM32 Microcontroller

When you think 1080p video, you probably don’t think STM32 microcontroller. And yet! [Gabriel Cséfalvay] has pulled off just that through the creative use of on-chip peripherals. Sort of.

The build is based around the STM32L4P5—far from the hottest chip in the world. Depending on the exact part you pick, it offers 512 KB or 1 Mbyte of flash memory, 320 KB of SRAM, and runs at 120 MHz. Not bad, but not stellar.

Still, [Gabriel] was able to push 1080p at a sort of half resolution. Basically, the chip is generating a 1080p widescreen RGB VGA signal. However, to get around the limited RAM of the chip, [Gabriel] had to implement a hack—basically, every pixel is RAM rendered as 2×2 pixels to make up the full-sized display. At this stage, true 1080p looks achievable, but it’ll be a further challenge to properly fit it into memory.

Output hardware is minimal. One pin puts out the HSYNC signal, another handles VSYNC. The same pixel data is clocked out over R, G, and B signals, making all the pixels either white or black. Clocking out the data is handled by a nifty combination of the onboard DMA functionality and the OCTOSPI hardware. This enables the chip to hit the necessary data rate to generate such a high-resolution display.

There’s more work to be done, but it’s neat to see [Gabriel] get even this far with such limited hardware. We’ve seen others theorize similar feats on chips like the RP2040 in the Pi Pico, too. Video after the break.

Continue reading “Doing 1080p Video, Sort Of, On The STM32 Microcontroller”

Static Electricity And The Machines That Make It

Static electricity often just seems like an everyday annoyance when a wool sweater crackles as you pull it off, or when a doorknob delivers an unexpected zap. Regardless, the phenomenon is much more fascinating and complex than these simple examples suggest. In fact, static electricity is direct observable evidence of the actions of subatomic particles and the charges they carry.

While zaps from a fuzzy carpet or playground slide are funny, humanity has learned how to harness this naturally occurring force in far more deliberate and intriguing ways. In this article, we’ll dive into some of the most iconic machines that generate static electricity and explore how they work.

Continue reading “Static Electricity And The Machines That Make It”

Making A Split-Anode Magnetron

YouTuber The Science Furry has been attempting to make a split-anode magnetron and, after earlier failures, is having another crack at it. This also failed, but they’ve learned where to focus their efforts for the future, and it sure is fun to follow along.

The magnetron theory is simple enough, and we’ve covered this many times, but the split anode arrangement differs slightly from the microwave in your kitchen. The idea is to make a heated filament the cathode, so electrons are ejected from the hot surface by thermionic emission. These are forced into a spiral path using a perpendicular magnetic field. This is a result of the Lorentz force. A simple pair of magnets external to the tube is all that is needed for that. Depending on the diameter of the cavity and the gap width, a standing wave will be emitted. The anodes must be supplied with an alternating potential for this arrangement to work. This causes the electrons to ‘bunch up’ as they cross the gaps, producing the required RF oscillation. The split electrodes also allow an inductor to be added to tune the frequency of this standing wave. That is what makes this special.

Fizz, pop, ah well.

The construction starts with pre-made end seals with the tungsten wire electrode wire passing through. In the first video, they attempted to coat the cathode with barium nitrate, but this flaked off, ruining the tube. The second attempt replaces the coiled filament with a straight wire and uses a coating paste made from Barium Carbonate mixed with nitrocellulose in a bit of acetone. When heated, the nitrocellulose and the carbonate will decompose, hopefully leaving the barium coating intact. After inserting the electrode assembly into a section of a test tube and welding on the ends, the vacuum could be pulled and sealed off. After preheating the cathode, some gasses will be emitted into the vacuum, which is then adsorbed into a nearby titanium wire getter. At least, that’s the theory.

Upon testing, this second version burned out early on for an unknown reason, so they tried again, this time with an uncoated cathode. Measuring the emission current showed only 50 uA, which is nowhere near enough, and making the filament this hot caused it to boil off and coat the tube! They decide that perhaps this is one step too many and need to experiment with the barium coating by making simpler diode tubes to get the hang of the process!

If this stuff is over your head, you need a quick history lesson about the magnetron. Next check out this teardown. Finally, we have covered DIY magnetrons before, like this excellent DIY magnetron-powered plasma sputtering device. Yes, you read that correctly.

Continue reading “Making A Split-Anode Magnetron”

Hack On Self: Collecting Data

A month ago, I’ve talked about using computers to hack on our day-to-day existence, specifically, augmenting my sense of time (or rather, lack thereof). Collecting data has been super helpful – and it’s best to automate it as much as possible. Furthermore, an augment can’t be annoying beyond the level you expect, and making it context-sensitive is important – the augment needs to understand whether it’s the right time to activate.

I want to talk about context sensitivity – it’s one of the aspects that brings us closest to the sci-fi future; currently, in some good ways and many bad ways. Your device needs to know what’s happening around it, which means that you need to give it data beyond what the augment itself is able to collect. Let me show you how you can extract fun insights from collecting data, with an example of a data source you can easily tap while on your computer, talk about implications of data collections, and why you should do it despite everything.

Continue reading “Hack On Self: Collecting Data”