QW1 TechTools, QW1 Datasheet - Page 198

PROGRAMMER PIC MCU QUICKWRITER

QW1

Manufacturer Part Number
QW1
Description
PROGRAMMER PIC MCU QUICKWRITER
Manufacturer
TechTools
Series
QuickWriter™r
Type
QuickWriterr
Datasheets

Specifications of QW1

Contents
MCU Programmer with In-Circuit Serial Programming Cable and Optional GANG Adapters
For Use With/related Products
PIC Micro® MCU
For Use With
CBL-ICSP - CABLE PROG QUICKWRITER SERIALQW-4SSOP18 - ADAPTER QUICKWRITER 4GANG 18SSOPQW-4SSOP28 - ADAPTER QUICKWRITER 4GANG 28SSOPQW-4SO8/14W - ADAPT QUICKWRTR 4GANG 8/14SOIC WQW-4SO8/14N - ADAPT QUICKWRTR 4GANG 8/14SOIC NQW-4SOIC18 - ADAPTER QUICKWRITER 4GANG 18SOICQW-4ZIF18 - ADAPTER QUICKWRITER 4-GANG 18ZIFQW-4SOIC28 - ADAPTER QUICKWRITER 4GANG 28SOICQW-4PLCC44 - ADAPTER QUICKWRITER 4GANG 44PLCCQW-4ZIF40/28 - ADAPT QUICKWRITER 4GANG 40/28ZIFMP-ZIF14 - ADAPTER QUICKWRITER 14-PIN ZIFMP-SOIC8/14 - ADAPTER QUICKWRITER 8/14-SOICMP-SSOP18 - ADAPTER QUICKWRITER 18-SSOPMP-SSOP28 - ADAPTER QUICKWRITER 28-SSOPMP-14000 - ADAPTR QUICKWRTR PIC14000 28-PINMP-SOIC18 - ADAPTER QUICKWRITER 18-SOICMP-SOIC28 - ADAPTER QUICKWRITER 28-SOICMP-PLCC44 - ADAPTER QUICKWRITER 44-PIN PLCCMP-ZIF18/28 - ADAPTER QUICKWRITER 18/28PIN ZIFMP-ZIF40 - ADAPTER QUICKWRITER 40-PIN ZIF

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
QW152
Manufacturer:
Laird Technologies IAS
Quantity:
135
192
; PIC EXAMPLE PROGRAM: TABLE.SRC
; August 19, 1992
;
; This 44-word program is a simple PIC application that shows some useful
; routines.
; 7-segment display.
;
; As the program is written, it expects to run on a PIC16C54-RC/P.
; button connects RA0 to ground (don’t forget a pull-up resistor from RA0 to
; Vcc, perhaps 10K).
; port B (segment A to bit 0, segment B to bit 1, etc.).
; a 20 pF capacitor to ground and a 4.7K resistor to Vcc are connected to
; OSC1 (OSC2 is left open).
; power and ground are connected to Vdd and Vss, respectively.
;
; Among other things, this program shows the following basic concepts:
;
;
;
;
;
;
;
;
; If you build the circuit as described above,
; START OF PROGRAM
; Set the device type, oscillator type, watchdog timer status, and code
; protect status
Count0 equ
Count1 equ
Number equ
Flag
Button equ
Display
Start
; Main loop
Digit
PicTools Manual 3.0
* Setting device options
* Setting the reset vector
* Setting I/O pins as inputs or outputs
* Using labels
* Debouncing a push button input
* Reading from a lookup table
Its purpose is to monitor a button and display a digit on a
DEVICE
RESET Start ;Set reset vector to address at Start
10h
11h
12h
equ
RA.0
equ
clr
clr
clr
clr
mov
mov
mov
call
mov
jnb
13h.0
RB
Number
Flag
RA
RB
!RA,#00000001b
!RB,#00000000b
W,Number
GetPattern
Display,W
Flag,UpLoop
When the button is pressed, the digit increments.
A 7-segment display (common cathode) is connected to
PIC16C54,RC_OSC,WDT_OFF,PROTECT_OFF
RTCC and MCLR should be tied high.
;Register labels
;Bit label (bit 0 of register 13h)
;Port labels (bit 0 of port A)
;Move Number into W
;If flag is clear, check for 2048 reads
;(PIC will jump to this when reset)
;(entire port)
;Set data direction register for port A
;(make bit 0 an input)
;Set data direction register for port B
;(make all bits outputs)
;Get bit pattern for digit
;Show digit
the display should show a “0” when you select t
For an oscillator,
Lastly,
A push
© 2007 TechTools

Related parts for QW1