ESP8266 GPIO Test (Edited firmware)
To use Update date to now firmware, at commands V1.5:
download at commands 1.5V here, if you use 1MB flash for esp-01s or 4MB for esp-12F, etc, etc. can use the combined bin.
https://github.com/Edragon/esp_firmware/tree/master/AT
Also at commands instruction inside, has GPIO function, need this three.
AT+SYSIOSETCFG=13,3,1
AT+SYSGPIODIR=13,1
AT+SYSGPIOWRITE=13,1
— The following content is obsolete, not necessary —
- 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 🙂
Comments (20)
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 ?
The Real Person!
The Real Person!
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.
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.
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 ?
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
The Real Person!
The Real Person!
Hi Jopapa,
It is a very demo version only to show it can work .. sorry for the bugs, new version maybe available later, working in progress.
Thank you very much for your answer.
Jopapa
[…] specs, descriptions, etc, by Nurdsape Firmware that lets you easily control the GPIO0 and GPIO2 pins, by Electrodragon ESP8266 community GitHub space. Web server example, Arduino example, bcc compiler and code examples […]
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
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
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 😀
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
The Real Person!
The Real Person!
Hi Nelson,
Please try IoT demo, GPIO function: https://www.electrodragon.com/w/ESP8266_IoT
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!
Hi
When i plug my adaptors or phone charge
Esp8266 is restarting why?
Arc is problem for esp8266 so i cant use relay with esp8266
that’s why the freewheeling diodes are used!
Hello Chao
I can not find your firmware ESP8266 GPIO Test on your wiki page. Where could I find it.
thank you in advance
Alain
Hi, have a standard AT version here – https://github.com/Edragon/esp_firmware/tree/master/AT. You can try latest version espressif website. But I am not sure if these versions support at commands to control GPIO.
Thanks
Hi, download at commands 1.5V here, if you use 1MB flash can use the combined bin.
https://github.com/Edragon/esp_firmware/tree/master/AT
Also at commands instruction inside, has GPIO function, need this three.
AT+SYSIOSETCFG=13,3,1
AT+SYSGPIODIR=13,1
AT+SYSGPIOWRITE=13,1