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
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Turn anything into an Arduino Module: Reusing Everyday Electronics -- Episode 681
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: cstanton
  • Date Created: 3 Sep 2025 12:03 PM Date Created
  • Last Updated Last Updated: 3 Sep 2025 3:06 PM
  • Views 7636 views
  • Likes 6 likes
  • Comments 10 comments

Turn anything into an Arduino Module: Reusing Everyday Electronics -- Episode 681

Clem shows how to reverse engineer a cheap breathalyser key-fob and re-purpose it into an Arduino-compatible sensor module. By dissecting the circuit, discovering the LM339 comparator at its core, and reducing current draw by removing LEDs, he adapts the device for safe use with 3.3V logic micro-controllers like the Arduino MKR WiFi 1010. The project demonstrates how to integrate salvaged electronics into Arduino projects, including building voltage dividers for level shifting, handling warm-up delays, and logging sensor data. Follow along to learn techniques that can be applied to countless other gadgets.

Watch the Project

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Why Reverse Engineer Gadgets?

In this episode Clem explores how inexpensive gadgets can be repurposed into modules for Arduino projects. The process is not limited to breathalysers. Almost any device with the right properties could be adapted. With the supply of electronic parts not always guaranteed, learning to reverse engineer common items can give makers new ways to source components for their builds.

image

First Look at the Breathalyser Keyfob

Clem starts by powering the breathalyser keyfob and observing its basic function. The device has a startup sequence, LEDs, and a clear indication of “ready” status. At first glance, it appears to contain a micro-controller under epoxy. However, after opening it, Clem finds it runs entirely on an LM339 quad comparator IC, a standard analog component often used for comparing voltages.

image

Understanding the Circuit

Tracing the single-sided PCB makes reverse engineering simpler since there are no hidden layers. By mapping connections with a multi-meter, Clem identifies a clever RC delay circuit that allows the onboard gas sensor to preheat before measurements begin. Instead of using software timers, the designers relied on analogue components like resistors, capacitors, and comparators to achieve sequencing. This makes the breathalyser both cheap and surprisingly robust.

image

Modifying the Circuit for Arduino Use

To adapt the device for Arduino, Clem reduces unnecessary current draw. The LEDs consume most of the power, so removing them drops the current consumption to below 10mA. This makes it possible to power the circuit directly from an Arduino pin. He then adds a voltage divider to match the device’s 3V requirement, ensuring safe interfacing whether using a 3.3V micro-controller like the Arduino MKR WiFi 1010 or a 5V board like the Arduino Uno.

image

Interfacing and Coding

With hardware sorted, Clem connects the sensor output to an Arduino analog pin and uses another pin to enable the circuit. A short Arduino sketch logs sensor readings and averages them over one second to smooth out noise. The module can now detect alcohol vapours, whether ethanol, methanol, or isopropanol, making it useful for experiments such as controlling fans during 3D printer cleaning.

image

Lessons from the Project

Clem points out that this kind of work follows a simple process that can be applied to many devices:

  • Identify and test a gadget’s basic operation.

  • Open it up and trace the circuit.

  • Remove unnecessary components to reduce power draw.

  • Adjust voltage and current to fit Arduino logic levels.

  • Write simple test code to capture sensor data.

The breathalyser key-fob is just one example. By using this approach, makers can salvage parts from cheap or discarded devices and turn them into functional modules!

image

Supporting Files and Links

-  Episode 681 Resources  

Bill of Materials

Product Name Manufacturer Quantity Buy Kit
Arduino MKR wifi 1010 ARDUINO 1 Buy Now
Nordic Power profiler kit Nordic 1 Buy Now
Resistor 10k Multicomp 1 Buy Now
Resistor 100k Multicomp 1 Buy Now
 
  • reverse engineering electronics
  • voltage divider arduino
  • analog circuit hacking
  • arduino analog input
  • arduino project
  • breathalyzer hack
  • hobby electronics
  • salvaged electronics
  • lm339 comparator
  • interfacing sensors with arduino
  • gas sensor module
  • arduino ide code
  • arduino sensor
  • prototyping with arduino
  • low power electronics
  • arduino mkr wifi 1010
  • arduino
  • arduino shield design
  • diy electronics
  • friday_release
  • electronics teardown
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • beacon_dave
    beacon_dave 2 days ago in reply to kmikemoo +1
    It could perhaps also make for an interesting addition to a reaction tester type game.
  • DAB
    DAB 23 hours ago

    Fun project Clem.

    Learning to reverse engineer circuits is a great way to learn things and understand different ways to make things work.

    Some of my best projects have been to figure out how something worked when we did not have any data on the device itself.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave 1 day ago in reply to kmikemoo

    At least you will have some recorded data of what actually happened last night Beers
    ( assuming that you didn't make it into the local newspaper that is )...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo 1 day ago in reply to beacon_dave

    beacon_dave Part of me says "Count me in" and the other part says "It's going to hurt - a lot - the next morning." Joy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes 2 days ago in reply to beacon_dave

    indeed something different for once!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave 2 days ago in reply to kmikemoo

    It could perhaps also make for an interesting addition to a reaction tester type game.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes 2 days ago in reply to genebren

    thanks I hope it helps the beginners

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes 2 days ago in reply to kmikemoo

    that would have been a great project idea..but I did not think of that at all.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes 2 days ago

    Any cheap tech you transformed to be used with your projects?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo 3 days ago

    mayermakes Very cool.  When I first saw the breathalyzer, I figured that you were going for an Arduino based "key jail".  You only get your car keys out of jail; if you can pass the breathalyzer test.  Love the reverse engineering.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren 3 days ago

    That as a fun little project!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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