Single Camera Servo Server icon Single Camera Servo Server TCP video server for Unity clients to stream camera video and send servo positions to ARC for remote robot control Try it →

ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

Author Avatar
PRO
Belgium
Thingiverse
#17  

ah all possitif one side and negatiff to. so avery positif has two red wires. i wonder what you can do in a script whit these leds.

thanks

User-inserted image

#18  

With a parallel circuit just make sure the combined power draw of your Leds is less than 20mA.... Assuming they do only draw 1mA, I still wouldn't use more than 10 (in parallel) on a single digital pin....


#LED is on Pin D0
set(D0,ON) # turn on the leds
sleep(2000)
set(D0,OFF) # turn off the leds

or


#LED is on Pin D0
# turn on slow
$dim=1
repeatuntil($dim=101)
PWM(D0,$dim)
print($dim)
sleep(50)
$dim++
endrepeatuntil
# turn off slow
$dim=100
repeatuntil($dim=0)
PWM(D0,$dim)
print($dim)
sleep(50)
$dim--
endrepeatuntil

Author Avatar
PRO
Belgium
Thingiverse
#19  

i got 8 red ones very low.they come from 3 dollar for 100 pieces on ebay

Author Avatar
PRO
Belgium
Thingiverse
#20  

am gonna test your script to. i found this.

this is awesome

led blinking

Author Avatar
PRO
Belgium
Thingiverse
#21  

i try the script that richard r wrote for me and it looks great. so i made a video how it looks.

Author Avatar
PRO
Canada
LinkedIn Thingiverse Twitter YouTube TikTok
#22  

Just to chime in about the 20mA limit on I/O pins. This is the case with most microcontroller boards out there but the ez-bv4 actually has current limiting resistors on the I/O pins limiting the current to ~10mA to allow you to hook up LEDs directly to the I/O pins if you'd like.

Author Avatar
PRO
Belgium
Thingiverse
#23  

jeremie

thanks for telling.i can use the flikkering leds,they are just 1Ma.

Author Avatar
United Kingdom
YouTube
#24  

@nomad.

You done well with the LED's. Looking good.:)

@Jeremie.

So the digital signal pins are limited to 10Ma then? I was lead to believe it was 20Ma as well.