ESP8266 16 GPIO Output control over TCP connection using MCP23S17

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 33333

Could easily be expanded to a project controlling relays, triacs, etc.

Posted in Electronics, ESP8266 and tagged , , , , , , , .

Leave a Reply

Your email address will not be published. Required fields are marked *