ESP8266 Developer Zone The Official ESP8266 Forum 2015-04-29T21:11:53+08:00 https://bbs.espressif.com:443/feed.php?f=15&t=422 2015-04-29T21:11:53+08:00 2015-04-29T21:11:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=422&p=1589#p1589 <![CDATA[16 GPIO Output control over TCP connection using MCP23S17]]> 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.

Code:

echo -ne '\xFF\xFF' | nc 192.168.5.1 33333


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

http://www.youtube.com/watch?v=jhxlQObz1GI

Statistics: Posted by metalphreak — Wed Apr 29, 2015 9:11 pm


]]>