First, hello, I am new here
I'm Aruban, web developer living in Tokyo, Japan.
I've been working on my free time with a small collective on different projects, and recently, one of them bring me to electronics.
The project isn't very original, and will certainly sound boring for most of you We are building objects where we put leds that react to sound...
This is the very first time I touch to something related to electronics... Obviously, the hardware and the theory is a totally new thing for me.
As a test, I build a small "frame" made of 33 pixels of 2 leds each.
this is the schematic of the circuit I came up with : Skitch | Evernote
this image is a bit small, but to explain it briefly:
- 1 Arduino duelmilanove
- 4x 74HC595 shift registers to drive 32 pixels
- last pixel driven pin pin #13
- each pixel is a 200ohm resistor and 2 white leds (dunno much about the leds, white 3V LLED-W501)
- I have a 0.1uF capacitor at each Vcc and Gnd of the registers
- Sound input plugged to the analog pin 0 (via RCA, L and R regrouped )
- a potentiometer to adjust the sensibility on analog pin 5
The arduino code to drive this: #include <SPI.h>#include <ShiftOutX.h>#include <ShiftPinNo.h>/* * LED - Pastebin.com
I builded this mainly with ressources I found on this forum
The circuit I made worked OK so far, and I could kept it running non-stop during a 9H event, without burning anything
It was powered via the arduino USB plug, connected to a wall USB adapter (that one: http://goo.gl/hkYxj)
this is a small video showing the thing running (it can help to understand the code)
http://vimeo.com/38356233
As I said, this was just a prototype, a small thing to see if it's possible or not. We need now to scale this up for the primary project.
I know this is not a forum good practice, but I have 2 "questions", maybe someone can help me :
1/ When I plugged a 12V DC 2A adapter (this Skitch | Evernote) to the arduino power plug, the arduino got VERY warm quickly, and nothing worked (leds were all blinking super fast with low intensity). When I plugged it with a USB cable to a USB adapter, it worked perfectly. Can someone explain me why ?
2/ How should I power this similar circuit, but with 16 registers and 128 led (only one led per "pixel" this time) will the USB be OK for 128 leds too ?
Would it change anything to have 2x 8 registers (using 6 pins) instead of using 1x 16 registers (using 3 pins) ?
Hope my questions aren't too annoying... I somehow have the feeling I'm asking for simple solutions to complexe questions, if at least somebody could drive me to some ressources that can help me to understand, it would be awesome !
A