Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 18, 2024, 04:49:28 04:49


Login with username, password and session length


Pages: [1]
Print
Author Topic: Low voltage LED Matrix control  (Read 4282 times)
0 Members and 1 Guest are viewing this topic.
StefDrums
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 22
-Receive: 3


« on: December 08, 2017, 11:15:58 11:15 »

Hello to all,
I would like to share with you a difficulty which I have been struggling with for days:
I'm developing a circuit that controls a 3x6 led matrix display via microcontroller, here are some data:
- the LEDs are 20 mA @ 2.1 V
- the PINs of the uC provide a maximum of 1.5 mA
- 3x6 LED matrix
- the circuit must have a low power consumption
- power supply voltage: I can choose it from 2.2 V to 3.0 V (but low consumes less)

I initially thought to connect them in this way (picture attached), but I have freedom to overturn the circuit.

For the control, since the microcontroller does not supply enough current, I thought of 3 different alternatives:
- use a shift register for "Control K" and 3 P-MOS for "Control A"
- use a buffer (or a hex-inverter) for "Control K" and 3 P-MOS for "Control A"
- use a driver LED for "Control K" and 3 P-MOS for "Control A"
all 3 possibilities unfortunately lead me to a dead end, because I can not find components that can work at voltages of 2.3V and source 20 mA per channel (with a total Icc of at least 120 mA).

I've run out of ideas, I'm giving up, but I'm sure some of you will be able to suggest a brilliant solution!
Thank you!
Logged
PICker
Active Member
***
Offline Offline

Posts: 162

Thank You
-Given: 207
-Receive: 109


« Reply #1 on: December 08, 2017, 12:27:58 12:27 »

You can think about a LED Driver IC.
MAX6958/MAX6959, for example (I²C-compatible 2-wire serial interface), can drive up to 36 individual LEDs with a power voltage between 3 and 5V:
https://datasheets.maximintegrated.com/en/ds/MAX6958-MAX6959.pdf
Logged
bogdantk
Active Member
***
Offline Offline

Posts: 100

Thank You
-Given: 40
-Receive: 18


« Reply #2 on: December 08, 2017, 12:42:36 12:42 »


http://www.instructables.com/id/Make-a-24X6-LED-matrix/
very simple to use Maxim 7219
https://www.maximintegrated.com/en/products/power/display-power-control/MAX7219.html
http://www.electronics-lab.com/project/24x6-led-matrix-control-circuit/
and this one with Arduino
I used Max7219 with monolitic LED matrix, serial daisy chain connected and controlled with a PIC small board
Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 144

Thank You
-Given: 7
-Receive: 41


« Reply #3 on: December 08, 2017, 04:40:47 16:40 »

What do you want to display, multiple LED's with multiplexing or only one led at a time?
Logged
StefDrums
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 22
-Receive: 3


« Reply #4 on: December 08, 2017, 05:05:00 17:05 »

Hello, I have to display multiple LED's with multiplexing.
I think I have to use the lower Vdd I can because of series resistor power consumption.
Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 144

Thank You
-Given: 7
-Receive: 41


« Reply #5 on: December 08, 2017, 05:36:45 17:36 »

if you are multiplexing your drivers need to handle higher current, because the LEDs need probably more than 20mA since they are on only 1/18th of the time.
You can use a TPL7407L on the low side and and 3x  FDC6331 or similar on the high side, they are both 2V compatible
Logged
StefDrums
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 22
-Receive: 3


« Reply #6 on: December 10, 2017, 10:53:28 10:53 »

Thank you vern,
so I think that with low side and high side driver my circuit will be something like this (attached picture)

Can I have some problem in switching when both low side and high side driver are turned off?
Logged
Signal
Active Member
***
Offline Offline

Posts: 197

Thank You
-Given: 111
-Receive: 81



« Reply #7 on: December 10, 2017, 03:33:41 15:33 »

... since they are on only 1/18th of the time.
I'd say 1/3d

- the circuit must have a low power consumption
If you are not stuck with certain 6x3 LED matrix device consider new generation of LEDs - they are much effective than ones from XX century, and thus at 1 mA are brighter than old ones at 20 mA. That could be a useful option for low power consumption - to begin from choosing energy efficient device.
Logged

Give a right name to a right game and play it right
PICker
Active Member
***
Offline Offline

Posts: 162

