Hi all, first time posting here. I’ll preface this by stating I’m a software guy, not a hardware guy.
I’m working on a project that connectors for several stepper motors. The motors may or may not be there and they may change the ports they are connected to.
Port 1,2 → Motor A
Port 3,4 → Motor B
Port 5,6 → Motor C
Port 1,2 → Motor B
Port 3,4 → Motor C
Port 5,6 → Motor A
I would like to be able track and store data on each motor over time, so I need to be able to identify if Motor A is moved from Port 1 to Port 3. I am using a 7 wire connection to connect the motor to the Arduino (only 4 wires are used, 3 are free).
I was thinking of attaching a dallas 1 wire eeprom device to each pump which would use 2 more wires. To identify which eeprom device goes with each motor, I wanted to use a transistor, attaching C and E to the ground of the 1 wire and B to a 24v line to the motor.
Simple question, would this work? If not, is there something else that could accomplish this?