Breakbeats Courtesy Of The RP2040

While one often listens to songs or albums in full, sometimes you just want to lay down a simple beat. [todbot]’s latest project promises to do just that.

The build relies on a Raspberry Pi Pico or any other RP2040-based microcontroller board, and is programmed in CircuitPython. The PWM feature is used for audio output, and it’s loaded with different WAV samples of the classic “Amen” break.

Each measure, a random new sample is chosen and played, changing the beat. Even better, all the samples can loop, and they come in varying lengths, allowing them to overlap and lay over each other to add further depth to the mix. It’s a cinch to setup, as CircuitPython has an AudioMixer object built in.

Those wishing to tinker for themselves can find all the code and samples on Github. A build like this one is a great way to start learning about working with audio and music, after all. We’ve seen [todbot]’s work here before, too. Video after the break.

Continue reading “Breakbeats Courtesy Of The RP2040”

Mystery Effect Causing LEDs To Glow During Reflow

Sometimes you notice something small that nevertheless you can’t explain. [Greg Davill] found himself in just such a situation this week when he noticed some green LEDs glowing dimly when reflowing some boards. Naturally, [Greg] set out to investigate.

The green LEDs were wired up as power indicators, and [Greg] suspected that the polymer caps on the board might be generating a small current somehow that was causing the LEDs to light up ever so slightly. A simple test hooked a polymer cap directly up to a multimeter. When warmed with a heat gun, the meter showed a small current “in the 5-10 uA range.”

Going further, [Greg] soldered an LED to the cap and once again heated it up, this time to 100° C. The LED  glowed, continuing to do so for around 60 seconds with heat removed. The mystery also grew deeper – [Greg] noticed that this only happened with “fresh” capacitors. Once they’d been through one heat cycle, the caps would no longer light an LED when warmed up.

It’s a curious case, and has many speculating as to the causative mechanism on Twitter. Explanations from thermoelectric effects to chemical reactions inside the capacitor. If you’ve got the inside scoop on what’s going on here, don’t hesitate to let us know in the comments. Meanwhile, check out some of [Greg]’s best work – a glowing D20 dice featuring a whopping 2400 LEDs.

[Thanks to J Peterson for the tip!]

3D Printed Circular Prototype Performance Prop Captivates Circus Spectators

When mathematically inspired maker [Henry Segerman] conspired with circus performer and acrobat [Marcus Paoletti] to advance the craft of acrobatics in round metal objects (such as cyr wheels and German Wheels), they came up with a fascinating concept that has taken shape in what [Henry] calls the Tao-Line.

Similar performance devices go in a straight line or can be turned on edge, but the Tao-Line is far more nimble. This is because the Tao-Line is not a continuous cylinder, but rather is made up of numerous circular shapes that allow the Tao-Line to be turned and inverted at different points in its rotation.

While a circus prop might not be your average Hackaday fare, it’s noteworthy because the Tao-Line started off as a 3D printed prototype, which was then turned into the metal fabrication you see in the video below the break.  It’s an excellent example of how modeling complex shapes as a physical product- not just a 3D model on the screen- can be helpful in the overall design and construction of the full scale piece.

If you’re looking to build something that’s under the big top but not quite so over the top, you might enjoy this mixed-media digital clock. Thanks to [Keith] for the great tip. Be sure to submit send your cool finds via the Tip Line!

Continue reading “3D Printed Circular Prototype Performance Prop Captivates Circus Spectators”

Will A Kettle Filled With Alcohol Boil Dry?

The average home kettle is set up to switch off automatically when water reaches its boiling point. But would a kettle filled with alcohol, which has a significantly lower boiling point, actually turn off? [Steve Mould] set out to find out.

The prediction was that a kettle full of 40% strength vodka would boil dry, as the vodka would evaporate before it actually got to a hot enough temperature to cause the kettle’s cutout mechanism to kick in. The experiment was done outside to minimise the dangers from the ethanol vapor. As it turns out, the vapor from the boiling vodka is about 80% ethanol and just 20% water, so eventually the mixture left in the kettle is mostly water and it boils hot enough to trigger the cutout mechanism.

However, the experiment doesn’t end there. Trying again with 99% ethanol, when the fluid started boiling, the kettle switched off even more quickly. So what’s going on?

The kettle in question uses a bimetallic strip, which trips the switch off in the base of the kettle when it gets too hot. There’s also a tube inside the kettle that carries vapor from the internal cavity and lets it pass over the bimetallic strip. When the liquid inside the kettle boils, it forces hot vapor through the tube, out of the kettle and over the bimetallic strip.

