And if the wifi does all of the heavy lifting, presumably the processor doing all of the protocol work has much more memory and speed than the spark does, and it might be better to do any embedded programming on that chip.
Hello Michael,
that is the problem of the most WiFi solutions: either its only a NIC (like all the very cheap tiny USB adapters), in that case you need a powerful CPU to handle the protocol stack. The other solutions are embedded devices, which handle the stack, do all (or most) configuration work (via web-browsers), but they have no GPIO pins (otherwise you would be totally right).
There is one interesting thread going on about devices called "HAME A1" or "HAME A2", which are available as mobile ethernet, wifi and G3/G4 mobile internet-router. They are available about $20-$35 and they seem to have some GPIO...
https://forum.openwrt.org/viewtopic.php?id=37002&p=4 In the "A2" version, the enclosed 5200 Ah LiPo would be also the perfect base for mobile digispark solutions!
If you need it smaller, than the Transcend WIFI SD-card may be an option:
https://forum.openwrt.org/viewtopic.php?id=45820, Here you will get in addition to an WIFI enabled linux system 16 to 32GB of memory for the same money, adafruit calls for the CC3000 wifi shield!
Up to today I found no cheap wifi solution, which has 5 to 10 GPIO pins. However the two examples above are showing, that there are devices on the market, which are cheap, small and low power consuming.
Arduino started with the yun a standard sized wireless arduino board, also following the shared cpu concept. There is for sure an market for much smaller devices with similar possibilities. Wifi has several advantages over NFC (which has for sure its own use cases).
So I think, that an digispark pro with wifi shield, which will be smaller and cheaper than the yun, would be the perfect solution for many small projects, where you wish to control some devices over WLAN.
Regards
gogol