Just finished writing my first android app ever. It’s a bit rudimentary but it works 🙂 More to come…
Microchip MCP23S17 SPI GPIO expander connected over the hardware HSPI module.
TCP Listener configured on port 33333. Send it a 2 byte command to turn the outputs on or off.
On Linux/OSX: echo -ne ‘\xFF\xFF’ | nc 192.168.5.1 33333
Could easily be expanded to a project controlling relays, triacs, etc.
Finished off my MCP23S17 library yesterday and tested it tonight. Works great 😀
Up to 8 of these chips can be connected to the same SPI bus (and the same Chip Select pin!) for a total of 128 GPIO.