4 ms·
Yes, if you actually do need GPIO, you can still just attach something external unless you need close-to-realtime reactions or high bandwidth. MCP2221A breakou
by echoangle 2y ago
Yes, if you actually do need GPIO, you can still just attach something external unless you need close-to-realtime reactions or high bandwidth.
MCP2221A breakout boards seem to be relatively expensive though (about $10?), my ugly solution would be something like an ESP32 receiving commands over Serial and setting its GPIO pins. Very overkill and a waste of a very capable chip, but ESP32 start at $1.50 or so, that’s hard to beat.
- hggigg 2y agoGood idea with the ESP32. As for the MCP2221A boards, there's a fresh supply of them for under $5 from China and they just work out of the box on Linux with off the shelf python library so no having to futz with the brains of the ESP32.