- Messages
- 20,088
- Location
- Springfield, Missouri
I know a few of you are using Octopi for your 3d printers. A while back I purchased a 5" hdmi touch screen to use with a Raspberry Pi. This weekend I installed the TouchUI plugin on OctoPi and went through configuring it for use with the screen.
https://www.youtube.com/watch?v=Va5EbTQGMxw
Here are the steps I used in setting up a little 5" hdmi touch screen with a Raspberry Pi...
Download Octopi (https://octopi.octoprint.org/) and install to an sd card using Win32DiskImager (if using windows, https://sourceforge.net/projects/win32diskimager/).
Edit octopi-network to setup your wifi settings, be sure to uncomment all lines
Edit the config.txt and add the following lines to the bottom of it for the 5" touch screen ( $25 USD: https://www.amazon.com/gp/product/B072813CS7 see docs at: https://www.waveshare.com/wiki/5inch_HDMI_LCD).
Copy the LCD-show-161112.tar.gz file into the sd card, download first from http://www.waveshare.com/w/upload/4/4b/LCD-show-161112.tar.gz
Boot the pi, login with the default id/password (pi/raspberry)
Change the password using passwd to something only you will know.
Setup the LCD touch drivers, after last command, pi will reboot:
** Do not run the desktop setup script mentioned on the command line once you've logged into the pi.
Open a web browser and go to http://octopi.local and go through the setup wizard, upgrade to the latest version if there is one, and go to plugins and install TouchUI
Go through the setup for TouchUI using instructions for Octopi/Jessie Lite at the link below. It installs a basic set of components needed to run the chrome browser in the touchscreen, installing the full desktop is a lot of overhead and runs slow, even on Pi3:
https://github.com/BillyBlaze/OctoPrint-TouchUI/wiki/Setup:-Boot-to-Browser-(OctoPi-or-Jessie-Light)
Calibrate your screen, helps to use a touch screen pen in the process if you have one:
https://github.com/BillyBlaze/OctoPrint-TouchUI/wiki/Setup:-Troubleshooting#calibration
Should you want to change the host name for octopi, update the following files with the name you wish to use:
Reboot the pi using the following:
Setup a samba share to upload files from windows. Once setup, just use the path \\octopi.local\uploads and save your gcode from your slicer directly to the file system on the pi, refresh the file list there and they appear:
http://www.sublimelayers.com/2016/12/file-sharing-with-octoprint.html
https://www.youtube.com/watch?v=Va5EbTQGMxw
Here are the steps I used in setting up a little 5" hdmi touch screen with a Raspberry Pi...
Download Octopi (https://octopi.octoprint.org/) and install to an sd card using Win32DiskImager (if using windows, https://sourceforge.net/projects/win32diskimager/).
Edit octopi-network to setup your wifi settings, be sure to uncomment all lines
Edit the config.txt and add the following lines to the bottom of it for the 5" touch screen ( $25 USD: https://www.amazon.com/gp/product/B072813CS7 see docs at: https://www.waveshare.com/wiki/5inch_HDMI_LCD).
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1
Copy the LCD-show-161112.tar.gz file into the sd card, download first from http://www.waveshare.com/w/upload/4/4b/LCD-show-161112.tar.gz
Boot the pi, login with the default id/password (pi/raspberry)
Change the password using passwd to something only you will know.
Setup the LCD touch drivers, after last command, pi will reboot:
tar xzvf /boot/LCD-show-*.tar.gz
cd LCD-show/
chmod +x LCD5-show
./LCD5-show
cd LCD-show/
chmod +x LCD5-show
./LCD5-show
** Do not run the desktop setup script mentioned on the command line once you've logged into the pi.
Open a web browser and go to http://octopi.local and go through the setup wizard, upgrade to the latest version if there is one, and go to plugins and install TouchUI
Go through the setup for TouchUI using instructions for Octopi/Jessie Lite at the link below. It installs a basic set of components needed to run the chrome browser in the touchscreen, installing the full desktop is a lot of overhead and runs slow, even on Pi3:
https://github.com/BillyBlaze/OctoPrint-TouchUI/wiki/Setup:-Boot-to-Browser-(OctoPi-or-Jessie-Light)
Calibrate your screen, helps to use a touch screen pen in the process if you have one:
https://github.com/BillyBlaze/OctoPrint-TouchUI/wiki/Setup:-Troubleshooting#calibration
Should you want to change the host name for octopi, update the following files with the name you wish to use:
sudo nano /etc/hosts
sudo nano /etc/hostname
sudo nano /etc/hostname
Reboot the pi using the following:
sudo reboot
Setup a samba share to upload files from windows. Once setup, just use the path \\octopi.local\uploads and save your gcode from your slicer directly to the file system on the pi, refresh the file list there and they appear:
http://www.sublimelayers.com/2016/12/file-sharing-with-octoprint.html