Posts with «digital to analog» label

Digital to Analog to Digital to Analog to Digital Conversion

[Andy] had the idea of turning a mixing desk into a MIDI controller. At first glance, this idea seems extremely practical – mixers are a great way to get a lot of dials and faders in a cheap, compact, and robust enclosure. Exactly how you turn a mixer into a MIDI device is what’s important. This build might not be the most efficient, but it does have the best name ever: digital to analog to digital to analog to digital conversion.

The process starts by generating a sine wave on an Arduino with some direct digital synthesis. A 480 Hz square wave is generated on an ATTiny85. Both of these signals are then fed into a 74LS08 AND gate. According to the schematic [Andy] posted, these signals are going into two different gates, with the other input of the gate pulled high. The output of the gate is then sent through a pair of resistors and combined to the ‘audio out’ signal. [Andy] says this is ‘spine-crawling’ for people who do this professionally. If anyone knows what this part of the circuit actually does, please leave a note in the comments.

The signal from the AND gates is then fed into the mixer and sent out to the analog input of another Arduino. This Arduino converts the audio coming out of the mixer to frequencies using a Fast Hartley Transform. With a binary representation of what’s happening inside the mixer, [Andy] has something that can be converted into MIDI.

[Andy] put up a demo of this circuit working. He’s connected the MIDI out to Abelton and can modify MIDI parameters using an audio mixer. Video of that below if you’re still trying to wrap your head around this one.

Filed under: Arduino Hacks, digital audio hacks

Gertboard extender for Raspberry Pi ships to advanced tinkerers

If a seemingly infinitely programmable mini computer like the Raspberry Pi is just too... limiting, we've got good news: the Gertboard extender has started shipping. The $48 companion board reaching customers' doorsteps converts analog to digital and back for Raspberry Pi fans developing home automation, robotics and just about anything else that needs a translation between the computing world and less intelligent objects. The one catch, as you'd sometimes expect from a homebrew project, is the need for some assembly -- you'll have to solder together Gert van Loo's Arduino-controlled invention on your own. We imagine the DIY crowd won't mind, though, as long as they can find the fast-selling Gertboard in the first place.

[Image credit: Stuart Green, Flickr]

Filed under: Misc

Gertboard extender for Raspberry Pi ships to advanced tinkerers originally appeared on Engadget on Wed, 17 Oct 2012 03:58:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments