Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Parallel switches (one on PCB, another on the bench/panel)

Status
Not open for further replies.

mike buba

Member level 2
Joined
Nov 17, 2013
Messages
50
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,286
Activity points
1,707
Hi All,

The idea is to add another (ON)-(ON) momentary switch in parallel to the PCB switch, so I can control the covnerter (application code) from the bench or panel. This is for START, STOP and RESET signals.
On the PCB board I have an (ON)-(ON) momentary switch S1, and next to it another input connector J3 with two pins for another switch, e.g. this one.
parallelSW.png Drawing1.png
When running the simulation it all works as expected: both switches can change the output signal.

But when connecting a real external switch on J3, I do not see a change in the output signal.
Even if I add a jumper to J3, I do not see a change in the signal; i.e. output remains in the previous state.
Also, when a jumper is on J3, switch S1 doesn't change the output state.

P.S. now even when I connect S1 external pins 0 and 1, the output signal does not change.
 

Doesn't make much sense. May be the switch is placed 180° rotated so that the switch is normally closed. Suggest to use a multimeter to check the switch states and voltage levels. "output signal does not change" is unspecific, what's the voltage level at the RC filter? 100R pull-up is unusually low, expect 2k to 10k.
 

    mike buba

    Points: 2
    Helpful Answer Positive Rating
May be the switch is placed 180° rotated so that the switch is normally closed. Suggest to use a multimeter to check the switch

The external switch has only two pins, so it can not be connected in a wrong way. But the linked external switch is a normally closed one. Which kind of logic IC are you using, a D-FF? On which edge is it triggering, rising or falling? Has it a schmitt-tigger input?

BR
 

Doesn't make much sense. May be the switch is placed 180° rotated so that the switch is normally closed. Suggest to use a multimeter to check the switch states and voltage levels. "output signal does not change" is unspecific, what's the voltage level at the RC filter? 100R pull-up is unusually low, expect 2k to 10k.
Only when I press and hold S1, I can see a voltage (4.94 Vdc) relative to GND at pins 0 and 2 (pin 2 is not used) of the S1. Votlage accross RC filter is 4.88 Vdc.
Sw.PNG
What confuses me is that when S1 is not pressed, there is no voltage at any of the switch S1 pins relative to GND. I am not sure why is that and how to achieve that with another external parallel switch.

When referring to the "output signal", I mean the output of the D-Type Positive Edge-Triggered Flip-Flop 74ACT74.

The external switch has only two pins, so it can not be connected in a wrong way. But the linked external switch is a normally closed one. Which kind of logic IC are you using, a D-FF? On which edge is it triggering, rising or falling? Has it a schmitt-tigger input?

BR
This is the main part of the schematics. D-Type Positive Edge-Triggered Flip-Flop 74ACT74 output 6 is used as a control signal (START, RESET, STOP).
When S1 is pressed, there is a voltage across S1 pins 0 and 1 (if referenced to the switch picture; on schematics, those are pins 1 and 2) and this changes the output state (74ACT74's pin 6).
Sch.png

For S1 it says (ON)-(ON) momentary switch, and now I am trying to add another switch in parallel to use it on the bench or panel.
I have another external momentary switch. When pressed, the output resistance is 0 Ohm, and when released multimeter shows OL. When connected to J3, it does not change the output signal (74ACT74's pin 6)
 

Only when I press and hold S1, I can see a voltage (4.94 Vdc) relative to GND at pins 0 and 2 (pin 2 is not used) of the S1. Votlage accross RC filter is 4.88 Vdc.
There's no pin 0 in your schematic. Nevertheless, this sounds like NC operation of the switch, opening on key-press, switch reverted as guessed above.
--- Updated ---

I reviewed post #1 and found that the switch is connected incorrectly. 0 is actually COM, 1 NC and 2 NO. Respectively 0 and 2 should be connected to the input. Rotating the switch by 180° may do the trick.
 
Last edited:

    mike buba

    Points: 2
    Helpful Answer Positive Rating
Rotating the switch by 180° may do the trick.
So the schematic works as it is, i.e. I get what I need: every time S1 is pressed, flip-flop output changes state.

When I try to add an external momentary switch with two pins on J3, the externl switch doesn't work, i.e. flip-flop output doesn't change the state.
Should I be using the same three-pin switch and connect it like S1?
---
Quick update after some more tests.

When S1 is closed (I am holding down the pushbutton), then another pushbutton connected to J3 works, i.e. I see the change in the flip-flop output when pressing J3.

But then, I cannot hold S1 closed all the time.
... all this still doesn't explain why there is no voltage at any of the S1 pins when the pushbutton is not pressed, and when pressed there is ~5Vdc between two connected pins.
 
Last edited:

When S1 is closed (I am holding down the pushbutton), then another pushbutton connected to J3 works, i.e. I see the change in the flip-flop output when pressing J3.
Hi,

This is what others already guessed: --> the swich is not CLOSED when pressed, but OPEN when pressed.

Klaus
 

    mike buba

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top