ricaun / ArduinoUniqueID

Arduino Library to gets the Manufacture Serial Number from the Atmel AVR, SAM, SAMD, STM32, and ESP Microcontroller.
MIT License
222 stars 50 forks source link

No guarantee for uniqueness on Arduino Nano #2

Closed c7h closed 4 years ago

c7h commented 5 years ago

I tested in with a bunch of cheap chinese arduino nanos (Atmega328pb) and 2 of them resulted have the same UUID.

ricaun commented 5 years ago

That's strange... I have 10 atmega328pb and all have different IDs. What board are you selecting? Could you share the ID, should have 10 bytes! See ya!

ricaun commented 4 years ago

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.

Please reopen if you still encounter this issue.

Thank you!

zhekaus commented 3 years ago

I've got a big package of arduino nano which have the same unique id too. So, I can't relay on this way.

ricaun commented 3 years ago

Your Arduino nano (ATMEGA328P) could be a counterfeit microcontroller.

If you are buying from an unofficial seller your chip is not guaranteed is real atmega328p.

https://youtu.be/eeDC1m7ANJI

The library uses the same technique like the video.

zhekaus commented 3 years ago

Of course these nanos are all counterfeit. Most of arduino in the world are clones. However, they work well.

ricaun commented 3 years ago

The board yes it's open-source no problem, but the MCU could be counterfeit and that's could be the problem.