If you want one that is ready to play, you can buy one here: http://www.etsy.com/listing/43908950/crazy-looper
These instructions will give you all the info you need to build a crazy looper, Schematic, software file etc. I got the circuit board made but you can easily use vero board because it's such a simple circuit.
Remove these ads by
Signing UpStep 1
1 x 100nF Capacitor (C5)
1x 10nF Capacitor (C6)
2x 10k Pot(spline shaft) (VR1 VR2)
2x 10K Resistor (1/4W) (R2 R4)
4x 1K Resistor (1/4W) (R6 R7 R8 R10)
1x Regulator 78L05 (5V) (IC3)
1x Ic Holder 8Pin
1x Picaxe 08M (IC2)
1x 3.5mm Socket(stereo switched) (SPKR)
2x LED (RED) (LED1 LED2)
2x Knob (Grey)
1x Battery Holder(9v)
1x Circuit board
1x LDR(10M) (SW1)
If you don't have a picaxe programmer or programming cable you will need to get on try SPARKFUN
| « Previous Step | Download PDFView All Steps | Next Step » |































![WORLDS CHEAPEST VIRTUAL DRUM at $10 [ Rs.500] - using pc ( no drum module required )](http://img.instructables.com/files/deriv/FA7/71UR/GUI0ZWAC/FA771URGUI0ZWAC.SQUARE.jpg)





















Sorry you are having troubles finding the circuit diagram, go to step 14 and you should see it no problem. I have also included the eagle files for the board layout if you need them.
Since it was my first picaxe project (almost my first electronics project ever) I went ahead and wired it to be reprogrammed. This turned out to be an awesome idea as I have had a lot of fun trying to adapt this device using only software. It is amazing what you can do with three inputs (LDR 1+2, and a button), a peizo, and an LED.
If I had it to do over I would probably keep at least one pot, as having two LDR's is a little superfluous for most of the programs I have written. You rarely need two analog inputs at once, and the math to make sure the numbers stay in comfy range can be advanced.
I like it.
Can I use a switch because I might not be able to play it in the dark...
PS. The sound is so great almost sounds like dubstep music which i listen to.
Since Arduino has more memory and process power.
Here is what has changed:
1. Frequency samples: Picaxe 48, Arduino 400
2. Frequency range: Picaxe 94~120480...not audiable range, Arduino 40~any.
3. Delay for Tempo: Picaxe ?, Arduino settable at microsecond.
To get a "quality" loop, you'd need to sample the microphone input very quickly - ~44kHz is the standard for CDs, MP3s (and that's each second) so for a two second audio clip you'd need 88 thousand samples. Each sample will be processed by an ADC on the micro - generally something like 8-10 bits resolution. Assuming 8 bits, you're going to need 8*88000 bits = 88 kBytes for a two second loop. For reference, most microcontrollers of this size barely even have 10kB of RAM to store data. In any case you'd need an interrupt running at 44kHz (certainly doable) to get the data into memory and then output the data at the same time.
The trouble is, you need both a fast microcontroller and a lot of storage memory - I haven't looked at the code for this so I don't know how it stores the input data - to process things like a microphone.
That said... There is nothing stopping you from simply sampling at a lower rate and storing as much as you can on the chip - you could even add an EEPROM module if storage becomes an issue. One other thing to remember is that electret microphones require amplification (typically the signal they give out will be in the mV region) before you can feed them into a PIC/AVR so you'd have to put in a pre-amp stage.
The key to all electronics is to have fun and experiment, push the hardware to its limits!
(For reference, BBC radio uses 44.1kHz, 16-bit audio)