Step 6: Mount the Parts

Peal off the tape, and begin to mount the parts. this is pretty straight forward. remove the nuts and washers from your switches, pots LEDs and so on, stick the part through the hole, and then put the washers back on and tighten the nuts with some pliers or a socket wrench. Screw on some knobs to the pots with a small flat head screw driver to make them easier to control.
<p>Thanks for the tutorial! I added some code for a third pot that controls the overall speed and pitch of the looper, and a CD4040 for the LEDs. Pretty cool!</p>
I made it and add an amplifier and an extra pot. Thanks for the instructions. <br> https://youtu.be/fi_B0ehnxDA
<p>Really cool! If I may ask, how complicated would it be to hack the code to put a midi in?</p>
<p>really cool project </p>
for (int i=0; i&lt;63; i++) //64 individual notes played<br> <br> This actually will play from 0-62 which is 63 notes. I could tell because I made a pseudo-funky-drumbeat with it with this sequence:<br> <br> int steps[] = {300,100,100,100,500,100,100,100,<br> 100,100,300,100,500,100,100,100,<br> 300,100,300,100,500,100,100,100,<br> 100,1500,100,100,500,100,100,100,<br> 300,100,100,100,500,100,100,100,<br> 100,100,300,100,500,100,100,100,<br> 300,100,100,300,500,100,100,100,<br> 100,1500,300,100,500,100,100,500};<br> <br> So, to get it to play an even 64 notes, you can do &lt;=63 or &lt;64. I used this:<br> <br> for (int i=0; i&lt;64; i++)<br> <br> And it works as it should. Nice 'ible though! Thanks for sharing this!&nbsp; Remember seeing this Luna Mod and wanted to make it before, now that I have tons of spare parts lying around it is finally mine.&nbsp; =D&nbsp; Now to just make a step sequencer that will work with it.&nbsp; Add a button to go into step mode, and a button to go inbetween the steps, then your momentary can play the current note, hmm, maybe I will work on this for fun today.
Also, I suspect the issue is rooted in the ATtiny45's clockspeed (1 MHz or 8 MHz vs. the Arduino's ATmega328 which runs at 16 MHz). If you could confirm any of this that would be great
You do need to change the output/input pins in the code for the ATtiny. There are enough I/O pins, but you have to keep in mind that the pin number you see on the chip may not be the number you use to define in the code. Look up the data sheet or pinout diagram of the ATtiny to figure out which pins to use. As for the clock speed, I think it would ultimately be better to have a higher speed, but for the range of notes you would get out of this I don't think it would make too much of a difference.
Hi there, I'm rocking an ATtiny45 and everything seems to be working functionally. That said, the sound output doesn't sound *nearly* as good as yours -- it sounds more or less like a series of irritating ticks that I can speed up or slow down. <br> <br>Do you think there are any changes made to the values in the code when using it for the ATtiny rather than the Arduino? I'm also using a 1/4&quot; jack for audio output rather than 3.5mm if that makes any difference. Let me know if you have any thoughts1
can you make new scheme about that project? <br>Because I did not understand the scheme. <br>thank you. (sorry about my english).
I'll try to draw one on eagle when I get the time.
this project honestly reminded me of skrillex in the video <br>I LOVE IT
Awesome project. Thanks for sharing this with us!
im new to the arduino i ordered one for fun and im really flusterd because i dont know the language i know html and thats about it i really want to add more effects synth but i do not know how to
When I first started with arduino I got a book called Getting Started With Arduino. It is very beneficial to anyone getting started. You could also look for some online tutorials on instructables or arduino.cc. If you have the IDE and everything you could try changing some of the parameters on the example sketches to see what they do.
I dont understand pin 1,2,3. Whats N.L?
Sorry my hand writing is not the best. It says N.C. meaning not connected, and pins 2 and 3 are connected to the wiper pin of the two pots.
This is great! <br>one problem im having though. the led blinks regularly when the speaker is not plugged in, but when i plug the speaker in it starts spazzing out. <br>any idea why? <br>also just to be sure, when using an atmega 45 what pins should I define in the code? <br>Thanks!
I am not entirely sure why that would happen, but it would be very useful to know how your circuit is setup. If you could show a schematic or something that would be good. <br> <br>When you say atmega 45 I assume you mean ATtiny45. For that you can use pretty much any pin you want for the different components just as long as the speaker is one of the pwm pins. I included a schematic showing which pins to use on step2. keep in mind that the pin numbers you define in the code are not the same pins you attach everything to. I attached the speaker to pin 0, the button to pin 1, the LED to pin 2 and the two pots to pins 3 and 4. define everything in the code using those pins, but look on the schematic for how to connect everything.
Oh right! That was it, I had the wrong pins defined.<br>Great project. When I saw the original LunaMod I hoped someone would do it with the arduino.<br>Thanks!
Yeah. That is one thing that is pretty confusing about the attiny. Other than that it is pretty easy to use.
Good Idea!
Nice! Im using an 85, what pins are you using?
For the ATtiny85, you would do everything the same as the 45. They are almost identical. Look at the schematic with the ATtiny45 for what pins you can use.
This is so good! Thank you for sharing!
Thanks! <br>

About This Instructable




Bio: Science is my passion. I find myself constantly working on countless experiments, from low energy particle accelerators to good old simple electronics. I also like ... More »
More by Higgs Boson:350kv Van de Graaff Generator How to see alpha particles Simple Jacob's Ladder 
Add instructable to: