Parallel Port Signals

Similar documents
BandMaster V Manual. Installation

OBJECTIVE The purpose of this exercise is to design and build a pulse generator.

Arduino Lesson 1. Blink. Created by Simon Monk

MD04-24Volt 20Amp H Bridge Motor Drive

Metaphase ULC-2. Technologies ULC. Metaphase. Technologies Version 7.X August 2015 USER MANUAL. metaphase-tech.com. pg. 1

AxCent Servo Drive A25A100

AN2158. Designing with the MC68HC908JL/JK Microcontroller Family. Introduction. Semiconductor Products Sector Application Note

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

Preliminary Design Report with Diagram(s)

Part 1: DC Concepts and Measurement

with Electronic Assistant

USB-UT350(T) Portable Ultrasonic Pulser/Receiver and Analog to Digital Converter. User s Guide

AxCent Servo Drive A50A100

GPUX Four Channel PWM Driver

The Oscilloscope. Vision is the art of seeing things invisible. J. Swift ( ) OBJECTIVE To learn to operate a digital oscilloscope.

LC-RF, LC-IR, LC-PC PRODUCT OFFERING. Type. Project LED RGB CONTROLLER SOLUTION GUIDE LC SERIES. Catalog No.

Introduction to Oscilloscopes Instructor s Guide

SonoLab Echo-I User Manual

AL-DALI-010v 0-10v Dimmer 3-Way switch with DALI

G3P-R232. User Manual. Release. 2.06

LM4: The timer unit of the MC9S12DP256B/C

Virtual Lab 1: Introduction to Instrumentation

DS1621. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT

MAINTENANCE MANUAL AUDIO MATRIX BOARD P29/

Piezo Driver MTAD4002

ADC Bit µp Compatible A/D Converter

QUAD 12-BIT DIGITAL-TO-ANALOG CONVERTER (12-bit port interface)

Frequently Asked Questions DAT & ZX76 Series Digital Step Attenuators

AVL-10000T AUDIO VIDEO LINK TRANSMITTER TECHNICAL MANUAL

IST TSic Temperature Sensor IC. Technical Notes ZACwire Digital Output

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

the Multifunctional DCC decoder for servo s and accessory s with Arduino for everybody (with a DCC central station)

TEAM DIGITAL. SC82 Servo Controller

7.2 DV1311.L08 and DV1311.L12

SCSI SPI-2 Low Voltage Differential Signaling

DS1807 Addressable Dual Audio Taper Potentiometer

DSM303-V4 3.0 GHz Arbitrary Frequency Chirping Module

era, eric, era-lora, eric-lora & eric-sigfox Evaluation Board with GNSS

AN310 Energy optimization of a battery-powered device

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control

Digital humidity and temperature sensor

3V DUAL MODE TRANSCEIVER 434 MHz BAND Product Code:

Metaphase ULC-2. Technologies ULC. Metaphase. Technologies Version 6.2 June 12, 2013 USER MANUAL. metaphase-tech.com. pg. 1

Dual Protocol Transceivers Ease the Design of Industrial Interfaces

LMS485 5V Low Power RS-485 / RS-422 Differential Bus Transceiver

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

DS1803 Addressable Dual Digital Potentiometer

STPDRV-1 Stepper Motor Driver Data Sheet (R1.0) BFF Design Ltd

Answering frequently asked Questions (Firmware V.107)

um-pwm1 Pulse-width Modulation Servo Coprocessor Datasheet Release V100 Introduction Features Applications

Analog Servo Drive. Peak Current 16 A (11.3 A RMS )

USB-PWM10. User s Manual

+15 V 10k. !15 V Op amp as a simple comparator.

Chapter 15: Serial Controlled (HF) Radio Support

Pin Configuration Pin Description PI4MSD5V9540B. 2 Channel I2C bus Multiplexer. Pin No Pin Name Type Description. 1 SCL I/O serial clock line

Channels that are not occupied by temperature sensors, can take over alternative functions:

Houngninou 2. Abstract

USB-TEMP and TC Series USB-Based Temperature Measurement Devices

Resonance in Circuits

