Step 19: Audio firmware

Screen shot 2012-04-25 at 7.41.14 PM.png
The audio firmware is the most simple to set up.  Download the Arduino sketch provided below and load it onto your board.  Once the firmware is loaded, unplug the usb connection and turn off the device (turn the gain pot until it clicks off).  Turn the device on, after a moment you should see the white LED turn on.  Plug in your headphones and slowly turn up the gain pot while pressing one of the front panel buttons repeatedly until the volume is where you like (be careful not to turn up the volume too high!).  I've loaded 9 default sounds in the firmware, try out all the buttons and make sure you can hear all of them.

Once all of your audio is working correctly, flip the record switch, the white LED should turn off and the orange should turn on.  Play a short sequence with the buttons and flip the white switch again when you want to start looping the audio you've just played.  The white LED should start start blinking on the beat and you should hear your sequence looping.

Flip the mute switch to mute what you've recorded, flip it again to bring it back.

Flip the record switch to record additional audio on top of your recorded sequence, this time you will see the orange LED blinking with the beat.
 
Remove these adsRemove these ads by Signing Up
lemonas says: Mar 11, 2013. 9:14 AM
everytime i try to upload firmware it gets me an error
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): programmer is out of sync
any ideas? i'm new to arduino
amandaghassaei (author) in reply to lemonasMar 11, 2013. 10:26 AM
have you uploaded anything onto the arduino successfully? you may want to check that you have the right serial port selected.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!