Skip to content

Connects to Prusa MK3S or similar and sends LCD contents to Home Assistant.

License

Notifications You must be signed in to change notification settings

the-ress/prusa-lcd-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prusa LCD Reader

Connects to flat ribbon cable no. 1 of Prusa MK3S or similar, listens to LCD communication, and sends the text to Home Assistant.

How it looks

Screenshot of device sensors line 1 to 4 in Home Assistant. Screenshot of a Lovelace card mirroring the LCD.

Rendering of the PCB, front. Rendering of the PCB, back. Photo of the board installed on the printer, underneath the LCD assembly.

Preparing the printer

Get a 10-pin IDC connector and carefully attach it to flat ribbon cable no. 1, approximately where you want the device to go. Make sure the orientation matches the other connectors.

Photo of the ribbon cable with the extra connector attached.

Manufacturing notes

The board design doesn't rely on plated through-holes for the headers. (It still needs some vias though.)

If you have the board manufactured profesionally, add some vias under pad 39 of the ESP for better thermal performance.

Components

  • ESP32-WROOM-32
  • voltage regulator 5V to 3.3V - SOT-233-3 footprint
  • 6 NPN transistors (to protect GPIO from 5V signal) - SOT-23-3 footprint
  • various resistors and capacitors - 0805 footprint
  • 10-pin IDC connector header
  • a reset button (optional)
  • additional pin headers for the initial flashing (optional if you can bodge the connection without them)

Sample ESPHome configuration

external_components:
  - source: github://the-ress/prusa-lcd-reader@main
    components:
      - prusa_lcd

prusa_lcd:
  data_pins:
    - GPIO21
    - GPIO17
    - GPIO22
    - GPIO16
  enable_pin: GPIO19
  rs_pin: GPIO18
  text_sensors:
    - name: "Line 1"
    - name: "Line 2"
    - name: "Line 3"
    - name: "Line 4"

Sample Lovelace card

type: markdown
content: |-
  ```
  {{ states('sensor.printer_lcd_line_1') }}
  {{ states('sensor.printer_lcd_line_2') }}
  {{ states('sensor.printer_lcd_line_3') }}
  {{ states('sensor.printer_lcd_line_4') }}
  ```

Resources

About

Connects to Prusa MK3S or similar and sends LCD contents to Home Assistant.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages