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 🙂

16 thoughts on “ESP8266 GPIO Test (Edited firmware)

  1. Angel Centeno

    I try out this example but when ever i load the Flash.bin the module turn on the blue led and keep sendin a bunch of extrange character trouth the com port, so its not working do you have a diferent set of firmware ?

    Reply
    • Chao Post author

      Hello Angel,

      This firmware is tested and will work fine, it is the not working well, double check the settings and flash it again, sometimes it doesn’t work when flash not update well.

      Reply
  2. Nigel Beaumont

    Hi,

    You say:

    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).

    The 0x0000 is unimportant but the 0x4000 should be 0x40000

    All the best…

    Nigel.

    Reply
  3. Jannik

    I can turn the gpios On and off using the AT command, but when I try to do it remotely, I can only turn it off..
    Any idea ?

    Reply
  4. Joaquin Paredes

    The firmware works ok, but there is a serious problem that losing power the system does not connect anymore. Resend the configuration is necessary. CIPMUX, CIPSERVER and SETIO.
    I’m using app “TCP Client” (for Android) and Putty for PC.
    Any solution?
    Congratulations on your work
    Jopapa
    Spain

    Reply
  5. Pingback: ESP8266 based web configurable wifi general purpose control | Horacio Bouzas

  6. Ömer ANAR

    Thank u so much and sorry my English 😀

    Can you share firmware files and flasher.exe ?
    i can upload neomcu files (success)
    i can upload 9.2.2 files (success)
    but when i try uploading gpio firmware files there is no understandable respond from arduino serial monitor

    Reply
    • Ömer ANAR

      Hey i have solved my issue but i have a new one 😀
      my question is if the power down, what can i do ?

      do i write a CIPMUX=1 CIPSERVER=1,9999 again and again ?
      i dont want to use an other microcontroller i want only esp2866 how can i do this

      Thank u very much

      Reply
      • Ömer ANAR

        i got it i can write a “c file” and compile it and burn it for making 0x00000.bin and 0x400000.bin files and i can uploading to esp8266

        Thanks for ur help 😀

        Reply
  7. Nelson Secchi

    Hi all! I finally got my hands on the ESP8266 board and I was wondering if it’s possible to have the module act as a WiFi controlled switch. I am think about using it for controlling electronic appliances over the network, and to also query values. Can the ESP8266 do all of this without any additional processor? If so, is there a tutorial or an example I can follow to do this?

    Thank you for reading! I appreciate your input!

    Best Regards

    Reply
    • Nelson Secchi

      Hi Chao! Thanks!

      I think this is what I need!

      Am I correct to assume that I need an SDK or a set of files and I need to compile my own image? Will that image end up being a .bin file that I have to flash on the device?

      Best Regards!

      Reply

Leave a Reply

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