Is there a lcd_seg library ?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
P@T
Posts: 33
Joined: Tue Nov 06, 2018 2:37 pm

Is there a lcd_seg library ?

Post by P@T » Sat Jan 01, 2022 7:31 pm

Hello
Is there a micropython library that supports 7seg displays ? (With LCD_SEGx pins)
Thanks

Image
Liquid crystal display controller (LCD)
The LCD drives up to 8 common terminals and 44 segment terminals to drive up to 320
pixels.
• Internal step-up converter to guarantee functionality and contrast control irrespective of
VDD. This converter can be deactivated, in which case the VLCD pin is used to provide
the voltage to the LCD
• Supports static, 1/2, 1/3, 1/4 and 1/8 duty
• Supports static, 1/2, 1/3 and 1/4 bias
• Phase inversion to reduce power consumption and EMI
• Integrated voltage output buffers for higher LCD driving capability
• Up to 8 pixels can be programmed to blink
• Unneeded segments and common pins can be used as general I/O pins
• LCD RAM can be updated at any time owing to a double-buffer
• The LCD controller can operate in Stop mode

User avatar
scruss
Posts: 360
Joined: Sat Aug 12, 2017 2:27 pm
Location: Toronto, Canada
Contact:

Re: Is there a lcd_seg library ?

Post by scruss » Sun Jan 02, 2022 8:20 pm

Why, yes there is! Awesome MicroPython saves the day with lots of different LED Segment libraries.

P@T
Posts: 33
Joined: Tue Nov 06, 2018 2:37 pm

Re: Is there a lcd_seg library ?

Post by P@T » Mon Jan 03, 2022 8:40 am

Hi,

Thank you for your message. I'll have a look
I was thinking of displays without a controller

;)

User avatar
scruss
Posts: 360
Joined: Sat Aug 12, 2017 2:27 pm
Location: Toronto, Canada
Contact:

Re: Is there a lcd_seg library ?

Post by scruss » Tue Jan 04, 2022 4:40 am

The TM74HC595 driver uses a simple shift register as the driver, and can run several numerals from the one shift register

P@T
Posts: 33
Joined: Tue Nov 06, 2018 2:37 pm

Re: Is there a lcd_seg library ?

Post by P@T » Tue Jan 04, 2022 8:32 am

Hi,

Thank you. In fact i'm in this cas :
https://www.youtube.com/watch?v=3_sMAJQErw4

and i don't know how to access at LCD_RAM

nekomatic
Posts: 37
Joined: Thu May 08, 2014 9:31 pm

Re: Is there a lcd_seg library ?

Post by nekomatic » Wed Jan 05, 2022 5:05 pm

Do you have a specific LCD in mind, and what board are you running MicroPython on (and how many GPIOs will you have available)?

Post Reply