Hey this was a great instructable! Esp for a first time arduino user! The one problem I has was having is that the LED strip became significantly less bright running through the arduino. I got a friend to help and it was a pretty easy fix with a transistor...you must all know this but for other first timers apparently there's less risk of frying the arduino doing it with a transistor as well.Because of this I had to reverse the "0" and "255" values in the original code provided in this instructable to look like this:#define LEDstrip 9 void setup(){ pinMode(7,INPUT); //SIG of the Parallax Sound Impact Sensor connected to Digital Pin 7 pinMode(LEDstrip, OUTPUT);}//this function will make the LED dim once the Parallax Sound Impact Sensor sends a 1 signal, and then re…
Hey this was a great instructable! Esp for a first time arduino user! The one problem I has was having is that the LED strip became significantly less bright running through the arduino. I got a friend to help and it was a pretty easy fix with a transistor...you must all know this but for other first timers apparently there's less risk of frying the arduino doing it with a transistor as well.Because of this I had to reverse the "0" and "255" values in the original code provided in this instructable to look like this:#define LEDstrip 9 void setup(){ pinMode(7,INPUT); //SIG of the Parallax Sound Impact Sensor connected to Digital Pin 7 pinMode(LEDstrip, OUTPUT);}//this function will make the LED dim once the Parallax Sound Impact Sensor sends a 1 signal, and then return to it’s original brightness.void loop(){ boolean soundstate = digitalRead(7); if (soundstate == 1) { analogWrite(LEDstrip, 0); delay(10); } else{ analogWrite(LEDstrip,255); }}If you don't swap those two the LED strip is OFF unless it's picking up sound. Swapping them makes them ON unless picking up sound.I've attached a couple images of the way I ended up setting it up.Hope this helps some people and thank you for posting this in the first place!
Hey this was a great instructable! Esp for a first time arduino user! The one problem I has was having is that the LED strip became significantly less bright running through the arduino. I got a friend to help and it was a pretty easy fix with a transistor...you must all know this but for other first timers apparently there's less risk of frying the arduino doing it with a transistor as well.Because of this I had to reverse the "0" and "255" values in the original code provided in this instructable to look like this:#define LEDstrip 9 void setup(){ pinMode(7,INPUT); //SIG of the Parallax Sound Impact Sensor connected to Digital Pin 7 pinMode(LEDstrip, OUTPUT);}//this function will make the LED dim once the Parallax Sound Impact Sensor sends a 1 signal, and then re…
see more »Hey this was a great instructable! Esp for a first time arduino user! The one problem I has was having is that the LED strip became significantly less bright running through the arduino. I got a friend to help and it was a pretty easy fix with a transistor...you must all know this but for other first timers apparently there's less risk of frying the arduino doing it with a transistor as well.Because of this I had to reverse the "0" and "255" values in the original code provided in this instructable to look like this:#define LEDstrip 9 void setup(){ pinMode(7,INPUT); //SIG of the Parallax Sound Impact Sensor connected to Digital Pin 7 pinMode(LEDstrip, OUTPUT);}//this function will make the LED dim once the Parallax Sound Impact Sensor sends a 1 signal, and then return to it’s original brightness.void loop(){ boolean soundstate = digitalRead(7); if (soundstate == 1) { analogWrite(LEDstrip, 0); delay(10); } else{ analogWrite(LEDstrip,255); }}If you don't swap those two the LED strip is OFF unless it's picking up sound. Swapping them makes them ON unless picking up sound.I've attached a couple images of the way I ended up setting it up.Hope this helps some people and thank you for posting this in the first place!