Joystick (Direct Input) icon Joystick (Direct Input) — DirectInput joystick control for ARC: drive movement panels, control servos, assign button scripts, variable speed and rumble feedback. Try it →

ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

Author Avatar
PRO
Canada
LinkedIn Thingiverse Twitter YouTube TikTok
#9  

Hey danUK, there are a few options out there for controlling multiple LEDs with a few ports, one method that's gaining popularity is called Charliplexing. Charliplexing doesn't require any external components (besides resistors), you just but the LEDs in a matrix and control which LED comes on by setting some ports to inputs (High-impedance state), some to output high (5V) and some to output low (0V). Just google charliplexing and you'll get the info you need, probably check out instructables or Jimmie Rodgers' website.

Another method you could use is a Shift Register like the 74HC595 you'd just need 3 digital lines to control 8 LEDs. Anyway, good luck with your project!

Author Avatar
United Kingdom
#10  

Hi Skater_j10

Many thanks for the info. I'll check it out.