PC + FT232H as GPIO for plugins?

What is the problem?
So I'm trying to run OctoPrint on a laptop I have lying around, and eventually build a cheap PC for it since I'm noticing a big difference in print quality after switching from my RPi4 (4gb RAM). My only issue is that now the plugins I used to use for my LEDs and Emergency Stop button used the GPIO on the Pi, which, obviously, a computer does not have. I'm wondering if I can somehow use the Adafruit FT232H board I have also lying around to add GPIO to the PC. Not sure if this would require redoing each plugin individually to utilize the new GPIO implementation, or if it might be any bit easier than that?

What did you already try to solve it?
Not much, wondering if anybody has experience with similar situations before I just start winging it.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, what kind of hardware precisely, ...)
RPi 4 4GB w latest OctoPi
Lenovo Thinkpad Edge i3 w/ 4 or 8GB RAM (not a fantastic laptop by any means) w/ latest OctoPrint
Adafruit FT232H Breakout Board
Plugins in question:
Emergency Stop Simplified
RGB Status

CR-10 w/ Stock Mainboard w/ Custom Marlin 2.0 (for now, will be upgrading to SKR 1.4 Turbo as soon as it arrives in the mail)

Iss ja witzig. Ă„hnliche Ăśberlegungen habe ich auch.

Meine bisherige Recherche:

Beschreibung/Anwendung mit Adafruitprodukten: https://learn.adafruit.com/circuitpython-on-any-computer-with-ft232h
@bepstein have you seen this?

Na ja und der PC, den ich verwenden möchte, ist ein Fujitsu FUTRO S550. FUTRO Datenblatt

Bisheriger Projektname fĂĽr meine Ăśberlegungen "FutrOcto". :grinning:
Ein Prototype läuft bereits mit UBUNTUserver 20.x, Octoprint und einer MS LifeCam HD-3000, der einen FLSun QQ-S pro steuern soll.

Denkbar sollte der Anschluß und Auswertung verschiedenster Sensoren (I²C, SPI) an den FutrOcto sein.

Integration in die Octoprintumgebung sollte rel. einfach sein, da auch Pyton. Allerdings bin ich kein Coder und habe im Umgang mit Programmzeilen 2 linke Hände.



1 Like


More Brainfood rund um den FTDI FT2x: Installing pyftdi on Ubuntu 18.04 for FT232H and FT2232H boards


A serial port usually has at least 1 in and 1 out (CTS etc.) which I guess Python on a PC should be able to access.

Perhaps thats what the German guy posted according to google "Iss ja witzig. Ă„hnliche Ăśberlegungen habe ich auch." means "Eat funny. I have similar thoughts." so I guess the translation may not be word perfect

"since I'm noticing a big difference in print quality after switching from my RPi4" Any chance of more details?

1 Like

What do you mean?

Does this have anything to do with the incoming posting?
I am using https://www.deepl.com/ to translate


No Nordrunner, that was a question to the original poster, bepstein.

Wow i thought this topic was deadzo! I was noticing that on small circles, the printer would occasionally pause before continuing on, sometimes for up for 10 seconds. After switching to a PC, the problem went away. Been great ever since. @Nordrunner inspired me to begin working on a plugin today, although I have no experience with it whatsoever. I got as far as implementing the settings page and building the package, but now I'm stuck on actually activating the e-stop. I can read the state of the button just fine via digitalio. Any assistance would be super appreciated!

1 Like

Eyes on you! :grin:

I have this module

Hint: https://learn.adafruit.com/circuitpython-on-any-computer-with-ft232h/gpio#digital-input-3041149-18