c. 1 Msps modular oscilloscope for everyone

PIC32MXxxxFxxxB microcontrollers have an A/D converter with a 10-channel analog input multiplexer. It is possible to sample 1 analog channel 1 million times per second (1 Msps, million samples per second).

Get PIC32MX250F128B simpleoscilloscope application v2.0.zip (source code included)from Downloads section. Default setting enables capture at 1 Msps. You may also lower the frequency, if you increase sampling frequency divider.

The sample application works on the PIC32MX2xxFxxxB basic circuit as well as on Vellemant K8055 and K8055N experiment boards with appropriate adapters.

The application samples AN0 input on PIC32MX250F128B or PIC32MX270F256B microcontroller. If you use K8055 or K8055N experiment board, connect a DC signal line to A1 input. Don’t forget to connect ground to the GND pin. Connect a small capacitor in series on A1 input to measure AC signals. If you use PIC32MX2xxFxxxB basic circuit, an operational amplifier circuit is recommended to protect AN0 input and adapt voltage levels to 0 V to 3.3 V range.

Click on the screenshot to enlarge it.