Hacker News new | ask | show | jobs
by PorciiVorbesc 20 days ago
Most likely he doesn't use GPIO, if it's just a tailscale/pi-hole client or something like that.

If you REALLY need GPIO then just add a USB-C OTG MCU board like a ESP32, or even the ancient Arduino Uno works as USB GPIO via serial TTY on Android.

Or just use a ESP32 by itself, if you don't need a full Linux OS, just to toggle some GPIO pins via the internet.

Possibilities are endless. Just use your imagination, or ask some LLM.

1 comments

How to control the gpio?
Several methods. You can run a MQTT server, Lightweight HTTP Server or even just serial over USB. Literally the world is your oyster. Extra special points if you do HTTP over ethernet
Flash the MCU with a program that takes a text protocol over the UART from the host and uses it to control its GPIOs