element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Community Hub
Community Hub
Member's Forum Cutting power to a circuit by time elapsed.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 10 replies
  • Answers 8 answers
  • Subscribers 507 subscribers
  • Views 1112 views
  • Users 0 members are here
Related

Cutting power to a circuit by time elapsed.

cookekeyes
cookekeyes over 5 years ago

I had an idea the other day and I wanted to ask about the specifics of it here.

 

So, I have a few guitars that use active pickups, meaning they require batteries (usually 9v) and one annoying aspect of them is if you leave a cable plugged into the guitar’s output jack, it’ll continue to drain the battery. Normally this isn’t a huge issue, but there are times when I forget to unplug it or I leave it plugged in for a few hours when I go to do something else.


Anyway, I thought it would be cool if I could add a circuit that could cut the power based on how much time has elapsed without a signal. It would need to be fairly small, as it needs to fit in the guitar’s control cavity and preferably be independent of any of the guitar’s circuitry. I don’t want the signal chain going through anything that could affect the tone. You’d think manufacturers would include something like this already, and maybe they do, but the 3 guitars I have with active pickups don’t have it.

Since I’m a complete novice when it comes to designing circuits, I thought I’d ask here. The only thing I could think of was maybe a 555 timer, but I know next to nothing about them. I remember Ben did something similar on an old episode with a baby monitor and music player, but he used a lot of the existing circuitry from the monitor if I recall correctly.

 

Well, that’s my idea. Thanks for any help or advice.

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 5 years ago +3 suggested
    If you aren't into buying a computer and programming it, you could try a circuit like this: After the circuit is turned on with the momentary ON switch it will stay on for about 5 minutes after the pickup…
  • cookekeyes
    cookekeyes over 5 years ago +3 suggested
    I‘m starting to see why manufacturers don’t include this in their active pickup circuitry by default. It adds a lot of components and complexity to fix something that is already easily fixable by just…
  • michaelkellett
    michaelkellett over 5 years ago +2 suggested
    Almost certainly best to base it on a tiny processor. There will have be some connection to the guitar to check the signal. I recently used some of these for an emergency patch - STM32G031J6M6, ARM processor…
  • michaelkellett
    0 michaelkellett over 5 years ago

    Almost certainly best to base it on a tiny processor. There will have be some connection to the guitar to check the signal. I recently used some of these for an emergency patch -

     

    STM32G031J6M6, ARM processor with ADC in 8 pin SOIC package - can run at 2MHz clock and use about 0.2mA - which I guess will be a lot less than the normal operating current.

     

    Once the power has gone off the processor can sleep and draw less than 1uA (battery run down in 500,000 hours) - other bits may use more power !

     

    You could use a TI TPS22810 for the power switch. You'll also need a micropower regulator for the processor.

     

    I've attached a picture of my STM32G031J6M6 application to give you an idea of achievable size:

     

    image

     

    I'm not offering to design this for you - I have time to help a bit but not to do it all, it would be an ambitious project for a novice - you might be able to team up with some other people.

     

    MK

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 5 years ago

    Hello, frankly I think the MK is correct to make something nice and smart but – if I have understood – you are searching for help or advice that gives you the possibility to manage and control by yourself the building, not a sort of specific product well done by just plug and play.

    If I am not wrong, can you tell a bit more how and when the circuit power should but cut? when there are no signals on the cable? maybe that with something simpler it is possible to solve the problem. Or not, but at the moment I have not sufficient information.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw over 5 years ago

    If you aren't into buying a computer and programming it, you could try a circuit like this:

    image

    After the circuit is turned on with the momentary ON switch it will stay on for about 5 minutes after the pickup has gone quiet.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 5 years ago in reply to dougw

    Doug, It's what I was waiting.

    I was sure you had a better simple idea image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • genebren
    0 genebren over 5 years ago in reply to dougw

    Doug,

     

    I don't know if I am confused about the timing, but I come up with something like turn off in 3 seconds after last signal.  I am getting a frequency of oscillation of ~ 5583Hz and a count of 16384, yielding a delay of ~3 sec.

     

    Gene

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 5 years ago in reply to genebren

    Thanks genebren … I'm glad someone is "doin the math" - I didn't spend much time on calculations - until someone wants to build it....the circuit is easy to adjust to a larger delay period with larger RC values.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • cookekeyes
    0 cookekeyes over 5 years ago in reply to dougw

    Thanks a lot for the schematic! I think 5 minutes would be the absolute minimum I’d be comfortable with. Ideally, it would be around 10 minutes after no signal. So to change this time, I would need to change the resistors correct? But which ones?

     

    Also, is there a way to do this without the momentary switch? I’d prefer it to work by itself without me having to press anything to activate the circuit. If at all possible, I’d like it to function solely from the guitar signal (or lack thereof)


    I can read the schematic, but like I said, I’m a complete novice when it comes to electrical engineering.

     


    **Edit** After rewatching the “Smart Switching Headphones” episode, I noticed Ben basically built exactly what I’m looking for, except I want my circuit to cut power instead of switching to another input. It was driven by sound, similar to how I want mine to be. He used an AGD436 and a 555 timer, but also utilized a lot of the existing circuitry in the baby monitor. The main thing I don’t know how to do is how to trigger the circuit to activate using the guitar’s sound output.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 5 years ago in reply to cookekeyes

    R1 and C2 control the oscillator. The period is about 0.22 x R x C and the counter is counting 16384 cycles to give the delay.

    R1 could be 1M and C2 could be up to about 0.22 uf. Which would provide up to about an hour if my calculation is right.

    You could use different outputs from the counter if you want to cut the time by powers of 2 without changing any components. So one connection could be set to 5 min, another one could be set to 10 min, and a third could be 20 min. Or you could use a potentiometer for R1 and make the time adjustable.

    Incidentally, the output will turn off half way through the period of the counter pin, so the example above might be half an hour instead of 1 hour.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 5 years ago in reply to cookekeyes

    You have a bit of a problem triggering the power from the guitar pickup signal.

     

    The built in amplifier will be off and it may load the pickup under such conditions - you need to check this.

     

    Guitar pickups can provide quite large signals but ones used with amplifiers may not - you need to check the signal you get at the input of the amplifier when its off and you strike a string at the level you want to activate the system.

     

    Then you need an always-on bit of circuit to start up the power timer - this should consume an average current of less than 50uA so that it doesn't shorten the battery life too much.

     

    Doug's circuit shows an input resistor of 100k, that may be too low low for guitar purists - depending on pickups an input impedance of > 2M may be needed.

     

    Suitable micro power op amps exist - Microchips MCP6421 would do.

     

    Have you thought about one of those push switches in the hallways of cheap blocks of flats - where you press it in and after a while (the time it takes to get halfway up the stairs)  it pops out and the power goes off image

     

    MK

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • cookekeyes
    0 cookekeyes over 5 years ago

    I‘m starting to see why manufacturers don’t include this in their active pickup circuitry by default. It adds a lot of components and complexity to fix something that is already easily fixable by just removing your guitar cable. image

     

    It does seem quite ambitious for a novice like me, but I like working with this stuff anyway. It’s like electronic legos. Since I already own all the resistors and protoboard, and the ICs are pretty cheap, I might go ahead and order some and give this a shot. Thank you all for the advice.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject 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