welcome: please sign in
location: Diff for "StompShield"
Differences between revisions 2 and 3
Revision 2 as of 2013-07-18 21:21:23
Size: 2732
Editor: guest
Comment:
Revision 3 as of 2013-07-18 21:25:25
Size: 2885
Editor: guest
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 * [[attachment:stomp_sample.mp3|MiniArDSP sound sample]]  * [[attachment:stomp_sample.mp3|Stomp Shield sound sample]]
Line 19: Line 19:
 * [[attachment:MiniArDSP.zip|MiniArDSP library]]  * [[attachment:Stompshield.zip|Stomp Shield library]]
Line 23: Line 23:
 * [[attachment:stomp.zip|gerber files]]
 * [[attachment:stomp.brd|Eagle board file]]
 * [[attachment:stomp.sch|Eagle schematic file]]
 * [[attachment:stomp.zip|pcb gerber files]]
 * [[attachment:stomp_board.png|board image]][[attachment:stomp.brd|Eagle board file]]
 * [[attachment:stomp_schem.png|schematic image]][[attachment:stomp.sch|Eagle schematic file]]
Line 27: Line 27:
 * [[attachment:stomp.ods|BOM ods]]  * [[attachment:stomp.pdf|pdf parts listing]][[attachment:stomp.ods|.ods parts listing]]

Stomp Shield for Arduino

About the Stomp Shield

This shield is the the simplest setup for doing decent quality audio effects with an Arduino. The system is based our MiniArDSP library, which is in turn based on both our PWM tutorial and our ATmega ADC tutorial. The basic setup is a 10 bit value read in from ADC2, and played out via 16 bit, Dual PWM on pins 9 and 10. there is a rotary encoder with pushbutton, which can be used to modify parameters. The reason for buttons and not knobs, is that the ADC is already completely consumed with the analog audio signal coming in. This is a more focused version of our basic Arduino PWM setup, targetted at effects pedals.

To give more flexibility in sound creation, and to minimize the amount of processing done on the Arduino, there is analog support circuitry on the Stomp Shield to accomplish common tasks. These include 3-pole anti-aliasing filters for the inputs and outputs (10kHz cutoff), a gain knob with variable gain from 1 to 50, a mix knob from full wet to full dry, a feedback knob, and an output volume knob. It is also designed to fit inside of a Hammond 1590BB case, for complete stompability.

Sound Sample

To give an idea of what is possible with this minimal setup, here is a sound sample. It was recorded using a sightly better analog setup than shown above. It uses 3-pole anti-aliasing filters on the input and output, and has mix and feedback knobs. The signal was taken directly off a guitar, and recorded into a computer. The first 2 sound bits demonstrate the noise level and frequency response of a direct pass through of the signal. The last sound chunk is a flanger effect.

Arduino library

The following is an Arduino library (just a first rev, nothing fancy). Download the zipped file, and uncompress it. The entire folder needs to be placed in you libraries folder in your user directory. If you are not sure where this is, check out our description in the CodecShield Wiki.

Documentation

StompShield (last edited 2017-03-27 19:04:39 by guest)