Raspberry Pi Chiptune Player Rocks A Sound Chip From The 80’s

Sometimes it’s worth doing something in an inefficient way. For example, it might be worth it in order to learn something new, or just to use a particular part. [Deater] did just that with the Raspberry Pi AY-3-8910 Chiptune Player (with LED visualizers!)

The venerable General Instrument AY-3-8910 series sound chips were common in older hardware like home computers and game consoles as well as sound cards for the Apple II family. They were capable of generating three channels of square waves with various effects. Developers eventually squeezed every little bit of performance out with clever hacks. The Raspberry Pi has more than enough power to do all this in software, but as [Deater] puts it, it’s far more interesting to use an actual AY-3-8910 from the 80’s. Some LED bar graphs and matrices round out the whole system.

All the code for the Raspberry Pi AY-3-8910 chiptune player can be found on [deater]’s github repository for the project. A video of the player banging out some sounds is embedded after the break.

Continue reading “Raspberry Pi Chiptune Player Rocks A Sound Chip From The 80’s”

Beautiful Cardboard Robot Build

[Miloslav Stibor] may have built Mimobot 2.1 out of cardboard so that it’s not very heavy, but the robot is absolutely no lightweight. Read through his logs (in Czech, or in translation) and you’ll see what we mean.

Our favorite feature is the recharging dock and docking connectors, made respectively out of spring-loaded rivet ferrules and copper-tape-covered cardboard. The video found on that page is also absolutely brilliant: watch in awe as it climbs over children’s books, pulls a wooden train, or scales a mountain of pillows.

We wrote [Miloslav] and asked about the continuous-rotation servos, because they ran so smoothly at low speeds. He replaced the potentiometer with a pair of “carefully matched” 2.2 k resistors, and drives them with a PWM signal. Sounds easy, and obviously works very well. We were always under the impression that it was a little bit more complicated to get proportional control of hobby servos. We’ll have to experiment.

The wheels and lightweight frame (made of “military grade” cardboard — saturated with a wood/paper glue) make it entirely capable in living-room environments covered in cables or rugs, which is something we can’t say about our purchased vacuum-cleaner-bot. And the cell-phone remote interface that lets him control the onboard camera and its elevation and lighting. Driving the thing around with the phone control looks fun.

In short, if you build small robots, give this one a look. Something very much like this is now on our short must-build list. And we can’t wait to see Mimobot v3!

Retrotechtacular: Hand-Synthesized Sound

When you think of early sound synthesis, what technologies come to mind? The Hammond Organ?  Or perhaps its predecessor, Thaddeus Cahill’s Telharmonium? In the early 1920s and 30s, many Bauhaus artists were using paper and film to synthesize musical instruments.

A few of them experimented with the optical film soundtrack itself, drawing waveforms directly upon it. [Evgeny Sholpo] created an optical synthesizer he called the Variophone. It used cardboard disks with intricate cutout patterns that resembled spinning, sonic snowflakes.

During the early 1930s, an artist named [Nikolai Voinov] created short animated films that incorporated the cut paper sound technique. [Voinov]’s soundtrack looked like combs of varying fineness. For his animated figures, [Voinov] cut and pieced together characters from paper and made them move in time to his handmade paper soundtrack.

In [Voinov]’s “Dance of the Crow”, an animated crow struts his stuff from right to left and back again while working his beak in sync with the music. The overall effect is like a chiptunes concertina issuing forth from a crow-shaped pair of bellows. It’s really not to be missed.

Thanks for the tip, [Leo]!

Retrotechtacular is a weekly column featuring hacks, technology, and kitsch from ages of yore. Help keep it fresh by sending in your ideas for future installments.

Logic Noise: Sweet, Sweet Oscillator Sounds

Welcome to part one of a series taking you down the rabbit hole of DIY electronic synthesizers based on (largely) CMOS logic chips. Instead of synths being commodity gear made by large corporate enterprises, we’ll be building with the cheapest available parts, using and misusing digital logic. In short, don’t expect pre-packaged smooth tones, because we’ll be making creative noise machines.

If you’re the chiptunes type, you’ll probably find something you like here. If you’re the circuit bender or electro-noise-punk type, this is gonna be right up your alley. If you just like to see CMOS chips wriggle and squirm in unintended ways, feel free to look over my shoulder. If you’re the type who insists that a screwdriver can’t be used to pry open a paint can, then maybe you’d better move along. There’s a thin line between the glitch as bug and the glitch as interesting discovery, and we’ll be dancing all over it.

Continue reading “Logic Noise: Sweet, Sweet Oscillator Sounds”

Reverse Engineering Super Animal Cards

If you don’t have a niece or nephew we encourage you to get one because they provide a great excuse to take apart kids’ toys.

[Sam] had just bought some animal-themed trading cards. These particular cards accompany a card-reader that uses barcodes to play some audio specific to each animal when swiped. So [Sam] convinces her niece that they should draw their own bar codes. Of course it’s not that easy: the barcodes end up having even and odd parity bits tacked on to verify a valid read. But after some solid reasoning plus trial-and-error, [Sam] convinces her niece that the world runs on science rather than magic.

But it can’t end there; [Sam] wants to hear all the animals. Printing out a bunch of cards is tedious, so [Sam] opens up the card reader and programs and Arduino to press a button and blink an IR LED to simulate a card swipe. (Kudos!) Now she can easily go through all 1023 possible values for the animal cards and play all the audio tracks, and her niece gets to hear more animal sounds than any child could desire.

Along the way, [Sam] found some interesting non-animal sounds that she thinks are Easter eggs but we would wager are for future use in a contest or promotional drawing or something similar. Either way, its great fun to get to listen in on more than you’re supposed to. And what better way to educate the next generation of little hackers than by spending some quality time together spoofing bar codes with pen and paper?

Update: SD Card Locker Now Supports Password Protect

sdlocker2_1

[Karl Lunt] has updated his Secure Digital Card locker to support password based locking. [Karl’s] original design only supported write locking via the TMP_WRITE_PROTECT  bit. The new design gives the user an option: TMP_WRITE_PROTECT, or password protection. [Karl] goes into further detail this time around about the bit fields used with CMD42, and how they are set. The passwords in this case are up to 16 bytes. The bytes don’t necessarily have to be printable characters – any binary value can be used. Unfortunately, [Karl’s] locker doesn’t utilize a user interface beyond the buttons, so any password must be “baked in” to the SD Card locker firmware. We would love to see the option of even a basic serial interface for entering a password (most likely in hex).

[Karl] tried his device out with several different cards, and several computers. While not an exhaustive test, he did find that the computers always behaved the same: A locked SD card would not show up. In the case of windows, no beep, no drive, nothing. He goes into the security possibilities of using password locking: Financial data could be stored and physically transferred via SD or microSD, with the password sent separately (say in an email or SMS). Any unenlightened data thief attempting to use the card would think they have a broken device on their hands.

We don’t know how secure the password lock feature is – brute forcing a variable length 16 byte binary password would take some time. It all comes down to how quickly each password attempt takes. Some cursory web searching didn’t bring up any information about successful SD card password cracking. Sounds like a challenge for our readers!

Hackaday’s Resistor Code Reference Card

Check out the resistor color code reference cards I just whipped up. I was inspired by the PCB versions that Octopart has been crowdfunding this week. Those didn’t have the information I would normally be looking up, so I decided to whip up a few of my own and put them out there for inspiration or for you to print yourselves.

Continue reading “Hackaday’s Resistor Code Reference Card”