Mega 2560 with Ramps 1.6 and 128LCD May 12, 2023 03:12AM |
Registered: 1 year ago Posts: 16 |
U8GLIB_ST7920_128X64_1X u8g(23, 17, 16); // SPI Com: SCK = en = 23, MOSI = rw = 17, CS = di = 16I can play the examples on the library u8glib (see [1]).
#define ST7920_CLK_PIN 23 #define ST7920_DAT_PIN 17 #define ST7920_CS_PIN 16I am not able to see anything on the screen (see [1]).
Re: Mega 2560 with Ramps 1.6 and 128LCD May 12, 2023 04:29AM |
Admin Registered: 13 years ago Posts: 7,107 |
Re: Mega 2560 with Ramps 1.6 and 128LCD May 14, 2023 04:27AM |
Registered: 1 year ago Posts: 16 |
// Zonestar OLED 128×64 Full Graphics Controller // #define ZONESTAR_12864LCD // Graphical (DOGM) with ST7920 controllerThen, I am able to run the screen with your directions but I did not do anything with the BEEPER_PIN.
Re: Mega 2560 with Ramps 1.6 and 128LCD May 14, 2023 07:38AM |
Admin Registered: 13 years ago Posts: 7,107 |
Re: Mega 2560 with Ramps 1.6 and 128LCD May 15, 2023 04:04AM |
Registered: 1 year ago Posts: 16 |
This worked for me.Quote
Dust
That display is a REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER clone not a ZONESTAR_12864LCD
Do you have any answer for this one?Quote
bkarpuz
Problem 1.
How can I determine the parameters for DEFAULT_MAX_FEEDRATE (in the file Configuration.h) for my Nema 17 (17HS4401).
Is it try and trial or is there a mathematical computation?
Re: Mega 2560 with Ramps 1.6 and 128LCD May 15, 2023 06:09AM |
Admin Registered: 13 years ago Posts: 7,107 |
Re: Mega 2560 with Ramps 1.6 and 128LCD May 20, 2023 06:28PM |
Registered: 1 year ago Posts: 16 |
Quote
Dust
Trial and error
You set the values high in firmware
The you use simple gcode eg G1 X100 F{number}
You you back and forward trying larger numbers till it is no longer reliably moves. You then set slightly smaller number in the firmware.