PIC16F84 3 wire interface version

This program implements eight PWM model servo drivers with a three wire interface to a host computer. CLK and DATA are inputs HAND(shake) is an output. 

A PC parallel port or serial port (with level shifting) can be used to talk to the driver.

; PINOUT 16C84

;          -------------

; hand 1 --|RA2     RA1|-- 18 CH10

; data 2 --|RA3     RA0|-- 17 CH9

;  clk 3 --|RA4    osci|-- 16

;      4 --|mclr*  osco|-- 15

;      5 --|gnd     vcc|-- 14

;  CH1 6 --|RB0     RB7|-- 13 CH8

;  CH2 7 --|RB1     RB6|-- 12 CH7

;  CH3 8 --|RB2     RB5|-- 11 CH6

;  CH4 9 --|RB3     RB4|-- 10 CH5

;          -------------

 Source code (.asm)
 


| © 2005 Ken Staton