Skip to content

Instantly share code, notes, and snippets.

@frdmn
Last active March 16, 2023 15:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frdmn/1bcefbb4f1d2e17c21450abd8869dae3 to your computer and use it in GitHub Desktop.
Save frdmn/1bcefbb4f1d2e17c21450abd8869dae3 to your computer and use it in GitHub Desktop.
Raspberry Pi 4B with Prusa MK3s / Einsy RAMBo headers

Raspberry Pi 4B with Prusa MK3s / Einsy RAMBo headers

The guide below describes how to connect a Raspberry Pi 4B to the Prusa i3 MK3s main board (Einsy RAMBo) board with its builtin RPi headers and an additional step-down / buck converter. The buck converter is necessary, since the Einsy headers do not provide enough amps to power anything bigger than a Raspberry Pi Zero W.

Parts needed

Wiring

Diagram

Pins

Raspberry Pi Einsy RAMBo Step-down
4 +
6 -
8 6
10 8
15 13
16 14

OS configuration

Restore UART0/ttyAMA0 over GPIOs 14 & 15

vi /boot/config.txt
...
[all]
enable_uart=1
dtoverlay=disable-bt

Disable service that initialises UART modem

To avoid interference, disable the hciuart systemd service:

sudo systemctl disable hciuart

OctoPrint configuration

To ensure OctoPrint uses the newly added /dev/ttyAMA0 serial port, go to its settings, navigate to "Serial Connection" → "General" → "Connection" and set "Additional serial ports" to /dev/ttyAMA*.

@k9play
Copy link

k9play commented Mar 16, 2023

What a wonderful recourses thank you so much for sharing

for others in search of knowledge
I ended up needing to do a couple more steps outlined in this guide

https://zaribo.com/blog/raspberry-pi-3-einsy-rambo-rpi-gpio-connection-tutorial/

Now you should enable the RPI port through LCD Menu. Go to Settings/RPi Port on.

Login to Raspberry Pi through SSH.
sudo nano /boot/config.txt
and hit enter. Go to the end of the page and write the text below.
enable_uart=1
dtoverlay=pi3-disable-bt
Press Ctrl + X and press Y and save.

Now we have to enable serial port through configuration. Write
sudo raspi-config
and hit enter. Select 3.Interfacing Options and hit enter.

Then select P6 for Serial Port settings

Answer the questions as follows:
“Would you like a login shell to be accessible over Serial?” Hit no.
“Would you like the serial port hardware to be enabled?” Hit yes.

Hit Finish and it will ask you if you would like to reboot. Hit yes and you can close the Terminal/Putty window now.

Now lastly we are going to add the port on Octoprint interface. Open the Octoprint interface and go to Octoprint Settings/Serial Connection/General
Enter dev/ttyAMA0 into Additional serial ports section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment