LEDs display different pitches in a sunburst pattern

Spiral Music Visualization

Displaying notes live as they are being played can be a really powerful learning tool, but it’s usually used to learn how to play a specific instrument. This take on the topic is actually a neat way to learn more about music theory — how pitches work together to build the sounds that we hear. The visual tack chosen arranges each of 12 notes into a spiral. As you continue to go up the scale through more octaves, pitches that share the same name line up into a line like a ray projecting out from the sun. So there are 12 rays for the notes in the scale: C, C#/D♭, D, D#/E♭,F, etc.

[mechatronicsguy] built it a few years back but just now got around to documenting it, and we’re sure glad he did. The layout of notes at first looks just like a colorful visualization. But as he mentions in his description, this assigns a shape to each different type of cord. A major cord will have the same shape whether it is played with C, G#, B♭, or any other note as the root. The shape simply rotates around the axis based on that root note. Higher octaves will be shown further out on the radius, but the chord shape will still be the same. Minor, augmented, even modal chords and those with added pitches all have their own unique shape on the display.

You get the best understanding of the visualization by looking at the Python-rendered version in the video below. It’s a nice touch that notes turn grey and fade away after being released so you kind of see where the current chord came from. This isn’t strictly a perk of pre-recordings. While you can feed it MIDI files, you can also play a MIDI instrument and display the visuals live on the hardware version that uses a Teensy with an audio shield.

If you’re looking for examples on how music visualizers are used to teach the instrument, look no further than this Wurlitzer note visualizer replica. Also for those who don’t know, the song being played in the hardware demo (second video below) is Beethoven’s 7th Symphony. Well worth a full listen, it’ll change your life.

Continue reading “Spiral Music Visualization”

Finally, Tame The Si5351!

The Si5351 is an extremely useful device, containing multiple clock generators with many versatile programming options that go well beyond its original purpose of providing a clock for digital circuitry. It has in particular found a spot in RF projects, where it provides a cheap and effective stand-in for a variable frequency oscillator in everything from receivers to VNAs. It’s fair to say that programming the Si5351 isn’t the easiest of tasks though, and joining the various attempts to make this simpler is [MR-DOS], who has created an Si5351 library for the STM32 range of ARM Cortex M processors. Fortunately for those afflicted by the semiconductor shortage there’s the advice that porting it to other architectures should only require the relatively manageable task of modifying the i2c function for the new hardware.

Instead of being a full abstraction layer for frequency generation, this library provides functions to give access to the nuts-and-bolts of the chip such as PLL dividers. Thus there’s a need to understand the workings of a PLL and calculate its parameters, while in return much more flexibility over the chip’s operation can be had. We like this approach even though it requires a little more work from the developer.

Over the years this device has attracted a variety of libraries, this isn’t the first we’ve featured.

Header image: Adafruit Industries (CC BY-NC-SA 2.0)

Christian Hahn Starlink capture showing guard region.

Analyzing Starlink Satellite Downlink Communications With Software Defined Radio

Often, mere curiosity is sufficient to do something. This is also the case with people trying to analyze the communication setup and protocol which SpaceX is using with their Ku-band based Starlink satellites.  One of these fine folk is [Christian Hahn], who has recently posted some early findings to r/StarlinkEngineering over at Reddit. Some of the captured data seems to include the satellite ID system that ground-based user stations would presumably use to keep track of overhead Starlink satellites.

For the capturing itself, [Christian] is using a second-hand dish for capture and a DIY SDR using KC705 FPGA-based hardware – which may have begun its life as crypto mining hardware – along with the usual assortment of filters and other common components with this kind of capture. Even at this early time, some features of the Starlink protocol seem quite obvious, such as the division into channels and the use of guard periods. Nothing too earth-shattering, but as a fun SDR hobby it definitely checks all the boxes.

[Christian] has also announced that at some point he’ll set up a website and publish the findings and code that should make Starlink signal analysis easy for anyone with a readily available SDR receiver.

 

DIY Hydroelectric Plant

Impressive Off-Grid Hydroelectric Plant Showcases The Hacker Spirit

We all know the story arc that so many projects take: Build. Fail. Improve. Fail. Repair. Improve. Fail. Rebuild. Success… Tweak! [Kris Harbour] is no stranger to the process, as his impressive YouTube channel testifies.

DIY Hydroelectric Plant
An IOT charge controller makes power management easier.

Among all of [Kris’] off-grid DIY adventures, his 500 W micro hydroelectric turbine has us really pumped up. The impressive feat of engineering features Arduino/IOT based controls, 3D printed components, and large number of custom-machined components, with large amounts of metal fabrication as well.