CL86T. 24~80VDC, 8.2A Peak, Closed-loop, No Tuning. Descriptions. Closed-loop. Stepper. Applications. Datasheet of the Closed-loop Stepper CL86T

ASCOM EF Lens Controller

Digital Debug With Oscilloscopes Lab Experiment

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC 180A DIGITAL SYSTEMS I Winter 2015

Presentation Content Review of Active Clamp and Reset Technique in Single-Ended Forward Converters Design Material/Tools Design procedure and concern

1SC0450V2Ax-45 and 1SC0450V2Ax-65 Target Datasheet

Voltage Compensation of AC Transmission Lines Using a STATCOM

Features. Applications

Instruction Manual ABM HART Gateway Software. Instruction Manual Revision A.1

X3M. Multi-Axis Absolute MEMS Inclinometer Page 1 of 13. Description. Software. Mechanical Drawing. Features

etatronix PMA-3 Transmitter Tester Manual

Servo Runner A User s Guide

Debouncing Switches. The non-ideal behavior of the contacts that creates multiple electrical transitions for a single user input.

Binary Inputs. Ref.-No. KNX universal binary input, 8-gang. ETS-product family: Series embodiment (SE-) device (2 units) Ref.-No.

Application Note: Using the Motor Driver on the 3pi Robot and Orangutan Robot Controllers

DS1000B Series Digital Oscilloscopes

I2C Demonstration Board I 2 C-bus Protocol

Keywords: GPS, receiver, GPS receiver, MAX2769, 2769, 1575MHz, Integrated GPS Receiver, Global Positioning System

VLA Hybrid Gate Driver Application Information. DC-DC Converter V D 15V. V iso = 2500V RMS

SCSI SPI-2 Low Voltage Differential Signaling

AL-DALI-010v 0-10v Dimmer 3-Way switch with DALI

A Programmable Clock Generator Based on Xilinx CoolRunner

Advanced Monolithic Systems

I2C Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551

LadyBug LB5900 Programmatic Measurement Commands and Examples

Physics 310 Lab 2 Circuit Transients and Oscilloscopes

10 Things to Consider when Acquiring a Nanopositioning System

CALIFORNIA SOFTWARE LABS

User manuel. Hybrid stepper servo drive

BASIC Stamp I Application Notes

Keysight Technologies How to Take Fast, Simultaneous Measurements of Two or More Signals Using BenchVue Software. Application Note

DS1720 ECON-Digital Thermometer and Thermostat

Peak Current. Continuous Current. See Part Numbering Information on last page of datasheet for additional ordering options.

GPS Evaluation Kit EVA1035-H

Global Navigation Satellite System for IE 5000

Lesson 3: Arduino. Goals

Analog Servo Drive 20A20

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield

Servo Commander 32 User s Guide

15 W HVDCP Quick Charge 3.0 Compatible CV/CC Charger

Output format same as L, except that when HP1 or HP2 is active, it will clear CP1. VDD GND OSC. Rx IN HP1 CODE 2 HP2 SC9149AL/ 9149AHN HP3 HP4 SP2

Transcription:

Table of Contents Parallel Port Signals Introduction...1 Signal timing...1 Wave forms...3 Using a transceiver...4 LCDproc with hd44780/winamp driver...5 T6963 display...6 Timing with LCDproc...6 Other signals...7 Data vs. control line...8 Noise on the power line...9 Questions for further testing...9 Introduction For many years the parallel port of a personal computer has been an easy way to connect electronics using digital I/O lines to a computer. Early examples are LED bar graphs and LC displays. However, using the parallel port has sometimes been troublesome, especially if exact timing was necessary or long cables were used. While it was possible to use direct I/O commands to drive the lines of a parallel port years ago, today's operating systems do not allow or restrict the use of direct I/O. Some kind of device API has now to be used instead, which is said to be slower than direct I/O. The following sections present results from a measurement experiment about the following questions: 1. How fast can signals on a parallel port be driven? 2. How can the timing be controlled? 3. Is parallel port device access slower than direct I/O? For this experiment the following components were used: Parallel port of a Toshiba Tecra S2 Break-out board for parallel port connected with 1.8m cable to the laptop FTDI FT245RL DIP interface board Rigol digital oscilloscope FreeBSD 7.3 operating system Self-written test program. Signal timing The table below shows signal timings resulting from the test program toggling one pin on the data port of the parallel port or on the FT245 from 0 to 1 and reverse with a given 2011, Markus Dolze <bsdfan@nurfuerspam.de> 1

