Author Topic: Triggering scope with foot pedal switch  (Read 1454 times)

0 Members and 1 Guest are viewing this topic.

Offline slugrustleTopic starter

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: us
Triggering scope with foot pedal switch
« on: July 11, 2023, 01:15:45 am »
I just jury rigged a foot pedal switch to the external trigger input on my scope with a 1k resistor and 5V supply from scope USB.  It's super handy.  I wanted to hold two nice high speed probes in particular locations with ground springs and needed both hands for that, but I also wanted to trigger the scope.  Enter the foot pedal switch.

Surely other people have done this before.  I'm looking to make a better / more permanent setup.  Do other people have advice on nice ways to do that?  I was thinking maybe a little box with debounce, selectable 3.3V / 5V out, selectable idle high / idle low, a BNC jack for output, that kind of thing.
 
The following users thanked this post: pdenisowski

Offline dobsonr741

  • Frequent Contributor
  • **
  • Posts: 694
  • Country: us
Re: Triggering scope with foot pedal switch
« Reply #1 on: July 11, 2023, 02:10:14 am »
Food for thought: voice assistant triggering single shot trigger over SCPI.
 

Offline schmitt trigger

  • Super Contributor
  • ***
  • Posts: 2313
  • Country: mx
Re: Triggering scope with foot pedal switch
« Reply #2 on: July 11, 2023, 02:26:47 am »
Excellent idea, I may build one myself.
The most important feature IMHO, would be a debounce circuit. 
 

Offline ejeffrey

  • Super Contributor
  • ***
  • Posts: 3868
  • Country: us
Re: Triggering scope with foot pedal switch
« Reply #3 on: July 11, 2023, 02:38:20 am »
A smart pedal would be super cool.  Something like this might be more complex than necessary but sounds handy:

Hold down the pedal to put the scope in auto or normal mode.  Release to stop/hold.  Tap once to arm single shot mode.  If the scope triggers from the signal, another tap re-arms single shot mode.  If not, subsequent taps act like force trigger button.

 

Offline TERRA Operative

  • Super Contributor
  • ***
  • Posts: 3050
  • Country: jp
  • Voider of warranties
    • Near Far Media Youtube
Re: Triggering scope with foot pedal switch
« Reply #4 on: July 11, 2023, 02:50:18 am »
Food for thought: voice assistant triggering single shot trigger over SCPI.

Like this one? :)

https://www.ebay.com/itm/185712951081
Where does all this test equipment keep coming from?!?

https://www.youtube.com/NearFarMedia/
 

Offline slugrustleTopic starter

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: us
Re: Triggering scope with foot pedal switch
« Reply #5 on: July 13, 2023, 09:38:21 pm »
The idea to use SCPI is a good one.  Man, if this scope had RS232 instead of USB, I would totally program an MCU to arm a single shot capture based on one pedal input and trigger the capture based on a second pedal input.

As it stands, doing this with USB is a bit beyond what I have time for (given that I would insist upon using a small MCU, not something with an OS).  Interesting idea all the same.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6982
  • Country: ca
  • Non-expert
Re: Triggering scope with foot pedal switch
« Reply #6 on: July 13, 2023, 10:27:41 pm »
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline LazyJack

  • Frequent Contributor
  • **
  • Posts: 253
  • Country: hu
  • Yeah, cool.
Re: Triggering scope with foot pedal switch
« Reply #7 on: July 14, 2023, 04:28:33 pm »
Clever idea!
The old 2400 series Tektronix digital scopes had a similar feature. The scope could be programmed to do all kinds of things at the press of the ident button on the probe. Like saving the waveform, switching to different configurations or starting an acquisition.
 

Offline slugrustleTopic starter

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: us
Re: Triggering scope with foot pedal switch
« Reply #8 on: July 29, 2023, 01:19:56 am »
Ok, I took a brief look at controlling the scope with SCPI over USB.  Was thinking about using a MAX3421E as the USB host and controlling that from an 8-bit MCU.  It would be even cooler to use a WCH CH554 MCU or similar by itself, but I'm not sure how to get the debugger for those MCUs.  Then I looked into the USB protocol a bit and realized that learning it would be a big lift for what I want to do here.

It turns out that setting my scope (SDS2000X+) to normal mode and triggering it externally with a foot pedal switch does just what I want (take a new single shot each switch press), but only if the switch is properly debounced. So I put together a little circuit that debounces the switch upon both open->closed and closed->open transitions, sets a latch on switch debounce closed, and resets the latch on switch debounce opened.  Every time the latch is set, it fires a ~100µs one shot that controls a ~5V level line driver.  I also added an output overvoltage crowbar to hopefully prevent damage to my scope if something fails in the circuit.

