:: Home :: Code Snippets :: Drivers :: Projects :: About ::
 Main Menu
  Home
  Code Snippets
  About

 Open Drivers
 qTask - Queued Task Manager
 _build - Embedded build information
 PIC32 mcompat - PIC32 mcompat
 EA-DOGM - LCD Display Driver

 Open Projects
 oLogic - Oscilloscope Logic Viewer
 oLogic 1.4 - NEW Logic Viewer
 SSX32 - Serial Servo Driver



 Sources
Prototyping
  PicStuff
  Sparkfun

Equipment
  Saelig
  Tequipment

Supply House
  Jameco
  Mouser
  Digikey
  Allied Electronics
  Clearwater Technologies

Miscellaneous
  BCM
  N34D Blog

4/8ch Oscilloscope Logic Viewer







THIS PROJECT SUPERCEDED BY oLogic v1.4

This is a little project I came up with when I didn't own an MSO yet.

This project will allow you to view 4 or 8 logic channels on a standard analog scope.

You just need to hook up two scope connections;

  • CH1 connects to the output of the oLogic board
  • TRIGGER connects to any of the logic inputs you want to trigger off of.


  • Currently, to enter 4 or 8ch mode;
  • 4 ch. - PIN_A1 is tied high
  • 8 ch. - PIN_A1 is tied low


  • At the moment, keep PIN_A2 tied high, for chop mode, alt mode not working as expected at the moment.

    But hey, feel free to modify and email me back, I will post your alt code update. After all, this is an open source project.

    Note:

    The pic I have used is a PIC18F26K20, so you need a 3.3v reg for this chip. Also keep 5v input to the rest of the circuit otherwise the performance of the DAC dies off teribly.

    For crystal selection, I have done well using a 24MHz with X4 PLL, thus 96MHz. Performed well for me.
     Project Specs
    version: 1.2
    mcu: 18F2620
    compiler: CCS C

     Parts
    PIC: 18F26K20
    DAC: MX7224
    All Resistors: 100K Ohm
    All Caps: .01uF

     Files
    conf.h
    main.c
    ologic.zip
    main.hex
    chop.c
    MX7224.pdf
    alt.c
    oLogic.jpg
    main.h
    oLogic-v1-2.pdf

    ologic.zip - All files






    :: Home :: Resources :: PIC Microcontrollers ::
    :: 10F :: 12F :: 16F :: 18F :: 24F :: 24H :: 30F :: 33F ::
    (C) Copyright 2009 mculabs.com - contact: info@mculabs.com
    0.0042810440063477