Possibility of getting a UID on Arduino Im working on a project where I will be using multiple Arduino (pro mini)'s which emit sensordata through LoRa.

The problem I am currently facing is, when I have multiple sensors, how do I know what data is coming from which Arduino (given they all have exactly the same source-code)?


Does the arduino have a UID like some sort of MAC code?
What could be a solution to give the Arduino a UID?
Do you guys have any other solutions for my issue?


In order to answer #2, I could add a random number calculator to create, but this doesn't feel right to me.
You could use a small silicon serial chip like the Maxim DS2401 (http://pdfserv.maximintegrated.com/en/ds/DS2401.pdf)

An other method is to use good old dipswitches. That way you set each of your 'transmitter' to different address using the dipswitch. On boot the Arduino reads the switches to know it's address and uses that.