Hi,
Let me start by saying that I'm fairly new to electronics, and I may get some terminology wrong in this post. I'll do my best to ensure it makes sense, though, and please feel free to correct me where necessary as I am very keen to learn.
As the title (vaguely) suggests, I am working on a project in which I need to - for want of a better description - replace a device's 'push to make' switch with an Arduino Uno.
The project is actually the glove of a costume I am building. It is going to release 'smoke' when the wearer's hand is in specified positions. The setup isn't hugely complicated, and I believe I have everything straight in my head except for one thing. I'll start by explaining the setup...
In the glove I have an accelerometer, and with my Arduino sketch I can define gestures and recognise those gestures.
I've built a basic shield for the Arduino with a transistor so that I can control a blower fan. The Arduino and fan are powered by a 9v battery which connects to this shield. I've essentially enclosed the blower fan so that its inlet is connected to a 'vape' (you know, one of those e-cigarette type things).
So far I have got everything working, but the vape is not connected to the Arduino in any way. In fact, it hasn't even arrived yet, so while awaiting its delivery I've been considering how I might connect it all up.
The intention is to have the fan and some LEDs turn on and the vape button pressed when a specific gesture is made. The vape will heat up, the fan will suck vapor through the tubes, and the vapor will emerge from the glove. When the gesture is no longer being made, the fan turns off and the vape button is released.
I've gone through a couple of options in my head, including things like having the Arduino control a servo which mechanically presses the button on the vape, but what I'd really like is it pretty much desolder the vape's switch, remove it from the vape, and solder wire at its connections which then connect to the Arduino... or thereabouts, if you see what I mean.
So I'm here to get some advice on what would be the best way to approach this. Is it possible? Trivial? Will I need to use a transistor, a DAC, a relay, or some other method?
Any help would be greatly appreciated and I am more than happy to elaborate further if needs be.