I apologize for the electronics 101 question. I've been reading the forums and this group seems friendly enough.
My specific project I'd like to consider is creating an arduino system to monitor an older vending machine (no MDB or DEX) and sending the results via cell phone. I've found examples of sending with a cell phone and I'm not worried about that.
I figure what will probably be the only way to do this is to connect electronic sensors to the wires leading to each vending machine motor and detect when the power is given to each motor as a way to detect when that product has been vended. Seems simpler than doing something to detect the motion of the vending machine coils. So my two questions at this point are:
1 what is used to detect the power? I think this is some kind of transistor - one part of the transistor is hooked to the power, the next to the ground of the vending machine and the third to an input pin on the arduino board. Is this correct and which type of transistor would I use? Seems wrong to me but I never understood transistors.
2 Using binary logic I should be able to take 50 inputs and reduce that down to 6 inputs. My basic idea would be that if there was power on wire 1 that input 1 would be triggered, wire 2 would trigger input 2, wire 3 trigger both input 1 and 2, etc. Is this the best way? I'm assuming there is some kind of chip I could use but I have no idea what one to get. Any suggestions?
I've read some basic electronic books in my younger years and I can follow schematics & solder but I've never designed anything and I don't want to read a full book if I can avoid it. I've done some forum searches and not found what I needed.
Thanks in advance.