Music-Loving BeagleBone

Robotic control can get very complicated when multiple actuators need to work in coordination with each other. A simple robotic arm will require each joint to be controlled in sequence to attain a particular position. The BeagleBone Blue comes armed with motor drivers, sensor inputs, and wireless and is built for robotics.

[Andy] has prepared a musical robot called the BeagleBone Blue Electro-Mechanical Glockenspiel using the single board computer. The hardware consists of eight servo motors each with a mallet stick attached to them. The motors themselves are mounted on 3D-printed brackets allowing them to be mounted at the correct height. The servos connect to the main board for position control, however, an external supply had to be used to supply the necessary current to all the motors.

The software side has programs to translate notes into servo positions as well as connect to a web brower via MQTT and websockets. The basic user interface is simple and has buttons to connect to and send the keystrokes. The code, as well as the OpenSCAD designs, can be downloaded from GitHub. Check out the video below for a demo.

This project could be extended to an autonomous robot that plays tunes from the Internet. We are reminded of the rock throwing glockenspiel which was pretty cool and hope there are some permutations to come from both. Continue reading “Music-Loving BeagleBone”

Music Reading for Machines

“Dammit Jim, I’m a hacker, not a musician!”, to paraphrase McCoy Scotty from the original Star Trek series. Well, some of us are also musicians, some, like me, are also hack-musicians, and some wouldn’t know a whole note from a treble clef. But every now and then the music you want is in the form of sheet music and you need to convert that to something your hack can play. If you’re lucky, you can find software that will read the sheet music for you and spit out a MIDI or WAV file. Or, as with my hand-cranked music player, you may have to read just enough of the music yourself to convert musical notes to frequencies for something like a 555 timer chip. We’ll dive into both cases here.

Continue reading “Music Reading for Machines”

A Sound and LED-tastic Tricycle Shopping Cart

What do you get when you take a massive number of LEDs and combine them with a shopping cart and a bicycle? An awesome rave-mobile created by [kramerr]. He’s even taking it one step further by making the electronics solar powered.

[Kramerr] controls the LEDs with multiple WS2803 LED drivers. Three PIC18F4550s control the WS2803s over SPI. He devised a neat way of exciting the LEDs from music by using a pair of graphic equalizer display filter chips, MSGEQ7s, to drive the PICs to create patterns. A USB input also allows the PICs to display song titles or other information.

leds and boards

The mechanical design is as impressive as the electronics. The rear half of a bicycle is welded to the frame of the shopping cart with the cart’s handle used for steering. The shopping cart’s rear wheels are replaced by small bicycle wheels.

But [Kramerr] wasn’t done. He built his own solar panel since he couldn’t find one to fit the size requirements. The panel consists of 26 cells connected in series to provide 1A at 13V on a sunny day. A solar charge controller keeps a standard 12v lead acid battery ready to power the tricycle cart.

And there is still more! There is a sound system driven by a Raspberry Pi. The Pi also drives the USB inputs when [Krameer] wants to display song titles or artists instead of the audio patterns.

There are at least four hacks in this project each worthy of applause. [Karmeer] deserves an ovation for doing all of them in one project. If you are looking for less bling and less pedaling may we direct you to this powered, riding shopping cart.

Some rave music and lights via video after the break.

Continue reading “A Sound and LED-tastic Tricycle Shopping Cart”