Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

CHARLIEPLEXED DISPLAY WITH 12

LED’S
[FSM WITH DATAPATH AND CONTROL PATH]

PREM KUMAR
2016UEC2135
14/02/2019
INTRODUCTION
Charlieplexing: it is a method to connect led’s in such a way
that lesser number of pins are required to connect all the
led’s .in this method single led can be turned on at a
particular time.

If we want to turn on/off a led then two pins ‘from which the
led is connected’ are required to power the led to turn it
on/off and the remaining pins should be in the high
impedance state (or making them left to do nothing) And
similarly we can turn each led in any pattern.

In this following case There are 12 led’s which connected


with 4 pins and for selecting for anyone of the led,
multiplexers are there and for high impedance state we used
active high tristate buffer (if it’s enable pin is high then act as
buffer and low then output pin will be in high impedance
state). For user input there are switches with pull up resistor
to provide data to register (d flip-flop). these register’s
ouputs are connected to multiplexer inputs and mux outputs
are connected to the inputs of tristate buffer’s and buffer’s
outputs are connected to led’s through current limiting
resistors.
*ELEMENTS OF DATA PATH
=> Hardware components which holds data and performs
arithmetic operations.
=>state elements = memory elements (contain state)
Eg registers, multiplexers.
=>combinational elements = perform operation
Eg Adders, ALU.
In the following case of charlieplexed display with 12 led’s,
the data path elements contain registers and multiplexers
*ELEMENTS OF CONTROL PATH
=>Hardware components which commands the data path,
memory, i/o devices by the instruction of memory.
Eg memory (data of registers)
In the following case of charlieplexed display with 12 led’s,
the control path is provided by FSM. FSM provides control
signal to select pins of multiplexer and enable pin tristate
buffer which completes my control path.
*FSM
=> FSM is finite state machine. FSM is of two type hard wired
and microprogramming. In the following case of
charlieplexed display with 12 led’s, there are 12 state from
ST0 to ST11 and in each state there are control signal for
select pin and enable pin of multiplexer and tristate buffer
respectively to control a particular led to turn it on/off
(depends on user data) in that state.

Figure 1
Figure 2

Figure 3

You might also like