Hi, I'm a student working on a university robotics project and I need help choosing a multiplexer.
The basic idea:
I want to connect 4 data lines to a multiplexer such that I can output a binary number indicating how many LEDs I want lit and it turns the binary bits into x-number of lines to drive a 10-segment LED (http://parts.digikey.com/1/parts/681333-led-bar-graph-10seg-red-ylw-grn-hdsp-4832.html).
For example:
- When I output "0101" (for 5), have 5 of the LEDs light up.
- When I output "0000" then none of the LEDs will light.
- When I output a number 10 or higher, all of the LEDs will light.
Now, I don’t care if the LEDs are biased high or low, but I just need an idea of how to connect them (I know just enough to know they need resistors on each LED).
In my scenario, I need to use serial out data from the RB100 (http://www.roboard.com/RB-100.htm) using either TTL, SPI, or RS232; so help knowing how to convert serial data to the 4 parallel lines for the multiplexer would also be very much appreciated!
Thanks!