Arduino alternative

Something like the Pi isn't designed for IO. It is meant to be a small computer-on-a-chip kind of thing.

If you want to operate IOs, try to limit yourself to mcus.