599 Menlo Drive Rocklin, CA 95765, USA Office: (916) Fax: (916)



Similar documents
Web Site: Forums: forums.parallax.com Sales: Technical:

XBee USB Adapter Board (#32400)

Web Site: Forums: forums.parallax.com Sales: Technical:

Web Site: Forums: forums.parallax.com Sales: Technical:

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979)

Setup and Testing - PropStick USB PE Platform

Web Site: Forums: forums.parallax.com Sales: Technical:

Web Site: Forums: forums.parallax.com Sales: Technical:

User Guide Reflow Toaster Oven Controller

CENTRONICS interface and Parallel Printer Port LPT

Programming the On-Chip Flash on a phycore-xc161 phycore-xc167

WinProladder software package

RC2200DK Demonstration Kit User Manual

Using a Laptop Computer with a USB or Serial Port Adapter to Communicate With the Eagle System

Troubleshooting Tips Lifestyle SA-2 & SA-3 Amplifier. Troubleshooting Tips

2 Port KVM Switch. If anything is damaged or missing, contact your dealer.

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

A-307. Mobile Data Terminal. Android OS Platform Datasheet

SBC6245 Single Board Computer

User's Guide DylosLogger Software Version 1.6

USB to Serial Quick Installation Guide

Lab Experiment 1: The LPC 2148 Education Board

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Accurate Measurement of the Mains Electricity Frequency

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

E-Blocks Easy Internet Bundle

How to setup a serial Bluetooth adapter Master Guide

If anything is damaged or missing, contact your dealer.

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

LiveDesign Evaluation Board Technical Reference Manual. Technical reference manual for Altium s LiveDesign Evaluation Boards

iloq P10S.10/20 Programming device User's Guide

M72. Quectel Cellular Engine. EVB User Guide M72_EVB_UGD_V1.0

Mounting HP Desktop Mini Rack Mount Tray Kit HP Desktop Mini Security/Dual VESA Sleeve

Advanced Data Capture and Control Systems

CalDigit SuperSpeed PCI Express Card

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

3NNet KVM CP-104S /OSD / 19 KVM CP-108S / OSD / 19 KVM CP-116S / OSD / 19

Designing a Schematic and Layout in PCB Artist

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

Installation. Powerline 500 Model XAVB5221

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

4-Port Pocket. USB KVM Switch with USB 2.0 Hub

