Want to run Klipper on your Neptune 3 Pro? And still want to be able to use your Neptune 3 Pro LCD touch screen?
Take a look at this python service for the Elegoo Neptune 3 Pro LCD! Running together with Klipper3d and Moonraker!
- An Elegoo Neptune 3 Pro with LCD screen.
- A Raspberry Pi or similar SBC to run Klipper. I suggest using the Klipper Installation And Update Helper (KIAUH) to setup and install Klipper, Moonraker and the web user interface of choice (Fluidd/Mainsail).
- Some re-wiring of the LCD screen to connect it to one of the UARTs available on your Raspberry Pi / SBC or through a USB to UART converter.
- Then you can follow this guide to enable your Neptune 3 Pro touch screen!
When wiring your screen, you can either wire it directly to one of your Raspberry Pi / SBC available UARTs or through a USB to UART converter. Both options are described below.
-
Remove the back-cover of the LCD by unscrewing the four screws.
-
Connect the LCD to the Raspberry Pi UART according to the table below:
Raspberry Pi LCD Pin 4 (5V) 5V (Black wire) Pin 6 (GND) GND (Red wire) GPIO 14 (TXD) RX (Green wire) GPIO 15 (RXD) TX (Yellow wire)
Quite simple, just remember to cross RX and TX on the LCD and the USB/UART HW.
| USB <-> UART HW | LCD |
|---|---|
| 5V | 5V (Black wire) |
| GND | GND (Red wire) |
| TXD | RX (Green wire) |
| RXD | TX (Yellow wire) |
- Copy the LCD screen firmware
LCD/20240129.tftto the root of a FAT32 formatted micro-SD card. - Make sure the LCD screen is powered off.
- Insert the micro-SD card into the LCD screens SD card holder. Back-cover needs to be removed.
- Power on the LCD screen and wait for screen to say
Update Successed!
A more detailed guide on LCD firmware updates can be found on the Elegoo support page.
Note: You can safely skip this section if you wired the display through a USB to UART converter
By default, the primary UART is assigned to the Linux console. If you wish to use the primary UART for other purposes, you must reconfigure Raspberry Pi OS. This can be done by using raspi-config:
- Start raspi-config:
sudo raspi-config. - Select option 3 - Interface Options.
- Select option P6 - Serial Port.
- At the prompt Would you like a login shell to be accessible over serial? answer 'No'
- At the prompt Would you like the serial port hardware to be enabled? answer 'Yes'
- Exit raspi-config and reboot the Pi for changes to take effect.
For full instructions on how to use Device Tree overlays see this page.
In brief, add a line to the /boot/config.txt file to apply a Device Tree overlay.
dtoverlay=disable-bt
SSH into your Raspberry Pi (or other SBC), then follow the steps below.
Check that Klipper was started with a UNIX socket:
cat ~/printer_data/systemd/klipper.envKLIPPER_ARGS must include:
-a /home/<user>/printer_data/comms/klippy.sock
sudo apt-get update
sudo apt-get install -y python3 python3-venv python3-pip git rsyncIf you want to run containerized tests (make test-container), also install Podman:
sudo apt-get install -y podmangit clone https://github.com/ImpBY/KlipperLCD.git
cd KlipperLCDService/runtime settings are read from:
~/.config/KlipperLCD/service.env
Create/update this file from template:
make configKey variables:
KLIPPERLCD_LCD_PORT(for USB-UART typically/dev/ttyUSB0)KLIPPERLCD_LCD_BAUDRATEKLIPPERLCD_KLIPPY_SOCKKLIPPERLCD_MOONRAKER_URL(host or IP only, withouthttp://)KLIPPERLCD_API_KEYKLIPPERLCD_UPDATE_INTERVALKLIPPERLCD_LOG_LEVEL
Notes:
- The current implementation connects to Moonraker on port
80internally, soKLIPPERLCD_MOONRAKER_URLshould resolve to a host where Moonraker is reachable on port80. - Keep
KLIPPERLCD_API_KEYsynchronized with your Moonraker API key.
make installThis command:
- creates service venv (
~/<repo-dir-name>-venv, for this repo:~/KlipperLCD-venv), - installs package and dependencies,
- uses service config from
~/.config/<repo-dir-name>/service.env(for this repo:~/.config/KlipperLCD/service.env), - generates
/etc/systemd/system/<repo-dir-name>.servicefromservice.template(for this repo:/etc/systemd/system/KlipperLCD.service), - enables and starts the service.
make upgrade # reinstall package + restart service
make uninstall # disable service + remove unit/venvmake venv
source .venv/bin/activate
python3 main.py
# or, after venv install:
klipperlcdLocal test run in repository venv:
make testContainerized test run with Podman:
make test-containerCurrent test modules:
tests/test_app_logic.py(application event routing, thumbnail flow, env parsing)tests/test_lcd_logic.py(LCD handlers, file navigation/selection, UI-side events)tests/test_printer_logic.py(printer command formatting, REST/GCode routing, progress math)
Show available commands any time:
make helpThe console is enabled by default and can be accessed by clicking center top of the main screen or by clicking the thumbnail area while printing.
The console enables sending commands and will display all gcode responses and information from Klipper normally found in the console tab in Mainsail or Fluidd.
KlipperLCD also supports thumbnails!
Follow this guide to enable thumbnails in your slicer: https://klipperscreen.readthedocs.io/en/latest/Thumbnails/


