16 GPIO Output control over TCP connection using MCP23S17
Posted: Wed Apr 29, 2015 8:11 am
https://github.com/MetalPhreak/ESP8266_ ... CP_Example
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.
Could easily be expanded to a project controlling relays, triacs, etc.
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.
Code: Select all
echo -ne '\xFF\xFF' | nc 192.168.5.1 33333
Could easily be expanded to a project controlling relays, triacs, etc.