Which Board to choose in the config

I have this ESP32 board, but don’t know, what I should use in the config yaml. Can someone help me?

This should work:

esp32:
  board: esp32dev

Except the esp32dev defines ram as 320kB and this board has 440kB.

1 Like

Which would make it?

Dunno, and i’m not sure whether you can override the maximum_ram_size in esphome. You can with the flash_size.

It’ll work with esp32dev, but you won’t get all the ram.

You could try: board: az-delivery-devkit-v4 which is a reasonable match.

board: esp32dev is always a safe bet but as Nick said you may not get full use of all the RAM.

2 Likes

Reasonable in what way? Most of the AZ-delivery boards have far different pinouts than something like an esp32-wroom32.

yes, but the chip and Memory seams to be the same

most esp32 dev boards use the esp32 chip, go figure! The problem is when you select a board in esphome the pins and their functions are already mapped to that specific dev board you choose and those pins dont go to the same gpio pins on the esp32 chip. If it will even allow you to flash the board, most of the internal pin mappings will be different and the AZ-delivery ones, they don’t use standard pin mappings so anything you try to wire to that dev board is going to create a nightmare which isn’t uncommon here.

Source? GPIO numbers on dev boards map directly to GPIO numbers on the ESP32 chip. If it was say a variant like S3, then yeah the pins are different, but a base ESP32 is just that.

Oh, well thank you Mr. Obvious! Yes, obviously the dev board gpio go to a gpio on the esp32 chip, no one said they don’t. What I did say, since you dont seem to comprehend is that how they are mapped are different from 1 dev board to another. Source? go Google it and learn something since you havnt been around this long enough to figure this basic fact out. The esp32 is slapped on many dev boards, Not only do they come in models with different numbers of pins broken out but, they also differ in which internal pin numbers go to which dev board gpio number. This is why there are a couple dozens of esp32 boards to choose from and choosing the correct one matters.

Maybe missing something but I have different esp32 boards and the pins to use are defined in my yaml. I’ve had to find pictures of the boards showing their pin allocation but I only use esp32dev for the board in yaml.