Page 1 of 1
Unique Serial numbers and QR code
Posted: Wed Jan 19, 2022 11:11 pm
by djoshi
Hi
Does all ESP32 module have a unique serial number where we can use to pre register the the device on to our database?
There is a QR code on the device, what is the purpose of that?
I seems this QR code is identical among multiple devices or at least the device I have.
Re: Unique Serial numbers and QR code
Posted: Thu Jan 20, 2022 1:20 am
by ESP_Sprite
The MAC address is guaranteed to be unique; you could use that.
I don't know about a QR code; what device specifically are you talking about?
Re: Unique Serial numbers and QR code
Posted: Thu Jan 20, 2022 1:27 am
by djoshi
QR code on the ESP32 module.
Re: Unique Serial numbers and QR code
Posted: Thu Jan 20, 2022 4:24 am
by ESP_Sprite
Ah, I think that's actually a different type of 2d barcode. According to
this, the MAC address is encoded into that (at least on newer modules), and from the random module I grabbed I can confirm the last 12 characters of the string the barcode decodes to is indeed the MAC address.
Re: Unique Serial numbers and QR code
Posted: Thu Jan 20, 2022 9:19 am
by djoshi
I got two modules, which when i use my mobile phone to scan the code are outputting the same results which is
0532042018040028018160004138ESP0V203
0532042018040028018160004138ESP0V203
Does this seems correct?
Re: Unique Serial numbers and QR code
Posted: Fri Jan 21, 2022 2:14 am
by ESP_Sprite
That doesn't look like a code of any module I know of (but then again, I don't generally make it my business to know of every single module, so who knows.) Can you post a picture of the module?
Re: Unique Serial numbers and QR code
Posted: Sat Jan 22, 2022 9:01 pm
by djoshi
This is the module
- 1642884407052.jpg (822.2 KiB) Viewed 10388 times
How do your normally register a device onto a DB prior to a device joining your network or being give to a customer.
Re: Unique Serial numbers and QR code
Posted: Sun Jan 23, 2022 2:04 am
by ESP_Sprite
The Wrover-D is an older module... might be that it's made before they added the MAC to the qr-code.
I would imagine most manufacturers would register the MAC either during the stage where their product is factory-tested and flashed with the actual program, or they don't bother and let the device send the MAC when it's deployed at the customer site and contacts the manufacturers servers.