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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Press ON - Hold OFF Latching Circuit
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 18 replies
  • Subscribers 284 subscribers
  • Views 4532 views
  • Users 0 members are here
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Press ON - Hold OFF Latching Circuit

milosrasic98
milosrasic98 over 1 year ago

Hi!

For a project I'm working on, I want to turn it on and off using only a single button, but in such a way that when you press it turns ON, but for you to turn OFF the device, you need to hold it for a longer period, let's say 5 seconds for example. I was just wondering if you have any circuit ideas that you would like to propose. I've been looking online already of course, and have found one circuit that I will be trying, it's on this link:

http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/electronic-circuits/push-button-switch-turn-on/latching-toggle-power-switch

Fig6

So my list of requirements for it would be:

  • Press ON
  • Hold OFF
  • (Almost) No power draw when OFF since my idea is for it to be battery-powered
  • I would love to read the state of the button with a microcontroller, but the microcontroller can't be used for the latching part, I'm already stretching the MCU thin, and I would need to add an IO expander which I would rather not do at the moment.

Thanks for any tips that you have!

Milos

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 1 year ago +4
    This circuit only consumes leakage current when off... You might need a diode in the gate path of Q3 and a pull down resistor on Q2.
  • misaz
    misaz over 1 year ago +4
    Look at MAX16150. It includes almost all you need in tiny SOT23-6 (or WLP) package.
  • genebren
    genebren over 1 year ago +3
    I have used a power latching circuit in a lot of my designs. But instead of adding extra circuitry, I used existing circuits with a few added components. This works given that there is a need for a microprocessor…
Parents
  • misaz
    0 misaz over 1 year ago

    Look at MAX16150. It includes almost all you need in tiny SOT23-6 (or WLP) package.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • misaz
    0 misaz over 1 year ago

    Look at MAX16150. It includes almost all you need in tiny SOT23-6 (or WLP) package.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • baldengineer
    0 baldengineer over 1 year ago in reply to misaz

    That’s a cool little chip! I looked up the price. Even in quantity, Maxim is very proud of them!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • genebren
    0 genebren over 1 year ago in reply to baldengineer

    Maxim is proud of a lot of their products.  They have some interesting pricing ideas.  So interesting that I do not find myself using any of their products.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • misaz
    0 misaz over 1 year ago in reply to baldengineer

    Most of their chips are expensive. In opposition they send up to 4pcs free samples.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • koudelad
    0 koudelad over 1 year ago in reply to genebren

    Exactly. Why use this IC, when you can use more 8/16/32b micro-controllers for the same price? Smiley

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • misaz
    0 misaz over 1 year ago in reply to koudelad

    YOu usualy pick this IC when you need 20nA standby current. No MCU can achieve this. The lowest power MCU I know is Onsemi RSL10 which has 50nA. It is more than twice the 20nA.

    I gues, the power consumption is the optimization you pay for.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • anniel747
    0 anniel747 over 1 year ago in reply to koudelad

    The MAX16150 operates over the -40°C to +125°C temperature range

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • baldengineer
    0 baldengineer over 1 year ago in reply to misaz

    Fair point. You're going to use this in a design where every electron matters.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • koudelad
    0 koudelad over 1 year ago in reply to misaz

    PSoC 4 with Cortex M0 in Stop mode can do an order of magnitude less. I've personally achieved that:  Measuring nanoamps

    In addition to that, it provides much more functionality. I still can't justify that part. Even package size is not an issue for a professional design (smart ring / wrist watch etc.) the MCU can be used just as a die.

    For hobby purposes, there are already many options described.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • koudelad
    0 koudelad over 1 year ago in reply to genebren

    Same here. The company I work for used only the famous UART<>RS232 transceiver, the rest was overpriced and never made it into a final product.

    BTW They also have some microcontrollers line, which we have never heard of using.

    • Cancel
    • Vote Up +1 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