This strip triggers at a temperature significantly lower than the boiling point of water; indeed, as long as the liquid in the kettle is fairly hot and is boiling enough to force vapor out the tube, the kettle will switch off. [Steve] points out that it’s a good mechanism, as this mechanism allows the kettle to respond to boiling itself, rather than the arbitrary 100 C point which water technically only boils at when one is at sea level.

It’s an interesting look at a safety system baked into something many of us use every day without even thinking. It’s not the first time we’ve seen [Steve] dive deep into the world of tea-making apparatus, either. Video after the break.

Continue reading “Will A Kettle Filled With Alcohol Boil Dry?”

Rainbow DIP Switch Is The Coolest Way To Configure Your Project

Oftentimes, when programming, we’ll put configuration switches into a config file in order to control the behaviour of our code. However, having to regularly open a text editor to make changes can be a pain. This colorful little DIP switch dongle from [Glen Aikins] makes for a fun alternative solution.

Do want.

The build is simple, relying on a rainbow-colored 8-pin DIP switch as the core of the project. A PIC16F1459 then reads the position of the switches, with the 8-bit microcontroller doing the job of speaking USB to the host machine. The device enumerates as a USB HID device, and reports to the host machine when queried as to the state of its 8 switches. [Glen] used a basic C# app to show a digital representation of the switches on screen changing as per the real physical DIP switch plugged into the machine.

It’s a great tool for controlling up to 8 different parameters in a program you might be working on, without having to dive into your editor to change the relevant parts. Also, it bears noting that the rainbow design is simply very fetching and a cool thing to have plugged into your computer. It’s a more serious device than [Glen’s] hilarious 4-byte “solid state drive” that we saw recently, but we love them both all the same!

Save Money And Have Fun Using IEEE-488

A few months ago, I was discussing the control of GPIB equipment with a colleague. Based on only on my gut feeling and the briefest of research, I told him that the pricey and proprietary GPIB controller solutions could easily be replaced by open-source tools and Linux. In the many weeks that followed, I almost abandoned my stance several times out of frustration. With some perseverance, breaking the problems into bite-sized chunks, and lots of online searching to learn from other people’s experiences, my plan eventually succeeded. I haven’t abandoned my original stance entirely, I’ve taken a few steps back and added some qualifiers.

What is GPIB?

Example of HP-IB block diagram from the 1970s, from hp9845.net

Back in the 1960s, if test equipment was interconnected at all, there weren’t any agreed-upon methods for doing so. By the late 60s, the situation was made somewhat better by card-cage controller systems. These held a number of interface cards, one per instrument, presenting a common interface on the backplane. Although this approach was workable, the HP engineers realized they could significantly improve the concept to include these “bridging circuit boards” within the instruments and replacing the card cage backplane with passive cables. Thus began the development of what became the Hewlett-Packard Interface Bus (HP-IB). The October 1972 issue of the HP Journal introduced HP-IB with two main articles: A Practical Interface System for Electronic Instruments and A Common Digital Interface for Programmable Instruments: The Evolution of a System. Continue reading “Save Money And Have Fun Using IEEE-488”

Crows Trade Cigarettes For Food

Over in the Swedish city of Södertälje, about 30 km southwest of Stockholm, a pilot program is being explored which will enlist crows to clean up discarded cigarette butts. Butts account for over 60% of litter in Sweden, and the per-butt cleanup cost falls between 0.8 and 2 Swedish kronor each. The company behind the project, Corvid Cleaning, estimates the cost will be around 0.2 kronor. If the birds picked up all the butts, that would be a substantial savings, but in reality, the current manual cleaning will still be needed. Total savings to the city will depend on the ratio of bird-collected vs. people-collected butts. Of course, if people would throw their butts in ashcans or carry pocket ashtrays like those popular in Japan, this would be a non-starter.

Crows were selected because they are considered one of the most intelligent bird — they’re easy to teach, and they communicate with each other. All crows participating in the project are volunteers, and are paid by the butt with a morsel of food dispensed from a machine. We’re reminded of B. F. Skinner’s pigeon-guided missile projects from the 40s and 50s, although cleaning up litter for food should result in a happier outcome for all parties concerned.

This kind of project has been tried before, for example, in a French park back in 2018. And we covered a 2020 project by [Hans] who was training magpies to do similar duty. Are you aware of any of these projects that went past the pilot phase and are in operation? Let us know in the comments below.