7 Segment display interface without using driver with LPC844 or LPC845 ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

7 Segment display interface without using driver with LPC844 or LPC845 ?

1,618 Views
jtro
Contributor III

In datasheet Minimum 4mA current source is mention but not mention maximum current limit.

 

I would like to interface four 7 segment display with LPC845 microcontroller standard (not high current driven port) GPIO.

 

Can anyone suggest?

Labels (1)
Tags (2)
0 Kudos
Reply
4 Replies

1,459 Views
brendonslade
NXP TechSupport
NXP TechSupport

A few comments:

For driving an LED you need to be looking at sink current capability, not source, because the LEDs normally have a common anode and the individual segment cathodes are pulled low to turn them on. CMOS I/Os can sink a lot more than they can source.

To save power you can (probably should) look at pulsing power to the LEDs rather than just turning them on. You will lose brightness of course, but this is may be the only way you can ensure the overall power dissipated in the part isnt too high.

We did this with the scrolling display demo on the LPC8N04 board, which actually manages to power the LEDs using only energy harvested from NFC (although the display is pretty dim, and very dependent on the LEDs chosen. That board has 35 LEDs in total, so less than your 4 x 7=21 segments. The I/Os on the LPC84x and the LPC8N04 are very similar.

LPC8N04 Development Board for LPC8N04 Microcontroller (MCU) | NXP 

Download the SDK for this board to take a look at the source of the example.

Per segment current can be quite high still, so you have to look at the overall, worse-case consumption (i.e. max segments that will be lit) for your application, to make sure you are not over-stressing the I/Os of the LPC84x device.

0 Kudos
Reply

1,459 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
In my opinion, it's necessary to use the bus transceiver (likes 74LS245) or specific BCD to 7-Segment Decoder (likes 74LS47) to connect the 7-Segment display instead of connecting the MCU directly.
Hope it helps.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

1,459 Views
jtro
Contributor III

Bus transceiver like 74LS245 and other will increase cost. I believe which is not necessary for 7 segment drive. and it can direct drive through uC Pin without any additional component except transistor at common pin.

Hope any expert can suggest.

0 Kudos
Reply

1,459 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thanks for your reply.
After reviewing the 7-Segment display's datasheet, I also agree with your assumption that LPC845's available to drive 7 Segment display. However, you'd better do some testing for validating this assumption In the prototype phase.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply