My digi's came Friday - pretty hyped these are the first physical rewards I've gotten from any kickstarter
So debating what to do with them first I thought a quick easy project would be to make a "Luna Mod" looper for my 2 year old to play with. It was originally designed around a picaxe and published in Make magazine but there are a couple arduino versions floating around:
http://www.instructables.com/id/Arduino-compatible-Luna-Mod-Looper/Couldn't wait for my daughter to take her nap today so I could wire up a quick test:
Fullsize and other images: http://www.dunephotos.com/Electronics/Digispark/27834462_5fMHJL#!i=2347694794&k=5gD8FWz&lb=1&s=OThe circuit is pretty simple as per the instructible - just 2 pots (I grabbed some 10k linear) a pushbutton, and a way to get audio out (I just wired in an audio jack I'm running to a small battery powered amp.) I added a USB cable for power and mounted it all on a piece of cardboard to test it out while paint drys on a nice tin I had laying around.
I'm not sure I got the pin assignments figured out correctly though.
I put the LED on Pin0 since I believe that's the on board LED - right?
I put the speaker on P1
I attached the two pots to P4 and P5
Only the button and the pot on P5 seem to be doing anything. The LED comes on but doesn't pulse. I'm using the code straight from that instructible just with the pin assignments changed to match as I outlined above:
#define frequencyPot 5 //frequency pot tied to pin 15 which is A1
#define tempoPot 4 //tempo pot tied to pin 16 which is A2
#define buttonPin 2 //programming button tied to pin 17 which is A3
#define ledPin 0 //status led tied to pin 18 which is A4
#define speakerPin 1 //speaker or output pin 19 whish is A5
//if you use a speaker it should be at least a 16 ohm speaker an should have a
//resistor, maybe 200ohm to 1K ohm, between the negative lead and ground.
//a potentiometer would be even better.
The wiring is really quick and dirty...but I've gone over it a few times and it all looks correct. Anyone have any ideas am I ok on those pin assignments?
Want to get this working well before I put the time into the nice box for it