I am in a project where it makes set of 'modules(set of separate circuits that will work as a sensor when connected to the board' that would be connected to Arduino Mega.
Currently, I'm planning to connect 'modules' with the Mega board using RJ-45(also known as LAN cable) cables.
At first, using voltage divider circuit, I tried to identify these 'modules' by attaching a resistor to it, so that if the board sends 5V to the 'module', it gets the resistance of the resistor inside the module.
But, as soon as I tested, this way seemed a bit unstable, because the measured resistance of the resistor kept changing.
Now, is there any other way to 'label' the module? I'm a beginner in this thing, so I'll appreciate any help that is provided.
Thanks in advance.
Ps. the voltage divider circuit that I used can be found in here:
Ps2. the resistor in the module does not mean the total resistance of the circuit in the module. It's separate.