While I originally went to school for EE, that was over a decade ago so my skills are extremely faded, now just a computer nerd. Not sure if this is the best place to ask, so I apologize ahead of time.
What I am trying to figure out how to build in short:
A way to build a sub $5 device (in bulk) that I can connect to a Raspberry Pi and have it recognize what it is uniquely.
The challenge is that multiple of the same device can be connected so from my understanding I2C is out.
This will be for an end user product. So what I would like to do is detect what was plugged in (via an rj45 jack unless there is a reason to use something else) and recognize what it is. Along with that, it needs to recognize it uniquely. So for example, if a person added 3 temperature sensors, It would be able to see all 3 differently and if 1 of the 3 is disconnected, it would be able to know which one was removed.
I realize most of it will be done through code, but I am trying to figure out how to uniquely identify each device. I plan on having about 20 different sensors that can be connected. So my vision is that each one has a GUID of some sort where the first set of numbers describes the type of device (Temperature sensor vs humidity sensor vs many others) and the rest is a unique identifier so I can differentiate multiple like sensors.
Completely open to ideas, but my main concern is low cost. If it costs much over $5 it makes more business sense to have the user do more work setting it up.
Thanx ahead of time.
What I am trying to figure out how to build in short:
A way to build a sub $5 device (in bulk) that I can connect to a Raspberry Pi and have it recognize what it is uniquely.
The challenge is that multiple of the same device can be connected so from my understanding I2C is out.
This will be for an end user product. So what I would like to do is detect what was plugged in (via an rj45 jack unless there is a reason to use something else) and recognize what it is. Along with that, it needs to recognize it uniquely. So for example, if a person added 3 temperature sensors, It would be able to see all 3 differently and if 1 of the 3 is disconnected, it would be able to know which one was removed.
I realize most of it will be done through code, but I am trying to figure out how to uniquely identify each device. I plan on having about 20 different sensors that can be connected. So my vision is that each one has a GUID of some sort where the first set of numbers describes the type of device (Temperature sensor vs humidity sensor vs many others) and the rest is a unique identifier so I can differentiate multiple like sensors.
Completely open to ideas, but my main concern is low cost. If it costs much over $5 it makes more business sense to have the user do more work setting it up.
Thanx ahead of time.