Unique Module ID?

jgbkhs
Posts: 6
Joined: Tue Jul 18, 2023 1:38 pm

Unique Module ID?

Postby jgbkhs » Wed May 22, 2024 4:41 pm

I'm hoping to be able to distinguish between multiple versions of ESP32 modules (ESP32-WROVER-32D, ESP32-WROOM-xx etc).
Are there any memory locations or parameters which can be used to identify these, like a hardware UID?
I'm aware of MAC addresses and the external flash hardware ID's but I don't think these are sufficient to actually differentiate.

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: Unique Module ID?

Postby ESP_Sprite » Thu May 23, 2024 1:52 am

The MAC address is by definition unique, but I don't think it maps 1-to-1 to the module type; you'd need to keep a database or something with the mappings if you want to use that. I don't think the module type is recorded anywhere within the eFuse range or something, but you could deduce it from the hardware available (e.g. you could enable psram, allow it to fail if not found in menuconfig, then see if you can allocate memory there to see if you're on a Wrover.)

Who is online

Users browsing this forum: No registered users and 192 guests