Turning The Deep Note Into A Game

One of the most famous pieces of computer-generated music is the Deep Note, the audio trademark for THX. It begins with a dozen or so voices, randomly tuned between 200 and 400 Hz, then glissandos to a frequency spread of three octaves. Put that through a few thousand watts of a speaker system, play it before Jedi, and the audience will be listening.

The original THX Deep Note was created on hundreds of thousands of dollars worth of hardware running 20,000 lines of code, but that was in 1983. Now we have cheap microcontrollers, so of course, you can now fit the Deep Note in your pocket. You can even make it a game. That’s exactly what [Bob] did with his Deep Synth. It’s the Deep Note, in a Game Boy-ish format.

The hardware for this build is the 1Bitsy 1UP, a retro-inspired handheld game console from [Bob]’s friend [Pitor]. Onboard the 1Bitsy is an STM32 F4 running at 168 MHz with a 2.8″ LCD, SD card reader, and the traditional Game Boy control scheme. All the games are up to you.

[Bob] wrote an audio driver for the 1UP, but needed a good audio demo. Since the Deep Note was a good enough demo for Lucasfilms, it would obviously be a good enough demo for a microcontroller. In far less than 20,000 lines of code, [Bob] made the 1UP polyphonic, and it was surprisingly fast enough to synthesize around thirty oscillators. It actually sounds like the Deep Note, too. You can check out a video (and audio) of that after the break.

Continue reading “Turning The Deep Note Into A Game”

What The Hack Is This Thing?

Let’s play a guessing game. Shown here is a sneak peek at the rear view of a hardware demo being built specifically for the Hackaday Superconference in Pasadena this November 2-4. It’s sure to be a crowd pleaser when finished, but if you’re anything like us, studying what’s behind the finished face of a project like this is even more satisfying than seeing the final product.

If you think you know what it is, you can score yourself a free hardware badge from the conference! Leave a comment below with your best guess about what this is — we’ll pick whoever is closest to win the badge.

Want a closer look? Click here to embiggen.

Update: We have a winner!

It didn’t take long at all for Zardam to realize this a replicate of the console for the Hal 9000 computer from 2001: A Space Odyssey. Congrats!

Some comments on the build from Voja Antonic:

The red round board at the bottom is the PIR motion sensor, the part of another project which is not related neither to HAL nor to the badge. There is a clearly visible 915 MHz module, which is disconnected and has no function in this project.

It is connected to the lower left Raspberry just because it has to be supplied with about 3V and it uses Raspberry’s LDO. It also generates Reset signal for all four Raspis, as it turned out that the 5V supply (bottom right) delivers the slow-rise voltage when turned on, so Raspis won’t boot at all without the external Reset.

When someone walks in front of HAL, motion sensor randomly triggers one of 30 HAL’s sentences from the movie. That’s why the lower left Raspberry is connected to the amplifier and has an extra wire from the motion sensor board to GPIO 24.

And the demo video:

The Prize for Guessing Correctly:

Voja Antonics builds beautiful hardware. The Hackaday Superconference badge is a piece of art, as is the Hal 9000 console. Voja will be at Supercon along with hundreds of other awesome hackers. Come join us for a weekend you’ll never forget!

HTTPS For The Internet Of Things

Every day, we’re connecting more and more devices over the internet. No longer does a household have a single connected computer — there are smartphones, tablets, HVAC systems, deadbolts — you name it, it’s been connected. As the Internet of Things proliferates, it has become readily apparent that security is an issue in this space. [Andreas Spiess] has been working on this very problem, by bringing HTTPS to the ESP8266 and ESP32. 

Being the most popular platform for IOT devices, it makes sense to start with the ESP devices when improving security. In his video, [Andreas] starts at the beginning, covering the basics of SSL, before branching out into how to use these embedded systems with secure cloud services, and the memory requirements to do so. [Andreas] has made the code available on GitHub so it can be readily included in your own projects.

Obviously implementing increased security isn’t free; there’s a cost in terms of processing power, memory, and code complexity. However, such steps are crucial if IOT devices are to become trusted in wider society. A malfunctioning tweeting coffee pot is one thing, but being locked out of your house is another one entirely.

We’ve seen other takes on ESP8266 security before, too. Expect more to come as this field continues to expand.

[Thanks to Baldpower for the tip!]

Dollar Store Helping Hands For Soldering

Although [I Love To Make] appears to have text in Chinese, their recent video (see below) is like a wordless workshop so it won’t matter if you are up on your Mandarin or not. The soldering vise looks like it mostly came from a dollar store (or perhaps a yaun store).

