Sparkfun O-Clock v1.1

 

Make your X-Y capable analog oscilloscope more useful!

Your oscilloscope can do a lot more using the

Sparkfun Oscilloscope Clock

version 1.1

Available at Sparkfun Electronics

Introducing the Sparkfun Oscilloscope Clock (O-Clock) running Dutchtronix firmware version V4.0ds:

 

Hardware features:

bullet

Connects to your analog scope in X-Y mode using probes (1x, 10x), wires or BNC cables (with optional connectors)

bullet

Uses the Atmel AVR Atmega328p microcontroller

bullet

On board 5V power regulator for use with user provided wall adapter (8-15V DC center positive)

bullet

On-board Dallas DS1307 Real-Time Clock with 32.768kHz crystal and battery backup: this clock won't lose time!

bullet

Digital to Analog converter with built-in OpAmp (AD7302): low output impedance.

bullet

On-board true RS-232 level converter for the serial connection

bullet

footprint for BNC connectors on PCB: use standard BNC cables

bullet

DB9 connector on PCB: use a standard RS-232 cable.

bullet

On-Off switch on PCB

bullet

Two tactile switches on PCB

bullet

Intensity Control Output, both positive and negative going

bullet

optional USB interface using an FTDI USB to serial converter cable or the Sparkfun FTDI breakout board

bullet

switch to select power from USB interface

bullet

Header for External Clock Signal (GPS 1 Pulse Per Second, Rubidium Oscillator etc.)

bullet

Completely assembled

bullet

Extensive FAQ document available on this website

 

 

 

Firmware features:

 

bullet

Select different applications/modes from the on-screen menu: Clock, Terminal,  Function Generator, Calibration Screen, Demo and Boot.

bullet

User control with 2 push button switches, including auto-repeat operation

bullet

150-250 Hz refresh rate (dependent on the selected clock face mode)

bullet

Set Time and Date using the on-board button switches.

bullet

Set clock options and modes with On Screen Menu using the push button switches

bullet

Roman Numerals Clock Display Option

bullet

New Clock face:  Digital Display Mode now supported (Menu-Dial:Dig) with moving dial dot

bullet

Binary Clock Display option, together with Hexadecimal numeric Display (Bi-Hex clock)

bullet

Fractional Seconds display option showing time in 1/100 of a second increments.

bullet

The AVR Oscilloscope Clock supports a total of 37 different display combinations, many more when including the "Day of the Week" Display Option

bullet

The Terminal application now supports Persistent Vector Graphics, allowing you to run a games like Asteroids on another computer (PC or AVR based) and use the AVR Clock board as the display device (communication using the Serial Connection).

bullet

Help Screen, selected by a short S2 push

bullet

Simple Alarm Clock built-in. Use Menu to turn the Alarm on/off (Menu-Alarm:On). Use the On Screen Change Mode option to set the Alarm Time.

bullet

On board LED option to show the time in Morse Code (Menu-Led:Morse).

bullet

Day of the Week display on the screen (Menu-Name:Day)

bullet

Optionally add your own name to the Clock Display

bullet

Automatic Daylight Saving Time correction for the years 2008-2014 for the USA and the EU

bullet

Automatic Screen Repositioning to prevent screen Burn-in; control Burn-In protection frequency from 1 to 9 minutes, or turn the feature off.

bullet

Display Calibration mode

bullet

Multiple PPS (pulse per Second) options

bullet

Software correctable Time Accuracy

bullet

Play modes to have some fun with the clock.

bullet

Clean Reset of the EEProm Configuration Data option

bullet

Select from Multiple Baud Rates for the Serial Interface on the Menu, now including the 250,000 baud value

bullet

Automatic Time and Date setting when connected to the NMEA Serial output from a GPS device

bullet

The Function Generator has been sped up by 1 cycle, allowing for higher frequency waveforms.

bullet

Use the IOCTL serial command to select unusual options.

bullet

On board very small boot-loader, less than 512 words, leaving 31KB code space available

bullet

Boot-loader is STK500V1 compatible and uses avrdude to upload firmware (see WinAVR)

bullet

Firmware pre-programmed and upgradeable through the Serial Interface using the built-in boot-loader.

 

Additional features:

 

bullet

Firmware rewritten in C for V4.0 and up.  This is an Open Source Project.

bullet

Greatly enhanced Character Rendering, both in quality and speed

 

 

Besides keeping accurate time using both clock hands and numeric display, this AVR clock provides a host of options like:

 

bullet

Numeric time display field showing 12hr, 24hr, hexadecimal time or the date

bullet

12 Hour, 24 Hour, Roman Numerals or mininal clock dial. For true geeks, we offer the  binary clock display (with hex numeric display)

bullet

No need to adjust the clock for Daylight Saving Time; it can be done automatically

bullet

Show the clock features to others using the built-in demo mode

bullet

Turn on the chrono mode to see the time in 1/100 of a second increments.

bullet

Turn the Alarm clock on or off.

bullet

Calibration screen to optimally adjust the scope and probes.

bullet

Improve the clock's accuracy using software correction.

bullet

On board seconds indicator Led on or off

bullet

Automatic Screen Repositioning on or off

bullet

Play modes: run clock fast, in reverse or both

bullet

Clean reset the clock to its virgin state

bullet

Enter the name of your choice using the menu and it can be shown on the clock face. Or make the clock show the "Day of the Week".

bullet

Connect your GPS module using the Serial Connection and the clock will accurately display the current date and time

 

Changing the time or date is done using the on-board push button switches; the item being changed will flash. Depending on the selected display, this can be text (numeric display), a clock hand (analog clock only display) or even columns of "lights" (binary clock only display).

On Screen Menu

 

 

 

Binary Clock Display 11:49:14

 

This is what the board looks like:

 

 

This Sparkfun O-Clock is completely built and requires no assembly. It does not include an oscilloscope and requires an external wall adapter (8-15V DC, center positive). The O-Clock can also be powered from  an FTDI USB to serial converter cable or the Sparkfun FTDI breakout board.  Most external wall adapters should fit without any problems. Note that, when using an FTDI USB converter cable to power the O-Clock, it is necessary to turn off the LED to obtain a completely stable image (the current used by the LED affects the voltage provided by the USB interface, which affects the image).

 

A video showing the AVR Oscilloscope clock V3.1 (same design as Sparkfun O-Clock) firmware 4.0 in DEMO mode on a Tektronix 608 X-Y monitor is posted on YouTube.  An X-Y monitor is essentially a low frequency oscilloscope without the time-base section. The Tektronix 608 has a very good CRT and the image quality is the best possible.

 

 

Low-end Digital Scopes will not work well, High-end Digital Scopes do work (Tek TDS2014B, Tek TDS3034B, Tek TPS2024, HP54600B)

 

For more information, please email support (at) sparkfun (dot) com

 

 

Sparkfun O-Clock on Tektronix 475

 

 

Sparkfun O-Clock Links:

bullet

Operating Instructions

bullet

Manual / FAQ

bullet

Schematics

bullet

Firmware upgrading instructions

bullet

Terminal Application

bullet

Function Generator Application

bullet

AVR Clock Flash Image V4.0ds  (Serial Download)

bullet

AVR Clock Source Code V4.0 (check readme.txt for V4.0ds version)

 

 

 

 

Clock with Roman Numerals

Calibration Screen

Clock with Alarm Time

Clock with Day of the Week Display

 

 

Technical information:   

bullet

Datasheet ATmega328p (Microcontroller)

bullet

Datasheet AD7302 (DAC)

bullet

Datasheet DS1307 (RTC)

 

horizontal rule

Back Up