Hey. What is the minimum amount of digital pins required to accomplish this? I'm asking as I am going to hook a VRBot to the Arduino. I'd like vocal cue's to trigger a LED chase. How many pins will I need for this?
I have a problem though. I am only using one LED and everything works fine with readings *3 and *7, but I noticed when you change the multiplier to a higher number, say 5 thru 20, it trips up when you turn the POT about half way. The timing gets slower instead of faster and at almost full turn it does go faster but at about 2 degrees from max it slows again a little bit. Do you know of a way to correct this? I'm using 1 LED and a 10k Pot with a switch.
Thats awesome ! :) could you please tell me where you got your code. I like your green LEDs :)
randomness2101 2 months ago
Actually the Arduino has a 1.5A regulator onboard so it can easily supply 60ma to the led's.
andrew1056 1 year ago
dude, 6 led's on at once.... At least 60mA... u can say bye bye arduino
danimal511 1 year ago
Hey. What is the minimum amount of digital pins required to accomplish this? I'm asking as I am going to hook a VRBot to the Arduino. I'd like vocal cue's to trigger a LED chase. How many pins will I need for this?
hammyzone 2 years ago
You are conecting the led direcly, with no resistense. I think that maje damage to the led, no?
As I remmeber only the 13 pin has output resistence, am I right?
pavlik6 2 years ago
@pavlik6 some LED's have built-in resistors, maybe these too.
ans you're right, only pin13 has a built in resistor
jrigvd 1 month ago
This code is designed for a chaser and I don't think it works well with just one led. What are you trying to accomplish?
You could hook up just 2 pins, but I chose to hook up 3. Arduino pin to pot to ground should work.
andrew1056 2 years ago
Also, im curious as to why you have to hook up all 3 pins of the POT. Shouldn't you only need 2? Since pin 1 and 3 just control the direction.
Thanks
j03tv 2 years ago
@j03tv The pot has 3 pins, he's applying power to 1 and 3 (ground to 1, and +5V to 3), and 2 acht as a refrence between those two
jrigvd 1 month ago
Hey, nice tutorial on your site.
I have a problem though. I am only using one LED and everything works fine with readings *3 and *7, but I noticed when you change the multiplier to a higher number, say 5 thru 20, it trips up when you turn the POT about half way. The timing gets slower instead of faster and at almost full turn it does go faster but at about 2 degrees from max it slows again a little bit. Do you know of a way to correct this? I'm using 1 LED and a 10k Pot with a switch.
j03tv 2 years ago