-->
Page 1 of 2

GPIO 4 and 5 reversed in ESP-7,12 diagrams

PostPosted: Sat Jan 24, 2015 5:03 pm
by quantalume
Attached are a couple of images widely circulating on the net that show the pinout of the ESP-7 and ESP-12 modules. If you look closely, the module terminal labeled GPIO4 connects to ESP8266 pin 24, while terminal GPIO5 connects to pin 16. This is clearly reversed (see the first schematic in the latest Espressif ESP8266 data sheet). I discovered this by trying to use GPIO4 on an ESP-12 module and finding that GPIO5 was toggling instead. Our wiki also has these erroneous images. I have not discovered any other errors.

ESP-07.png


ESP-12a.png


Edited to add poll

Re: GPIO 4 and 5 reversed in ESP-7,12 diagrams

PostPosted: Sat Jan 24, 2015 5:33 pm
by sej7278
seems to match a couple advertised:

http://www.aliexpress.com/store/product ... 17904.html
http://www.banggood.com/ESP8266-ESP-12-Remote-Serial-Port-WIFI-Transceiver-Wireless-Module-p-964287.html

someone on twitter said it matches the silkscreen they have too, but not tested it.

think we need a few more people to test some boards before saying the images are wrong. it could be just your board, or possibly the firmware. if it is wrong it would explain why they're so cheap - they're all rejects.

Re: GPIO 4 and 5 reversed in ESP-7,12 diagrams

PostPosted: Sat Jan 24, 2015 7:45 pm
by quantalume
It would be nice to know who originally did these PCB layouts that all the Chinese manufacturers seem to be copying. I have seen a few modules on Ali where the traces are the same but the silkscreen has been corrected.

Re: GPIO 4 and 5 reversed in ESP-7,12 diagrams

PostPosted: Sun Jan 25, 2015 11:52 am
by MeNoGeek
My esp-12 is soldered on a 'test plate' which is also labeled like that pic... and it's wrong. The correct order is: TXD, RXD, GPIO5, and then GPIO4.
sej7278 wrote:we need a few more people to test some boards before saying the images are wrong.
Quantalume, can you add a poll to your original post?

EDIT: I just came across this 'Simple ESP8266 wi07-12 SMD to DIP/PTH adapter board', which is a new product from Electrodragon, and if you check the picture...
Electrodragon_ESP8266-12_Wi12-breakout.jpg
...the silkscreen shows GPIOs 5 and 4 in the corrected order.
So, I guess a poll isn't necessary. For me, at least :)