DIY digital oscilloscope help with AC/DC coupling switch

Thread Starter

portreathbeach

Joined Mar 7, 2010
143
I've decided I'd have a go at making a small oscilloscope using a PIC microprocessor, a touch screen LCD and a couple of 8 bit ADC chips. I should be able to sample 2 channels at 8MHz, or 1 channel at 16MHz, which is plenty fast enough for what I normally need. It'll also have triggers and all of the normal stuff you would expect to have on a scope.

I've done previous projects with the LCD and touch screen and want to make my entire scope work with just the touch screen, but I'm a bit unsure as to how to switch the AC coupling capacitor in and out of circuit without using a physical switch. I could use a relay, but I'm trying to keep the PCB as small as possible (the same size as the LCD) and didn't really want to use a relay as the other components will all be SOIC chips and smaller. I was thinking of using small MOSFETs, but as AC signals are positive and negative, could I use 2 MOSFETs in parallel (drain to source, source to drain) to bypass the capacitor, or is there a better way?

Cheers for any help

Craig
 

Thread Starter

portreathbeach

Joined Mar 7, 2010
143
Last edited:

OBW0549

Joined Mar 2, 2015
3,566
OK. Thanks. I was looking at solid state relays before (the optocoupler ones), but didn't think the triac would work under very small voltages. Maybe I was wrong.
"Normal" SSRs, using Triacs, definitely wouldn't work well (or at all) in your application; they're for AC mains power control. The ones that JWHassler pointed to are a completely different animal: those are optically isolated, floating, linear analog switches meant for exactly the type of circuit you are trying to make. Not only do they have high isolation voltages, but they have high voltage ratings for their OFF state and are completely independent of supply rails. CMOS switches like the CD4016 have none of that, and won't work right (and can even be damaged) if your scope input voltage were to go outside the 4016's supply rails.
 

Thread Starter

portreathbeach

Joined Mar 7, 2010
143
Just realised from your post that JWHassler's post had a link in it. That looks like the sort of thing I'm after.

Cheers

EDIT: Do these type of devices allow for negative voltages to pass too?
 

Thread Starter

portreathbeach

Joined Mar 7, 2010
143
Cool. Thanks very much.

On another note: I've been looking for a programmable gain amplifier similar to the PGA112 that will allow a negative voltage to be applied to the REF pin so I can amplify and offset the voltage out of the device. Does such a thing exist?

I've played around with the LM386 amplifiers before. These give an offset in the middle of the positive supply and ground. These are good for audio, but not sure how good they would be for a scope input. Also, these are kind of programmable in a way you put different value capacitors across a couple of the pins, I am more after something which is SPI controlled.
 
Last edited:
Top