16f 84 pic servo controller 8 servo
2016-08-23
1 0 0
no vote
Other
Earn points
LIST P=PIC16F84, R=DEC
#INCLUDE "p16f84.inc"
;------------------------------------------------------------------------------
; ASSEMBLE With MPASM. available for free from http://www.microchip.com
;------------------------------------------------------------------------------
;
; Servo Controler Version 1.1
; 28/10/2001
; - Fixed Serial receive data problem where the PIC could
; miss a byte by assuming that the PC isn't in the middle of
; sending a byte as it deactivates CTS.
;
; This program will control 4 servos connected to PORT B of the
; PIC microcontroler.
;
; The servos work by responding to a pulse presented to them
; approximately every 20ms. The width of the pulse controls the
; position of the servo.
;
; In general, a pulse width of around 1520us is used as a neutral
; (centre) position indica
#INCLUDE "p16f84.inc"
;------------------------------------------------------------------------------
; ASSEMBLE With MPASM. available for free from http://www.microchip.com
;------------------------------------------------------------------------------
;
; Servo Controler Version 1.1
; 28/10/2001
; - Fixed Serial receive data problem where the PIC could
; miss a byte by assuming that the PC isn't in the middle of
; sending a byte as it deactivates CTS.
;
; This program will control 4 servos connected to PORT B of the
; PIC microcontroler.
;
; The servos work by responding to a pulse presented to them
; approximately every 20ms. The width of the pulse controls the
; position of the servo.
;
; In general, a pulse width of around 1520us is used as a neutral
; (centre) position indica
asm
伺服
控制器
Related Source Codes
Servo motor control program
0
0
no vote
Course code of microcomputer interface and technol
0
0
no vote
object-dynamic-controller
1
0
no vote
Implement ASM modulation and demodulation simulati
1
0
no vote
8051 Tile Programmable Logic Controller
1
0
no vote
No comment