Boards are in the mail, and components are ordered.  The circuit simulates well, so I'm hopeful for a good result.

 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 29200
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Triggering scope with foot pedal switch
« Reply #9 on: July 29, 2023, 01:42:10 am »
It turns out that setting my scope (SDS2000X+) to normal mode and triggering it externally with a foot pedal switch does just what I want (take a new single shot each switch press), but only if the switch is properly debounced.
I also added an output overvoltage crowbar to hopefully prevent damage to my scope if something fails in the circuit.

Boards are in the mail, and components are ordered.  The circuit simulates well, so I'm hopeful for a good result.
Please see Ext Trigger input specs on P10 of the datasheet.
https://int.siglent.com/u_file/download/22_09_19/SDS2000X%20Plus_Datasheet_EN01C.pdf

From a 1M source 42V is max Ext Trig input.
Avid Rabid Hobbyist.
Some stuff seen @ Siglent HQ cannot be shared.
 

Offline slugrustleTopic starter

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: us
Re: Triggering scope with foot pedal switch
« Reply #10 on: July 29, 2023, 01:55:04 am »
Thanks for that.  Turns out my local copy of the datasheet is one rev older and doesn't have that info.  It's good to know.

I'm pretty sure the 1M/50Ω different for the "Ext Trigger Channel input voltage" line has to do with the EXT channel input impedance, not the source impedance.

In any case, the circuit I'm building runs from a 9VDC source, has slightly under 5V output voltage unloaded, about 50Ω output impedance, and the overvoltage crowbar should trip at around 6V, but only if there is some kind of fault condition.

I'll keep the EXT input impedance at 1MΩ though based on this info from the datasheet; the extra headroom shouldn't hurt.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 29200
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Triggering scope with foot pedal switch
« Reply #11 on: July 29, 2023, 02:03:11 am »
I'm pretty sure the 1M/50Ω different for the "Ext Trigger Channel input voltage" line has to do with the EXT channel input impedance, not the source impedance.
From datasheet:
Ext Trigger Channel input voltage 1 MΩ ≤ 42 Vpk, 50 Ω ≤ 5 Vrms

To me seems very clear this ^ indicates source impedance.
Therefore a series resistor in the source of your switching output can keep the signal within limits without need of a crowbar.

BTW, threshold levels that you set when selecting Ext Trig:
EXT: ±0.61 V
EXT/5: ±3.05 V
« Last Edit: July 29, 2023, 02:05:36 am by tautech »
Avid Rabid Hobbyist.
Some stuff seen @ Siglent HQ cannot be shared.
 

Offline slugrustleTopic starter

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: us
Re: Triggering scope with foot pedal switch
« Reply #12 on: July 29, 2023, 02:26:02 am »
Max input voltage for the other channels, the normal scope channels, is listed as
1 MΩ ≤400 Vpk(DC + AC), DC~10 kHz
50 Ω ≤5 Vrms, ±10 V Peak

Do you think 1MΩ and 50Ω for the normal input channels represents the output impedance of an external source?  I'm pretty sure it's the channel input impedance on the scope.  The same 5V limit applies to normal input channels and to the EXT channel at 50Ω, presumably due to a power limitation.

Perhaps you mean something different than I do by source.

The scope can set the input impedance of the normal channels and of the EXT channel to 1MΩ or 50Ω, and the input voltage limits are listed for both input impedance settings.  It would be really weird for the scope to be able to set its inputs to these two specific impedance values, list max voltage limits according to these two impedance values, and then intend the impedance values to refer to the output impedance of some external source...
 

Offline jmw

  • Frequent Contributor
  • **
  • Posts: 295
  • Country: us
Re: Triggering scope with foot pedal switch
« Reply #13 on: July 29, 2023, 03:22:48 am »
Food for thought: voice assistant triggering single shot trigger over SCPI.
https://github.com/jmwilson/ollie

Snips is gone, but it's an offline voice assistant, so the image will continue to work indefinitely.
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 10187
  • Country: nz
Re: Triggering scope with foot pedal switch
« Reply #14 on: July 29, 2023, 05:17:50 am »
If I was going to do that I'd probably have a switch mounted on the underside of the desk where I can press it with my knee.
Greek letter 'Psi' (not Pounds per Square Inch)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf