transistor as switch
dr_eggman198
Posts: 15
I am making a tic tac toe robot where the human places pieces on a grid, and when they do this, the robot "drops" an object from an electromagnet onto the grid. I used a 74hc595 to increase the number of outputs, and originally was going to use the outputs from this shift register to power an electromagnet. Knowing now that this is not possible, I came across a 12 voilt 3 amp transformer that I was going to use to power each electromagnet. there are nine electromagnets, and each corresponds to a piece of the 3x3 tic tac toe grid. Each EM would be engaged to hold a piece. When the robot wants to make a move, it stops sending a current to the EM, and the piece drops onto the grid. If I use my transformer to power each electromagnet, I would need a way to turn off the EM's when the robot needed to make a move, so I need some type of switching device. I need to use the output of the 74hc595 to control each switch that would allow the current of the transformer to reach or not reach the electomagnets. iS there any way that I could use a transistor as a siwtch? or a logic gate?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don Buczynski
http://www.buczynski.com
Also note the "C" pin is the 'Control' pin -- +5 turns on, 0 volts turns off. AND the 'ground' must be connected to the BS2 'Vss' ground.