delay. The delay created using nanosleep(3) system call. The following observations were made: On the parallel port of my laptop the 1 voltage level was around 3,3V instead of expected 5V. For long delays (10ms, 20ms) the sleep system call creates acceptable timings. For very small delay values (1-3) the minimum timing possible was 2ms (which is nearly a delay value of 2000. Without any delay, direct I/O resulted in very fast (5us) signals switches, with PPI being 4 times slower. On the USB port single USB messages (each toggle of the signal was one USB command) seem to take a minimum of 2ms. Delay Direct I/O PPI USB 20000 10000 20 ms 20 ms 20 ms 0 10 ms 10 ms 10 ms 5 us 20 us 2 ms 2011, Markus Dolze <bsdfan@nurfuerspam.de> 2

Delay Direct I/O PPI USB 1 2 2 ms 2 ms 4 ms 3 2 ms 2 ms Wave forms For this experiment a 74HC245 transceiver was used to drive the signal arriving at the break-out board. A trigger was set at 2,3V. Observations: The parallel port has a signal rise time of about 50ns. The 74HC245 is much faster and delivers 5V signal voltage. The FT245 delivers 5V signals as well, but has a much slower rise time. 2011, Markus Dolze <bsdfan@nurfuerspam.de> 3

Parallel Port Parallel Port with 74HC245 FT245 Using a transceiver For the following experiment the transceiver was used a well. The same timing code as in section Signal timing was used. Signal voltage levels are at 5V. Signal timings do not differ notably from the Direct I/O ones. Parameter Delay = 20000 Delay = 0 2011, Markus Dolze <bsdfan@nurfuerspam.de> 4

Parameter Wave form LCDproc with hd44780/winamp driver The following diagramms show the effects of different settings in the LCDd config file related to bus timing on the parallel port. For this test the EN (enable = strobe) line was used to acquire data. 2011, Markus Dolze <bsdfan@nurfuerspam.de> 5

Parameter DelayBus = false DelayBus = true DelayMultiplier = 1 Very short pulses of 5us to 5V (on a control line) at the same parallel port delivering 3,3V for data signals. The pulse width increases from 5us to 2ms. 2011, Markus Dolze <bsdfan@nurfuerspam.de> 6

Parameter DelayBus = true DelayMultiplier = 10 DelayBus = true DelayMultiplier = 100 No change in timings compared to DelayMultiplier = 1. DelayBus = true DelayMultiplier = 1000 The pulse width does not increase, but the delay in between the signals. The pulse width does not increase, but the delay in between the signals. 2011, Markus Dolze <bsdfan@nurfuerspam.de> 7

T6963 display Timing with LCDproc ### TBD ### Parameter Default settings Delay = on 2011, Markus Dolze <bsdfan@nurfuerspam.de> 8

Parameter Write each byte twice to the parallel port. Other signals The following table shows some other signals I watched during my tests. Description Reset line (yellow) with noisy power line (cyan) Reset line with noisy power line and capacitor 2011, Markus Dolze <bsdfan@nurfuerspam.de> 9

Description Negative contrast voltage with soft-start circuit. Negative power is delayed by a few milliseconds after power on. Data vs. control line These diagrams shows the difference in signals on the parallel port of my Toshiba Tecra S2. The data lines only reach 3,3V and have a good edge. The control lines reach 5V but have slower rise times. Data line Control line 2011, Markus Dolze <bsdfan@nurfuerspam.de> 10

Noise on the power line This is what happens if I power on my 5V power supply using a LM317. Without a capacitor a stable voltage is reached only after several ms. Power line Same power line with capacitor 10µF between 5V and GND. Questions for further testing What is the delay between rising parallel port line and output on 74HC245? Does Speedstep have an effect on the timing? What effect do the different timing mechanisms in LCDproc have? How fast can the FT245 output signals if several bytes are written at once? 2011, Markus Dolze <bsdfan@nurfuerspam.de> 11