MPLABX C18 PicKit3 PIC18F26K80 1 ______________________________________________________________________________________ 18 MPLABX C18 PicKit3 PIC18F26K80 2 ______________________________________________________________________________________ (C18 v3.40) MPLABX C18 PicKit3 PIC18F26K80 3 ______________________________________________________________________________________ PROGRAMMER: PICKIT3 MPLABX C18 PicKit3 PIC18F26K80 4 ______________________________________________________________________________________ 28- PIN DEMO BOARD MPLABX C18 PicKit3 PIC18F26K80 5 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 6 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 7 ______________________________________________________________________________________ Programmingvoltage Programmingclock/data RA RB A RC MPLABX C18 PicKit3 PIC18F26K80 8 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 9 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 10 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 11 ______________________________________________________________________________________ Configuration bits MPLABX C18 PicKit3 PIC18F26K80 12 ______________________________________________________________________________________ Demo 1 : PORTB MPLABX C18 PicKit3 PIC18F26K80 13 ______________________________________________________________________________________ Demo 1 : PORTB MPLABX C18 PicKit3 PIC18F26K80 14 ______________________________________________________________________________________ Demo 2 : Oscillator & Libraries MPLABX C18 PicKit3 PIC18F26K80 15 ______________________________________________________________________________________ Demo 2 : Oscillator & Libraries MPLABX C18 PicKit3 PIC18F26K80 16 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 17 ______________________________________________________________________________________ Demo 3 : Rotate Led MPLABX C18 PicKit3 PIC18F26K80 18 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 19 ______________________________________________________________________________________ Demo 4 : PWM MPLABX C18 PicKit3 PIC18F26K80 20 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 21 ______________________________________________________________________________________ Demo 5 : ADC MPLABX C18 PicKit3 PIC18F26K80 22 ______________________________________________________________________________________ Demo 5 : ADC MPLABX C18 PicKit3 PIC18F26K80 23 ______________________________________________________________________________________ Demo 5 : ADC MPLABX C18 PicKit3 PIC18F26K80 24 ______________________________________________________________________________________ Demo 6 : Interrupts MPLABX C18 PicKit3 PIC18F26K80 25 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 26 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 27 ______________________________________________________________________________________ Demo 6 : Interrupts MPLABX C18 PicKit3 PIC18F26K80 28 ______________________________________________________________________________________ Demo 7 : Timers / 16 bit variables GenericTypeDefs.h typedef unsigned char typedef unsigned short int typedef unsigned long fi BYTE; WORD; DWORD; WORD_BITS Timer0_value; Timer0_value.Val = 0xFFFF Timer0_value.byte.HB =0xFF; Timer0_value.byte.LB =0xFF; Timer0_value.bits.b0 = 1; Timer0_value.bits.b1 = 0; …. Alternate definitions /* 8-bit unsigned */ /* 16-bit unsigned */ /* 32-bit unsigned */ MPLABX C18 PicKit3 PIC18F26K80 29 ______________________________________________________________________________________ Demo 7 : Timers / 16 bit variables MPLABX C18 PicKit3 PIC18F26K80 30 ______________________________________________________________________________________ Demo 8 : Snap Rover Test MPLABX C18 PicKit3 PIC18F26K80 31 ______________________________________________________________________________________ H-Brug MPLABX C18 PicKit3 PIC18F26K80 32 ______________________________________________________________________________________ Demo 9 : Bluetooth 28 pin Board The BlueSMiRF Silver is the Bluetooth wireless serial cable replacement from SparkFun Electronics http://www.microchip.com/ → RN-42 MPLABX C18 PicKit3 PIC18F26K80 33 ______________________________________________________________________________________ Demo 9 : Bluetooth 28 pin Board MPLABX C18 PicKit3 PIC18F26K80 34 ______________________________________________________________________________________ MPLABX C18 PicKit3 PIC18F26K80 35 ______________________________________________________________________________________ Python programma: Bluetooth Uart.py MPLABX C18 PicKit3 PIC18F26K80 36 ______________________________________________________________________________________ PC_PUTBYTE(BYTE reg, WORD num); Reg : [00 tot 99]
© Copyright 2025 ExpyDoc