Hi,
I am trying to hack a remote/wireless PTZ camera. I plan to use the stepper driver signals on the receiver as logic inputs to a microcontroller. But I want to disconnect the panning motor. ( I am guessing it is a stepper )
My set-up. The motor is 12V, 5-wire. The pulses out of the driver are not clean square waves (scope set-up issue?), but thats ok. I wired the 4 coil leads to the inputs to a LM339 quad comparator. I have success getting clean 5V squarewave on comparator outputs, but only when I leave the motor connected. When I disconnect the motor, I get somewhat unstable signals (1 chnl clean but long pulse, other chnl jitters).
Is there someway I should terminate these driver wires or use a dummy-load in place of the disconnected motor?
Other info. All input pins of LM339 are used. I only can probe 2 outputs at a time (2 ch oscilloscope). The 5th stepper wire is constant 12V, but going nowhere. On the LM339, I have 100-ohm resistors in series to the V- input pins, and I use 2.2K pull-up resistors from the four output pins to 5V+ Vcc. The camera receiver and the comparator/breadboard have separate power supplies, their grounds are connected. When I did get clean 5V pulses out, they were 7.5ms High and 12.5ms Low and of course have a phase relationship.
I am trying to hack a remote/wireless PTZ camera. I plan to use the stepper driver signals on the receiver as logic inputs to a microcontroller. But I want to disconnect the panning motor. ( I am guessing it is a stepper )
My set-up. The motor is 12V, 5-wire. The pulses out of the driver are not clean square waves (scope set-up issue?), but thats ok. I wired the 4 coil leads to the inputs to a LM339 quad comparator. I have success getting clean 5V squarewave on comparator outputs, but only when I leave the motor connected. When I disconnect the motor, I get somewhat unstable signals (1 chnl clean but long pulse, other chnl jitters).
Is there someway I should terminate these driver wires or use a dummy-load in place of the disconnected motor?
Other info. All input pins of LM339 are used. I only can probe 2 outputs at a time (2 ch oscilloscope). The 5th stepper wire is constant 12V, but going nowhere. On the LM339, I have 100-ohm resistors in series to the V- input pins, and I use 2.2K pull-up resistors from the four output pins to 5V+ Vcc. The camera receiver and the comparator/breadboard have separate power supplies, their grounds are connected. When I did get clean 5V pulses out, they were 7.5ms High and 12.5ms Low and of course have a phase relationship.