As far as we can tell, the assembly is two utility clips like you might use on a cork board or to seal up chips, a Micro SIM cutter, and TV rabbit ears. Oh, and a syringe. The rabbit ears get mostly destroyed in the build process. You have to do some cutting and plastic melting, too (we might have used a drill), but nothing you couldn’t do with some simple hand tools. They don’t show it, but apparently, they drilled a hole in the SIM cutter, so you’ll need a drill anyway.

Continue reading “Dollar Store Helping Hands For Soldering”

Finally, An Open Source MIDI Foot Controller

MIDI has been around for longer than most of the readers of Hackaday, and you can get off my lawn. In spite of this, MIDI is still commonly used in nearly every single aspect of musical performance, and there are a host of tools and applications to give MIDI control to a live performance. That said, if you want a MIDI foot controller, your best bet is probably something used from the late 90s, although Behringer makes an acceptable foot controller that doesn’t have a whole bunch of features. There is obviously a need for a feature packed, Open Source MIDI foot controller. That’s where the Pedalino comes in. It’s a winner of the Musical Instrument Challenge in this year’s Hackaday Prize, and if you want a MIDI foot controller, this is the first place you should look.

With the Pedalino, you can change the presets of your guitar rig, turn old MIDI equipment into something that’s USB-compatible, give you hands-free or foot-occupied ways to control your rig during a live performance, and it can be expanded with WiFi or Bluetooth. This is a full-featured MIDI controller, with three user profiles, and it can control a maximum of 48 foot switches. That’s an impressive amount of kit for such a small device; usually you’d have to spend hundreds or even thousands of dollars for a simple MIDI controller, and the Pedalino does everything with very cheap hardware.

While the Pedalino is just in its prototype phase now, there is obviously a market for a feature-packed MIDI foot controller. It might just be a breadboard and a Fritzing diagram, but there’s significant work being done on the software side, and we’re looking forward to this being stuffed into a gigantic aluminum enclosure and velcroed to a pedal board.

You’ll Flip For This 7404 IC Motherboard Fix

We often lament that the days of repairable electronics are long gone. It used to be you’d get schematics for a piece of gear, and you could just as easily crack it open and fix something as the local repairman — assuming you had the knowledge and tools. But today, everything is built to be thrown away when something goes wrong, and you might as well check at the end of a rainbow if you’re searching for a circuit diagram for a new piece of consumer electronics.

But [Robson] writes in with an interesting story that gives us hope that the “old ways” aren’t gone completely, though they’ve certainly changed for the 21st century. After blowing out his laptop’s USB ports when he connected a suspect circuit, he was desperate for a fix that would fit his student budget (in other words, nearly zero). Only problem was that he had no experience fixing computers. Oh, and it takes months for his online purchases to reach him in Brazil. Off to a rocky start.

His first bit of luck came with the discovery he could purchase schematics for his laptop online. Now, we can’t vouch for the site he used (it sure isn’t direct from Dell), but for under $5 USD [Robson] apparently got complete and accurate schematics that let him figure out what part was blown on the board without even having to open up the computer. All he had to do was order a replacement IC (SY6288DAAC), and solder it on. It took two months for the parts to arrive, and had to do it with an iron instead of a hot air station, but in the end, he got the part installed.

Continue reading “You’ll Flip For This 7404 IC Motherboard Fix”

Elegant Drum Machine From Teensy

Playing the drums is pretty hard, especially for the uncoordinated. Doing four things at the same time, all while keeping an even tempo, isn’t reasonable for most of us. Rather than hiring a drummer for your band who is well versed in this art, though, you might opt instead to outsource this job to a machine instead. It’s cheaper and also less likely to result in spontaneous combustion.

This drum machine is actually a MIDI Euclidean sequencer. Euclidean rhythms are interesting in their own regard, but the basics are that a common denominator between two beats is found in order to automatically generate complicated beats. This particular unit is running on a Teensy 3.5 and consists of four RGB rotary encoders, an SSD1306 LCD, four momentary buttons, and four 16 LED Neopixel rings. Setting each of the dials increases the number of beats for that particular channel, and it can be configured for an almost limitless combination of beats and patterns.

To really get a feel of what’s going on here, it’s worth it to check out the video after the break. MIDI is also a fascinating standard, beyond the fact that it’s one of the few remaining standards created in the 80s that still enjoys active use, it can also be used to build all kinds of interesting instruments like one that whacks wine glasses with mallets or custom synthesizers.

Thanks to [baldpower] for the tip!

Continue reading “Elegant Drum Machine From Teensy”