Cov txheej txheem:

18 Pin PIC Development Board: 3 Kauj Ruam
18 Pin PIC Development Board: 3 Kauj Ruam

Video: 18 Pin PIC Development Board: 3 Kauj Ruam

Video: 18 Pin PIC Development Board: 3 Kauj Ruam
Video: Make a Any Kind of PIC IC Programmer 2024, Hlis ntuj nqeg
Anonim
18 Pin PIC Development Board
18 Pin PIC Development Board

Kuv tau ntev tau ua si nrog Microchip PICs tab sis ib txwm ua ua yam tsis muaj qee yam kev txhim kho pawg thawj coj saib. Txog qhov kawg kuv tau tsim lub hauv paus uas kuv tau cia siab tias yuav tau txais qee cov lus qhia rau. Kuv tseem tsis tau ua lub rooj tsavxwm no raws li kuv tab tom tos qee cov khoom siv los ua kom tiav thiab ua nws, txawm li cas los xij kuv xav tias lwm tus yuav nyob hauv txoj haujlwm siv lossis hloov kho nws.

Kauj Ruam 1: Qhov Yuav Tsum Tau Ua

Qhov Yuav Tsum Tau Ua
Qhov Yuav Tsum Tau Ua

Cov kev xav tau rau kuv yog kom muaj 8 LEDs thiab cov hloov pauv uas tsis tau txuas rau qhov chaw nres nkoj lossis tus pin, tab sis muaj cov neeg dhia kom tso cai xaiv tag nrho qhov chaw nres nkoj/tus pin txuas rau. Yeem siv cov siv lead ua sab nraud, yog li qhov kev xaiv siv PICs sab hauv RC oscillator tau. Thaum kawg ICSP lub taub hau kom PIC yuav tsis xav tau kev tshem tawm los ua haujlwm. Lub rooj tsav xwm xav tau ib leeg ib sab vim kuv tsis muaj cov chaw lossis ua siab ntev mus ob npaug! ICSP header Circuit tau siv los ntawm Cov Haujlwm Zoo Tshaj Plaws.

Kauj Ruam 2: Tsim Cov Ntaub Ntawv, Daim Ntawv Teev Npe, Daim Ntawv Qhia Siv

Kuv tau txuas cov ntaub ntawv Eagle rau kev tsim qauv. Ntawm lub rooj tsavxwm, kom muaj peev xwm tswj tau ib sab, muaj xya txoj kab txuas. Kuv tau sim ua kom luv luv yog li koj yuav tsum tuaj yeem siv cov ceg pov tseg los ntawm cov neeg tawm tsam thiab lwm yam. Cov npe khoom: R1-R8 150R (raws li 2V rau pem hauv ntej qhov hluav taws xob thiab 20mA) R9-R16 1kR25-28 10kC1, C2 20pF CeramicC3, C4 10uF 16v ElectroliticD1, D2 1N4148IC1 PIC 16F62 (7/8) (hauv DIL Qhov (Socket)) IC2 7805SW1-SW9 Push kom hloov (RS ib feem 378-6729) SV5, 7, 8 yog tus pin headers, tus so yog poj niam tso cai rau ib leeg cov tub ntxhais hlau yuav tsum tau muab tso rau txuas. Kev tsim kho yuav tsum yooj yim tsim nyog yog tias koj muaj kev paub dhau los Kuv xav tias muaj cov lus qhia ntawm no los pab koj nrog qhov ntawd yog tias koj tsis muaj. Pib nrog cov khoom me me ua haujlwm mus rau qhov loj dua. Kuv yuav pib nrog cov txuas, R26-28, D1 & 2, tom qab ntawd cov hloov pauv & DIL lub qhov (socket), cov tshuaj tiv thaiv ntxiv, siv lead ua, cov khoom siv hluav taws xob, LEDs (hais txog qhov tsis sib thooj), SV lub taub hau thiab qhov ntsaws, IC2 thiab DC Jack. ntxiv PIC, ntsaws rau hauv 9-12v fais fab mov thiab xyuas tias koj muaj 5v ntawm cov zis ntawm IC2 thiab ntawm tus pin 14 ntawm IC1 lub qhov (socket) thiab tsis muaj dab tsi ntawm lwm tus pin. Yog tias koj tsis tau txais 5v kos cov laug rau cov pob qij txha qhuav ntawm DC Jack, IC2 thiab IC1. Yog tias koj muaj 5v ntawm lwm tus pin ntawm IC1 kos rau cov kab txuas txuas lossis cov cim tsis zoo uas cov kab tseem txuas nrog.

Kauj ruam 3: Siv

Pab
Pab

Kev siv yooj yim yog li ntawd yog tias koj xav tau (piv txwv) LED1 ntawm RB3 thiab SW3 ntawm RA2, koj yuav tso lub jumper cable ntawm SV3 pin4 (SV3/4) rau SV4 pin1 (SV4/1) thiab SV2/3 rau SV6/ 3. Lub RA/RB Chaw nres nkoj tau teeb tsa kom Pin1 yog Rx0, Pin2 yog Rx1 thiab ntxiv rau. Ib yam yog qhov tseeb ntawm LEDs thiab hloov pauv, Pin1 yog thawj LED/Hloov thiab Pin8 yog qhov kawg. SW9 tso cai rau rov pib dua ntawm Circuit. uas tuaj yeem hloov pauv rau qhov zoo qhia rau kuv paub Kuv vam tias qhov no yog qee qhov kev pab rau tib neeg, thaum kuv tau ua nws kuv yuav hloov kho qhov no nrog daim duab qhia kev tsim thiab siv nws.

Pom zoo: