Hi all,
I bought this muscle wire actuator lock that comes with a feedback signal. The red (signal) and black (ground) wires are used to actuate the muscle wire to unlock, while the blue and white wires are to indicate if its locked (open-circuit) or unlocked (short-circuit). The black and white wires are connected internally.
In the locked position, the limit switch is closed, so current can flow from the red wire, passing through the muscle wire, to the yellow wire, going into NC and out from COM (the black/white wire). When I apply power, the wire shrinks and opens the latch, this releases the limit switch, so COM is connected to NO pin. And it breaks the connection between the muscle wire so no current will flow through it even if I continue to apply power. When I remove the power it continues to stay in this position. It's only when I push the latch back to the lock position, then the limit switch is activated again connecting COM to NC pin and there is a close loop across the muscle wire. If no power is applied, it stays in the lock position again until power is applied to shrink the wire.
What confuses me now is how can I actually connect the blue wire to a MCU to check if the actuator is locked or unlocked. It may seem intuitive to connect the blue wire to a MCU input pin (with resistor pull up to VCC) and the white wire to Ground. Doing so, when in the locked position, the MCU should read a logic HIGH and when in the unlocked position, the MCU should read a logic LOW. But here is the problem…
I am using a MOSFET to drive the actuator (because of high current requirements) and the circuit looks like this:
The red wire is connected to an external battery supply, and the black wire is connected to the Drain of the MOSFET. The MOSFET’s gate is connected to the MCU output pin to drive the MOSFET, and the MOSFET’s source is connected to ground. When the MOSFET is turn on fully, current can flow from VBatt (through the muscle wire), through the MOSFET and to ground, releasing the lock. This works perfectly fine.
But the blue wire is connected to the MCU and I need the current from 3.3V to flow to ground and not into the MCU pin. In the unlocked position, the blue wire is connected to the black and white wire. So it may seem like I could permanently connect the white wire to ground and that would work. But this will give me a problem. When the actuator is now back in the locked position, current can immediately flow from VBatt to ground (going through the muscle wire) without even needing the MOSFET to switch since there is a path to ground through the white wire.
So I am pretty stuck now. Hope someone can help me out. Thanks in advance!
I bought this muscle wire actuator lock that comes with a feedback signal. The red (signal) and black (ground) wires are used to actuate the muscle wire to unlock, while the blue and white wires are to indicate if its locked (open-circuit) or unlocked (short-circuit). The black and white wires are connected internally.
In the locked position, the limit switch is closed, so current can flow from the red wire, passing through the muscle wire, to the yellow wire, going into NC and out from COM (the black/white wire). When I apply power, the wire shrinks and opens the latch, this releases the limit switch, so COM is connected to NO pin. And it breaks the connection between the muscle wire so no current will flow through it even if I continue to apply power. When I remove the power it continues to stay in this position. It's only when I push the latch back to the lock position, then the limit switch is activated again connecting COM to NC pin and there is a close loop across the muscle wire. If no power is applied, it stays in the lock position again until power is applied to shrink the wire.
What confuses me now is how can I actually connect the blue wire to a MCU to check if the actuator is locked or unlocked. It may seem intuitive to connect the blue wire to a MCU input pin (with resistor pull up to VCC) and the white wire to Ground. Doing so, when in the locked position, the MCU should read a logic HIGH and when in the unlocked position, the MCU should read a logic LOW. But here is the problem…
I am using a MOSFET to drive the actuator (because of high current requirements) and the circuit looks like this:
The red wire is connected to an external battery supply, and the black wire is connected to the Drain of the MOSFET. The MOSFET’s gate is connected to the MCU output pin to drive the MOSFET, and the MOSFET’s source is connected to ground. When the MOSFET is turn on fully, current can flow from VBatt (through the muscle wire), through the MOSFET and to ground, releasing the lock. This works perfectly fine.
But the blue wire is connected to the MCU and I need the current from 3.3V to flow to ground and not into the MCU pin. In the unlocked position, the blue wire is connected to the black and white wire. So it may seem like I could permanently connect the white wire to ground and that would work. But this will give me a problem. When the actuator is now back in the locked position, current can immediately flow from VBatt to ground (going through the muscle wire) without even needing the MOSFET to switch since there is a path to ground through the white wire.
So I am pretty stuck now. Hope someone can help me out. Thanks in advance!