3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

LCS-1M - A Full-Featured, Low-Cost Hobby Oscilloscope

Step 11Circuit Description - Level Offset; Trigger Circuitry

Circuit Description - Level Offset; Trigger Circuitry
The last part that the microcontroller is repsonsible for are some analog voltages. First, there are the channel offset voltages which move the measured waveforms and also allow for negative signals to be displayed. These voltages are generated by a two-channel 12-bit digital-to-analog converter (DAC, Microchip MPC4822) that is connected to the SPI bus.

A DAC of same type also sets the adjustable trigger level. Since the DAC can only produce voltages from 0V to 4.096V, one half of OP3 scales this up to the full necessary range of 0 to 5V. The second half is configured as an open-loop comparator, i.e. an op-amp without any feedback circuitry and as a consequence very high gain. It is fed by the trigger level on one side and the ADC1 input voltage on the other. This circuit will rail to the positive supply voltage whenever the input signal exceeds the trigger threshold ever so slightly, and rail to ground whenever the input signal is only sightly lower than the threshold. In other words, it provides a digital trigger signal that feeds the trigger input of the sample logic.

In the present circuit the scope can only trigger on channel 1. This is not really a serious limitation, the user simply must decide which signal he/she wants to trigger on before hooking up the scope to his/her circuit. At the same time, it cuts down on components, board size, and cost (at least two more ICs and some discrete elements).
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
59
Followers
3
Author:womai