Thank You
-Given: 207
-Receive: 109


« Reply #8 on: December 10, 2017, 05:27:22 17:27 »

StefDrums defined a specific Power Supply:
- power supply voltage: I can choose it from 2.2 V to 3.0 V (but low consumes less)
in the datasheet of the MAX7219/MAX7221  you can read:
"For applications requiring 3V operation or segment
blinking, refer to the MAX6951 data sheet."
https://datasheets.maximintegrated.com/en/ds/MAX6950-MAX6951.pdf
these device are similar to MAX6958/MAX6959.
Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 144

Thank You
-Given: 7
-Receive: 41


« Reply #9 on: December 10, 2017, 07:56:57 19:56 »

Signal:
Quote
I'd say 1/3d
of course you are right, what was I thinking

PICker: although I had a recommendation for  drivers for multiplexig  I would try another solution for a led count of 18 if you are free to connect them in a different way:
I would use 3   8 bit shift registers like for example 74HC595 and and not a matrix.
The advantage is static display, low current for diving the LEDs and very simple programming. You can even control the LED Brightness with the output enble input via PWM.
And it runs with 2V.
Logged
Signal
Active Member
***
Offline Offline

Posts: 197

Thank You
-Given: 111
-Receive: 81



« Reply #10 on: December 10, 2017, 08:33:47 20:33 »

Just to make things fun Wink

Logged

Give a right name to a right game and play it right
PICker
Active Member
***
Offline Offline

Posts: 162

Thank You
-Given: 207
-Receive: 109


« Reply #11 on: December 11, 2017, 05:53:22 05:53 »

vern: I understand (and agree with) your solution.
See this similar approach with Arduino: https://diyhacking.com/arduino-led-matrix/

My last post was just about the differences between MAX7219 (proposed by bogdantk) and MAX6951 (with a lower power supply voltage).
 Smiley
« Last Edit: December 11, 2017, 05:58:44 05:58 by PICker » Logged
StefDrums
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 22
-Receive: 3


« Reply #12 on: December 11, 2017, 05:33:34 17:33 »

I read the 74HC595 datasheet and i saw that the maximum Icc current is 70 mA, so I can't drive 6 LEDs toghether @ 20mA.
I didn't found any shift register that can source or sink more than 75 mA total.
I think that I'm going to destroy the 74HC595 with 120 mA continuos current.
Logged
PICker
Active Member
***
Offline Offline

Posts: 162

Thank You
-Given: 207
-Receive: 109


« Reply #13 on: December 11, 2017, 05:56:56 17:56 »

Just for "not reinventing the weel" I suggest you this discussion"
http://www.avrfreaks.net/forum/high-current-versions-74hc595
Logged
Wilksey
Cracking Team
Senior Member
****
Offline Offline

Posts: 405

Thank You
-Given: 158
-Receive: 2543


« Reply #14 on: December 12, 2017, 12:58:03 00:58 »

Don't drive them direct with a shift register then! Use the shift register to drive a transistor for example.
Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 144

Thank You
-Given: 7
-Receive: 41


« Reply #15 on: December 12, 2017, 08:12:13 08:12 »

Of course you have to use drivers, the 74HC595 will run with 2V but will not be able to sink 20mA. Recommendation by TI is 5.2mA per output.
You should use transistors or mosfets with a low gate voltage.
But in my experience 5mA is plenty with modern LED's, most of the time even to much.
Logged
Signal
Active Member
***
Offline Offline

Posts: 197

Thank You
-Given: 111
-Receive: 81



« Reply #16 on: December 12, 2017, 03:38:43 15:38 »

Important note. One can not rely only on absolute maximum ratings regarding output current.
VOL and VOH significantly depends on power supply voltage especially at current levels near to maximum and supply voltage near to minimum. It could end with current significantly lower than expected and/or VOL significantly higher than expected.


Reducing supply voltage to leave less for current limiting resistor can cause this resistor to be ineffective in his job of handling changes of supply voltages, temperature, variation of parameters.
Logged

Give a right name to a right game and play it right
HackAndCrack
Senior Member
****
Offline Offline

Posts: 293

Thank You
-Given: 175
-Receive: 801


« Reply #17 on: January 01, 2020, 11:05:47 23:05 »

Any one can upload link pixel led matrix scroling board hex file for atmega328.thank you

How many pixel LEDs strip's .hex file do you want?
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC