Lab 5: Digital IO Bits, Nybbles, and Bytes

Size: px
Start display at page:

Download "Lab 5: Digital IO Bits, Nybbles, and Bytes"

Transcription

1 Lab 5: Digital IO Bits, Nybbles, and Bytes Introduction We live in a digital world where music, pictures, and control algorithms are all stored as digital bits. One form of communication between the real world and the digital world is done through digital IO ports. Fig.1 VU-Meter with Screen LED Indicators MyDAQ has one 3.3 V digital port consisting of eight digital bits that can be configured as inputs, outputs, or a combination of both. The port can talk to a single line (a bit), 4 bits in parallel (a nybble), or 8 bits in parallel (a byte). Feeling hungry? Four bits make a nybble and two nybbles make a byte. Purpose This lab shows how to use the mydaq port to talk to switches (inputs) or LEDs (outputs). The switches will be used to enter a secret number, which you will try to guess. This will lead us to the successive approximation technique, a common algorithm used in most analog-to-digital converter chips. Eight LEDs will be used to build a common VU-meter (Volume Unit meter) display, as in Fig 1. Equipment National Instruments Corporation 1

2 NI mydaq 1 Push Button Switch (SPST) 8 Switches in a DIP Package Resistors: 8 x 330 Ω and 9 x 1 kω LEDs: 2 Red, 2 Yellow, and 4 Green Solderless Breadboard Prerequisite Reference Materials Using the mydaq Digital Reader: Using the mydaq Digital Writer: Output Light Using a Basic 5 mm LED: Exercise 5-1: Getting Started The first step is to make a single input switch for the mydaq digital port. Connect a 1kΩresistor to the +5 V mydaq screw terminal. The output after the resistor is called a logic 1 or HI. The mechanical switch goes between the logic 1 and ground (DGND on the mydaq connector). The digital input will be taken at the node point (logic 1 and Switch). Connect a wire from this point to DIO(0) on the mydaq connector. Fig. 2 Connection Circuit for a Single Switch to the mydaq Port Note: the 1 kω resistor limits the current from the power supply and prevents damage that may occur if the power supply was accidentally shorted. From the NI ELVISmx Instrument Launcher strip, select DigIn. 2 ni.com

3 Fig. 3 NI ELVISmx Digital Reader Instrument Panel Verify the settings seen in Fig. 3 and press the button [Run]. With no switch pushed, bit 0 will be ON or HI, and the Numeric Value will read 1. Pressing the push button produces the opposite state, OFF or LO, and the numerical value will read 0. Now that we have verified our test circuit, it is time to build a complete 8-bit input port. 8-Bit Data Input Port You will need to replicate your test circuit for all the other bits (b1-b7). An easy way is to employ a 16-pin dual-in-line set of eight switches. You will also need eight 1 kω resistors, 10 wires, and a breadboard. Build the circuit as shown in Fig. 4. National Instruments Corporation 3

4 Fig. 4 Wiring Layout for Connecting Eight Switches to the mydaq Digital Port After checking all the wires, connect the bit lines (yellow and green) and power lines (red and black) to the mydaq black edge connector. [Run] the DigIn Virtual Instrument. For all bits OFF, the Numerical Value reads 0. For all bits ON, the Numerical Value reads FF. Nybble Bits A nybble consists of four lines (bits) connected in parallel, and each bit binary is weighted 2 i, where i = 0-3. Weights are 1, 2, 4, and 8. Example: Bits (0111) read as 7, and bits (1011) read as B. There are 2 4 or 16 possible bit combinations with numerical values running from 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E to F Note: MyDAQ will display bit values in hexadecimal (x). 4 ni.com

5 A small x beside the numerical value on the mydaq display indicates that the port value is in hexadecimal notation. Try various switch combinations of the first four switch positions. Byte Bits A byte consists of eight lines (bits) connected in parallel with each bit binary weighted as 2 i,where i = 0 7. Weights are 1, 2, 4, 8, 16, 32, 64, and 128. Example: Bits ( ) read as 07, and bits ( ) read as 9B. There are 2 8 or 256 possible combinations from 00 to FF (hexadecimal). MyDAQ DigIn reads the 8-bit port values as two binary encoded nybbles called the LOW nybble and HI nybble. Each is represented by a single character: The numerical value is just 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F HI Nybble (Character Value) *16 + LO Nybble (Character Value) or Hex Decimal FF 255 Any number between and including the numbers 0 to 255 can be represented by eight binary encoded bits. These can be represented by two hexadecimal characters or three numerical characters. What combination of switch positions would correspond to 123? Exercise 5-2: A Guessing Game Suppose you asked a friend to guess a number between 0 and 255, and you would attempt to guess it in as few tries as possible. If you are really National Instruments Corporation 5

