"With the advent of soundcards and digital sound, the speaker has become the poor relation"

Size: px
Start display at page:

Download ""With the advent of soundcards and digital sound, the speaker has become the poor relation""

Transcription

1 Programming the PC Speaker, part 1 Phil Inch, Game Developers Magazine DOWNLOAD... The example files mentioned in this article are contained in the file SPEAKER.ZIP (7,570 bytes) which can be downloaded by clicking this disk icon. Introduction There are many of us who've been playing with IBM's long enough to remember the time when the only form of sound available was the PC speaker <shudder>. "With the advent of soundcards and digital sound, the speaker has become the poor relation" The pitiful beeps and squawks which this speaker was capable of generating seemed adequate then, but of course with the advent of soundcards and digital sound, the speaker has become the poor relation for sound generation. You might wonder why we're covering how to play music on the speaker when most programming languages include commands for doing so (eg PLAY in basic). The simple answer is, what if you want to create sound effects or music in a language which does not have these commands... like assembler? And, next month I'll be showing you how to play digital sound using the speaker, which you can NOT do using the standard commands in your programming language, but to understand that article you'll need to understand this one. To understand how to use the PC speaker, we need to understand a few other elements of how the PC operates, and also remind ourselves of some elementary physics, so here's a brief overview. High bytes and low bytes (If you know what these are, please skip to the next section) A byte is a value from 0 to 255. By combining two bytes, we can create a number from 0 to 65,535. Let's say our number is 'n', and its value is The "high" byte is calculated as high = INTEGER( n/256 ) 1

2 (where the INTEGER function strips off any decimal places)and the "low" byte is then calculated as low = n - high (ie: it's the remainder). To combine the low byte and high byte back into one number 'n', we use the formula n = ( 256 * high ) + low = ( 256 * 124 ) + 54 = 31,798 Two bytes combined in this manner are commonly known as a "word". Four bytes can also be combined, to give us a number in the range 0-4,294,967,295 and this is known as a "double word" or "dword" for short. Sound Overview "It's no good generating sound effects if no-one except the family dog can hear them!" What is sound? If you've done high school physics, you know that sound is simply a wave. The wave alternately rises (into peaks) and falls (into troughs). The distance between two peaks is known as the wavelength. When a wave moves from a peak to a trough and back to a peak again, we say that the wave has moved one complete cycle, or oscillation. The number of oscillations per second is known as the frequency, and this is measured in Hertz, or Hz for short. The human ear is only capable of hearing a certain range of frequencies, and if I can find my old physics textbooks before I release this mag, I'll print the range. "It's no good generating sounds effects if no-one except the dog can hear them!" This will be an important consideration when you generate sound. It's no good generating sound effects if no-one (except maybe the family dog) can hear them! The three system timers 2

3 Whenever your computer is operating, there are three "timers" being controlled by various chips inside your computer. These are unimaginatively known as timers 0, 1 and 2. The frequency at which each timer oscillates is determined by a delay value. The idea is that each timer counts down from this delay value to zero, and when it reaches zero, the timer oscillates. In doing so it raises a signal to let other parts of the computer "know" it has oscillated. The counter is then re-set to the predetermined value and the process starts again. Each timer maintains its own independant count-down value, meaning that each timer can run at a different frequency. The counting down process is controlled by the main system oscillator, which runs at a frequency of 1,193,180 Hz, or MHz (MegaHertz). Every time this oscillates, each one of the system timers counts down once. This has nothing to do with the speed of your processor (25Mhz, 33Mhz, etc) - this timer runs at exactly the same speed in *every* PC. To vary the frequency at which the timers oscillate, you just need to give them a new count-down value. The two formulas used are easily determined: COUNTDOWN = FREQUENCY FREQUENCY = COUNTDOWN The countdown value can be any value from 1 to 65,535, giving a range of available frequencies of 1,193,180Hz to 18.2Hz. "You should not mess around with timer 1 unless you like your system to crash often" Timer 0 is the main system timer. It's configured to oscillate 18.2 times every second, by default (therefore, the countdown value is 65,535 from the above formula!). Whenever timer 0 'ticks', interrupt 8h is generated. Among other things, interrupt 8h is responsible for keeping the clock in your computer going. 3

4 This means that if you change the countdown value for timer 0, say to make it run twice as fast (by halving the countdown value), that your system clock will also run twice as fast. This becomes important later on when we play digitised sounds, when we may run the timer hundreds or even *thousands* of times faster than normal! Timer 1 is used to regularly refresh the contents of your RAM. This timer is of no value to us, but I list it here for completeness. You should NOT mess around with this timer unless you like your system to crash often. Timer 2 is used to control sound generation. By varying the frequency at which timer 2 oscillates, we can vary the frequency of sound being emitted from the speaker. This requires us to tell the computer to "attach" the speaker to timer 2, as you'll see. Enough theory, I want to make some noise! OK, hang on, first you've got to know how to modify the countdown value for timer 2. For the first time in the magazine, we're going to have to go directly to the hardware ports to do this. [Hardware ports are a bit like pigeon holes for the hardware - by putting certain values into certain ports, we can communicate directly with the hardware. Sometimes the hardware returns values to us which we can retrieve by reading other ports. You'll see more and more examples of port usage as the magazine goes on, particularly from me when I'm running late on a deadline <hic> <grin>] If you haven't modified ports directly before, you may not know how to do so with your language. I can tell you that with C you can use the 'outport' and 'outportb' functions. With assembler, use the 'OUT' mnemonic. For other languages, I'm afraid you'll have to consult your manual - please let me know what you find. To tell timer 2 that you want to modify the countdown value, you first have to tell it you're about to do so. You then send the new value as two bytes, the low byte first and the high byte second. [NB: The pseudocode representation of sending bytes to a port is the OUT command, where we OUT PORT,VALUE. To read a value from a port we use VALUE = IN(PORT)] First we have to tell timer 2 that we're about to load a new countdown value, which we do by sending the value B6h (dec 182) to port 43h (dec 67). ie: OUT 43h, B6h Then, in two consecutive statements, we must send the low byte and high byte of the new countdown value, but we send them to port 42h, not port 43h - watch this, it's a common programming mistake! 4

5 For example, if our low and high bytes are 54 and 124 respectively, as in our example above, then we do: OUT 42h, 54 OUT 42h, 124 (Remember, you are not setting the frequency here, you are setting the countdown value! This is another common programming mistake! Use the formula above to determine the countdown value required for the desired frequency, or vice versa.) As soon as we have done this, the new countdown value takes effect. However, before this will make any noise, we have to tell the CPU that we want to "connect" the speaker to timer 2, so that every time timer 2 oscillates, so does the speaker, producing a "click". To do this, we must set bits 0 and 1 of the value on port 61h on. Cue pseudocode: VALUE = IN( 61h ) VALUE = VALUE OR 3 (Turn on bits 1 and 2) OUT 61h, VALUE [If you don't understand the second line, look under 'OR' in the index of your manual. While you're at it, read about 'AND' also because we're going to use that shortly] To "disconnect" the speaker from timer 2, we need to clear bits 1 and 2 of the value on port 61h: VALUE = IN( 61h ) VALUE = VALUE AND 252 OUT 61h, VALUE Note that this connection or disconnection stays put until told otherwise. That is, once you've connected the speaker to timer 2, you can change the frequency as often as you like without doing the connection again. If you wrote a program to do the above, you would now find that your speaker is oscillating at ( /31798) hertz = 37.5Hz. That's just between D and D sharp on the first octave of a piano. (I've included a table of frequencies at the end of the article). "The possibilities are limitless, and experimentation is definitely the name of the game." To play a little tune, then, we just set up the frequency for a note, wait for a little while, then set up the frequency for the next note, and so on. 5

6 To turn the speaker off again, just disconnect it from timer 2 as above, or set the frequency to something inaudible (this is cheating but has the same effect). To make sound effects, well, there are loads of possibilities. You can quickly move back and forth between two frequencies to generate an "alarm" style sound effect, or you can glide between one frequency and another and back again to generate a "phaser". "The possibilities are limitless, and experimentation is the name of the game" The possibilities are limitless, and experimentation is definitely the name of the game. You'll be amazed at the sounds you can make if you experiment with changing frequencies rapidly. To close this month, I've included a program which demonstrates what we've learnt about sound. It's called SOUNDS.EXE, and the source code is in SOUNDS.C. TABLE OF MUSICAL NOTE FREQUENCIES (Hz) Octave Note C C# D D# E F F# G G# A A# B

Design and Implementation of Timer, GPIO, and 7-segment Peripherals

Design and Implementation of Timer, GPIO, and 7-segment Peripherals Design and Implementation of Timer, GPIO, and 7-segment Peripherals 1 Module Overview Learn about timers, GPIO and 7-segment display; Design and implement an AHB timer, a GPIO peripheral, and a 7-segment

More information

Processor time 9 Used memory 9. Lost video frames 11 Storage buffer 11 Received rate 11

Processor time 9 Used memory 9. Lost video frames 11 Storage buffer 11 Received rate 11 Processor time 9 Used memory 9 Lost video frames 11 Storage buffer 11 Received rate 11 2 3 After you ve completed the installation and configuration, run AXIS Installation Verifier from the main menu icon

More information

Laboratory Exercise 4

Laboratory Exercise 4 Laboratory Exercise 4 Polling and Interrupts The purpose of this exercise is to learn how to send and receive data to/from I/O devices. There are two methods used to indicate whether or not data can be

More information

Operations of ewelink APP

Operations of ewelink APP Operations of ewelink APP Add WiFi-RF Bridge to APP: 1. In a place where there is a wireless WIFI signal, turn on the WLAN function of the phone, select a wireless network and connect it. 2. After powering

More information

Training Note TR-06RD. Schedules. Schedule types

Training Note TR-06RD. Schedules. Schedule types Schedules General operation of the DT80 data loggers centres on scheduling. Schedules determine when various processes are to occur, and can be triggered by the real time clock, by digital or counter events,

More information

AMIQ-K2 Program for Transferring Various-Format I/Q Data to AMIQ. Products: AMIQ, SMIQ

AMIQ-K2 Program for Transferring Various-Format I/Q Data to AMIQ. Products: AMIQ, SMIQ Products: AMIQ, SMIQ AMIQ-K2 Program for Transferring Various-Format I/Q Data to AMIQ The software AMIQ-K2 enables you to read, convert, and transfer various-format I/Q data files to AMIQ format. AMIQ-K2

More information

Do the following: a. (12 points) Draw a block diagram of your circuit design, showing and labeling all essential components and connections.

Do the following: a. (12 points) Draw a block diagram of your circuit design, showing and labeling all essential components and connections. UNIVERSITY OF CALIFORNIA College of Engineering Electrical Engineering and Computer Sciences Department EECS 145M: Microcomputer Interfacing Laboratory Spring Midterm #1 (Closed book- calculators OK) Wednesday,

More information

EECS145M 2000 Midterm #1 Page 1 Derenzo

EECS145M 2000 Midterm #1 Page 1 Derenzo UNIVERSITY OF CALIFORNIA College of Engineering Electrical Engineering and Computer Sciences Department EECS 145M: Microcomputer Interfacing Laboratory Spring Midterm #1 (Closed book- calculators OK) Wednesday,

More information

Digilent Nexys-3 Cellular RAM Controller Reference Design Overview

Digilent Nexys-3 Cellular RAM Controller Reference Design Overview Digilent Nexys-3 Cellular RAM Controller Reference Design Overview General Overview This document describes a reference design of the Cellular RAM (or PSRAM Pseudo Static RAM) controller for the Digilent

More information

Chapter 4. Logic Design

Chapter 4. Logic Design Chapter 4 Logic Design 4.1 Introduction. In previous Chapter we studied gates and combinational circuits, which made by gates (AND, OR, NOT etc.). That can be represented by circuit diagram, truth table

More information

Counter/timer 2 of the 83C552 microcontroller

Counter/timer 2 of the 83C552 microcontroller INTODUCTION TO THE 83C552 The 83C552 is an 80C51 derivative with several extended features: 8k OM, 256 bytes AM, 10-bit A/D converter, two PWM channels, two serial I/O channels, six 8-bit I/O ports, and

More information

TSIU03: Lab 3 - VGA. Petter Källström, Mario Garrido. September 10, 2018

TSIU03: Lab 3 - VGA. Petter Källström, Mario Garrido. September 10, 2018 Petter Källström, Mario Garrido September 10, 2018 Abstract In the initialization of the DE2-115 (after you restart it), an image is copied into the SRAM memory. What you have to do in this lab is to read

More information

Ocean Sensor Systems, Inc. Wave Staff III, OSSI With 0-5V & RS232 Output and A Self Grounding Coaxial Staff

Ocean Sensor Systems, Inc. Wave Staff III, OSSI With 0-5V & RS232 Output and A Self Grounding Coaxial Staff Ocean Sensor Systems, Inc. Wave Staff III, OSSI-010-008 With 0-5V & RS232 Output and A Self Grounding Coaxial Staff General Description The OSSI-010-008 Wave Staff III is a water level sensor that combines

More information

SWITCH: Microcontroller Touch-switch Design & Test (Part 2)

SWITCH: Microcontroller Touch-switch Design & Test (Part 2) SWITCH: Microcontroller Touch-switch Design & Test (Part 2) 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON v2.09 Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Timetable... 2

More information

DVB-T Box, USB Monheim/Germany Tel. +49 (0)9091/ Fax +49 (0)9091/ Hama GmbH & Co KG.

DVB-T Box, USB Monheim/Germany Tel. +49 (0)9091/ Fax +49 (0)9091/ Hama GmbH & Co KG. www.hama.de Hama GmbH & Co KG Postfach 80 86651 Monheim/Germany Tel. +49 (0)9091/502-0 Fax +49 (0)9091/502-274 hama@hama.de www.hama.de 00062776-01.05 DVB-T Box, USB 2.0 00062776 L TV USB receiver User

More information

Assignment 3: 68HC11 Beep Lab

Assignment 3: 68HC11 Beep Lab ASSIGNMENT 3: 68HC11 Beep Lab Introduction In this assignment, you will: Analyze the timing of a program that makes a beep, calculating the precise frequency of oscillation. Use an oscilloscope in the

More information

Manual Version Ver 1.0

Manual Version Ver 1.0 The BG-3 & The BG-7 Multiple Test Pattern Generator with Field Programmable ID Option Manual Version Ver 1.0 BURST ELECTRONICS INC CORRALES, NM 87048 USA (505) 898-1455 VOICE (505) 890-8926 Tech Support

More information

Sequential Logic. Introduction to Computer Yung-Yu Chuang

Sequential Logic. Introduction to Computer Yung-Yu Chuang Sequential Logic Introduction to Computer Yung-Yu Chuang with slides by Sedgewick & Wayne (introcs.cs.princeton.edu), Nisan & Schocken (www.nand2tetris.org) and Harris & Harris (DDCA) Review of Combinational

More information

Ocean Sensor Systems, Inc. Wave Staff, OSSI F, Water Level Sensor With 0-5V, RS232 & Alarm Outputs, 1 to 20 Meter Staff

Ocean Sensor Systems, Inc. Wave Staff, OSSI F, Water Level Sensor With 0-5V, RS232 & Alarm Outputs, 1 to 20 Meter Staff Ocean Sensor Systems, Inc. Wave Staff, OSSI-010-002F, Water Level Sensor With 0-5V, RS232 & Alarm Outputs, 1 to 20 Meter Staff General Description The OSSI-010-002E Wave Staff is a water level sensor that

More information

The Micropython Microcontroller

The Micropython Microcontroller Please do not remove this manual from the lab. It is available via Canvas Electronics Aims of this experiment Explore the capabilities of a modern microcontroller and some peripheral devices. Understand

More information

The BAT WAVE ANALYZER project

The BAT WAVE ANALYZER project The BAT WAVE ANALYZER project Conditions of Use The Bat Wave Analyzer program is free for personal use and can be redistributed provided it is not changed in any way, and no fee is requested. The Bat Wave

More information

BASCOM-TV. TV Code Features: ICs supported: BASCOM versions:

BASCOM-TV. TV Code Features: ICs supported: BASCOM versions: BASCOM-TV With this software module you can generate output directly to a TV - via an RGB SCART connection - from BASCOM (AVR), using a just few resistors and a 20 MHz crystal. Write your program with

More information

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN Assoc. Prof. Dr. Burak Kelleci Spring 2018 OUTLINE Synchronous Logic Circuits Latch Flip-Flop Timing Counters Shift Register Synchronous

More information

LAX_x Logic Analyzer

LAX_x Logic Analyzer Legacy documentation LAX_x Logic Analyzer Summary This core reference describes how to place and use a Logic Analyzer instrument in an FPGA design. Core Reference CR0103 (v2.0) March 17, 2008 The LAX_x

More information

Tebis application software

Tebis application software Tebis application software Input products / ON / OFF output / RF dimmer Electrical / Mechanical characteristics: see product user manual Product reference Product designation TP device RF device WYC42xQ

More information

Digital Circuits 4: Sequential Circuits

Digital Circuits 4: Sequential Circuits Digital Circuits 4: Sequential Circuits Created by Dave Astels Last updated on 2018-04-20 07:42:42 PM UTC Guide Contents Guide Contents Overview Sequential Circuits Onward Flip-Flops R-S Flip Flop Level

More information

Lesson 12. Advanced Digital Integrated Circuits Flip-Flops, Counters, Decoders, Displays

Lesson 12. Advanced Digital Integrated Circuits Flip-Flops, Counters, Decoders, Displays Lesson 12 Sierra College CIE-01 Jim Weir 530.272.2203 jweir43@gmail.com www.rstengineering.com/sierra Advanced Digital Integrated Circuits Flip-Flops, Counters, Decoders, Displays Flip-Flops: True name

More information

DSP in Communications and Signal Processing

DSP in Communications and Signal Processing Overview DSP in Communications and Signal Processing Dr. Kandeepan Sithamparanathan Wireless Signal Processing Group, National ICT Australia Introduction to digital signal processing Introduction to digital

More information

Digital (5hz to 500 Khz) Frequency-Meter

Digital (5hz to 500 Khz) Frequency-Meter Digital (5hz to 500 Khz) Frequency-Meter Posted on April 4, 2008, by Ibrahim KAMAL, in Sensor & Measurement, tagged Based on the famous AT89C52 microcontroller, this 500 Khz frequency-meter will be enough

More information

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE NORTHWESTERN UNIVERSITY TECHNOLOGICL INSTITUTE ECE 270 Experiment #8 DIGITL CIRCUITS Prelab 1. Draw the truth table for the S-R Flip-Flop as shown in the textbook. Draw the truth table for Figure 7. 2.

More information

Conference Speaker Timing System. Operating Instruction Manual

Conference Speaker Timing System. Operating Instruction Manual Conference Speaker Timing System Operating Instruction Manual December 2006 Table of Contents Overview... 2 The Master Station... 2 The Slave Station... 2 Warning Lights... 3 Radio-Controlled Clock...

More information

NS8050U MICROWIRE PLUSTM Interface

NS8050U MICROWIRE PLUSTM Interface NS8050U MICROWIRE PLUSTM Interface National Semiconductor Application Note 358 Rao Gobburu James Murashige April 1984 FIGURE 1 Microwire Mode Functional Configuration TRI-STATE is a registered trademark

More information

DIY Calculator Demo: Switches and LEDs 101

DIY Calculator Demo: Switches and LEDs 101 DIY Calculator Demo: Switches and LEDs 101 Introduction This document features a suite of simple (but jolly interesting) demos that involve using a virtual computer-calculator to read data from some virtual

More information

DX-10 tm Digital Interface User s Guide

DX-10 tm Digital Interface User s Guide DX-10 tm Digital Interface User s Guide GPIO Communications Revision B Copyright Component Engineering, All Rights Reserved Table of Contents Foreword... 2 Introduction... 3 What s in the Box... 3 What

More information

Using Spectrum Laboratory (Spec Lab) for Precise Audio Frequency Measurements

Using Spectrum Laboratory (Spec Lab) for Precise Audio Frequency Measurements Using Spectrum Laboratory (Spec Lab) for Precise Audio Frequency Measurements Ver 1.15 Nov 2009 Jacques Audet VE2AZX ve2azx@amsat.org WEB: ve2azx.net NOTE: SpecLab version V2.7 b18 has some problems with

More information

Implementing a Rudimentary Oscilloscope

Implementing a Rudimentary Oscilloscope EE-3306 HC6811 Lab #4 Implementing a Rudimentary Oscilloscope Objectives The purpose of this lab is to become familiar with the 68HC11 on chip Analog-to-Digital converter. This lab builds on the knowledge

More information

FLIP-FLOPS AND RELATED DEVICES

FLIP-FLOPS AND RELATED DEVICES C H A P T E R 5 FLIP-FLOPS AND RELATED DEVICES OUTLINE 5- NAND Gate Latch 5-2 NOR Gate Latch 5-3 Troubleshooting Case Study 5-4 Digital Pulses 5-5 Clock Signals and Clocked Flip-Flops 5-6 Clocked S-R Flip-Flop

More information

The PK Antenna Analyzer

The PK Antenna Analyzer The PK Antenna Analyzer Figure 1. The PK Antenna Analyzer, PKAA. The PK antenna analyzer (PKAA) is a low cost, full-featured instrument with many unique features: VSWR measurements covering all amateur

More information

Chapter 3: Sequential Logic

Chapter 3: Sequential Logic Elements of Computg Systems, Nisan & Schocken, MIT Press, 2005 www.idc.ac.il/tecs Chapter 3: Sequential Logic Usage and Copyright Notice: Copyright 2005 Noam Nisan and Shimon Schocken This presentation

More information

Arbor Scientific PO Box 2750 Ann Arbor, Michigan (800) Timer & Photogates 2.0 P Owners Manual

Arbor Scientific PO Box 2750 Ann Arbor, Michigan (800) Timer & Photogates 2.0 P Owners Manual Arbor Scientific PO Box 2750 Ann Arbor, Michigan 48108 www.arborsci.com (800) 367-6695 Timer & Photogates 2.0 P4-1450 Owners Manual Stopwatch 0.01 second resolution to 999999.99 seconds Count FCC Compliance

More information

TABLE 3. MIB COUNTER INPUT Register (Write Only) TABLE 4. MIB STATUS Register (Read Only)

TABLE 3. MIB COUNTER INPUT Register (Write Only) TABLE 4. MIB STATUS Register (Read Only) TABLE 3. MIB COUNTER INPUT Register (Write Only) at relative address: 1,000,404 (Hex) Bits Name Description 0-15 IRC[15..0] Alternative for MultiKron Resource Counters external input if no actual external

More information

8088 Corruption. Motion Video on a 1981 IBM PC with CGA

8088 Corruption. Motion Video on a 1981 IBM PC with CGA 8088 Corruption Motion Video on a 1981 IBM PC with CGA Introduction 8088 Corruption plays video that: Is Full-motion (30fps) Is Full-screen In Color With synchronized audio on a 1981 IBM PC with CGA (and

More information

Programmer s Reference

Programmer s Reference Programmer s Reference 1 Introduction This manual describes Launchpad s MIDI communication format. This is all the proprietary information you need to be able to write patches and applications that are

More information

Therefore we need the help of sound editing software to convert the sound source captured from CD into the required format.

Therefore we need the help of sound editing software to convert the sound source captured from CD into the required format. Sound File Format Starting from a sound source file, there are three steps to prepare a voice chip samples. They are: Sound Editing Sound Compile Voice Chip Programming Suppose the sound comes from CD.

More information

CSE 352 Laboratory Assignment 3

CSE 352 Laboratory Assignment 3 CSE 352 Laboratory Assignment 3 Introduction to Registers The objective of this lab is to introduce you to edge-trigged D-type flip-flops as well as linear feedback shift registers. Chapter 3 of the Harris&Harris

More information

IMS B007 A transputer based graphics board

IMS B007 A transputer based graphics board IMS B007 A transputer based graphics board INMOS Technical Note 12 Ray McConnell April 1987 72-TCH-012-01 You may not: 1. Modify the Materials or use them for any commercial purpose, or any public display,

More information

ECE-320 Lab 5: Modeling and Controlling a Pendulum

ECE-320 Lab 5: Modeling and Controlling a Pendulum ECE-320 Lab 5: Modeling and Controlling a Pendulum Overview: In this lab we will model a pendulum using frequency response (Bode plot) methods, plus some intuition about the form of the transfer function.

More information

Contents Circuits... 1

Contents Circuits... 1 Contents Circuits... 1 Categories of Circuits... 1 Description of the operations of circuits... 2 Classification of Combinational Logic... 2 1. Adder... 3 2. Decoder:... 3 Memory Address Decoder... 5 Encoder...

More information

VGA 8-bit VGA Controller

VGA 8-bit VGA Controller Summary This document provides detailed reference information with respect to the VGA Controller peripheral device. Core Reference CR0113 (v3.0) March 13, 2008 The VGA Controller provides a simple, 8-bit

More information

Special Applications Modules

Special Applications Modules (IC697HSC700) datasheet Features 59 1 IC697HSC700 a45425 Single slot module Five selectable counter types 12 single-ended or differential inputs TTL, Non-TTL and Magnetic Pickup input thresholds Four positive

More information

MaxView Cinema Kit Quick Install Guide

MaxView Cinema Kit Quick Install Guide SYSTEM SETUP The MaxView will work at any of the following display settings: INSTALLATION MaxView Cinema Kit Quick Install Guide Step 1 - Turn off your computer. Disconnect your monitor s VGA cable from

More information

imso-104 Manual Revised August 5, 2011

imso-104 Manual Revised August 5, 2011 imso-104 Manual Revised August 5, 2011 Section 1 Getting Started SAFETY 1.10 Quickstart Guide 1.20 SAFETY 1.30 Compatibility 1.31 Hardware 1.32 Software Section 2 How it works 2.10 Menus 2.20 Analog Channel

More information

XTAL Bank DDS Version 0.02 Sept Preliminary, highly likely to contain numerous errors

XTAL Bank DDS Version 0.02 Sept Preliminary, highly likely to contain numerous errors XTAL Bank DDS Version 002 Sept 7 2012 Preliminary, highly likely to contain numerous errors The photo above shows the fully assembled Xtal Bank DDS with 2 DDS modules installed (The kit is normally only

More information

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors CSC258 Week 5 1 We are here Assembly Language Processors Arithmetic Logic Units Devices Finite State Machines Flip-flops Circuits Gates Transistors 2 Circuits using flip-flops Now that we know about flip-flops

More information

Analyzing and Saving a Signal

Analyzing and Saving a Signal Analyzing and Saving a Signal Approximate Time You can complete this exercise in approximately 45 minutes. Background LabVIEW includes a set of Express VIs that help you analyze signals. This chapter teaches

More information

Introduction. The Clock Hardware. A Unique LED Clock Article by Craig A. Lindley

Introduction. The Clock Hardware. A Unique LED Clock Article by Craig A. Lindley Introduction As hard as it might be to believe, I have never built an electronic clock of any kind. I've always thought electronic clocks were passe and not worth the time to design and build one. In addition,

More information

Transmitter Interface Program

Transmitter Interface Program Transmitter Interface Program Operational Manual Version 3.0.4 1 Overview The transmitter interface software allows you to adjust configuration settings of your Max solid state transmitters. The following

More information

Dither Explained. An explanation and proof of the benefit of dither. for the audio engineer. By Nika Aldrich. April 25, 2002

Dither Explained. An explanation and proof of the benefit of dither. for the audio engineer. By Nika Aldrich. April 25, 2002 Dither Explained An explanation and proof of the benefit of dither for the audio engineer By Nika Aldrich April 25, 2002 Several people have asked me to explain this, and I have to admit it was one of

More information

Computer Systems Architecture

Computer Systems Architecture Computer Systems Architecture Fundamentals Of Digital Logic 1 Our Goal Understand Fundamentals and basics Concepts How computers work at the lowest level Avoid whenever possible Complexity Implementation

More information

Linrad On-Screen Controls K1JT

Linrad On-Screen Controls K1JT Linrad On-Screen Controls K1JT Main (Startup) Menu A = Weak signal CW B = Normal CW C = Meteor scatter CW D = SSB E = FM F = AM G = QRSS CW H = TX test I = Soundcard test mode J = Analog hardware tune

More information

User manual. English. Perception CSI Extension Harmonic Analysis Sheet. A en

User manual. English. Perception CSI Extension Harmonic Analysis Sheet. A en A4192-2.0 en User manual English Perception CSI Extension Document version 2.0 February 2015 For Harmonic Analysis version 2.0.15056 For Perception 6.60 or higher For HBM's Terms and Conditions visit www.hbm.com/terms

More information

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver EM MICROELECTRONIC - MARIN SA 2, 4 and 8 Mutiplex LCD Driver Description The is a universal low multiplex LCD driver. The version 2 drives two ways multiplex (two blackplanes) LCD, the version 4, four

More information

NOTICE: This document is for use only at UNSW. No copies can be made of this document without the permission of the authors.

NOTICE: This document is for use only at UNSW. No copies can be made of this document without the permission of the authors. Brüel & Kjær Pulse Primer University of New South Wales School of Mechanical and Manufacturing Engineering September 2005 Prepared by Michael Skeen and Geoff Lucas NOTICE: This document is for use only

More information

LCD Triplex Drive with COP820CJ

LCD Triplex Drive with COP820CJ LCD Triplex Drive with COP820CJ INTRODUCTION There are many applications which use a microcontroller in combination with a Liquid Crystal Display. The normal method to control a LCD panel is to connect

More information

VNS2210 Amplifier & Controller Installation Guide

VNS2210 Amplifier & Controller Installation Guide VNS2210 Amplifier & Controller Installation Guide VNS2210 Amplifier & Controller Installation 1. Determine the installation location for the VNS2210 device. Consider the following when determining the

More information

4X50 ETHERNET SYSTEM

4X50 ETHERNET SYSTEM Kokkedal Industripark 4 DK-2980 Kokkedal Denmark info@eilersen.com Tel +45 49 180 100 Fax +45 49 180 200 4X50 ETHERNET SYSTEM Status and weight transfer using EtherNetIP Applies for: Software: ETHERNETIP.100609.3v3

More information

USB Mini Spectrum Analyzer User Manual TSA Program for PC TSA4G1 TSA6G1 TSA8G1

USB Mini Spectrum Analyzer User Manual TSA Program for PC TSA4G1 TSA6G1 TSA8G1 USB Mini Spectrum Analyzer User Manual TSA Program for PC TSA4G1 TSA6G1 TSA8G1 Triarchy Technologies Corp. Page 1 of 17 USB Mini Spectrum Analyzer User Manual Copyright Notice Copyright 2013 Triarchy Technologies,

More information

TV Synchronism Generation with PIC Microcontroller

TV Synchronism Generation with PIC Microcontroller TV Synchronism Generation with PIC Microcontroller With the widespread conversion of the TV transmission and coding standards, from the early analog (NTSC, PAL, SECAM) systems to the modern digital formats

More information

AN1324 APPLICATION NOTE

AN1324 APPLICATION NOTE AN1324 APPLICATION NOTE CALIBRATING THE RC OSCILLATOR OF THE ST7FLITE0 MCU USING THE MAINS by Microcontroller Division Applications 1 INTRODUCTION The ST7FLITE0 microcontroller contains an internal RC

More information

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil ADC Peripheral in s Petr Cesak, Jan Fischer, Jaroslav Roztocil Czech Technical University in Prague, Faculty of Electrical Engineering Technicka 2, CZ-16627 Prague 6, Czech Republic Phone: +420-224 352

More information

Hello and welcome to this presentation of the STM32L4 Analog-to-Digital Converter block. It will cover the main features of this block, which is used

Hello and welcome to this presentation of the STM32L4 Analog-to-Digital Converter block. It will cover the main features of this block, which is used Hello and welcome to this presentation of the STM32L4 Analog-to-Digital Converter block. It will cover the main features of this block, which is used to convert the external analog voltage-like sensor

More information

Lecture 1: What we hear when we hear music

Lecture 1: What we hear when we hear music Lecture 1: What we hear when we hear music What is music? What is sound? What makes us find some sounds pleasant (like a guitar chord) and others unpleasant (a chainsaw)? Sound is variation in air pressure.

More information

SERTEL NTP SERVER Teleclock - [T-GPS-300-TL]

SERTEL NTP SERVER Teleclock - [T-GPS-300-TL] A Sertel Electronics Manual No. 377, Nehru Nagar, Chennai, Tamil Nadu 600-096 Ph: 044-23454060/61 www.serteltelser.com,www.sertelelectronics.com SERTEL NTP SERVER Teleclock - [T-GPS-300-TL] Date : 25-05-2012

More information

Max and MSP The DSP Status Window

Max and MSP The DSP Status Window Max and MSP 1 Max and MSP MSP is an addition to Max that provides signal generation and processing objects. It works entirely in the Macintosh, which gives you advantages and disadvantages. Advantages:

More information

PSC300 Operation Manual

PSC300 Operation Manual PSC300 Operation Manual Version 9.10 General information Prior to any attempt to operate this Columbia PSC 300, operator should read and understand the complete operation of the cubing system. It is very

More information

Video Output and Graphics Acceleration

Video Output and Graphics Acceleration Video Output and Graphics Acceleration Overview Frame Buffer and Line Drawing Engine Prof. Kris Pister TAs: Vincent Lee, Ian Juch, Albert Magyar Version 1.5 In this project, you will use SDRAM to implement

More information

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer by: Matt Mazzola 12222670 Abstract The design of a spectrum analyzer on an embedded device is presented. The device achieves minimum

More information

Arduino Nixie Clock Classic Rev4 and Rev5 All In One Modular Rev2

Arduino Nixie Clock Classic Rev4 and Rev5 All In One Modular Rev2 Arduino Nixie Clock Classic Rev4 and Rev5 All In One Modular Rev2 Operating Instructions Firmware V47 Supported Models: Classic Rev4 Classic Rev5 Modular Rev2 All-In-One NixieClockUserManualV47 About this

More information

American DJ. Show Designer. Software Revision 2.08

American DJ. Show Designer. Software Revision 2.08 American DJ Show Designer Software Revision 2.08 American DJ 4295 Charter Street Los Angeles, CA 90058 USA E-mail: support@ameriandj.com Web: www.americandj.com OVERVIEW Show Designer is a new lighting

More information

SPIRIT. SPIRIT Attendant. Communications System. User s Guide. Lucent Technologies Bell Labs Innovations

SPIRIT. SPIRIT Attendant. Communications System. User s Guide. Lucent Technologies Bell Labs Innovations Lucent Technologies Bell Labs Innovations SPIRIT Communications System SPIRIT Attendant User s Guide Lucent Technologies formerly the communications systems and technology units of AT&T 518-453-710 106449697

More information

USB Mini Spectrum Analyzer User s Guide TSA5G35

USB Mini Spectrum Analyzer User s Guide TSA5G35 USB Mini Spectrum Analyzer User s Guide TSA5G35 Triarchy Technologies, Corp. Page 1 of 21 USB Mini Spectrum Analyzer User s Guide Copyright Notice Copyright 2011 Triarchy Technologies, Corp. All rights

More information

REVISIONS LTR DESCRIPTION DATE APPROVED - Initial Release 11/5/07 MDB A ECR /9/08 MDB

REVISIONS LTR DESCRIPTION DATE APPROVED - Initial Release 11/5/07 MDB A ECR /9/08 MDB REVISIONS LTR DESCRIPTION DATE APPROVED - Initial Release 11/5/07 MDB A ECR 8770 4/9/08 MDB CONTRACT NO. DRAWN BY CHECKED BY APPROVED BY DATE P. Phillips 11/2/07 TITLE M. Bester 11/5/07 SIZE A 2120 Old

More information

CULT. Connection diagram. PC Installer application. 1. General principle. 2. Overview. CULT: PC Installer application EN1.5

CULT. Connection diagram. PC Installer application. 1. General principle. 2. Overview. CULT: PC Installer application EN1.5 1. General principle P Installer application This application allows the installer to configure all ult video modules. The user gets the opportunity to assign a name to external cameras, switches, Fasttel

More information

PHYS 3322 Modern Laboratory Methods I Digital Devices

PHYS 3322 Modern Laboratory Methods I Digital Devices PHYS 3322 Modern Laboratory Methods I Digital Devices Purpose This experiment will introduce you to the basic operating principles of digital electronic devices. Background These circuits are called digital

More information

AN919: Using the EFM8LB1 ADC

AN919: Using the EFM8LB1 ADC This application note shows general operation and usage of the EFM8LB1's and EFM8BB3's ADC. In addition, this document describes the advanced features of the ADC including Window Compare, Autoscan mode,

More information

Project Final Report. Z8 Arcade! 4/25/2006 James Bromwell,

Project Final Report. Z8 Arcade! 4/25/2006 James Bromwell, Project Final Report Z8 Arcade! 4/25/2006 James Bromwell, bromwell@gwu.edu Project Abstract Z8 Arcade! is an extension of the presentation on adding a composite video output line to the Z8 project board,

More information

MITOCW ocw f07-lec02_300k

MITOCW ocw f07-lec02_300k MITOCW ocw-18-01-f07-lec02_300k The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free.

More information

UNIT V 8051 Microcontroller based Systems Design

UNIT V 8051 Microcontroller based Systems Design UNIT V 8051 Microcontroller based Systems Design INTERFACING TO ALPHANUMERIC DISPLAYS Many microprocessor-controlled instruments and machines need to display letters of the alphabet and numbers. Light

More information

Instruction manual for system with digital load cells MCE2035 PROFIBUS DP MODULE

Instruction manual for system with digital load cells MCE2035 PROFIBUS DP MODULE Instruction manual for system with digital load cells MCE2035 PROFIBUS DP MODULE Instruction manual no.: IM-TE91K011-EN3 ESE01767EN Date of issue: August 19, 2014 First published: February 23, 2010 Original

More information

Network Disk Recorder WJ-ND200

Network Disk Recorder WJ-ND200 Network Disk Recorder WJ-ND200 Network Disk Recorder Operating Instructions Model No. WJ-ND200 ERROR MIRROR TIMER HDD1 REC LINK /ACT OPERATE HDD2 ALARM SUSPEND ALARM BUZZER STOP Before attempting to connect

More information

N3ZI Digital Dial Manual For kit with Backlit LCD Rev 4.00 Jan 2013 PCB

N3ZI Digital Dial Manual For kit with Backlit LCD Rev 4.00 Jan 2013 PCB N3ZI Digital Dial Manual For kit with Backlit LCD Rev 4.00 Jan 2013 PCB Kit Components Item Qty Designator Part Color/Marking PCB 1 LCD Display 1 LCD 1602 Volt Regulator 1 U1 78L05, Black TO-92 Prescaler

More information

Tutorial Introduction

Tutorial Introduction Tutorial Introduction PURPOSE - To explain how to configure and use the in common applications OBJECTIVES: - Identify the steps to set up and configure the. - Identify techniques for maximizing the accuracy

More information

Hardware Setup. If you have any further questions after checking this document, please contact

Hardware Setup. If you have any further questions after checking this document, please contact Hardware Setup If you have any further questions after checking this document, please contact support@cognisens.com Hardware Setup Getting Started: NeuroTracker Pro WHAT TO BUY SETTING UP YOUR 3D TV SETTING

More information

Diamond Cut Productions / Application Notes AN-2

Diamond Cut Productions / Application Notes AN-2 Diamond Cut Productions / Application Notes AN-2 Using DC5 or Live5 Forensics to Measure Sound Card Performance without External Test Equipment Diamond Cuts DC5 and Live5 Forensics offers a broad suite

More information

Experiment 9A: Magnetism/The Oscilloscope

Experiment 9A: Magnetism/The Oscilloscope Experiment 9A: Magnetism/The Oscilloscope (This lab s "write up" is integrated into the answer sheet. You don't need to attach a separate one.) Part I: Magnetism and Coils A. Obtain a neodymium magnet

More information

Data Acquisition Instructions

Data Acquisition Instructions Page 1 of 13 Form 0162A 7/21/2006 Superchips Inc. Superchips flashpaq Data Acquisition Instructions Visit Flashpaq.com for downloadable updates & upgrades to your existing tuner (See the next page for

More information

User s Guide W-E

User s Guide W-E Presto! PVR ISDB User s Guide 518100-02-01-W-E-112307-02 Copyright 2007, NewSoft Technology Corp. All Rights Reserved. No portion of this document may be copied or reproduced in any manner without prior

More information

INSTALLATION AND OPERATION INSTRUCTIONS EVOLUTION VIDEO DISTRIBUTION SYSTEM

INSTALLATION AND OPERATION INSTRUCTIONS EVOLUTION VIDEO DISTRIBUTION SYSTEM INSTALLATION AND OPERATION INSTRUCTIONS EVOLUTION VIDEO DISTRIBUTION SYSTEM ATTENTION: READ THE ENTIRE INSTRUCTION SHEET BEFORE STARTING THE INSTALLATION PROCESS. WARNING! Do not begin to install your

More information

Remote Application Update for the RCM33xx

Remote Application Update for the RCM33xx Remote Application Update for the RCM33xx AN418 The common method of remotely updating an embedded application is to write directly to parallel flash. This is a potentially dangerous operation because

More information

SHENZHEN H&Y TECHNOLOGY CO., LTD

SHENZHEN H&Y TECHNOLOGY CO., LTD Chapter I Model801, Model802 Functions and Features 1. Completely Compatible with the Seventh Generation Control System The eighth generation is developed based on the seventh. Compared with the seventh,

More information