Custom LCD and Driver Coding

Thread Starter

sidd342

Joined Oct 9, 2023
32
Hey,
I'm working on a prototype that requires a custom LCD screen. I have the data sheet for the same but I do not know how to select the LCD Driver and how exactly do we start the code. Can someone suggest the LED driver and a sample code on how those things work?

Thanks
 

Attachments

Kvlewis

Joined Oct 26, 2023
2
#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
lcd.begin(16, 2); // initialize the LCD display
lcd.println("Hello, world!"); // display the text "Hello, world!"
}

void loop() {
// do nothing
}
 

joeyd999

Joined Jun 6, 2011
6,204
I do not know how to select the LCD Driver and how exactly do we start the code.
You start the code after you select an LCD Driver -- based on the specifics detailed in the LCD Driver datasheet.

You select the LCD Driver based on the number of back planes, segments, and drive characteristics of your LCD display.

As a head start: ask the manufacturer of the panel if they can recommend a driver for that panel.

Just a side note: I don't like the way they wired the digits in your print. It's going to require some individual (manual) bit-banging to light the proper segments based on BCD input values. I prefer a more consistent layout of my segment/backplane lines for 7 segment digits.
 
Top