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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 Momentary Guitar Footswitch Mode Toggle Modification
  • 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 Suggested Answer
  • Replies 2 replies
  • Answers 1 answer
  • Subscribers 303 subscribers
  • Views 1076 views
  • Users 0 members are here
  • monostable
  • guitar
  • frontpage
  • 556
  • flip-flop
  • footswitch
  • 555
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'!

Momentary Guitar Footswitch Mode Toggle Modification

warezwally
warezwally over 9 years ago

Hi Guys,

 

I am learning as I go here and I have set myself a challenge...

 

My guitar amp is switched by a 4 button footswitch all switches are momentary and the channel switching logic is done (I believe) in the amp by a pulse to ground over each switch.

 

Clean, OD1, OD2 & Reverb

 

The footswitch is connected over a DSub9 and the pinouts (from memory) are:

 

1 - Clean LED Anode

2 - OD1 LED Anode

3 - OD2 LED Anode

4 - Reverb LED Anode

5 - 0v

6 - Clean

7 - OD1

8 - OD2

9 - Reverb

 

 

What I'd like to do is repurpose the switch on OD2 for something else, so I was thinking I could use the OD1 switch as a toggle between OD1 & OD2 modes. The research I've done has led me to believe that I can do this by using a combination of JK Flip-Flop and 556 (or 2x 555) timer as a one-shot monostable:

 

Here is my circuit, is this right? What's missing and what resistor values do you suggest I use to with the 10uF polarised caps I'm going to use to allow a very quick pulse (HIGH) from the 556?:

image

 

The 556 outputs will go to a pair of NPN's (not LED's as shown) that will pull the pins 7 or 8 to 0v (pin 5)

  • Sign in to reply
  • Cancel

Top Replies

  • jc2048
    jc2048 over 9 years ago +1 suggested
    Starting at the beginning, the switch will almost certainly bounce when you press it. [The contact, instead of landing cleanly, bounces and then breaks and makes a few times before settling. If you have…
  • jc2048
    0 jc2048 over 9 years ago

    Starting at the beginning, the switch will almost certainly bounce when you press it. [The contact, instead of landing cleanly, bounces and then breaks and makes a few times before settling. If you have an oscilloscope, wire up just the switch and the resistor and capture the waveform.]

     

    So you'll probably need to debounce the switch to stop it clocking the flip-flop more than once.

     

    Here's what an old momentary toggle switch that I fished out of a spares box looks like on a 9V supply with a 10k down to ground.

     

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • warezwally
    0 warezwally over 9 years ago

    Hi Jon,

     

    Thanks I think the pedal already has some de-bounce circuitry on the momentary switch. If not I will heed your advice. What would be the best way to debounce a switch that is providing a 5v pulse to the CLK input that is pulled low?

     

    I have worked on the circuit some more and eliminated the 555 timer.

     

    Am I barking up the wrong tree?

    image

    $ 1 0.000005 3.3115451958692312 62 5 50

    M 608 80 624 80 0 2.5

    M 608 112 624 112 0 2.5

    w 608 112 544 112 0

    w 608 80 576 80 0

    r 576 80 576 16 0 1000000

    r 544 16 544 96 0 1000000

    w 544 96 544 112 0

    w 576 80 528 80 0

    w 544 112 528 112 0

    w 576 16 544 16 0

    R 48 16 16 16 0 0 40 5 0 0 0.5

    w 480 112 480 144 0

    w 480 80 432 80 0

    w 432 80 432 160 0

    w 432 160 384 160 0

    w 480 144 480 224 0

    w 480 224 384 224 0

    w 384 192 448 192 0

    w 448 192 448 288 0

    w 384 256 384 288 0

    r 384 288 384 368 0 10000

    c 304 176 304 224 0 1e-7 1.4313469913283926e-7

    w 304 240 256 240 0

    c 256 240 256 288 0 1e-7 4.3718489556898374

    w 304 224 304 368 0

    w 256 288 256 368 0

    d 224 240 256 240 1 0.805904783

    d 224 176 256 176 1 0.805904783

    w 256 176 304 176 0

    t 352 240 384 240 0 1 0.5682626732295519 0.5685363866995794 100

    t 352 176 384 176 0 1 -4.940052246627049 1.4263469342743525e-7 100

    w 352 176 352 208 0

    w 352 208 416 208 0

    w 416 208 416 288 0

    w 352 240 352 288 0

    w 304 240 352 240 0

    r 352 288 352 368 0 10000

    r 416 288 416 368 0 10000

    156 128 176 160 176 0 0

    w 48 16 48 176 0

    w 48 176 128 176 0

    w 48 176 48 240 0

    w 48 240 128 240 0

    w 128 208 96 208 0

    w 96 208 96 80 0

    w 48 16 96 16 0

    w 96 16 544 16 0

    g 48 368 16 368 0

    w 48 368 96 368 0

    w 96 368 256 368 0

    w 256 368 304 368 0

    w 304 368 352 368 0

    w 352 368 384 368 0

    w 384 368 416 368 0

    w 416 368 448 368 0

    r 96 368 96 288 0 10000

    w 96 288 96 208 0

    s 96 16 96 80 0 1 true

    w 576 368 448 368 0

    w 304 176 352 176 0

    r 448 288 448 368 0 10000

    d 528 80 480 80 1 0.805904783

    d 528 112 480 112 1 0.805904783

    o 3 64 0 551 10 0.00009765625 0 -1

    • 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