You are not logged in.

#1 2018-11-17 15:53:55

grafalex
Member
Registered: 2016-11-19
Posts: 18

How to add more information to 16x2 LCD?

Hi All,

I installed 16x2 LCD to my printer.
When printing it shows 'Printing' and CurLayer/TotalLayers.

How do I adjust this? For instance I would be interested in current Z position and printing ETA

Offline

#2 2018-11-17 21:47:11

Shahin
Administrator
Registered: 2016-02-17
Posts: 2,562

Re: How to add more information to 16x2 LCD?

You need to write your own code to customize text on LCD.

Offline

#3 2018-11-18 07:18:57

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: How to add more information to 16x2 LCD?

I my fine with writing new code for this.
But how can I do this if nanodlp is closed source?

Offline

#4 2018-11-18 20:19:36

Shahin
Administrator
Registered: 2016-02-17
Posts: 2,562

Re: How to add more information to 16x2 LCD?

You can call external codes and programs through nanodlp and send required variables to them to display

Offline

#5 2018-11-20 21:03:14

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: How to add more information to 16x2 LCD?

Do I understand you right that you suggest to disable internal support of I2C display and move all communication to external scripts?

Offline

#6 2018-11-21 04:39:15

Shahin
Administrator
Registered: 2016-02-17
Posts: 2,562

Re: How to add more information to 16x2 LCD?

Exactly

Offline

#7 2018-11-21 19:15:30

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: How to add more information to 16x2 LCD?

ok, but then I'll probably need to settle LCD initialization somewhere. Is there a hook in NanoDLP where I can put a call to my init script?

Offline

#8 2018-12-01 20:23:35

Shahin
Administrator
Registered: 2016-02-17
Posts: 2,562

Re: How to add more information to 16x2 LCD?

Startup gcode box

Offline

#9 2018-12-01 20:24:41

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: How to add more information to 16x2 LCD?

Ok. thank you.
One more question: how can I get elapsed time and ETA? Are there any variables for this available?

Offline

#10 2018-12-02 05:40:32

Shahin
Administrator
Registered: 2016-02-17
Posts: 2,562

Re: How to add more information to 16x2 LCD?

No they are not available

Offline

#11 2018-12-12 19:01:34

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: How to add more information to 16x2 LCD?

Any chance to add it to a variable?
Anyway NanoDLP already has this information

Offline

#12 2018-12-13 04:48:29

Shahin
Administrator
Registered: 2016-02-17
Posts: 2,562

Re: How to add more information to 16x2 LCD?

You can access them by external script through get request. There are too many variable with limited usefulness could be available in gcode boxes, time to time we get suggestion to add new one, issue is the performance. If few users going to use it, it is not logical to decrease performance on gcode boxes as couple of them running for each layer.

Offline

Board footer

Powered by FluxBB