431Views7Replies

Author Options:

What is the Absolute Easiest way to turn an LED on and off with the ESP 8266? Answered

Is there a bare-bones guide to using JUST an ESP 8266 wifi module to blink an LED On and Off?  

I've read my way in circles about GCC and reflasing IoT Firmwares and AT commands... and I'm so confused.  I just want to have it connect to my wifi, and with something simple (go to a web page, send a packet, write a terminal command, whatever), energize a pin.  Do something else, deenergize that pin...

9 Replies

user
TonesB (author)2016-08-09

Have a look at this instructable:

https://www.instructables.com/id/ESP8266-WiFi-Module-for-Dummies

Select as Best AnswerUndo Best Answer

user
AcmeUK (author)2014-12-06

IMPORTANT

In the latest version of the ESP8266 firmware AT+CIOBAUD is no longer supported and returns ERROR.

The replacement command is AT+IPR.

See here for further details :- www.esp8266.com/viewtopic.php?f=13&t=718

Hope this saves someone a bit of time.

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2014-11-16

The easiest software method is Iceng's solution, the easiest hardware solution needs on the board, but a lot of programming of a pretty undocumented system.

Your choice

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2014-11-16

The easiest software method is Iceng's solution, the easiest hardware solution needs on the board, but a lot of programming of a pretty undocumented system.

Your choice

Select as Best AnswerUndo Best Answer

user
iceng (author)2014-11-14

See ......... it's that module needs a uP to set its baud rate and later it expects to get an RS232 signal that it will send to its mate who will pulse out the received RS232 serial bits.

If you pre-set the a the unit or ay be it comes up preset to some baud. Then put an optical detector and send it an RS232 character via a modified TV controller that might work without a $2 uP................

Select as Best AnswerUndo Best Answer

user
iceng (author)iceng2014-11-14

Sorry for the typos it was late, but that might work , you must hate micros.

Select as Best AnswerUndo Best Answer

user
jongscx (author)iceng2014-11-15

No, I don't hate micros. The ESP8266 has a microcontroller IN it and it has 2 GPIO pins open.

Select as Best AnswerUndo Best Answer

user
jongscx (author)iceng2014-11-14

I saw that project, but it still has an external micro. I guess my wording is a bit ambiguous, but I want the easiest way to "use ONLY the esp8266 module to turn something on and off".

Select as Best AnswerUndo Best Answer