semifluid.com

PIC12F675 Oscilloscope - Copyright Steven Cholewiak

PIC12F675 Oscilloscope

01/31/2006

This is a simple PC voltage oscilloscope using only a PIC12F675, a 20MHz osc, and a RS232 level shifter. The PIC takes a sample on GP2, immediately sends it to the PC at 115,200 baud using an asynchronous software serial routine, and repeats. It sends a 8-bit value that is read by the Visual Basic software and displayed on the screen (see examples below). The Visual Basic software deduces the time period between submissions and adjusts the display accordingly.

Full Circuit and Source Code

PIC12F675 Oscilloscope

The microcontroller code can be downloaded here:
- uSendAnalogHS.jal (uSendAnalogHS.hex)

Visual Basic code example: 675OscilloscopeDR1r1.zip

©2006 Steven Cholewiak