driving common anode 8x8 matrix using arduino mega?
ive been doing poking around , im looking @ doing driving simple, 1 colour or bi colour matrix using arduino mega 2560, im thinking might impossible since matrix common anode , not cathode, or have fair idea on how acheive this?
i have dabbled little bit wasnt able draw letters or on because turn on column, other rows turn on, led comes on in active column instead of being able individually address each led, did try accomplish rainbowduino , attempted program through arduino uno, couldn not obtain threw rainbowduinos storage box gather dust
i have dabbled little bit wasnt able draw letters or on because turn on column, other rows turn on, led comes on in active column instead of being able individually address each led, did try accomplish rainbowduino , attempted program through arduino uno, couldn not obtain threw rainbowduinos storage box gather dust
driving common anode matrix similar driving common cathode matrix, need transistors on "other side" of matrix control multiplexing.
you need pnp transistors between mega pins , matrix columns control current common anode, , 8 mega pins current limit resistor sink 8 cathoodes in each row.
the multiplex simple - drive cathodes, turn anode on column 1, pause few ms , off.
repeat colums 2-8.
data written can pulled array:
for (x=0; x<8; x=x+1){
cathodes = column
you need pnp transistors between mega pins , matrix columns control current common anode, , 8 mega pins current limit resistor sink 8 cathoodes in each row.
the multiplex simple - drive cathodes, turn anode on column 1, pause few ms , off.
repeat colums 2-8.
data written can pulled array:
for (x=0; x<8; x=x+1){
cathodes = column
- data
pulse anode - on, off
}
Arduino Forum > Using Arduino > LEDs and Multiplexing > driving common anode 8x8 matrix using arduino mega?
arduino
Comments
Post a Comment