Gripper Kit for the Boe-Bot Robot (#28202)

Cable Connection Procedures for Cisco 1900 Series Routers

MACHINEMATE. CNC SYSTEM Hardware SPECIFICATION

Barcode Support. Table of Contents

Board also Supports MicroBridge

Universal Serial Bus (USB) to DH-485 Interface Converter

Embedded Display Module EDM6070

BrightSign Expander Hardware Guide

Android Dongle. User Manual TL869

USB KVM Switch USER MANUAL CS62US / CS64US

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+

ServoPAL (#28824): Servo Pulser and Timer

for Windows Media Center User's Guide

The CW Machine Hardware

EMBEDDED C USING CODEWARRIOR Getting Started Manual

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

Basic Specifications. Electrical. EPSON Perfection Color EPSON MatrixCCD TM line sensor. device Effective pixels

Lab 3: PCB design with EAGLE

KVM-1501/ KVM-1508/ KVM-1516 KVM-1701/ KVM-1708/ KVM-1716 USER MANUAL

FlowKit in-circuit debug system

User Manual. EtherUSB

Connecting External Resources

Bluetooth to serial HC-06 wireless module

Warnings: This manual is intended to guide a technicians or customers who would like to repair DBL's

MARTECH SPI Tools. MARTECH SPI Tools User Manual v1.0. User Manual

PCI USB 2.0 Card. 3 Port PCI USB 2.0 Card PCI330USB2. Instruction Manual. Actual product my vary from photo

PhidgetInterfaceKit 8/8/8

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

M80 EVB User Guide M80. Quectel Cellular Engine. EVB User Guide M80_EVB_UGD_V1.2 M80_EVB_UGD_V1.2-0-

Keep it Simple Timing

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Microprocessor Project Laboratory

Second Display Installation Guide Point-of-Sale Hardware System

Building a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home

Testing Robots Using the VEXnet Upgrade

INTEGRATED MONITORING RECEIVER WITH MICRO SERVER STAM-IRS. 1. Features. 2. Description

omega.com ΩOMEGA RS232 Multi-Drop FMA1600-MDB Multi-Drop Box

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

PenMount Touch Screen Controller Board Installation Guide

TP- 051 GPS RECEIVER

Select Correct USB Driver

XPort Universal Demo Board User Guide

Technical Specifications: The specifications represent a particular hardware platform. Application-specific software is provided.

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

BUSINESS SOFTWARE SOLUTIONS. Business Software Solutions Error Troubleshooting

USB-Link 2 Installation and Setup Manual

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

DSP801 Operation Manual

USB Keyboard/Video/Mouse Sharing Switch. User's Manual SV431USB SV231USB

PLC training panel (Twido version)

How to read this guide

Config software for D2 systems USER S MANUAL

PARAMOUNT ME MOUNTING AND WIRING KITS FOR USE WITH THE TCF-S / IFW / Pyxis Revised 3/18/2008

OWNERS MANUAL. WattsVIEW. Power Monitor Model: DC WattsVIEWTM. Models: DC Serial DC-1000 USB DC-25000

How to Download Images Using Olympus Auto-Connect USB Cameras and Olympus Master

CONSOLE REMOTE I /O AC 9V

USB/VGA Cat 5 UTP Console Extender

C9 HD Video Conference Terminal

IMPORTANT! CPD 8424R1

Transcription:

599 Menlo Drive Rocklin, CA 95765, USA Office: (916) 624-8333 Fax: (916) 624-8003 Web Site: www.parallax.com Forums: forums.parallax.com Sales: (888) 512-1024; sales@parallax.com Tech Support: (888) 997-8267; support@parallax.com PS/2 to Breadboard Adapter (#28060) The Parallax PS/2 to Breadboard Adapter makes it convenient to connect a PS/2 mouse or keyboard to breadboards, protoboards and perfboards with 0.1-inch hole spacing. Designed with the Propeller Education Kit in mind, this adapter simplifies connecting PS/2 mice and keyboards to the PE Platform s Propeller Microcontroller. Our...to Breadboard adapters make connectors breadboard-friendly for prototyping. These adaptors tend not to feature built-in circuits, just the connector mounted on a PCB and routed to pins. This makes each adapter more flexible for different applications. Hand wiring the interface circuit also gives students the opportunity to become more familiar with the relationships between circuits, theory of operation, and microcontroller code. Features PS/2 female socket (mini-din-6) 4 dual-pin DIP board provides a steady base for plugging and unplugging the peripheral's cable. Compact board can be oriented across a breadboard trench lengthwise or crosswise for flexibility in parts placement. Narrow width (approx. 0.525 ) allows for placement of multiple adjacent modules with minimal breadboard space consumed. Key Specifications Supply voltage: +5 VDC Supply current: See PS/2 peripheral s specifications Communication: Synchronous serial, open collector Package: 4 dual-pin DIP, 0.1 spacing Operating temperature: 0 70 C. Size: 0.92 in H x 0.525 in W x 0.90 in D (23 mm x 13.3 mm x 22.8 mm) Weight: 7.8 g (0.28 oz) Pin Definitions & Schematic Ground (Vss) 5 V Regulated +5 VDC Data (I/O pin) Clock (I/O pin) The two pins in each pin-pair are electrically connected to each other; either pin by a given pin label can be used to make the electrical connection. Copyright Parallax Inc. PS/2 to Breadboard Adapter (#28060) v1.0 7/3/2008 Page 1 of 5

Dimensions Dimensions are approximate and subject to minor changes based on component availability. Example Programs and Applications Propeller Microcontroller Test Parallax PS/2 Keyboard This application tests the Parallax PS/2 keyboard connected to Propeller chip I/O pins P26 and P27 and displays the characters entered in the Parallax Serial Terminal. This program relies on the Keyboard and FullDuplexSerial objects, which are included in the Propeller Tool software s Propeller Library. The Parallax Serial Terminal is available for free from the Downloads link at www.parallax.com/propeller. Set the Parallax Serial Terminal s Com Port to your Propeller microcontroller s programming port. Set the Parallax Serial Terminal s baud rate to 57600. Use the Propeller Tool software to load Test Parallax Keyboard.spin into the Propeller chip. You can click the Parallax Serial Terminal s Enable button immediately after starting the Propeller Tool software s Load EEPROM feature. The Parallax Serial Terminal will automatically wait for the Propeller Tool to finish before opening the Com Port. If you waited more than 1 second after the Propeller Tool finished loading the program, you might not see the Type characters on the PS2 Keyboard: message. To display the Type characters message, you can restart the program by holding your computer keyboard s CTRL key and clicking the Parallax Serial Terminal s DTR checkbox. Schematic for Test Parallax Keyboard.spin Copyright Parallax Inc. PS/2 to Breadboard Adapter (#28060) v1.0 7/3/2008 Page 2 of 5

'' Test Parallax Keyboard.spin '' Displays characters typed on the Parallax PS/2 keyboard in the Parallax Serial Terminal. '' See 28060-PS2-to-Breadbaord.PDF for schematics and instructions. CON _clkmode = xtal1 + pll16x ' System clock settings _xinfreq = 5_000_000 CLS = 16 ' Parallax Serial Terminal constants CR = 13 OBJ keys : "Keyboard" debug : "FullDuplexSerial" ' Declare keyboard object ' Declare FullDuplexSerial object PUB KeyboardDisplay keys.start(26, 27) debug.start(31, 30, 0, 57600) waitcnt(clkfreq + cnt) ' Start keyboard ' Start serial connection ' Wait 1 s before starting ' Display static text. debug.str(string(cls, "Type characters on", CR, "the PS/2 keyboard:", CR, CR)) repeat if keys.gotkey debug.tx(keys.getkey) ' If key in buffer ' Display character Propeller Microcontroller Test Parallax PS/2 Mouse This application tests the Parallax PS/2 mouse connected to Propeller chip I/O pins P24 and P25 and displays the X, Y and scroll wheel positions along with the center (scroll wheel), right, and left buttons in the Parallax Serial Terminal. This program relies on the Mouse and FullDuplexSerial objects, which are included in the Propeller Tool software s Propeller Library. Change the I/O pin connections; they are different from the keyboard example. For tips on finding and using the Parallax Serial Terminal, see the explanation and checklist instructions in the Test Parallax PS/2 Keyboard example. If you did not click the enable button within 1 second after the Propeller Tool s Load EEPROM feature finished, the Mouse, x =, y =, and other labels might not display. To refresh the display, you can restart the application by holding down your computer keyboard s CTRL key and clicking the Parallax Serial Terminal s DTR checkbox. Schematic for Test Parallax Mouse.spin Copyright Parallax Inc. PS/2 to Breadboard Adapter (#28060) v1.0 7/3/2008 Page 3 of 5

'' Test Parallax Mouse.spin '' Displays Parallax mouse X, Y, and Scroll button coordinates along with the scroll wheel, '' right and left button states in the Parallax Serial Terminal. '' See 28060-PS2-to_Breadbaord.PDF for schematics and instructions. CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 ' System clock settings OBJ HOME = 1 ' Parallax Serial Terminal constants CRSRXY = 2 CR = 13 CLREOL = 11 CLS = 16 mouse : "Mouse" debug : "FullDuplexSerial" ' Declare Mouse object ' Declare FullDuplexSerial object PUB MouseDisplay mousex, mousey, mousez, mousebtns mouse.start(24, 25) debug.start(31, 30, 0, 57600) waitcnt(clkfreq + cnt) ' Start mouse ' Start serial connection ' Wait 1 s before starting ' Display static text. debug.str(string(cls, "Mouse", CR, "x = ", CR, "y = ", CR, "scroll = ", CR, "CRL", HOME)) repeat mousex += mouse.delta_x mousey += mouse.delta_y mousez += mouse.delta_z mousebtns := mouse.buttons debug.str(string(crsrxy, 4, 1)) debug.dec(mousex) debug.str(string(clreol, CRSRXY, 4, 2)) debug.dec(mousey) debug.str(string(clreol, CRSRXY, 9, 3)) debug.dec(mousez) debug.str(string(clreol, CR, CR)) debug.bin(mouse.buttons, 3) waitcnt(clkfreq/20 + cnt) ' Get mouse data ' Display mouse data Copyright Parallax Inc. PS/2 to Breadboard Adapter (#28060) v1.0 7/3/2008 Page 4 of 5

Resources and Downloads To get to the resources listed in this section, go to www.parallax.com, enter the part number into the Search field, and click the Go button. The examples in this document require a PS/2 mouse and keyboard. Parallax PS/2 Optical Mouse (#32350) Parallax PS/2 Mini Keyboard (#32351) There are more examples that rely on PS/2 keyboards and mice in the Propeller Library Demos folder. These examples also require a television display such as the Mini LCD A/V Color Display. This display is also included in the Propeller Accessories Kit along with a Parallax PS/2 Optical mouse and Mini Keyboard. You can connect a television display to your PE Platform or other breadboard with the RCA to Breadboard Adapter. Mini LCD A/V Color Display (#603-32000) Propeller Accessories Kit (#32311) RCA to Breadboard Adapter (#28050) The Propeller Education Kit 40-pin DIP and PropStick USB versions are both compatible with these adapters. The Propeller Education Kit also features tutorials for getting started with the Propeller Microcontroller. Propeller Education Kit 40 Pin DIP version (#32305) Propeller Education Kit PropStick USB version (#32306) Copyright Parallax Inc. PS/2 to Breadboard Adapter (#28060) v1.0 7/3/2008 Page 5 of 5