LCD 12864 with GT2560
LCD 12864 with GT2560
How do I utilize the LCD 12864 with the GT2560 Controller?
Currently I am using the standard LCD,
In the technical specs it lists the ability to use both monitors.
Please advise
Currently I am using the standard LCD,
In the technical specs it lists the ability to use both monitors.
Please advise
-
- Posts: 1405
- Joined: Fri Feb 06, 2015 1:33 pm
Re: LCD 12864 with GT2560
Change some codes in "configuration.h".
If you are using LCD12684, find:
delete "//" of the 5th line.
then find:
Add "//" at the beginning of 3rd line.
If it shows error like this:
Marlin.ino:44:101: fatal error: U8glib.h:No such file or directory
Cmpliation terminated.
Error compiling.
Obviously, it lacks file "U8glib.h". Because you have not installed the LCD library of u8glib.
So you need to install it:
Download the source code of Marlin:
link: https://github.com/MarlinFirmware/Marlin
Unzip the file, you will find a folder named "U8glib" at Marlin-Release\Marlin-Release\ArduinoAddons\Arduino_1.0.x\libraries.
(I use Arduino1.0.1 to upload the firmware, so I the folder"U8glib" I need to copy is at"Arduino_1.0.x", you should copy the correct folder according to your Arduino version. )
Copy the folder to arduino-1.0.1-windows\arduino-1.0.1\libraries
If you are using LCD12684, find:
Code: Select all
// The RepRapDiscount FULL GRAPHIC SmartController (quadratic white PCB)
//http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
//
// ==> REMEMBER TO INSTALL U8glib toyour ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
//#defineREPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
then find:
Code: Select all
// The RepRapDiscount Smart Controller(white PCB)
//http://reprap.org/wiki/RepRapDiscount_Smart_Controller
#define REPRAP_DISCOUNT_SMART_CONTROLLER
If it shows error like this:
Marlin.ino:44:101: fatal error: U8glib.h:No such file or directory
Cmpliation terminated.
Error compiling.
Obviously, it lacks file "U8glib.h". Because you have not installed the LCD library of u8glib.
So you need to install it:
Download the source code of Marlin:
link: https://github.com/MarlinFirmware/Marlin
Unzip the file, you will find a folder named "U8glib" at Marlin-Release\Marlin-Release\ArduinoAddons\Arduino_1.0.x\libraries.
(I use Arduino1.0.1 to upload the firmware, so I the folder"U8glib" I need to copy is at"Arduino_1.0.x", you should copy the correct folder according to your Arduino version. )
Copy the folder to arduino-1.0.1-windows\arduino-1.0.1\libraries
-
- Posts: 42
- Joined: Wed Oct 14, 2015 5:37 am
Re: LCD 12864 with GT2560
Hi,
Which version of U8glib are you using?
I'm not able to get it working. After upload the firmware the lcd is always blinking.
Cheers,
RMRodrigues.
Which version of U8glib are you using?
I'm not able to get it working. After upload the firmware the lcd is always blinking.
Cheers,
RMRodrigues.
-
- Posts: 10
- Joined: Thu Mar 19, 2015 3:06 pm
Re: LCD 12864 with GT2560
georgeroblesjr.wordpress.com
You will find what I have done with arduino. And if you need further help you can find my email there. You may need to change another item in the firmware like with Sanguinololu board, bit not usually needed. Double check yours cables are in the right plugs. Try swaping the lcd cables, if no change, revert back.
You will find what I have done with arduino. And if you need further help you can find my email there. You may need to change another item in the firmware like with Sanguinololu board, bit not usually needed. Double check yours cables are in the right plugs. Try swaping the lcd cables, if no change, revert back.
-
- Posts: 42
- Joined: Wed Oct 14, 2015 5:37 am
Re: LCD 12864 with GT2560
Hi Mark,
I've downloaded it and I'm getting a compilation error because the lib is not found.
Any help?
Thanks.
I've downloaded it and I'm getting a compilation error because the lib is not found.
Any help?
Thanks.
Re: LCD 12864 with GT2560
uh...sorry my bad, I made a mistake, this is not the one. My library file is too big to attach here, could you give me your mail address and I'll send it to you, I have tested it and this can compile successfully.
And I'll attach my U8glib file here first, see if it works.
And I'll attach my U8glib file here first, see if it works.
-
- Posts: 10
- Joined: Thu Mar 19, 2015 3:06 pm
Re: LCD 12864 with GT2560
Oh, and some have issues with the first link on page, the second link on bottom is better for those with Sanguinololu board. And if you get error, what's listed on the bottom?
Re: LCD 12864 with GT2560
"dogm_font_data_marlin.h:12: error: 'u8g_fntpgm_uint8_t' does not name a type"
This is the error I got without the U8glib file for LCD12864, if I add the it to the library and reboot the arduino, then it works.
This is the error I got without the U8glib file for LCD12864, if I add the it to the library and reboot the arduino, then it works.
-
- Posts: 42
- Joined: Wed Oct 14, 2015 5:37 am
Re: LCD 12864 with GT2560
I've uploaded the firmawre and the result is:
https://www.dropbox.com/s/84mqxrotkq83p ... m.mp4?dl=0
Any help?
https://www.dropbox.com/s/84mqxrotkq83p ... m.mp4?dl=0
Any help?
Re: LCD 12864 with GT2560
seems to be a low power problem, did the voltage is correct?