Hi all, I would like to try out a simple project to controll some banks of rgb leds. I want to connect an arduino to a esp8266,.
The wiring should not be a problem but how do I set up the ESP8266 module? I have some old ones so I guess they have got pretty old firmware on and would need to be updated?
Hi, yes but could not see anything relating to setting up the ESP module for use with an arduino, only stand-alone on a ESP8266 itself? In the sketch that I tried to get going (ESP8266_Shield_HardSer) It mentions that the firmware required is AT v0.22 or later - however I’m not sure how to check this or update it?
Any ideas on this? I have ordered a few few ESP8266 modules in the hope that they have the newer firmware on and will just work out of the box? Is it always essential to change the baudrate like it mentions in the header part of the example sketch?
The shield example is for using the esp on the serial lines. Usually they come with the at firmware installed. Flashing them is not really difficult. There are a lot of guides out there.
If you use them with a Uno or other arduino with one serial port ypu can’t use your serial console output, unless you use software serial but that is really slow.
You can check the firmware by hooking the esp tx/rx lines to your serial port. With a console app you should be able to check with AT if the firmware is good. It should respond with OK
Remember there are two types of esp out there. The 01 uses 3v lines and the 12 could be assembled with a regulator so it can handle 5v. So be sure your serial port has the right voltage. Otherwise you can destroy them.
Btw, the default Baud is either 9600 or 115200. You can change it with the AT+CIOBAUD=9600 command.