I have several APM 2.5 boards and need to identify them based on some globally unique hardware signature that does not change with programming.

Arduinos and atmel AVR chips in general do not have (also this thread) an accessible serial number.

However, it seems that the Ardupilot has so many integrated sensors and other ICs that one of them must have something unique I can use ( see schematic )!

I will be checking datasheets for MPU-6000, HMC5883L-TR and MS5611, but in the meantime, if someone has already figured this one out, please answer.


1 Answer 1


Well, I'll be darned. A serial number shows up in dmesg when you plug the thing in. I checked two boards that the number was different, so hopefully these are globally unique.

me@mycompy:~/arducopter/MissionPlanner$ dmesg|tail                                                                                                                                                   
[26581.627967] iwlwifi 0000:03:00.0: fail to flush all tx fifo queues
[26583.020822] usb 1-1.2: new full-speed USB device number 27 using ehci-pci
[26583.115672] usb 1-1.2: New USB device found, idVendor=2341, idProduct=0010
[26583.115682] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[26583.115689] usb 1-1.2: Product: Arduino Mega 2560
[26583.115696] usb 1-1.2: Manufacturer: Arduino (www.arduino.cc)
[26583.115702] usb 1-1.2: SerialNumber: 64033353830351A0B122
[26583.116485] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.