Forum Rule: Always post complete source code & details to reproduce any issue!

# Thread: Data acquisition with Teensy 3.6

1. ## Data acquisition with Teensy 3.6

Hi all,

I am interested in using the Teensy 3.6 to acquire signal data of a square waveform that has a peak to peak voltage (Vpp) of 80 volts. Is this do-able? If so how would you go about doing this?

Thanks and best regards.

2. Voltage divider + limiting/clamping diodes. 9th grade stuff. No rocket science...

3. It seems simple enough (using Ohms law). But there are a few design decisions to be made - and that makes it more interesting.

Is 80 volts the maximum? Or might this be variable even up to a peak of 100 volts? And how fast is this square wave? (Fast might need compensation). Lots of unknowns.

I thought about a diode clamp to the 3v3 rail... but then wondered if a zener might be preferable? Anyone got thoughts here?

Assuming slow frequency, my design settled on the following (with a 1:40 resistor ratio to allow for spikes)...

4. Originally Posted by TelephoneBill
It seems simple enough (using Ohms law). But there are a few design decisions to be made - and that makes it more interesting.

Is 80 volts the maximum? Or might this be variable even up to a peak of 100 volts? And how fast is this square wave? (Fast might need compensation). Lots of unknowns.

I thought about a diode clamp to the 3v3 rail... but then wondered if a zener might be preferable? Anyone got thoughts here?

Assuming slow frequency, my design settled on the following (with a 1:40 resistor ratio to allow for spikes)...
Sorry for neglecting the details. I am operating at 1 MHz with a 30% duty cycle. And yes you're correct, I am planning on sweeping the peak to peak voltage from 10 to 80 V.

5. I first thought your input was analogue "acquisition" (to the ADC). But on reflection, it's not clear what "data" you wish to acquire - it could be digital? At HF frequencies, the zener protection idea will probably be in trouble. They tend to be high capacitance at low zener voltages, and that will "shunt" the 1K resistor at HF. Often, test it provides the answers.

Protecting the Teensy input directly could get messy. For that reason, I would put some low cost (sacrificial) buffer in between your signal and Teensy. If analogue, use a linear device. If digital use some logic gate.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•