ESP8266 GPIO Test (Edited firmware)
- Get the firmware from our wiki page here. edited version based on 00160901.
- Follow the wiring setup for update mode in our old post.
- Use the XTCOM tool to upload the firmware, first connect the port, and select FLASH IMAGE DOWNLOAD, the first flash.bin file should be upload to 0x0000, and second rom.bin should be upload at 0x4000 address (still using flash image download).
- Based on command AT+SETIO, which allow you the set gpio by remote command via TCP/UDP, so AT+SETIO? to check status, AT+SETIO=0 or 1 to disable or enable it, AT+SETIO=? to inquiry the command value (result from 0-1).
- The data from TCP/UDP port is very simple, send data setgpio_xx, in which first x is for GPIO0, second x is for GPIO2, so for example setgpio_01 means GPIO0 value 0, and GPIO2 value1.
- See the demo video below 🙂