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

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

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



 Sources
Prototyping
  PicStuff
  Sparkfun

Equipment
  Saelig
  Tequipment

Supply House
  Jameco
  Mouser
  Digikey
  Allied Electronics
  Clearwater Technologies

Miscellaneous
  BCM
  N34D Blog

oLogic v1.4 - 4/8ch Oscilloscope Logic Viewer







NEW KIT AVAIALBLE: oLogic 1.4 Kit

Originaly, this is a little project I came up because of the fact I did not own an MSO at the time.

I had put together a little hack with a microcontroller, and was able to display 4 or 8 traces on a standard analog scope. Original project: oLogic Project

Since then I had put the project online here for all to see, and I was picked up by hackaday.com (see original post here: Use an analog oscilloscope to display digital logic)

Since then I have had alot of traffic on my server, as well as people emailing me for a copy of the .hex file, or if i can send them a preprogrammed chip.

I started thinking one day about the project, I never realy completed it. (still really havent 100%) But I wanted to make a kit available online, or at the very least the PCB. So I came up with www.picstuff.com as a place to put some parts and PCB's as related to projects.

If you are interested in purchasing this as a kit, you can find it here on Pic Stuff

So here is some more info on the updated project:

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.


  • To set the trigger to the correct chanel, an extra wire on the board connects to a header pin that matches the input channel.

    Thre are 2 trace modes, 4ch or 8ch mode. 4ch mode is a little cleaner and faster, since it only has to draw 4 lines in the same amount of time, thus higher freqency viewing is possible.

    There is a jumper in the upper left hand side of the board for 4/8 ch mode.

    Also, there is a Chop/Alt mode jumper. Chop mode is the standard mode to use the oLogic. Alt mode is experimental, and uses a gate signal from the scope to tell oLogic when to draw the next trace. It is possible to use an external source to trigger this. If you are in 4 ch. mode, you can jump a wire from the gate input to channel 8, and use that chanel pigtail for gating.

    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:

    For crystal selection, I have done well using a 24MHz with X4 PLL, thus 96MHz. Performed well for me.

     Project Specs
    version: 1.4
    mcu: 18F26K20
    compiler: CCS C

     Parts
    PIC: 18F26K20
    DAC: MX7224
    Rpd: 1M Ohm
    Rs: 100K Ohm
    All Caps: .01uF
    3v Reg: LD1117S33TR
    5v Reg: LD1117S50CTR
    Kit Avail.: Available

     Files
    ologic1.4.zip
    boot.c
    main.h
    pins.h
    main.c
    chop.c
    MX7224.pdf
    conf.h
    oLogic.jpg
    main.hex
    alt.c
    isr.c

    ologic1.4.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.004004955291748