[Kris] Started the build with a Pelton wheel sourced from everyone’s favorite online auction site paired with an inexpensive MPPT charge controller designed for use with solar panels. Eventually the turbine was replaced with a custom built unit designed to produce more power. An Arduino based turbine valve controller and an IOT enabled charge controller give [Kris] everything he needs to manage the hydroelectric system without having to traipse down to the power house. Self-cleaning 3D printed screens keep intake maintenance to a minimum. Be sure to check out a demonstration of the control system in the video below the break.

As you watch the Hydro electric system playlist, you see the hacker spirit run strong throughout the initial build, the failures, the engineering, the successes, and then finally, the tweaking for more power. Because why stop at working when it can be made better, right? We highly recommend checking it out- but set aside some time. The whole series is oddly addictive, and This Hackaday Writer may have spent inordinate amounts of time watching it instead of writing dailies!

Of course, you don’t need to go full-tilt to get hydroelectric power up and running. Even at a low wattage, its always-on qualities mean that even a re-purposed washing machine can be efficient enough to be quite useful.

Thanks to [Mo] for alerting us to the great series via the Tip Line!

Continue reading “Impressive Off-Grid Hydroelectric Plant Showcases The Hacker Spirit”

Bug Clive goes into detail about electrical safety even at the most basic level of wearing gloves.

The Unofficial Guide To (Avoiding) Electrocution

If you’re reading this sentence, there’s a pretty good chance that you interact with electricity more than just as an end-user. You’re a hacker. You aren’t afraid of a few volts, and your projects may involve both DC and AC voltage. Depending on what you’re working on, you might even be dealing with several thousand volts. And it’s you who Big Clive made the video below the break for.

“Familiarity breeds contempt” as the old saying goes, and the more familiar we are with electronics, the more cavalier we may tend to get. If we allow ourselves to get too lax, we may be found working on live circuits, skimping on safety for the sake of convenience, or jokingly saying “safety third!” far too often as we tear into a hazardous situation without scoping it out first.

Who better to bring us down to earth than Big Clive. In this video, he explains how electricity has the potential to impede the beating of our hearts, the action of our lungs, and even break bones. You’ll find a candid discussion about what electric shock does to a person, how to avoid it, and how to help if someone near you suffers electric shock.

Of course, if safety isn’t your thing, then maybe you’re ready to Shake Hands With Danger.

Continue reading “The Unofficial Guide To (Avoiding) Electrocution”

Hackaday Podcast 146: Dueling Trackballs, Next Level BEAM Robot, Take Control Of Your Bench, And Green Programming

Postpone your holiday shopping and spend some quality time with editors Mike Szczys and Elliot Williams as they sift through the week in Hackaday. Which programming language is the greenest? How many trackballs can a mouse possibly have? And can a Bluetooth dongle run DOOM? Join us to find out!

 

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (52 MB)

Continue reading “Hackaday Podcast 146: Dueling Trackballs, Next Level BEAM Robot, Take Control Of Your Bench, And Green Programming”

Urgon solders close up to see the work

Vision Impaired Electronics Engineer Shows The Way To Get Things Done

A funny thing happens as the average electronics hobbyist gets older: Their eyes- well they just don’t work the same as they used to. But what if your life started out with compromised vision? In this epic forum post (Google translated from Polish to English), we meet nearly blind hacker [Urgon]. He goes into great detail about his condition and how it affects not just his daily life, but also his abilities as an electronics engineer. Or conversely, how it doesn’t.

[Urgon]’s origin story is familiar. At eight years old, he disassembled his first television. His self-education continued by using his remaining vision to soak up every bit of literature about electronics that he could get his hands on. A well-intentioned but protective mother kept him away from soldering irons, fearing that the close proximity to his good eye might not bode well for his remaining vision.

If Urgon can solder 0805's, so can you!
If Urgon can solder SOIC’s 0805’s, so can you!

Despite a failed eye, and his other having quite severe glaucoma, [Urgon] has persevered. He uses assistive technologies as you’d expect, but notes that in more recent times some excellent free software has surpassed some of the commercial products he used in the past.

While even the sighted among us often shy away from SMD components, [Urgon] dives right in. SOIC packages and 0805 parts don’t hold him back. Bright LED flashlights, zooming in with his smart phone, and surely a healthy dose of patience make his hackery possible.

That’s not to say that [Urgon] hasn’t had some noteworthy incidents. He’s suffered electric shock from the 400 V capacitors in an ATX PSU, burned his face with his soldering iron, and even managed to step on a DIP package. Barefoot. Yes, the pins were facing up.

But wait- there’s more! In this follow-up post, [Urgon] discusses more assistive/adaptive technologies and how hackers like you and I can focus our efforts on things the vision impaired will find most helpful.

Our hats are off to [Urgon] and those like him who persevere despite the odds. We can all learn from [Urgon]’s hacker spirit and his dedication to the craft. We recently covered some blind software hackers who have taken it upon themselves to fly passenger jets– virtually, of course!

Thanks to [Moryc] for the excellent tip!