background image

  QEX – May/June  2010   

9

 

Reprinted with permission © ARRL

Development Board with USB, SKU: DEV-

00022; 

www.sparkfun.com/commerce/

product_info.php?products_id=22

 

20

Beginner Electronics, Breadboard and Wire 

Kit; 

www.beginnerelectronics.com/begin 

ner/Products.php

 

21

Microchip Technology Inc, 

PIC18F2420/2520/4420/4520 Data 

Sheet: 28/40/44-Pin Enhanced Flash 

Microcontrollers with 10-Bit A/D and nano-

watt Technology (document DS39631E), 

2008; 

www.microchip.com

22

SparkFun Electronics, Adapter board 

for Microchip ICD and ICD2; 

www.

sparkfun.com/commerce/product_info.

php?products_id=193

 

23

HVW Technologies, RS-232 Driver Module 

— DCE; 

www.hvwtech.com/products_

view.asp?ProductID=289

 

24

SparkFun Electronics, PTC Resettable 

Fuse, SKU: COM-08357; 

www.spark 

fun.com/commerce/product_info.

php?products_id=8357

 

25

Inland Pro USB Converter USB to PS/2 

Keyboard and Mouse, SKU: 919712; 

www.

microcenter.com/single_product_results.

phtml?product_id=0230515

 

26

Cable Club, 6 ft PS/2 Keyboard and Mouse 

Interface Cable (Male/Male), part: BC20277-

6; 

www.cableclub.com/keyboard-mouse-

interface-cable-malemale-p-797.html

 

27

Microchip Technology Inc, PICkit 2 

Development Programmer/Debugger; 

www.microchip.com/stellent/

idcplg?IdcService=SS_GET_PAGE&node

Id=1406&dDocName=en023805

 

28

CCS, Inc, Compiler Exclusively for Microchip 

PIC

®

 MCUs, 

www.ccsinfo.com/content.

php?page=compilers

 

29

Microchip Technology Inc, MPLAB 

Integrated Development Environment; 

www.microchip.com/stellent/

idcplg?IdcService=SS_GET_PAGE&nod

eId=1406&dDocName=en019469&part=S

W007002

 

30

CCS, Inc, PCH Command-line Compiler 

for PIC18 MCU parts; 

www.ccsinfo.

com/product_info.php?cPath=Store_

Software&products_id=PCH_full

31

Benson, David, C

 What Happens, Using 

PIC

®

 Microcontrollers and the CCS 

C

 

Compiler

, Hayden, Idaho; Square 1 

Electronics, 2008; 

www.sq-1.com/cwhtoc.

html

 

32

Chuck Hellebuyck, 

Beginner’s Guide To 

Embedded 

C

 Programming: Using the 

PIC

®

 Microcontroller and the HITECH 

PICC-Lite

TM

 

C

 Compiler

, Milford, Michigan; 

Electronic Products, 2008, ISBN: 978-

1438231594; 

www.elproducts.com/

embeddedcbook.htm 

33

Martin P Bates, 

Programming 8-bit PIC 

Microcontrollers in 

C

: with Interactive 

Hardware Simulation

, Oxford, UK: Newnes 

Press, 2008; ISBN: 9780750689601

34

Chuck Hellebuyck, 

Beginner’s Guide to 

Embedded 

C

 Programming — Volume 

2: Timers, Interrupts, Communication, 

Displays and More

, Milford, Michigan: 

Electronic Products, 2009; ISBN: 978-

1448628148, 

www.elproducts.com/

embeddedcbook2.htm

 

35

Dogan Ibrahim, 

Advanced PIC 

Microcontroller Projects in 

C

: From USB 

to RTOS with the PIC 18F Series

, Oxford, 

UK: Newnes Press, 2008; ISBN: 978-

0750686112

36

Richard H. Barnett, Sarah Cox, Larry 

O’Cull, 

Embedded 

C

 Programming and 

the Microchip PIC

, Clifton Park, New 

York: Delmar Learning, 2004; ISBN: 978-

1401837488

37

Nuts & Volts Magazine, The Magazine for 

the Electronics Hobbyist

, ISSN 1528-9885; 

www.nutsvolts.com/

 

38

Circuit Cellar, The Magazine for Computer 

Applications

,

 ISSN 1528-0608; 

www. 

cuitcellar.com/

39

Jack G. Ganssle, 

A Guide to Debouncing

Rev 3: June, 2008; 

www.ganssle.com/

debouncing.pdf

 

40

CW Touchkeyer touch paddle, model 

P1PADW; 

www.cwtouchkeyer.com/

P1PADW.htm

 

41

The program source code file and circuit 

board pattern files in ExpressPCB format 

are available for download from the ARRL 

QEX

 Web site. Go to 

www.arrl.org/qexfiles

 

and look for the file 

5x10_Bern.zip

.

42

Gary Gordon, K6KV, “Build a Puff-and-Sip 

Key,” March 2004 

QST

, pp 31-32.

David Bern, W2LNX, was first licensed in 

1979 as N2AER with an Advanced Class and 
upgraded to an Amateur Extra Class in 2000. 
Later, he obtained his W2LNX vanity call sign 
since he is also an avid Linux enthusiast. As a 
high school student, he earned his First-Class 
Radiotelephone Operator License with Ship 
Radar Endorsement. In 1977, he earned a 
BS in Computer Science from City College of 
New York and then in 1983 earned an MS in 
Computer Science from New York University. 
He is a professional software developer and 
also an adjunct professor of engineering at 
Montgomery College, Rockville, Maryland. He 
prefers building and experimenting with ham 
radio projects to operating but enjoys operat-
ing QRP digital modes in the summer with his 
son Adam, KB3KVD, in the Virginia moun-
tains. Currently, he is learning microcontroller 
programming and digital signal processing. 

Summary of Contents for Keyer Paddle

Page 1: ...I was looking I would write a pro gram that runs on a PIC and that emulates a PS 2 keyboard using a keyer paddle for input Later on in the project I wondered if it was also possible to emulate a PS 2...

Page 2: ...ands the key board to light its Caps Lock LED when the Caps Lock key is pressed The PS 2 Mouse Protocol The standard PS 2 mouse device sends the host its movement and button informa tion as a three by...

Page 3: ...ternal 8 MHz clock within the PIC is used instead PIC Development Tools For the PIC programmer I used the Microchip PICkit 2 programmer debug ger 27 The PICkit 2 is inexpensive and was adequate for th...

Page 4: ...ddle input Clicking briefly pressing the left paddle lever generates a left mouse button click and correspondingly clicking the right paddle lever generates a right mouse button click Mouse pointer mo...

Page 5: ...n and purple connectors are connected to the corresponding purple and green female con nectors of the PS 2 keyboard and mouse to USB adapter Table 1 provides the parts list of readily available compon...

Page 6: ...8509 www sparkfun com commerce product_info php products_id 8509 12 SparkFun Electronics MiniDIN 6 Pin Connector Breakout SKU PRT 08651 www sparkfun com commerce prod uct_info php products_id 8651 13...

Page 7: ...ucts com embeddedcbook htm 33 Martin P Bates Programming 8 bit PIC Microcontrollers in C with Interactive Hardware Simulation Oxford UK Newnes Press 2008 ISBN 9780750689601 34 Chuck Hellebuyck Beginne...

Reviews: