3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Crazy Looper

Crazy Looper
The Crazy Looper is a small hand held device that allows you to create real-time noise loops with a fast modulation metallic effect. It's a simple microcontroller project that I give an easy to build rating.

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 adsRemove these ads by Signing Up
 

Step 1

PARTS

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 StepDownload PDFView All StepsNext Step »
69 comments
1-40 of 69next »
Mar 25, 2012. 5:52 AMMutantflame says:
Is it possible to see a diagram for the circuit board please? I would like to make this project myself soon but you don't supply a diagram for the circuit board.
Dec 13, 2011. 5:15 PMjustbennett says:
I saw the Luna Mod in Make and replaced both pots with LDRs. I stuck with the momentary switch for the "record" button. The output was too unpredictable with LDRs and your fancy smanchy (yet sweet) loop program. So I wrote a simpler program with continuous beeps and no loop. It turned out to be a fun instrument of sorts in which you could control the tone and duration with the shade of your fingers.

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.
Mar 11, 2012. 10:56 AMblinkyblinky says:
Can I see the code to your project?
Nov 15, 2011. 5:53 PMblinkyblinky says:
This is basically your Luna Mod...
Nov 19, 2011. 6:52 AMblinkyblinky says:
Where is the echo coming from?

I like it.

Can I use a switch because I might not be able to play it in the dark...
May 14, 2011. 3:16 AMcheesemarathon says:
would it be possible to add a 3.5mm jack instead of the LDR so any sound source could be the input?
May 24, 2011. 10:45 AMcheesemarathon says:
great thanks will you be making an instructible on it as i would love to build it.
Jun 24, 2010. 7:23 AMghasty says:
Where did you have the board printed and wondering if they can take multiple orders from all the folks reading this instructable wanting to play?
Mar 26, 2011. 1:17 AMicamaster says:
Hello, you have done a great job with this, can u upload that zip file you were talking of because i get a error while opening it with eagle.
PS. The sound is so great almost sounds like dubstep music which i listen to.
Aug 25, 2010. 7:05 PMradial77 says:
I tried changing setfreq to m4 and got a nice tone, but can't figure out how to make the sound mute at certain points in the loop. When the setting is m8, you can acheive this by using the freq pot. Any ideas to get it to work on m4?
Aug 25, 2010. 7:11 PMradial77 says:
I set the tempo to 3 when I did this. Even though the loop seemed very slow, the tone was nice.
Aug 25, 2010. 3:02 AMradial77 says:
Does anyone know how to give the tempo pot a broader range? Would it be possible to make the global tempo setting (currently 6) in the code adjustable from , say 1-10, with a pot or even selectable with a rotary switch?
Jul 2, 2010. 3:08 AMjerryang says:
Thanks for your insperation. I made mine with Arduino.
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.
Aug 22, 2010. 12:30 PMDustortion says:
Hi Jerrang. Did you ever upload your Arduino code? I would love to try this. Thanks.
Jul 2, 2010. 6:16 AMpowerfool says:
Also, could you please explain that about the frequency range... what do you mean?
Jul 4, 2010. 8:43 PMjerryang says:
At higher pitch, people tend to ignor the difference between pitches. For example, 12000hz and 12500hz. But if it is 50hz or 55hz. People tend to see a lot of difference. So fine tune adjustable range is best fix at 40~1000hz, so steps is best like 40, 45, 50, 55, 60, etc... Everything above that frequency can be divide into big steps. Like 12000, 12500, 13000, 14000, etc.
Jul 5, 2010. 3:04 AMpowerfool says:
Ok, I think I understand what you mean. By the way, I noticed that the Arduino does not generate white noise :( I kind-of copied the code from the BAS file, I tried to understand it and then made the same for the Arduino. It works but mine doesn't sound as good as in this video here. Maybe it's the speaker though... Also, I don't like the way I "manage" the tempo, the delay between the notes.... I am trying to make that better...
Jul 5, 2010. 11:01 PMjerryang says:
Anything above 10khz is consider white noise. Those noises are not very playful. I tend to rule them out.
Jul 2, 2010. 6:02 AMpowerfool says:
Could you post the code for that? :) Thanks!
Jul 4, 2010. 8:54 PMjerryang says:
I will post my code after I fine tune everything.
Jul 16, 2011. 8:21 AMwmanidi says:
My computer is having trouble with eagle... =[ can you upload PDFS of the board?
Jul 2, 2010. 9:55 PMtororm says:
Is there any chance of uploading the eagle files? Thanks!
Jul 15, 2010. 6:20 PMtororm says:
Thanks! Much appreciated
Jul 14, 2010. 12:43 AMhrta says:
and how can we make the Circuit board .you have an layout .or buy it ready ?
Jul 2, 2010. 2:06 PMharry88 says:
wow
Jun 29, 2010. 1:58 PMpowerfool says:
You instructable is very nice so congratulations! :)) I would just like to ask you, if possible, to add a flow diagram of the algorithm you use in the program (BAS file). I would like to implement the crazy looper using an Arduino but I don't really understand what you're doing in the program. Many thanks! Dimitris :)
Jun 24, 2010. 6:23 AMfox64 says:
Would it be possible to add a Mic in place of the light sensitive input?
Jun 24, 2010. 12:16 PMWhiternoise says:
In theory yes, but you might not get the results you're hoping for.

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)
Jun 25, 2010. 6:04 AMfox64 says:
Wow very informative! I see now that sticking a Mic in this project would be a horse of a another color. EEPROM scares me and I've never been brave enough slap one on my protoboard. The circuit-bender in me wants to try it, but the computer scientist in me is lazy. In any case, thanks Whiternoise for the MC info! Much appreciated.
Jun 27, 2010. 10:02 PMjerryang says:
Lots has been said but has not pay attention in the most important detail. The light sensitive resistor is not the frequency source. It is an on/off switch. The frequency is coming from POT on the right side. For those who has doubt on that, please check the schematic or BAS program file.
Jun 28, 2010. 9:12 AMWhiternoise says:
That's true - as I said in my post, I've not looked at the source. What I said still stands though, if you want to use a microphone as an input device for the sound loop, you're going to need more processing power and storage than what's presented here.
Jun 25, 2010. 2:41 AMmskdk says:
please what is the software used to make those schemes ? and thanks for the looper, liked it ... i'll build it and see ...
1-40 of 69next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
24
Followers
3
Author:rarebeasts(Rarebeasts Etsy Site)
I run a small electronics design lab in Canberra, Australia. I build a range of electronic goods, but I'm mostly focused on hand held electronic musical instruments. I am also a contributor to Make Ma...
more »