Welcome! Log In Create A New Profile

Advanced

ViKi 2 LCD on Ramps 1.4

Posted by Nerochi70 
ViKi 2 LCD on Ramps 1.4
August 27, 2024 03:53PM
Hi all,

just wondering if anyone has pinouts/instructions etc to allow a ViKi 2 LCD screen to work on my Prusa I3 Clone, currently have a budget lcd fitted.

Any help appreciated.
Re: ViKi 2 LCD on Ramps 1.4
September 15, 2024 08:21AM
I have installed U8glib and U8glib-HAL libraries but I am not sure about connections to my Ramps 1.4 board, I currently have an easy adapter board fitted to my Ramps 1.4.
Connections to ViKi 2 LCD end shown in pictures attached these then go to fly leads for connection to Ramps 1.4.
My ViKi 2 came with no instructions and the link to instructions on Panucutt no longer work.

Any help appreciated.
Attachments:
open | download - 1000016136.jpeg (757.3 KB)
open | download - 1000016138.jpeg (812.3 KB)
open | download - 1000016137.jpeg (885.4 KB)
Re: ViKi 2 LCD on Ramps 1.4
September 15, 2024 08:52PM
U8glib and U8glib-HAL provide the same API interface, you only install the latter

I would strongly suggest you use platformio under vscode, its 100 times faster to complie than Arduino IDE, it also installs the correct library automatically see [marlinfw.org]

If you look at the Marlin/src/pins/ramps/pins_RAMPS.h file it shows what ramps pins are used for this display

      #define DOGLCD_CS                  AUX4_05  // 45
      #define DOGLCD_A0                  AUX2_07  // 44

      #ifndef BEEPER_PIN
        #define BEEPER_PIN           EXP2_05_PIN // 37
      #endif
      #define STAT_LED_RED_PIN           AUX4_03 // 32
      #define STAT_LED_BLUE_PIN      EXP1_02_PIN // 31

      #define BTN_EN1                         22
      #define BTN_EN2                          7
      #define BTN_ENC                    AUX4_08 // 39

      #ifndef SD_DETECT_PIN
        #define SD_DETECT_PIN                 -1  // Pin 49 for display SD interface, 72 for easy adapter board
      #endif
      #define KILL_PIN               EXP2_03_PIN // 35

Its also a SPI device so its using
MISO // 50
MOSI // 51
SCK // 52

I also note it says

#define BTN_EN1 22
#define BTN_EN2 7

but pins 22 and 7 are not broken out on the ramps anywhere, so all these pins need checking. They seem to have been incorrectly copied from Rambo controller.



Your probably going to have to reverse engineer the adapter board, work out what pins go where. Start with taking highres pictures of top and bottom of the adapter, hopefully you can see some of the pcb tracks.

Also can I ask you to take some high res photos of the front and back of the display, so I can add the images to this list [marlinfw.org]

Edited 1 time(s). Last edit at 09/15/2024 10:05PM by Dust.
Re: ViKi 2 LCD on Ramps 1.4
September 15, 2024 09:38PM
The page [www.panucatt.com] has a link to "Get Support Files here" that no longer works.
But waybackmachine does have that page [web.archive.org] and shows [web.archive.org] but those links are also gone

By using some tricks I was able to get partial wiring PDF's but they are truncated to 1MB, had to repair them to see anything. But the important ramps stuff is of course missing!

Viki2_Wiring_Diagram_repaired.pdf
Viki2_Wiringv1.2_repaired.pdf

Edited 5 time(s). Last edit at 09/16/2024 12:45AM by Dust.
Re: ViKi 2 LCD on Ramps 1.4
September 15, 2024 09:52PM
I also see this on [github.com] for VIKI2 on ramps...


So noting it here for reference

      #define DOGLCD_CS         32
      #define DOGLCD_A0         47
      #define LCD_SCREEN_ROT_180

      #define BEEPER_PIN        35
      #define STAT_LED_RED_PIN  39
      #define STAT_LED_BLUE_PIN 37

      #define BTN_EN1           45
      #define BTN_EN2           41
      #define BTN_ENC           43

      #define SDSS              53
      #define SD_DETECT_PIN     -1 // Pin 49 for display sd interface
      //#define KILL_PIN          31
Re: ViKi 2 LCD on Ramps 1.4
September 16, 2024 12:08PM
Thankyou for your replies “Dust” I will take a look at Platfomio and the pins suggested.
Re: ViKi 2 LCD on Ramps 1.4
September 17, 2024 11:32AM
Please find attached photos of front/rear of ViKi 2 as requested.
Attachments:
open | download - IMG_0081.jpeg (537.9 KB)
open | download - IMG_0082.jpeg (1.17 MB)
Sorry, only registered users may post in this forum.

Click here to login