OctoPrint: Waveshare LCD + Raspberry PI 4

Leave a comment

August 11, 2020 by aubreykloppers

NOTE: DO NOT UPDATE RASPBERRY PI OS UNLESS YOU KNOW THE UPDATE TO WORK. AS OF TODAY (11/08/2020) THE UPDATING OF THE OS MAKES THE LCD USELESS

Getting OctoPrint on a Raspberry Pi 4b working is easy, getting a cheap chinx Touch Screen LCD (WaveShare 3.5″ touch LCD) working, is another story. Here follows my endeavors and recipe:

  • Flash with OctoPi 0.17.0 image
  • Burn to SD using Etcher
  • Edit the “config.txt” file on the root of the SD Card with Notepad and add:
dtoverlay=piscreen,speed=16000000,rotate=90
# dtoverlay=ads7846,speed=500000,penirq=17,swapxy=1
  • Assemble the LCD/RPi and boot.
  • Open OctaPrint web-page and update.
  • Install Plugin TouchUI
  • Install LCD-show:
  # git clone https://github.com/waveshare/LCD-show.git
  # cd LCD-show/
  # ./LCD35C-show
  # git clone https://github.com/BillyBlaze/OctoPrint-TouchUI-autostart.git ~/TouchUI-autostart/
  # sudo ~/TouchUI-autostart/helpers/install
  # sudo vi /etc/default/touchui
	DISABLE_SCREENSAVER=true
  # sudo reboot

This should give a fully working Raspberry PI with a TouchScreen.

Links:

Final note: I have been able to run a Logitec Webcamera (a really old ball-type, not supported) with the following commands:

# sudo apt install fswebcam
# sudo usermod -a -G video pi

http://<IP>/webcam/?action=stream

I was also able to access the camera through OctoPrint…

Link:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: