Welcome! Log In Create A New Profile

Advanced

I2C lcm1602 configuration

Posted by themathaias 
I2C lcm1602 configuration
February 10, 2023 07:48AM
hey all,

i have a problem with my i2c lcm1600 lcd wich i cant get figured out myself

im pretty new to all the programming stuff but ive changed a k8200 printer with a new bed, hotend and a ramps1.4 with sd card reader and it all works pretty well
but now i woud like to add a lcd screen to it so i can see how long it needs to print

im gonna add a rotary encoder and a buzzer later on but i first want to get the screen working

ive connected it to the i2c pins on the ramps i have and the screen lights up, ive tried to change the resolution but i dont get any characters

can anyone help me to identify the problem?

the only thing i changed in marlin was uncommented the regular lcm 1602 line
and added
#define LCD_WIDTH 20
#define LCD_HEIGHT 4
#define LCD_I2C_ADDRESS 0x27

becaus i found that online
i also uncommented no menu from the lcd configuration part

do i need to change anything else?

i add some fotos of the screen and the connection

Edited 1 time(s). Last edit at 02/10/2023 07:53AM by themathaias.
Attachments:
open | download - IMG_20230210_134256582_HDR.jpg (3.02 MB)
open | download - IMG_20230210_134315896_MFNR.jpg (2.86 MB)
open | download - IMG_20230210_134302394_HDR.jpg (2.57 MB)
open | download - Configuration.h (126.2 KB)
Re: I2C lcm1602 configuration
February 10, 2023 09:39AM
I believe you need this to get any sort of a marlin menu up and running

#define IS_ULTIPANEL 1
Re: I2C lcm1602 configuration
February 10, 2023 10:21AM
ive putted in like this

#define IS_ULTIPANEL 1
#define LCM1602
#define LCD_WIDTH 20
#define LCD_HEIGHT 4
#define LCD_I2C_ADDRESS 0x27

but now it cant compile becaus it doesnt find the lcd.h file?
Re: I2C lcm1602 configuration
February 10, 2023 10:44AM
ive added a new library and now it works!

big thanks!
Sorry, only registered users may post in this forum.

Click here to login