eek
30-03-2009, 12:09 PM
Yes, just put this question on MEA as well...lets see who's smarter :P No, I'm actually looking for an answer for this.
Hey,
Another retarded question I had...
So I've decided to build a linear actuator out of some parts I had lying around, and need a control circuit for it. A H-bridge and a SPDT switch is simple enough to build, however I need to incorporate a limit-switch onto the system so it doesn't tear my boot apart. I have numerous 12V relays on hand, so I'm not going to build one with fets.
Ideally, I'd want to be able to flick the siwtch into 'up' and have the panels move up and stop automatically. Then, when I flick it to down, it will do the same thing, and stop. I'd be able to stop the thing mid-way by flicking the switch to 'off'.
Say the 4 quadrants,
1 - Top left
2 - Top right
3 - Bottom left
4 - Bottom right
1 & 4 closed = Clockwise
2 & 3 closed = Counter Clockwise
Top side being 12V+, bottom side being GND.
If I have a microswitch, that closes, and turns on say, one side of the H-bridge (1 & 3), it will stop the motor, but how would you open up relay 4, to stop it wanting to spin again?
For some reason I'm thinking I can solve this with another two H-bridges linked from the microswitches? That's like, 12 relays, lol...surely there's a better way.
If I was really smart, it would be cool to push a button, have it rise up and stop, then push the same button and lower itself, and stop.
Hey,
Another retarded question I had...
So I've decided to build a linear actuator out of some parts I had lying around, and need a control circuit for it. A H-bridge and a SPDT switch is simple enough to build, however I need to incorporate a limit-switch onto the system so it doesn't tear my boot apart. I have numerous 12V relays on hand, so I'm not going to build one with fets.
Ideally, I'd want to be able to flick the siwtch into 'up' and have the panels move up and stop automatically. Then, when I flick it to down, it will do the same thing, and stop. I'd be able to stop the thing mid-way by flicking the switch to 'off'.
Say the 4 quadrants,
1 - Top left
2 - Top right
3 - Bottom left
4 - Bottom right
1 & 4 closed = Clockwise
2 & 3 closed = Counter Clockwise
Top side being 12V+, bottom side being GND.
If I have a microswitch, that closes, and turns on say, one side of the H-bridge (1 & 3), it will stop the motor, but how would you open up relay 4, to stop it wanting to spin again?
For some reason I'm thinking I can solve this with another two H-bridges linked from the microswitches? That's like, 12 relays, lol...surely there's a better way.
If I was really smart, it would be cool to push a button, have it rise up and stop, then push the same button and lower itself, and stop.