ArduinoUniqueID
Arduino Library to gets the Manufacture Serial Number from the Atmel AVR, SAM, SAMD, STM32, and ESP Microcontroller.
Install / Use
/learn @ricaun/ArduinoUniqueIDREADME
ArduinoUniqueID
This Library gets the Unique ID / Manufacture Serial Number from the Atmel AVR, SAM, SAMD, STM32, and ESP Microcontroller.
Microcontrollers
ArduinoUniqueID supports the Microcontrollers.
- Atmel AVR -
Not Unique Disclaimer - Atmel SAM ARM
- Atmel SAMD ARM
- STM32
- Espressif ESP
- Teensy
- Raspberry Pi Pico - RP2040
Installation
- Install the library by Using the Library Manager
- OR by Importing the .zip library using either the master or one of the releases ZIP files.
Examples
The library comes with examples. After installing the library you need to restart the Arduino IDE before they can be found under File > Examples > ArduinoUniqueID.
Reference
Include Library
#include <ArduinoUniqueID.h>
Variable: UniqueID & UniqueIDsize
UniqueID has UniqueIDsize bytes array of the Unique Serial ID.
for(size_t i = 0; i < UniqueIDsize; i++)
Serial.println(UniqueID[i], HEX);
Method: UniqueIDdump
Print the hexadecimal bytes of the Unique Serial ID on the Stream.
void UniqueIDdump(Stream);
Variable: UniqueID8
UniqueID8 has the last 8 bytes array of the Unique Serial ID.
for(size_t i = 0; i < 8; i++)
Serial.println(UniqueID8[i], HEX);
Method: UniqueID8dump
Print the last eight hexadecimal bytes of the Unique Serial ID on the Stream.
void UniqueID8dump(Stream);
Do you like this library? Please star this project on GitHub!
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
