Arduino IDE pins on ESP modules

208 views
Skip to first unread message

Marko S

unread,
Dec 15, 2015, 5:32:10 AM12/15/15
to souliss
When I see in arduino sketches for esp the pin definitions for example: #define DHTPIN 3 ,  how do I know which pin is this number 3 on the ESP.
I'm planning to first use ESP-201 so please keep it in mind. Here are pictures, I'm confused especially on second pictures since those numbers dont correspond to GPIO numbers:



Domenico Carvetta

unread,
Dec 15, 2015, 6:25:54 AM12/15/15
to souliss
For ESP, pls use as follows:

#define DHTPIN 13

Domenico Carvetta

unread,
Dec 15, 2015, 6:27:38 AM12/15/15
to souliss
and connect it to GPIO13 (on the right side, from the top just below the GPIO15).

Marko S

unread,
Dec 15, 2015, 11:34:42 AM12/15/15
to souliss
So in arduino ide for example pin 4 is on ESP GPIO4,
and in arduino ide pin 14 is on ESP GPIO14?

Dne torek, 15. december 2015 12.27.38 UTC+1 je oseba Domenico Carvetta napisala:

Electroguard

unread,
Dec 15, 2015, 12:43:21 PM12/15/15
to souliss
Pins specify GPIO rather physical device pin numbers because of the large variation of ESP and Arduino packages that are available.

Confusion has been caused by poor quality control resulting in several ESP variants and modules being badly, or even incorrectly, labelled... which is the case with your ESP-201 and Serial Dev Kit modules (the first is bad, the second has errors).

Marko S

unread,
Dec 15, 2015, 12:58:56 PM12/15/15
to souliss
Thanks..But I've read that ESP201 has quite good reviews: http://blog.squix.ch/2015/02/esp8266-esp-201-breakout-board-review.html

Dne torek, 15. december 2015 18.43.21 UTC+1 je oseba Electroguard napisala:

Marko S

unread,
Dec 15, 2015, 1:12:46 PM12/15/15
to souliss
Are you reffering that its labeled on the bottom side which you normally don't see when breadboarding :). yeah that was a mistake from their part lol

Dne torek, 15. december 2015 18.58.56 UTC+1 je oseba Marko S napisala:

Electroguard

unread,
Dec 15, 2015, 2:02:10 PM12/15/15
to souliss
No, I'm referring to the fact that some guy needed to do that ESP-201 pin reference you are using and give it the 2 outside blue columns to clarify things like ADC which are labelled differently on the module (inner grey columns).

Marko S

unread,
Dec 15, 2015, 2:07:14 PM12/15/15
to souliss
I've read somewhere that those GPIOS on the left side can't be used...Dunno if thats correct or not..

Dne torek, 15. december 2015 20.02.10 UTC+1 je oseba Electroguard napisala:

Marko S

unread,
Dec 15, 2015, 2:07:44 PM12/15/15
to souliss
Well besides GPIO4. which is not mentioned..

Dne torek, 15. december 2015 20.07.14 UTC+1 je oseba Marko S napisala:
Reply all
Reply to author
Forward
0 new messages