Add latching LEDs to momentary footswitch. Modify guitar tuner

Discussion in 'The Projects Forum' started by Shoe-Laze, Jul 19, 2013.

  1. Shoe-Laze

    Thread Starter New Member

    Jul 19, 2013
    6
    0
    Hello all!
    In my search for some answers I found this board, and I'm super impressed by all of your knowledge!

    I'm a novice when it comes to this, but I'm eager to learn in new fields. My search found several similar threads on this board, but I'm not sure how to apply them to my project. I would be super appreciative for any help or directions you could give me.

    What I have is one TC Electronics Polytune guitar tuner pedal that functions as follows:
    1, Pedal is bypassed - signal goes to guitar amp
    Press the pedal once and release
    2, Pedal is active - signal to amp is muted and tuner is active.
    Press again and we're back to step 1...

    What I want to achieve is to add 2 LED's that are lit one at the time. Green light when pedal is bypassed and a Red light when the pedal is active.

    From what I can tell the footswitch is a DPDT which made me think I could change it to a 3PDT and add the LED's and external 9V to the 3rd pole. However, the switch a momentary switch and my LED's would not be latching doing that. So I believe a flip flop/schmitt trigger would be the way to go? The pedal itself is powered with 9V, and I'd rather add another 9V source to power the LEDs than to try and hijack power from the pcb.

    So my questions would be if anyone know of a specific circuit that would work for this specific need (flip flop/schitt/or other)? Also, I wonder what kind of switch I would have to use to service the needs of the tuner itself as well a using it to trigger the latching LED's, and how it would be connected to this new circuit?

    I saw that Bill Marsden, to name one, had some fantastic illustrations and schmatics, but I'm not sure if they completely apply?
    I'm incredibly thankful for all the help I can get.

    Thanks!
    Niclas, Sweden
     
  2. wayneh

    Expert

    Sep 9, 2010
    12,123
    3,047
    :p:p That reminds me - now that I've had my morning coffee, it's time to go Schmitt. :D
     
  3. Dodgydave

    Distinguished Member

    Jun 22, 2012
    4,986
    745
    you will need a 3pole change over switch, or you can use one of the poles and use that to switch a dpdt 6V relay.
     
  4. absf

    Senior Member

    Dec 29, 2010
    1,492
    372
    a 3-pole switch would have 9 pins. How are you going to mount it onto your PCB? Drilling extra 3 holes is not an option as the PCB is double sided as you might drill through the trace.

    Are you able to trace where all the 6 pins of the DPDT go to?

    Allen
     
  5. Ron H

    AAC Fanatic!

    Apr 14, 2005
    7,050
    657
    Somewhere, that switch controls some sort of toggling latch or flip-flop. If you try to add another toggling latch for your LEDs, won't it be difficult to keep it in sync with the existing one?
    It might be better if you could locate the existing toggling circuit, and go from there.
    I suppose your circuit always comes up in the same state when you power it up. You could also initialize the new circuit to come up in the same state each time you power up, but if you are running it for several hours, I would worry about a glitch causing sync to be lost.
     
  6. tubeguy

    Well-Known Member

    Nov 3, 2012
    1,157
    197
    One method for switching audio signals on/off is to use one or more Jfet's.
    To help track down the toggle circuit, look for some Jfet's. They are frequently labeled with a J designator.
     
    Last edited: Jul 19, 2013
  7. Shoe-Laze

    Thread Starter New Member

    Jul 19, 2013
    6
    0
    Forgot to mention! The switch will be removed from to the pcb and attached back with 1 feet wires so I can press it "remote" from the pedal itself.

    Unfortunately I can't see where a single pin of the DPDT goes, and the manufacturer won't release the schematics.

    You are correct. The circuit always comes on in "Pedal bypassed" when power is applied. The best thing would indeed be to find where the switching happens on the board and start there, but the components are really tiny and I would rather stay away from changes on the pcb.

    I'll be running it for max 3 hours, and the lost sync can be dealt with occasionally as it's not a crucial circuit, only light turning red/green. :)

    Any ideas of which circuit to build?
     
  8. absf

    Senior Member

    Dec 29, 2010
    1,492
    372
    Assuming that your 3PDT switch is non-locking. I designed a simple circuit that might work.

    C1,R2 is a power up reset that makes 4013 Q always low at power up (thus lighting the Green LED). U2 4011 is used for contact debouncing. You can try it on a breadboard and see if works and see if improvements can be made. After all the circuit would take less than $5 to make.

    Allen

    [edit] Or use one chip 74HC74 and a 78L05 voltage regulator -------- schematic #2
     
    Last edited: Jul 20, 2013
  9. Ron H

    AAC Fanatic!

    Apr 14, 2005
    7,050
    657
    Why not take the best of each circuit? Use half of the 4013 to debounce the switch, and the other half as the toggle FF. That way, you won't need the voltage regulator and its associated capacitors. A 100nF cap should still be connected across the power pins of the 4013.
     
    absf likes this.
  10. Shoe-Laze

    Thread Starter New Member

    Jul 19, 2013
    6
    0
    Thank you for your replies! I will try to build this and let you know how it goes. But first, I will ask what Ron's suggetion of combining the two circuits would do? And how would it look in the schematics?
     
  11. Ron H

    AAC Fanatic!

    Apr 14, 2005
    7,050
    657
    It does the same thing as either of absf's circuits would do. It looks like this.
     
    absf likes this.
  12. Shoe-Laze

    Thread Starter New Member

    Jul 19, 2013
    6
    0
    I'm constructing this circuit right now, so I can soon let you know how it works out! But where does Q on U1a go?
     
  13. Ron H

    AAC Fanatic!

    Apr 14, 2005
    7,050
    657
    Leave Q1 disconnected.
     
  14. Shoe-Laze

    Thread Starter New Member

    Jul 19, 2013
    6
    0
    Alright!
    I can start to say that this is probably my first attempt on anything like this, and I made some worse-than-rookie-mistakes apparently. But bear with me, and I'll pick up all I can and learn :) When reading about schematics I was confused with the various symbols for + and - so when reading Ron's schematic I used Vcc for - and Arrows for + regardless of what I previously knew. Please tell me it should be the other way around?

    Other than that mistake, I re-did the circuit in three stages for verification from the experts. Am I way off, or do I just need some tweaking before applying power?

    Thanks!
     
  15. absf

    Senior Member

    Dec 29, 2010
    1,492
    372
    I checked the wiring of the 3 stages and they seem to be correct except the battery plus and minus are backward. The "arrow" sign is negative (black) and Vcc is actually positive (red)

    I hope you did order extra 4013 just in case you accidentally kill one.

    Allen
     
    Last edited: Jul 24, 2013
  16. Ron H

    AAC Fanatic!

    Apr 14, 2005
    7,050
    657
    If you look closely, you will see that battery "+" connects to vcc (through the switch), and battery "-" connects to ground (the little arrows).
     
  17. Shoe-Laze

    Thread Starter New Member

    Jul 19, 2013
    6
    0
    I rebuilt this circuit and I have now tried it extensively, and I can say that it is working EXACLY like I was hoping without any modifications needed! :)
    Thanks for the help!
    The next step would be to build the circuit on a permanent pcb with easily accessible spots to attach 9V + and -, and also for the 3 SPDT wires. I’ve been looking around in Sweden for a company who can make this small pcb according to the schematics, but they all want to make 50+ pcbs to be able to help me out. I’m only looking to make 3 pcbs to load with the circuit at the moment.
    Any clue were to turn to have these pcbs made?

    Thanks,
     
Loading...