element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Replacing a device's button with an Arduino
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 30 replies
  • Answers 11 answers
  • Subscribers 393 subscribers
  • Views 5021 views
  • Users 0 members are here
  • arduino uno
  • arduino_tutorials
  • advice
  • costume
Related

Replacing a device's button with an Arduino

talongrayson
talongrayson over 8 years ago

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.

  • Sign in to reply
  • Cancel

Top Replies

  • talongrayson
    talongrayson over 8 years ago +3
    The reed relay arrived today. To cut a long story short, it works like a charm. Next step is to migrate that part of the circuit to the shield. In due course I will upload photos/video to show it in action;…
  • jlangbridge
    jlangbridge over 8 years ago in reply to talongrayson +2 verified
    Aha... So there is a bit of logic there, this isn't a simple on/off switch (I'm not a vaper either, so I had no idea). Well, maybe the "easiest" solution would be to use a relay. There are several types…
  • jlangbridge
    jlangbridge over 8 years ago in reply to talongrayson +2
    Possibly, but I still need a bit of information first; the amount of power required to activate the switch. The relay itself is powered by a coil, and that coil requires power, but a lot of relays require…
Parents
  • cadcoke5
    0 cadcoke5 over 8 years ago

    I had a similar concept. Though in my case, it was to simulate fire on the arm of the Scarecrow in the Wizard of Oz for a stage play.  I have not really perused the idea yet.

     

    For a different effect, I wanted to simulate a mug of hot chocolate that the Witch in the Lion the Witch and the Wardrobe uses to tempt Edmund. I used what is called a "mechanical mod", where I attached an E-cig atomizer to a basic battery and a regular switch.  It was not a high wattage atomizer, so the electrical demands were not great.  I also found that it was very important to have some air flow, and even a little air flow would vastly increase the amount of fog. I used a tiny muffin fan the size of a nickle.

     

    By the way, there used to be vendors who sold E-cigs who would also sell kits for you to solder your own power for the atomizer. Some were "mechanical mods" that simply was a battery case and a switch.  But, others had a bit more electronics like a mosfet to allow much more power. It has been years since I looked into them, and those kits seemed to have disappeared from the market.

     

    I imagine that the main benefit of using something like the Arduino, for your costume rig, is that you can control how long the coil is powered.  Continuing to power the atomizer beyond how fast the e-cig juice can soak through the wick, will quickly scorch your wick, and produce a genuine burning smell and soon ruin your coil. Of course, powering it while your liquid is used up will do the same.  I wonder if there is a reliable way to electrically sense if the wick is saturated with juice?

     

    -Joe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • cadcoke5
    0 cadcoke5 over 8 years ago

    I had a similar concept. Though in my case, it was to simulate fire on the arm of the Scarecrow in the Wizard of Oz for a stage play.  I have not really perused the idea yet.

     

    For a different effect, I wanted to simulate a mug of hot chocolate that the Witch in the Lion the Witch and the Wardrobe uses to tempt Edmund. I used what is called a "mechanical mod", where I attached an E-cig atomizer to a basic battery and a regular switch.  It was not a high wattage atomizer, so the electrical demands were not great.  I also found that it was very important to have some air flow, and even a little air flow would vastly increase the amount of fog. I used a tiny muffin fan the size of a nickle.

     

    By the way, there used to be vendors who sold E-cigs who would also sell kits for you to solder your own power for the atomizer. Some were "mechanical mods" that simply was a battery case and a switch.  But, others had a bit more electronics like a mosfet to allow much more power. It has been years since I looked into them, and those kits seemed to have disappeared from the market.

     

    I imagine that the main benefit of using something like the Arduino, for your costume rig, is that you can control how long the coil is powered.  Continuing to power the atomizer beyond how fast the e-cig juice can soak through the wick, will quickly scorch your wick, and produce a genuine burning smell and soon ruin your coil. Of course, powering it while your liquid is used up will do the same.  I wonder if there is a reliable way to electrically sense if the wick is saturated with juice?

     

    -Joe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • cadcoke5
    0 cadcoke5 over 8 years ago in reply to cadcoke5

    Boy, get me started on a subject and I start researching and find all sorts of answers  Here is a smoke generator put together by one of the folks at Spark Fun. He connects to one of the boards that are a competetor to Arduino, and uses a small air pump they sell on their web page.  It uses a mosfet for controlling the large current that goes to the e-cig atomizer.

     

    https://www.sparkfun.com/news/2344

     

    -Joe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube