OctoPi GPIO Hat for Sidewinder?

I have been thinking about designing a Raspberry Pi hat for the past week or two. I currently use OctoPi (OctoPrint) for controlling my printer, while I am still learning about the printer in general. As I use OctoPi, I lose the filament sensor as it is connected to the TFT28. So my idea of the hat would have the following:

-Integrated 24v to 5v Buck converter (power for devices)

-NeoPixel header

-Filament sensor header w/ TFT pass though

-Power out to TFT Screen w/ kill switch for easier flashing

-Ambient Temp Sensor

-Humidity Sensor

These are just some of the ideas I had. Though I am trying to think about the following issues:

1) If I power the Pi via the GPIO, then when I shut off power to my printer via the WEMO plugin, my PI will lose power and not gracefully. So I might have to look at powering it externally and have a jumper to allow for using the +5v from the buck converter or via USB.

2) Connecting to the main board would require USB or via GPIO serial. I would like to attach it via Serial if the Pi is located internally. Need to look into potential conflicts with the TFT over serial.

I am still thinking about the technical issues or if anyone has any suggestions of features, thoughts, or corrections, please chime in. :)

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular


    I have the pi mounted (below the power supply in that picture) and I am using the neopixel power using the 5V power from the SKR power module.   It's plugged into the USB instead of the GPIO.   I also have a microsd card extension to the front so I don't have to take off the case to flash firmware.   Is that something that is inline with what you are thinking?

  • A relay would be nice.  Maybe a solid state one.  I've built several of these boxes and a Pi hat with a relay would simplify it a bit. (This is an old photo. I use Pi 3's now and I'm redesigning the case for the Pi 4.)

    • bothandneither That's pretty cool!  Probably ideal for running Klipper? 

      I'm trying to wrap my mind around how this works.  It says the RPi drives the motors directly so I don't know where Marlin figures out in all this.  I downloaded the PandaPi image just out of curiosity.

Like3 Follow
  • 3 wk agoLast active
  • 4Replies
  • 51Views
  • 4 Following