Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.

Pages: [1]
Author Topic: 16x2 LCD display
Posts: 9
Post 16x2 LCD display
on: February 9, 2015, 12:20

Hi, I'm in the process of building my own timelapserail based on the ChronosTimer and rail. First I have to send a big thank you to Chris for his work and the effort he has put into this project, it's impressive.

Has anyone tried to switch the LED display with an LCD display?

I have a 16x2 LCD display with an I2C serial interface that I want to use instead of the LED display. I have changed some of the code to fit the display, but I'm struggling a bit with the view and set of the values. I want the name of the option to be displayed on the first line and the value on the second line. The first line is working. I know that "void displaydigits" is the loop that shows the value, and I have changed the code to lcd.print and I'm using "lcd.setCursor(0, 1)" to display the values on the second line, but that is not enough. If someone has any experience whit this I would thankful.

Another problem I experienced is that when I included two libraries to get the display to work, I ran out of memory, the code was too big. But after commenting out some of the serial LED display code I got enough space, but there is not much to play with.

I don't have a lot of Arduino programming experience, so there could be an easy solution to my problem, but I haven't found any yet.

Here is a link to the code I have modified:


Posts: 137
Post Re: 16x2 LCD display
on: February 9, 2015, 18:40

You might have to use an Arduino ATmega to get enough code space freed up. One of the reasons i like the 4 digit display is that it takes virtually no code, however working the 16x2 LCD will require some overhead used for cursor positioning, extra letters being used, etc. You coulod always try to isolate some features you have no use for and clear those out. For example, a lot of the CONT mode is build for keyframing and lens control, if you dont use those you may be able to sacrifice those for a 16x2 display

Pages: [1]
The Chronos Project | Time Lapse Motion Control