Loading Octoprint + Octodash into a Raspberry Pi

Loading Octoprint + Octodash into a Raspberry Pi

Using the "Raspberry Pi Imager" to load the initial OctoPrint Operating system.
In the "Raspberry Pi Imager", choose your version of Raspbery Pi, mine were Raspberry Pi 3B and 4 all worked OK.
To choose the Operating system, scroll down and select " Other Specific-Purpose OS" and press "Enter"
Then "Select 3D Printing" and press "Enter"
The find "OctoPrint" and press "Enter", it may take a little while to show up as it getts the latest info from the net.
Then select the version of "OctoPrint" , I selected the stable version.
Then select the "Choose Storage" and press "Enter".
It will now ask it you want to customise the config file, like you WiFi SSID etc
I made the HOSTNAME to "OctoPrint"
Make sure you enable the SSH on the "Services" Tab. otherwise you won't be able to talk to the Raspberry Pi later for setup.

Now press "Next" and it will load the image to the SD card and verify it.

After it is finished, put the card into the Raspberry Pi with the 5 inch HDMI screen and power it up.
The Raspberry Pi will use the WiFi setup or Ehternet cable to load the data from the net it needs
This process takes a little while.
When the LEDS on the Raspberry Pi is steady, then it is all loaded and waiting,

Now find the IP address of the Raspberry Pi using an IP scanner or your Internet Modem.

With the "Putty Terminal", (or what ever SSH program you use) insert the IP address of the Raspberry Pi that can be and login to the raspberry Pi
Now update the Raspberry Pi Operating System.
Do this to Update the operating system -- This take quite a while--

sudo apt-get update && sudo apt-get upgrade --yes

It will ask for the password to do this, do this and press ENTER and it will update
then reboot the raspberry pi --

sudo reboot

It will chuck you off the "Putty Terminal" so you you will have to start
the "Putty Terminal" again with the same IP address.

Again, with the "Putty Terminal", insert the IP address of the Raspberry Pi that can be and login to the raspberry Pi

Install OctoDash by putting in this command below -- this take a long time so sit back and wait
bash <(wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/install.sh)
I installed all plug ins and said yes to all like CORS, etc
the above takes some time ...
It will ask you if you want to reboot the Raspberry Pi, say Yes.

This will get the OctoPrint and OctoDash working -- BUT the 5 in screen will not have the TOUCH screen part working
To get this part working - do this.

Again, with the "Putty Terminal", insert the IP address of the Raspberry Pi that can be and login to the raspberry Pi
edit the config file by the follow command

sudo nano /boot/config.txt

scroll to the last line and copy and paste the extra line into the config file to get the touch screen to touch ok

put this in the config for the 5 inch screen
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900

(If you have the 7 inch screen, use this command below)
put this in the config for the 7 inch screen
dtoverlay=rpi-ft5406,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900

On your browser, put in the IP address that you used for the "Putty Terminal" and the browser should show the "OctoPrint" page.
Now follow the promps on the Raspberry Pi setup to get "OctoDash" to talk to the "OctoPrint" by putting in the API.

Now, plug the USB from the Raspberry PI unit into your printer and you should be all up and running..

Pretty sure this will be dependent on the type of screen you have.

My 5 inch screen is HDMI Display 800x400 Pixel XPT2046 and the 7 inch is in its mount so can't readily get the numbers. Cheers

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.