6 lucky, you might guess it within a few tries. If you were really unlucky, it could take 256 tries. No fun at all! Now suppose you changed the rules and asked your friend to tell you if your guess was too high, too low, or right on. You would probably get his secret number within 10 to 15 tries. But there is a method that will always give you the correct number within eight or fewer tries. It is called the successive approximation technique and uses an inverse binary scheme guessing from the most significant bit to the least significant bit. Successive Approximation is central to most analog-to-digital converter ICs. Our next project demonstrates how SA works. Load the LabVIEW program called Guessing Game.vi. It uses the 8-bit I/O port connected to a bank of eight switches, as discussed above. Have a friend load a secret binary encoded number into the switches. Now, when ready, [Run] the program. Guesses are loaded into the [Guess #] control box. Click on the blue button to test your guess. Responses are shown as Red: Guess is greater than secret number Green: Guess is less than secret number Yellow: Guess is correct. Bingo! The number of tries is also shown. Fig. 5 LabVIEW Front Panel for Simple Guessing Game 6 ni.com

7 How Did They Do That? Take a look at the program s block diagram in Fig. 6. Fig. 6 LabVIEW Block Diagram for Simple Guessing Game The DAQAssistant has been used to read mydaq s 8-bit I/O port. It outputs an array of unsigned 8-bit integers. The first array element index (0) contains the measured bit values on the port. [Guess #] is compared with the port value using two compare VIs. One tests for greater than (>), while the other tests for equality (=). The output of [>] is an LED indicator (red {true} and green {not true}). The output of [=] is an LED indicator (yellow {true} and transparent {not true}). Both indicators have the same size and location; however, the [>] indicator is on top of the [=] one. When the correct guess is found, the top indicator (red or green) becomes invisible, and the underlying yellow indicator becomes visible. BINGO! Exercise 5-3: Successive Approximation (SA) Algorithm Successive Approximation creates a test value equal to the most significant bit in an 8-binary number (128). National Instruments Corporation 7

8 o If the test value is greater than the secret number, then this bit is set to 1 in an answer register. o If the test value is less than the secret number, then this bit is set to 0 in an answer register. The next test value becomes the answer register. Now add the next msb value (64) to the test value and repeat the above test. o If the test value is greater than the secret number, then this bit is set to 1 in an answer register. o If the test value is less than the secret number, then this bit is set to 0 in an answer register. The next test value becomes the answer register. Continue until you have tested all the remaining bits, b5-b0. When completed, you will have the secret number after exactly eight guesses. If you also test for equality, then you will get the answer in fewer tries if the secret number is some simple combination of 128, 64, 32, 16, 8, 4, or 2. Set up a secret number on the eight switches. Use the Successive Approximation technique with the Guessing Game.vi program to find out how many tries it takes to find the secret number. Example: Guess (128). If n > 128, then keep 128. Next guess is , If n < 128, then do not keep 128. Next guess is 64. Continue until you have completed eight guesses. Works every time! Exercise 5-4: MyDAQ Binary Outputs Binary bits can be output easily with the mydaq digital writer. From your NI ELVISmx Instrument Launcher strip, select DigOut. 8 ni.com

9 Fig. 7 NI ELVISmx Digital Writer Instrument Panel Set the Lines to Write to [0-7]. This mydaq virtual instrument is capable of outputting manually an 8-bit binary number with operations like Toggle, Rotate, or Shift (left or right) applied. In addition, common binary operations such as Ramp, Alternating 1/0 s, and Walking 1 s generate useful binary bit shows. To see these patterns in the real world, connect eight LEDs to the digital port lines (b0-b7). Each LED has a 333 Ω current-limiting resistor wired from the LED to +5 V. The anode (long leg) is on the side of the +5 V power supply. National Instruments Corporation 9

10 Take your LEDs for a test ride. Fig. 8 Eight Colored Leds in a VU-Meter Format Exercise 5-5: VU Meter A VU meter is a bar graph display consisting of a linear series of eight LEDs. The greater the number, the more LEDs are lit. Example: If V = 0, no LEDs are lit; if V = 1.0, all LEDs are lit. In this project, use eight LEDs (four green, two yellow, and two red) configured as green for the lower numbers, yellow for mid-range numbers, and red for the highest numbers. Load the LabVIEW program VU Meter.vi. The front panel is shown in Fig. 1. View the block diagram in Fig ni.com

11 Fig. 9 VU Meter.vi BD Converts Audio Levels to a db-scaled LED Output The VU meter has a bar-like graphical display where all LEDs are lighted, up to and including the measured value. The VU meter uses a relative scale measured in decibels. For this example, the maximum signal is set to 1.0 V, which is suitable for use with audio signals. The reference voltage is 1.0 V. Hence, the maximum output is 0 decibels with all LEDs lit. Just like we embedded a digital reader inside a LabVIEW program to read external switches, you can use the NI ELVISmx Digital Writer to embed a digital writer into a program to write to external LEDs. Note: The front panel [Input] box is set to a logarithmic scale to better reflect audio input levels. Give it a try. In later labs, you can use this program and circuit as an external VU Meter. The VU meter then becomes an interesting real-world display. Any signal, such as audio level, temperature, or frequency range, can be expressed in a VU meter-type display. National Instruments Corporation 11

Lab 11 Digital Dice. Figure 11.0. Digital Dice Circuit on NI ELVIS II Workstation

Lab 11 Digital Dice. Figure 11.0. Digital Dice Circuit on NI ELVIS II Workstation Lab 11 Digital Dice Figure 11.0. Digital Dice Circuit on NI ELVIS II Workstation From the beginning of time, dice have been used for games of chance. Cubic dice similar to modern dice date back to before

More information

First Bytes Programming Lab 2

First Bytes Programming Lab 2 First Bytes Programming Lab 2 This lab is available online at www.cs.utexas.edu/users/scottm/firstbytes. Introduction: In this lab you will investigate the properties of colors and how they are displayed

More information

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1 CS99S Laboratory 1 Objectives: 1. Become familiar with the breadboard 2. Build a logic power supply 3. Use switches to make 1s and 0s 4. Use LEDs to observe 1s and 0s 5. Make a simple oscillator 6. Use

More information

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply Servo Motors (SensorDAQ only) Project 7 Servos are small, relatively inexpensive motors known for their ability to provide a large torque or turning force. They draw current proportional to the mechanical

More information

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal. Binary Representation The basis of all digital data is binary representation. Binary - means two 1, 0 True, False Hot, Cold On, Off We must be able to handle more than just values for real world problems

More information

Different Ways of Connecting to. 3DLevelScanner II. A.P.M Automation Solutions LTD. www.apm-solutions.com Version 3.0

Different Ways of Connecting to. 3DLevelScanner II. A.P.M Automation Solutions LTD. www.apm-solutions.com Version 3.0 3DLevelScanner II Different Ways of Connecting to 3DLevelScanner II A.P.M Automation Solutions LTD. www.apm-solutions.com Version 3.0 2 Different Ways of Connecting to 3DLevelScanner II Version 3.0 Table

More information

4.1 DESCRIPTION OF CONTROLS cont.

4.1 DESCRIPTION OF CONTROLS cont. 4.1 DESCRIPTION OF CONTROLS cont. EGPS-1022 Power Supply Remote Control Computer Panel (ADDITIONAL CONTROLS AND INDICATORS BELOW MAIN PANEL) Fig. 4.1-4 Screen captures of LabVIEW TM program for EGPS-1022

More information

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER 2014 Amplifier - 1 FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER The objectives of this experiment are: To understand the concept of HI-FI audio equipment To generate a frequency response curve for an audio

More information

Lab 4 - Data Acquisition

Lab 4 - Data Acquisition Spring 11 Lab 4 - Data Acquisition Lab 4-1 Lab 4 - Data Acquisition Format This lab will be conducted during your regularly scheduled lab time in a group format. Each student is responsible for learning

More information

CHAPTER 11: Flip Flops

CHAPTER 11: Flip Flops CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach

More information

Decimal Number (base 10) Binary Number (base 2)

Decimal Number (base 10) Binary Number (base 2) LECTURE 5. BINARY COUNTER Before starting with counters there is some vital information that needs to be understood. The most important is the fact that since the outputs of a digital chip can only be

More information

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW LabVIEW Day 1 Basics Vern Lindberg LabVIEW first shipped in 1986, with very basic objects in place. As it has grown (currently to Version 10.0) higher level objects such as Express VIs have entered, additional

More information

Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial

Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial Administration: o Prayer Robot Building for Beginners, Chapter 15, Voltage Comparators: o Review of Sandwich s Circuit:

More information

Mini Effect Gizmo. User s Manual. RJM Music Technology, Inc.

Mini Effect Gizmo. User s Manual. RJM Music Technology, Inc. Mini Effect Gizmo User s Manual RJM Music Technology, Inc. Mini Effect Gizmo User s Manual Version 1.3 September 26, 2013 RJM Music Technology, Inc. 2525 Pioneer Ave #1 Vista, CA 92081 E-mail: support@rjmmusic.com

More information

EET 310 Programming Tools

EET 310 Programming Tools Introduction EET 310 Programming Tools LabVIEW Part 1 (LabVIEW Environment) LabVIEW (short for Laboratory Virtual Instrumentation Engineering Workbench) is a graphical programming environment from National

More information

TEECES DOME LIGHTING SYSTEMS

TEECES DOME LIGHTING SYSTEMS This lighting system was designed by John V (Teeces) to be a simple, customizable, expandable and affordable solution for dome lighting. An Arduino micro-controller is used to tell LED driver chips which

More information

FORDHAM UNIVERSITY CISC 3593. Dept. of Computer and Info. Science Spring, 2011. Lab 2. The Full-Adder

FORDHAM UNIVERSITY CISC 3593. Dept. of Computer and Info. Science Spring, 2011. Lab 2. The Full-Adder FORDHAM UNIVERSITY CISC 3593 Fordham College Lincoln Center Computer Organization Dept. of Computer and Info. Science Spring, 2011 Lab 2 The Full-Adder 1 Introduction In this lab, the student will construct

More information

SYMETRIX SOLUTIONS: TECH TIP August 2015

SYMETRIX SOLUTIONS: TECH TIP August 2015 String Output Modules The purpose of this document is to provide an understanding of operation and configuration of the two different String Output modules available within SymNet Composer. The two different

More information

Lab 3 - DC Circuits and Ohm s Law

Lab 3 - DC Circuits and Ohm s Law Lab 3 DC Circuits and Ohm s Law L3-1 Name Date Partners Lab 3 - DC Circuits and Ohm s Law OBJECTIES To learn to apply the concept of potential difference (voltage) to explain the action of a battery in

More information

ELEC 2210 - EXPERIMENT 1 Basic Digital Logic Circuits

ELEC 2210 - EXPERIMENT 1 Basic Digital Logic Circuits Objectives ELEC - EXPERIMENT Basic Digital Logic Circuits The experiments in this laboratory exercise will provide an introduction to digital electronic circuits. You will learn how to use the IDL-00 Bit

More information

2011, The McGraw-Hill Companies, Inc. Chapter 3

2011, The McGraw-Hill Companies, Inc. Chapter 3 Chapter 3 3.1 Decimal System The radix or base of a number system determines the total number of different symbols or digits used by that system. The decimal system has a base of 10 with the digits 0 through

More information

The Answer to the 14 Most Frequently Asked Modbus Questions

The Answer to the 14 Most Frequently Asked Modbus Questions Modbus Frequently Asked Questions WP-34-REV0-0609-1/7 The Answer to the 14 Most Frequently Asked Modbus Questions Exactly what is Modbus? Modbus is an open serial communications protocol widely used in

More information

RGB for ZX Spectrum 128, +2, +2A, +3

RGB for ZX Spectrum 128, +2, +2A, +3 RGB for ZX Spectrum 128, +2, +2A, +3 Introduction... 2 Video Circuitry... 3 Audio Circuitry... 8 Lead Wiring... 9 Testing The Lead... 11 Spectrum +2A/+3 RGB Differences... 12 Circuitry Calculations...

More information

IMMS-CCC. IMMS-CCC Hardwire Central Interface. Installation Instructions

IMMS-CCC. IMMS-CCC Hardwire Central Interface. Installation Instructions IMMS-CCC IMMS-CCC Hardwire Central Interface Installation Instructions TABLE OF CONTENTS... Choose a Location... 1 Connections... 2 Operations... 3 Software Configuration... 4 Troubleshooting... 5 Loopback

More information

The components. E3: Digital electronics. Goals:

The components. E3: Digital electronics. Goals: E3: Digital electronics Goals: Basic understanding of logic circuits. Become familiar with the most common digital components and their use. Equipment: 1 st. LED bridge 1 st. 7-segment display. 2 st. IC

More information

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR INTRODUCTION This Project "Automatic Night Lamp with Morning Alarm" was developed using Microprocessor. It is the Heart of the system. The sensors

More information

PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL

PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL Rev. D PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL 10 BORIGHT AVENUE, KENILWORTH NEW JERSEY 07033 TELEPHONE: 800-524-0273 FAX: 908-686-9317 TABLE OF CONTENTS Page

More information

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design PH-315 COMINATIONAL and SEUENTIAL LOGIC CIRCUITS Hardware implementation and software design A La Rosa I PURPOSE: To familiarize with combinational and sequential logic circuits Combinational circuits

More information

ECEN 1400, Introduction to Analog and Digital Electronics

ECEN 1400, Introduction to Analog and Digital Electronics ECEN 1400, Introduction to Analog and Digital Electronics Lab 4: Power supply 1 INTRODUCTION This lab will span two lab periods. In this lab, you will create the power supply that transforms the AC wall

More information

Upon completion of unit 1.1, students will be able to

Upon completion of unit 1.1, students will be able to Upon completion of unit 1.1, students will be able to 1. Demonstrate safety of the individual, class, and overall environment of the classroom/laboratory, and understand that electricity, even at the nominal

More information

LAB2 Resistors, Simple Resistive Circuits in Series and Parallel Objective:

LAB2 Resistors, Simple Resistive Circuits in Series and Parallel Objective: LAB2 Resistors, Simple Resistive Circuits in Series and Parallel Objective: In this lab, you will become familiar with resistors and potentiometers and will learn how to measure resistance. You will also

More information

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1 UNIT 22: PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1 This work covers part of outcome 2 of the Edexcel standard module. The material is

More information

Lecture N -1- PHYS 3330. Microcontrollers

Lecture N -1- PHYS 3330. Microcontrollers Lecture N -1- PHYS 3330 Microcontrollers If you need more than a handful of logic gates to accomplish the task at hand, you likely should use a microcontroller instead of discrete logic gates 1. Microcontrollers

More information

Digital Design. Assoc. Prof. Dr. Berna Örs Yalçın

Digital Design. Assoc. Prof. Dr. Berna Örs Yalçın Digital Design Assoc. Prof. Dr. Berna Örs Yalçın Istanbul Technical University Faculty of Electrical and Electronics Engineering Office Number: 2318 E-mail: siddika.ors@itu.edu.tr Grading 1st Midterm -

More information

Arduino Lesson 0. Getting Started

Arduino Lesson 0. Getting Started Arduino Lesson 0. Getting Started Created by Simon Monk Last updated on 204-05-22 2:5:0 PM EDT Guide Contents Guide Contents Overview Parts Part Qty Breadboard Installing Arduino (Windows) Installing Arduino

More information

2 ASCII TABLE (DOS) 3 ASCII TABLE (Window)

2 ASCII TABLE (DOS) 3 ASCII TABLE (Window) 1 ASCII TABLE 2 ASCII TABLE (DOS) 3 ASCII TABLE (Window) 4 Keyboard Codes The Diagram below shows the codes that are returned when a key is pressed. For example, pressing a would return 0x61. If it is

More information

Digital Electronics Detailed Outline

Digital Electronics Detailed Outline Digital Electronics Detailed Outline Unit 1: Fundamentals of Analog and Digital Electronics (32 Total Days) Lesson 1.1: Foundations and the Board Game Counter (9 days) 1. Safety is an important concept

More information

Lab 1: Introduction to Xilinx ISE Tutorial

Lab 1: Introduction to Xilinx ISE Tutorial Lab 1: Introduction to Xilinx ISE Tutorial This tutorial will introduce the reader to the Xilinx ISE software. Stepby-step instructions will be given to guide the reader through generating a project, creating

More information

MIDECO 64-outputs MIDI note decoder USER MANUAL. Roman Sowa 2012

MIDECO 64-outputs MIDI note decoder USER MANUAL. Roman Sowa 2012 MIDECO 64-outputs MIDI note decoder USER MANUAL Roman Sowa 2012 www.midi-hardware.com 1.Overview Thank you for choosing MIDECO as your new MIDI-to-digital converter. This short manual will guide you through

More information

Operating instructions Diffuse reflection sensor. OJ50xx 701396 / 01 07 / 2004

Operating instructions Diffuse reflection sensor. OJ50xx 701396 / 01 07 / 2004 Operating instructions Diffuse reflection sensor OJ50xx 7096 / 0 07 / 004 Contents Preliminary note. Symbols used Function and features Installation. Installation of the supplied mounting fixture 4 4 Electrical

More information

PC2400 EEPROM PROGRAMMER INSTRUCTION MANUAL

PC2400 EEPROM PROGRAMMER INSTRUCTION MANUAL PC2400 EEPROM PROGRAMMER INSTRUCTION MANUAL LAST UPDATE 23/09/09 LLOYD RESEARCH LTD., 7&7A BROOK LANE, WARSASH, SOUTHAMPTON, HANTS., SO31 9FH. Tel: +44 (0)1489 885515/574040 Fax: +44 (0)1489 885853 Internet:

More information

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01 ABB Drives User s Manual Pulse Encoder Interface Module RTAC-0 Pulse Encoder Interface Module RTAC-0 User s Manual 3AFE 64486853 REV A EN EFFECTIVE:.5.00 00 ABB Oy. All Rights Reserved. Safety instructions

More information

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal:

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal: Exercises 1 - number representations Questions 1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal: (a) 3012 (b) - 435 2. For each of

More information

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers USB to router s serial port How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers by Neo at RouterTech.Org Introduction Routers based on the AR7RD/AR7WRD

More information

Physics 3330 Experiment #2 Fall 1999. DC techniques, dividers, and bridges R 2 =(1-S)R P R 1 =SR P. R P =10kΩ 10-turn pot.

Physics 3330 Experiment #2 Fall 1999. DC techniques, dividers, and bridges R 2 =(1-S)R P R 1 =SR P. R P =10kΩ 10-turn pot. Physics 3330 Experiment #2 Fall 1999 DC techniques, dividers, and bridges Purpose You will gain a familiarity with the circuit board and work with a variety of DC techniques, including voltage dividers,

More information

Introduction to LogixPro - Lab

Introduction to LogixPro - Lab Programmable Logic and Automation Controllers Industrial Control Systems I Introduction to LogixPro - Lab Purpose This is a self-paced lab that will introduce the student to the LogixPro PLC Simulator

More information

Binary Representation

Binary Representation Binary Representation The basis of all digital data is binary representation. Binary - means two 1, 0 True, False Hot, Cold On, Off We must tbe able to handle more than just values for real world problems

More information

Parts of a Computer. Preparation. Objectives. Standards. Materials. 1 1999 Micron Technology Foundation, Inc. All Rights Reserved

Parts of a Computer. Preparation. Objectives. Standards. Materials. 1 1999 Micron Technology Foundation, Inc. All Rights Reserved Parts of a Computer Preparation Grade Level: 4-9 Group Size: 20-30 Time: 75-90 Minutes Presenters: 1-3 Objectives This lesson will enable students to: Identify parts of a computer Categorize parts of a

More information

POINTS POSITION INDICATOR PPI4

POINTS POSITION INDICATOR PPI4 POINTS POSITION INDICATOR PPI4 Advanced PPI with Adjustable Brightness & Simplified Wiring Monitors the brief positive operating voltage across points motors when they are switched Lights a corresponding

More information

GPIB Instrument Control

GPIB Instrument Control Session 2559 GPIB Instrument Control Leonard Sokoloff DeVry College of Technology Abstract Virtual Instrumentation is an important technology that is making a significant impact in today's industry, education

More information

CHD603BM-U USB Mifare Card Reader User Manual

CHD603BM-U USB Mifare Card Reader User Manual CHD603BM-U USB Mifare Card Reader User Manual Shenzhen Newabel Electronic Co.,Ltd CHD603BM-U is a high-performance Mifare card reader/writer which has standard USB communication interface and with ESD

More information

RS-485 Protocol Manual

RS-485 Protocol Manual RS-485 Protocol Manual Revision: 1.0 January 11, 2000 RS-485 Protocol Guidelines and Description Page i Table of Contents 1.0 COMMUNICATIONS BUS OVERVIEW... 1 2.0 DESIGN GUIDELINES... 1 2.1 Hardware Design

More information

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits. 2 : BITABLE In this Chapter, you will find out about bistables which are the fundamental building blos of electronic counting circuits. et-reset bistable A bistable circuit, also called a latch, or flip-flop,

More information

Designing VM2 Application Boards

Designing VM2 Application Boards Designing VM2 Application Boards This document lists some things to consider when designing a custom application board for the VM2 embedded controller. It is intended to complement the VM2 Datasheet. A

More information

SYSTEM 4C. C R H Electronics Design

SYSTEM 4C. C R H Electronics Design SYSTEM 4C C R H Electronics Design SYSTEM 4C All in one modular 4 axis CNC drive board By C R Harding Specifications Main PCB & Input PCB Available with up to 4 Axis X, Y, Z, A outputs. Independent 25

More information

How to Install a Motherboard

How to Install a Motherboard How to Install a Motherboard This guide is by no means comprehensive, but serves as a general guide to installing a JNCS motherboard bundle into a standard ATX case. JNCS has already set any relevant jumpers

More information

Lab E1: Introduction to Circuits

Lab E1: Introduction to Circuits E1.1 Lab E1: Introduction to Circuits The purpose of the this lab is to introduce you to some basic instrumentation used in electrical circuits. You will learn to use a DC power supply, a digital multimeter

More information

BUILDING INSTRUCTIONS

BUILDING INSTRUCTIONS etap2hw 38 mm I2C to LCD Interface BUILDING INSTRUCTIONS October 2013 P. Verbruggen Rev 1.01 15-Oct-13 Page 1 Table of Contents Chapter 1 General Information 1.1 ESD Precautions 1.2 Further Supplies 1.3

More information

Numeration systems. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Numeration systems. Resources and methods for learning about these subjects (list a few here, in preparation for your research): Numeration systems This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/,

More information

The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY

The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY I am by no means an expert on PSK31. This article is intended to help someone get on PSK31 with a K2. These are the things I did to get

More information

Hands On ECG. Sean Hubber and Crystal Lu

Hands On ECG. Sean Hubber and Crystal Lu Hands On ECG Sean Hubber and Crystal Lu The device. The black box contains the circuit and microcontroller, the mini tv is set on top, the bars on the sides are for holding it and reading hand voltage,

More information

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs CALIFORNIA STATE UNIVERSITY LOS ANGELES Department of Electrical and Computer Engineering EE-246 Digital Logic Lab EXPERIMENT 1 COUNTERS AND WAVEFORMS Text: Mano, Digital Design, 3rd & 4th Editions, Sec.

More information

Evaluation copy. Build a Temperature Sensor. Project PROJECT DESIGN REQUIREMENTS

Evaluation copy. Build a Temperature Sensor. Project PROJECT DESIGN REQUIREMENTS Build a emperature Sensor Project A sensor is a device that measures a physical quantity and converts it into an electrical signal. Some sensors measure physical properties directly, while other sensors

More information

Controlling a Dot Matrix LED Display with a Microcontroller

Controlling a Dot Matrix LED Display with a Microcontroller Controlling a Dot Matrix LED Display with a Microcontroller By Matt Stabile and programming will be explained in general terms as well to allow for adaptation to any comparable microcontroller or LED matrix.

More information

Annex: VISIR Remote Laboratory

Annex: VISIR Remote Laboratory Open Learning Approach with Remote Experiments 518987-LLP-1-2011-1-ES-KA3-KA3MP Multilateral Projects UNIVERSITY OF DEUSTO Annex: VISIR Remote Laboratory OLAREX project report Olga Dziabenko, Unai Hernandez

More information

Everything you wanted to know about using Hexadecimal and Octal Numbers in Visual Basic 6

Everything you wanted to know about using Hexadecimal and Octal Numbers in Visual Basic 6 Everything you wanted to know about using Hexadecimal and Octal Numbers in Visual Basic 6 Number Systems No course on programming would be complete without a discussion of the Hexadecimal (Hex) number

More information

Hexadecimal and Numeric Indicators. Technical Data 5082-7300 5082-7302 5082-7304 5082-7340

Hexadecimal and Numeric Indicators. Technical Data 5082-7300 5082-7302 5082-7304 5082-7340 H Hexadecimal and Numeric Indicators Technical Data 5082-7300 5082-7302 5082-7304 5082-7340 Features Numeric 5082-7300/-7302 0-9, Test State, Minus Sign, Blank States Decimal Point 7300 Right Hand D.P.

More information

MICROPROCESSOR AND MICROCOMPUTER BASICS

MICROPROCESSOR AND MICROCOMPUTER BASICS Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit

More information

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Parallel Data Transfer Suppose you need to transfer data from one HCS12 to another. How can you

More information

plc numbers - 13.1 Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

plc numbers - 13.1 Encoded values; BCD and ASCII Error detection; parity, gray code and checksums plc numbers - 3. Topics: Number bases; binary, octal, decimal, hexadecimal Binary calculations; s compliments, addition, subtraction and Boolean operations Encoded values; BCD and ASCII Error detection;

More information

Measuring Electric Phenomena: the Ammeter and Voltmeter

Measuring Electric Phenomena: the Ammeter and Voltmeter Measuring Electric Phenomena: the Ammeter and Voltmeter 1 Objectives 1. To understand the use and operation of the Ammeter and Voltmeter in a simple direct current circuit, and 2. To verify Ohm s Law for

More information

Model 201 Wiegand Touchpad Reader Installation Guide

Model 201 Wiegand Touchpad Reader Installation Guide Model 201 Wiegand Touchpad Reader Installation Guide P/N 460353001C 15AUG11 2011 UTC Fire & Security. All rights reserved. This document may not be copied in whole or in part or otherwise reproduced without

More information

K-Type Thermocouple Sensor User s Guide

K-Type Thermocouple Sensor User s Guide K-Type Thermocouple Sensor User s Guide 1 TABLE OF CONTENTS: 1 INTRODUCTION... 2 2 TYPICAL APPLICATION:... 2 3 INSTALLATION RULES:... 2 3.1 Connecting the sensor to M1/MD4 data logger:... 2 3.2 Connecting

More information

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements - Two (2) MiCOM Px4x IEDs with Version 2 implementation of IEC 61850 - Two (2) Cat 5E Ethernet cable - An Ethernet switch 10/100 Mbps - MiCOM

More information

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Digital Logic Circuits Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Boolean algebra, the mathematics of binary numbers. Boolean algebra is

More information

Tutorials Drawing a 555 timer circuit

Tutorials Drawing a 555 timer circuit Step 1 of 10: Introduction This tutorial shows you how to make an electronic circuit using Livewire and PCB Wizard 3. You should follow this tutorial to learn the basic skills you will need to use Livewire

More information

Interfacing To Alphanumeric Displays

Interfacing To Alphanumeric Displays Interfacing To Alphanumeric Displays To give directions or data values to users, many microprocessor-controlled instruments and machines need to display letters of the alphabet and numbers. In systems

More information

Product Information. Gateway For Connecting EnDat Encoders to PROFIBUS-DP

Product Information. Gateway For Connecting EnDat Encoders to PROFIBUS-DP Product Information Gateway For Connecting EnDat Encoders to PROFIBUS-DP April 2012 PROFIBUS Gateway For Connecting EnDat Encoders Encoders with EnDat interface for connection via gateway All absolute

More information

PLL frequency synthesizer

PLL frequency synthesizer ANALOG & TELECOMMUNICATION ELECTRONICS LABORATORY EXERCISE 4 Lab 4: PLL frequency synthesizer 1.1 Goal The goals of this lab exercise are: - Verify the behavior of a and of a complete PLL - Find capture

More information

Installation Guide. AXIS 2191 Audio Module Sight, Speech and Sound over IP!

Installation Guide. AXIS 2191 Audio Module Sight, Speech and Sound over IP! Installation Guide AXIS 2191 Audio Module Sight, Speech and Sound over IP! AXIS 2191 Installation Guide Page 1 of 7 The AXIS 2191 Audio Module The AXIS 2191 Audio Module is an add-on device that provides

More information

The RIDZ 8x2 Audio Switcher

The RIDZ 8x2 Audio Switcher The RIDZ 8x2 Audio Switcher Engineering Manual Support Number 800-765-2930 International 712-852-2813 Table of Contents General Information for the RIDZ (8 x 2) Switcher..... 3 Input 9 on the RIDZ Switcher....6

More information

Maximum value. resistance. 1. Connect the Current Probe to Channel 1 and the Differential Voltage Probe to Channel 2 of the interface.

Maximum value. resistance. 1. Connect the Current Probe to Channel 1 and the Differential Voltage Probe to Channel 2 of the interface. Series and Parallel Circuits Computer 23 Components in an electrical circuit are in series when they are connected one after the other, so that the same current flows through both of them. Components are

More information

Picture 1 Lead Color Code Lead Function V-Link Function V-Link Pin Table 2 Picture 2 Node Commander software

Picture 1 Lead Color Code Lead Function V-Link Function V-Link Pin Table 2 Picture 2 Node Commander software TN-W0026 MicroStrain Technical Note Connecting and Calibrating a Load Cell with V-Link V-Link and Futek LSB300 Load Cell (Applies to V-Link, SG-Link, SG-Link OEM, HS-Link ) Overview MicroStrain s V-Link

More information

Car Racing Game. Figure 1 The Car Racing Game

Car Racing Game. Figure 1 The Car Racing Game CSEE 4840 Embedded System Design Jing Shi (js4559), Mingxin Huo (mh3452), Yifan Li (yl3250), Siwei Su (ss4483) Car Racing Game -- Project Design 1 Introduction For this Car Racing Game, we would like to

More information

Lab 17: Building a 4-Digit 7-Segment LED Decoder

Lab 17: Building a 4-Digit 7-Segment LED Decoder Phys2303 L.A. Bumm [Nexys 1.1.2] Lab 17 (p1) Lab 17: Building a 4-Digit 7-Segment LED Decoder In this lab your will make 4 test circuits, the 4-digit 7-segment decoder, and demonstration circuit using

More information

You can probably work with decimal. binary numbers needed by the. Working with binary numbers is time- consuming & error-prone.

You can probably work with decimal. binary numbers needed by the. Working with binary numbers is time- consuming & error-prone. IP Addressing & Subnetting Made Easy Working with IP Addresses Introduction You can probably work with decimal numbers much easier than with the binary numbers needed by the computer. Working with binary

More information

DSP Laboratory: Analog to Digital and Digital to Analog Conversion

DSP Laboratory: Analog to Digital and Digital to Analog Conversion OpenStax-CNX module: m13035 1 DSP Laboratory: Analog to Digital and Digital to Analog Conversion Erik Luther This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License

More information

Digital To Analog Converter with Sine Wave Output

Digital To Analog Converter with Sine Wave Output Digital To Analog Converter with Sine Wave Output Overview In this Lab we will build a resistive ladder network and use the BASIC Stamp to generate the digital data for the D/A conversions. PBASIC will

More information

Fundamentals of Signature Analysis

Fundamentals of Signature Analysis Fundamentals of Signature Analysis An In-depth Overview of Power-off Testing Using Analog Signature Analysis www.huntron.com 1 www.huntron.com 2 Table of Contents SECTION 1. INTRODUCTION... 7 PURPOSE...

More information

Environment Temperature Control Using Modbus and RS485 Communication Standards

Environment Temperature Control Using Modbus and RS485 Communication Standards Environment Temperature Control Using Modbus and RS485 Communication Standards Kosta Papasideris, Chris Landry, Brad Sutter and Archie Wilson Engineering Technology and Industrial Distribution Department

More information

0832 Dot Matrix Green Display Information Board User s Guide

0832 Dot Matrix Green Display Information Board User s Guide 0832 Dot Matrix Green Display Information Board User s Guide DE-DP105_Ver1.0 0832 DOT MATRIX GREEN DISPLAY INFORMATI BOARD USER S GUIDE Table of contents Chapter1.Overview... 1 1.1. Welcome... 1 1.2. Quick

More information

Experiment: Series and Parallel Circuits

Experiment: Series and Parallel Circuits Phy203: General Physics Lab page 1 of 6 Experiment: Series and Parallel Circuits OBJECTVES MATERALS To study current flow and voltages in series and parallel circuits. To use Ohm s law to calculate equivalent

More information

USER GUIDE. Publication AP8509. Allen & Heath 1 XONE:K2 User Guide

USER GUIDE. Publication AP8509. Allen & Heath 1 XONE:K2 User Guide USER GUIDE Publication AP8509 Allen & Heath 1 XONE:K2 User Guide Limited One Year Warranty This product is warranted to be free from defects in materials or workmanship for period of one year from the

More information

OPERATING INSTRUCTIONS Model ST-888 DTMF ANI/ENI Display Decoder

OPERATING INSTRUCTIONS Model ST-888 DTMF ANI/ENI Display Decoder P R O D U C T G R O U P OPERATING INSTRUCTIONS Model ST-888 DTMF ANI/ENI Display Decoder Manual # 600-0901 November 30, 1999 Rev. D - 99068 DESCRIPTION The ST-888 Mobilecall Display Decoder is a desktop

More information

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II Administration: o Prayer PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program

More information

Measuring Resistance Using Digital I/O

Measuring Resistance Using Digital I/O Measuring Resistance Using Digital I/O Using a Microcontroller for Measuring Resistance Without using an ADC. Copyright 2011 John Main http://www.best-microcontroller-projects.com Page 1 of 10 Table of

More information

Counters and Decoders

Counters and Decoders Physics 3330 Experiment #10 Fall 1999 Purpose Counters and Decoders In this experiment, you will design and construct a 4-bit ripple-through decade counter with a decimal read-out display. Such a counter

More information

Switch board datasheet EB007-00-1

Switch board datasheet EB007-00-1 Switch board datasheet EB007-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix 1 Circuit diagram

More information

Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14

Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14 LogicWorks 4 Tutorials Jianjian Song Department of Electrical and Computer Engineering Rose-Hulman Institute of Technology March 23 Table of Contents LogicWorks 4 Installation and update...2 2 Tutorial

More information