As a preface I am relatively new to electrical circuits, and while I have tried to do my homework in terms of learning the basics certain concepts are still hard for me to grasp. I apologize ahead of time for asking very basic questions.
That being said I am currently working on a Nerf gun with the goal of integrating a 12 vdc tire inflator and 3S LiPo battery. The intent was for the air compressor (tire inflator) to fill a silicone air bladder which expands down the length of a plastic tube. Once the air bladder has extended the length of the tube a momentary switch at the end would then break the circuit, turning off the compressor. My attempt at wiring is as follows:
The reasoning behind using a transistor to break and make the circuit was that space inside the tube (housing the air bladder) is at a premium. While a simple 6 amp momentary switch would be ideal, they just tended to be too big to fit. Using the transistor allowed me to use a smaller 3 amp momentary switch that had a lower actuation pressure.
I have three questions:
1. Is this wiring diagram sound for what I am trying to accomplish?
2. Is there a better solution (than a momentary switch) for stopping the compressor once the air bladder has reached capacity?
3. If a transistor is the proper solution, how can I go about determining what resistance the resistor going to the momentary switch should have and do I need further resistors elsewhere?
Thanks to anyone who can share their expertise on this matter.
That being said I am currently working on a Nerf gun with the goal of integrating a 12 vdc tire inflator and 3S LiPo battery. The intent was for the air compressor (tire inflator) to fill a silicone air bladder which expands down the length of a plastic tube. Once the air bladder has extended the length of the tube a momentary switch at the end would then break the circuit, turning off the compressor. My attempt at wiring is as follows:

The reasoning behind using a transistor to break and make the circuit was that space inside the tube (housing the air bladder) is at a premium. While a simple 6 amp momentary switch would be ideal, they just tended to be too big to fit. Using the transistor allowed me to use a smaller 3 amp momentary switch that had a lower actuation pressure.
I have three questions:
1. Is this wiring diagram sound for what I am trying to accomplish?
2. Is there a better solution (than a momentary switch) for stopping the compressor once the air bladder has reached capacity?
3. If a transistor is the proper solution, how can I go about determining what resistance the resistor going to the momentary switch should have and do I need further resistors elsewhere?
Thanks to anyone who can share their expertise on this matter.
Last edited: