-->
Page 1 of 1

Use sole ESP01 with NONOS SDK to control GPIO's

PostPosted: Sat Jun 10, 2017 5:43 pm
by MrMU
Is it possible to control (read/write) GPIO's with nothing else than the ESP01 (with the latest NONOS SDK)?

I can control the GPIO when the ESP01 is connected via a serial port (via USB on my computer). But is it possible to control these GPIO's with nothing else than the ESP01 (no microcontroler) via WIFI?

In the official SDK release note I can't find any word of how to use these GPIO via WIFI commands (AT commands).
I just want to send a command on which the ESP01 sends back a signal if the action was success or failed.

Does this exist or do I need to set up a "homepage" for the server?..

Re: Use sole ESP01 with NONOS SDK to control GPIO's

PostPosted: Mon Jun 12, 2017 7:01 pm
by atexit8
I can't find an AT command to control the GPIO0 and GPIO2 pins.
Looks like you would need the ESP8266 Core for Arduino firmware

Re: Use sole ESP01 with NONOS SDK to control GPIO's

PostPosted: Mon Jun 12, 2017 7:23 pm
by QuickFix
You can use AT+SYSGPIOREAD and AT+SYSGPIOWRITE (use AT+SYSGPIODIR to set the direction of the ports) to read and write to GPIO-pins using AT-commands, but whether this works through WiFi, I doubt it.

I'm with atexit8 and don't think using AT-commands is the best way to go (if even possible). :?

Re: Use sole ESP01 with NONOS SDK to control GPIO's

PostPosted: Tue Jun 13, 2017 3:28 pm
by atexit8
QuickFix wrote:You can use AT+SYSGPIOREAD and AT+SYSGPIOWRITE (use AT+SYSGPIODIR to set the direction of the ports) to read and write to GPIO-pins using AT-commands, but whether this works through WiFi, I doubt it.

I'm with atexit8 and don't think using AT-commands is the best way to go (if even possible). :?


It looks like quite a few more AT commands were added.
I had an older version of the AT commands documentation.
https://espressif.com/sites/default/files/documentation/4a-esp8266_at_instruction_set_en.pdf documents v2.1.0 AT commands which is the newest.

It may be worth it to give it a try to see if AT commands to control the GPIO pins work.