Hi!
I'm able to control 1 10-segment bar graph with my netduino, but I need to control 4 of them in my current project, and there not enough pins on the device. Is it possible to somehow control the bar graphs with less pins than the number of LED's it has? I don't want to control each LED individually, just set a level from 0 (no LED's on) to 10 (all LED's on), and this value could be represented on 4 bits:
no LED's are on: 0000
one LED is on: 0001
two are on: 0010
...
all of them (10) are on: 1010
Is it possible to make this work somehow?
Control 4 10-segment bar graphs with one netduino
Started by Jaksi, Oct 08 2012 04:16 PM
2 replies to this topic
#1
Posted 08 October 2012 - 04:16 PM
#2
Posted 08 October 2012 - 05:09 PM
Hi Jaksi,
Check out "595 shift register" projects. Stefan Thoolen has made a bunch of examples, and other community members will pitch in on this as well I'm sure
Shift registers basically gift you an 8-bit value for each 8 elements...so you just set the bits for the LEDs that you want to turn on.
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users