Which ESP32 board I have?

First time I got ESP32 board.

I have the following board and I can't find is datasheet/pin layout online

I don't understand if the GPIO 2 likr in arduino D2 is the "2" on the righthand side or "D2" on the lefthand side . What is the difference between the two?

How about the place that you bought it from?

What is the difference between the two?

D2 is GPIO9

looks like one of the 38pin ESP32 clones

what is written on the back of the PCB?

the pin lablled 2 is probably GPIO2

the pin labelled D2 is probably SD_2 GPIO9

try programming it with the blink example?

It was a gift from a friend, I don't know where he got it from

I try it and there was no blinking. I think no build in led on this board (only power indicator led)

You cannot use D0, D1, D2, D3 for GPIO, they are connected to internal memory.

OK thanks. so no on board "debug" led like arduino uno pin 13?

From your photo, I don't see one.

how to know which ESP32 board to get? there is so many version. Not like arduino that you can mostly either get Uno or Nano....

Depends on your requirements. If you need WiFi then don't buy one that only has BLE. If you need 20 I/Os then don't buy one that only has 5.

looks like I have the identical ESP32 module which only has the power LED

try the following

// Blink a LED - enter pin number via serial monitor
//
// outputs 200mSec square wave to specified pin
//
// start blinking LED_BUILTIN then asks for pin number

int led=13;//LED_BUILTIN;

void setup() {
  Serial.begin(115200);
  Serial.println();
    Serial.print("Led to blink ");
    delay(1000);
    Serial.println(led);
  Serial.println("enter pin number to blink ? ");
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(led, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  if(Serial.available()){
    int i;
    pinMode(led, INPUT);
    if(i=Serial.parseInt()) led=i;;
    Serial.print("Led to blink ");
    Serial.println(led);
    pinMode(led, OUTPUT);
  }
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
  Serial.print('*');
}

which defaults to LED on GPIO13 - the serial monitor displays

Led to blink 13
enter pin number to blink ? 
*********************************

and the LED I have connected to GPIO13 blinks

what do you want to do with the ESP32?

Did you ever have a look what kind of boards Nano family offers?

LoL! That's a bad analogy because there are several types of Uno and even more types of Nano these days!

ESP based Arduino compatible modules come in many shapes and sizes. Which one is best depends on your project. For example if you want to make a very small project powered by battery that needs only a few pins, I can recommend XIAO ESP32-C3

I didn't :sweat_smile: that was probably bad example...

no led blinking. I guess no indicator LED on my board, which is fine.

I got it from I friend, so this setup was only to check it. I build web page to toggle a LED on and off via wifi which is cool.

The datasheet for the ESP32 Wroom D which it states is not recommended for new designs. So it's being phased out.

The pinout looks like it's the same as for a 38-pin devkit, though this devkit PCB appears to be able to host a board with PSRAM on it as well. (but the D doesn't have)

Note that GPIO 6, 7, 8, 9, 10 & 11 are not available to the the user since these are used for external flash.

So why are you asking about which ESP32 board to get, do you have to give this one back?
What do you want to do with the new ESP32?

In the long run I would like to use it in this project I opened a topic about. Probably to send the data of the tree vibration over wifi or other type of communication (ESP now maybe?) . I am not elaborate on this because I need first to experiment with sensors and only then think on the next stage of sending data from remote location. I also don't want to do cross topic

FCC ID site: FCC ID 2A54N-ESP32 - ESP32 Development Board
User Manual: ESP32 ESP32 Development Board User Manual Shenzhen HiLetgo E-Commerce
User Manual, Page 5-5, Figure 5-1 shows "Pin D2" as GPIOP9 and "Pin 2" on "module Pin 24" as GPIOP2.
User Manual shows this as a ESP-WROOM-32