PIC and PC Project Exposition
                by Jonathan Weaver

home

e-mail

links

On this web site you will find code (mostly libraries) and accompanying projects using PowerBASIC and the PIC Assembly Language. The keynote project is a PC based Oscilloscope I call the PPM Scope. You will also find some other hardware projects, a hardware design resource library, and some tips for the electronics hobbyist. There are also a couple of tips in the hardware section for machining or molding your custom parts and enclosures.

PPM Scope

One of my best projects, a digital Oscilloscope. PPMScope is a do-it-yourself oscilloscope design with a maximum sample rate of 1 MHz (bandwidth of 500 kHz). The hardware is based on the PIC16F877A Microcontroller. I am creating this tool for my general use at home, but I thought others may benefit from the software and schematics. The hardware design includes a 50 Watt power supply (+12,-12,+5 Volts). I will later add a function generator (sine, triangle, square) to my scope. The function generator will be an analog generator with a 50 ohm output impedance. The human interface to the oscilloscope is both a part of the box (knobs, switches, etc) and through a PC program written in C for Windows.

The scope interfaces with the PC and communicates with the Windows software to display the captured waveform in the both the time and frequency domains. The design combines a high frequency analog stage with AC/DC coupling and three gains, a MAX118 digital to analog converter, a trigger circuit, a PIC16F877A microcontroller, and some PC interfacing hardware.

The PC program features cursors, frequency domain representation, optional waveform reconstruction methodology, single shot and hold modes, X-Y mode, and various mathematical operation. You can save your data or a picture of your waveform as a bitmap.

For development news, please see the comment/development log.

PIC CODE LIBRARY

A index of PIC Assembly language macros and libraries for general use. Many people prefer C over assembly because of its portability to multiple microcontrollers and because of compiler optimizations. This library offers macros and code in assembly with built in portability and optimizations. The idea is to put the power of assembly in the hands of the programmer, with some repetative tasks optimized at compile time. Generally, these libraries make extensive use of conditional compiling and other features of MPASM.

PIC PROJECTS

A index of projects related to or based on Microchip's PIC microcontroller. If you are just getting started with PIC microcontrollers, there are a number of resources on the internet. Check out my links page for a few.

PBASIC CODE LIBRARY

A index of Powerbasic libraries for general use.

PBASIC PROJECTS

A index of programs written in Powerbasic v.3 for DOS.

Hardware

Hardware contains alot of miscellaneous information about building enclosures, components, sensors, and designing circuits to aid the electronics hobbiest.

Tips and Tricks

Basically a catch all for anything I learn and think is important enough to share.

Links / Other Resources

 
[ Verse of the Day ]

[ Updates ]

Saturday, April 11, 2009 at 10:40 PM -- Released PPMScope 2.12. This is a firmware and software update that expands the capability of the oscilloscope hardware. Enjoy!

Monday, December 01, 2008 at 11:05 PM -- A change in the schematics and PCB to make the hardware more versatile. There were some parallel ports that were not compatible with the old schematics. This version of the PPMScope corrects the problem.

Tuesday, April 15, 2008 at 09:34 PM -- A mistake in the parts list was pointed out to me. I've updated the online help file and the compiled help file with the PPMScope downloads. I'd like to get the next update posted on the site soon but time slips thru my fingers these days.

Friday, May 18, 2007 at 10:11 PM -- Minor bug in the PPM Scope download file (sometimes when you move files around and remove debugging from the code you creat problems). If you've downloaded it in the past couple of days, you will want to download it again. Sorry for the inconvenience.

Wednesday, May 16, 2007 at 11:35 PM -- Finally! The Windows version of PPMScope has been published! It took me long enough :-) Enjoy!








I hope that the information here is useful to those who find it. However, I make no guarantees as to the usability of the information presented.

© Copyright 2005 by Jonathan Weaver
Page last updated 2009 April 11

[Contact Me] [About this site][Terms and Conditions] [Privacy Statement]