Cov txheej txheem:

5 Transistor PIC Programmer *Schematic Added to Step 9 !: 9 Steps
5 Transistor PIC Programmer *Schematic Added to Step 9 !: 9 Steps

Video: 5 Transistor PIC Programmer *Schematic Added to Step 9 !: 9 Steps

Video: 5 Transistor PIC Programmer *Schematic Added to Step 9 !: 9 Steps
Video: Transistors Explained - What is a transistor? 2024, Hlis ntuj nqeg
Anonim
5 Transistor PIC Programmer *Schematic Ntxiv rau Kauj Ruam 9!
5 Transistor PIC Programmer *Schematic Ntxiv rau Kauj Ruam 9!
5 Transistor PIC Programmer *Schematic Ntxiv rau Kauj Ruam 9!
5 Transistor PIC Programmer *Schematic Ntxiv rau Kauj Ruam 9!
5 Transistor PIC Programmer *Schematic Ntxiv rau Kauj Ruam 9!
5 Transistor PIC Programmer *Schematic Ntxiv rau Kauj Ruam 9!

Ua koj tus kheej PIC programmer rau koj lub khoos phis tawj qhov chaw nres nkoj sib luag. Nov yog qhov sib txawv ntawm David Tait tus qauv tsim. Nws yog qhov ntseeg tau zoo thiab muaj cov txheej txheem software zoo pub dawb. Kuv nyiam IC-Prog thiab PICpgm programmer. Qhov zoo tshaj plaws, nws siv tsuas yog ob lub ntsuas hluav taws xob thiab 5 lub transistors! *** Kuv tau ntxiv daim duab ntawm qhov tshwm sim zaum kawg, thiab cov duab ntawm kuv tus tshiab-programmer nrog lub ntsej muag meej. Nyem rau cov duab me me hauv qab no! ** Nov yog qhov hloov pauv tshiab thiab nws tsis ua haujlwm 100% raug ntawm thawj qhov kev sim. Kuv twv kuv tau ua ntej ntawm kuv tus kheej.. Kuv tau tsim ntau qhov kev hloov pauv, thiab kuv xav tias kuv nyob saum toj ntawm yam.:) Muaj ob peb qhov kev hloov pauv, tab sis txhua yam ua haujlwm thaum kawg. Kuv yuav tsum tau ntxiv npn transistor ntxiv thiab hloov ob peb ntawm qhov ntsuas qhov tseem ceeb. Cov kev hloov pauv no tau pom nyob hauv cov npe no, tab sis tsis tau hloov kho tshiab hauv txhua daim duab. Saib cov kauj ruam 7 rau cov duab ntawm software kuv siv thiab teeb tsa tus programmer. Koj xav tau: Tus txiv neej DB25 socket4x NPN transistors, xws li 2n39041x PNP transistor, xws li 2n39061x 7805 voltage regulator1x LM317 tus tswj hluav taws xob (thiab tsim nyog resistors rau ua 12.5V) 1x 10k SIP resistor network 4x 10k resistors1x 22k resistor* hloov tshiab rau kauj ruam 31x 5k resistor1x 1k resistor* hloov tshiab rau qib 31x machined-pin chip socketsoldering hlau, protoboard, qhwv xov hlau, qhwv cov cuab yeej, siv tshuaj nplaum.

Kauj ruam 1: Index Card

Daim Npav Qhia
Daim Npav Qhia
Daim Npav Qhia
Daim Npav Qhia

Yog tias koj muaj daim kab xev tooj liab, nteg ib kab txaij raws li lub dav hlau av. Yog tias tsis yog, muab cov kab xev tso rau hauv daim ntawv ua ib sab ntug thiab muab lawv sib dhos ua ke.

Tom qab ntawd khoov ob txhais ceg ntawm SIP resistor network, thiab kua nplaum raws li qhia.

Kauj Ruam 2: Chaw Nkag ICSP

Chaw nres nkoj ICSP
Chaw nres nkoj ICSP
Chaw nres nkoj ICSP
Chaw nres nkoj ICSP

Ua qhov chaw nres nkoj ICSP nrog ib feem ntawm lub qhov (socket), zoo li qhov no. Ua tib zoo khoov tus pin ntawm lub kaum sab xis.

Tam sim no kua nplaum chaw nres nkoj. Tam sim no tseem yog lub sijhawm zoo los lo koj cov transistors rau. Koj tseem tuaj yeem siv lub tshuab tso pa ntawm koj npn transistors rau hauv dav hlau hauv av, tam sim no. Kuv tau sau txhua lub hom phiaj transistors ntawm no. Peb npn transistors peb yuav txuas raws li inverters. Lawv yuav yog qhov tseem ceeb "siv lub zog tshem tawm" los ntawm lawv qhov kev tiv thaiv rub tawm thaum lub sijhawm tam sim no tau muab tso rau lawv tus lej pin. PNP transistor (upside down) yuav tswj lub zog hluav taws xob. Nws tseem yuav hloov pauv nws lub teeb liab. ** Kho: Kuv nyuam qhuav pom qhov tsis suav nrog hauv qhov tsim no. Yuav tsum muaj ib qho ntxiv npn transistor uas tau siv los tsav PNP transistor. Qhov no yuav ua rau koj lub computer chaw nres nkoj los ntawm qhov hluav taws xob ntawm pnp lub hauv paus. Kuv phem. Qhov no tseem yuav hloov pauv lub teeb liab. Saib kauj ruam 8.

Kauj Ruam 3: Base Resistors

Base Resistors
Base Resistors
Base Resistors
Base Resistors

Kuv siv 10k puag resistors. Solder qhov twg ncig. Kuv messed pnp transistor hauv daim duab no. Tsis saib xyuas qhov chaw tawm dawb.

** Kho: lub hauv paus resistor rau "cov ntaub ntawv hauv" tranny yuav tsum yog 22k. Tsis tas li, cov ntaub ntawv tawm tranny yuav tsum tsis txhob rub nrog 10k resistor network. Hloov chaw, rub nws nrog 1k resistor. Kuv nyuam qhuav pom tias ob lub resistors no yuav tsim qhov faib hluav taws xob, thiab yog tias txhua tus 10k cov ntaub ntawv siab yuav yog 2.5V … tsis zoo. (Xwb, koj tuaj yeem tso cov khoom raws li lawv nyob, tab sis txuas Cov Ntaub Ntawv Tawm transistor tus neeg sau rau tag nrho 5 10k rub tawm. Qhov no ua rau faib faib 2/10, uas yuav tsum tseem txaus. Ntawm kuv qhov tshwj xeeb, uas yog qhov kuv tau ua, thiab nws sau npe 4.24V siab, uas yuav tsum muaj txaus.) Daim duab 2: Lub pnp transistor tau txais ob lub hauv paus resistors txuas raws li kev faib. Solder 10k resistor ntawm emitter thiab puag. Solder ib kawg ntawm koj 5k (qhov tseeb kuv siv 3.3k cuz Kuv tau nws dag ib puag ncig) rau lub hauv paus. Koj tuaj yeem txuas tus neeg sau khoom rau Vpp tus pin, tam sim no, txij li nws nyob ze. Thaum kawg, koj yuav txuas tus emitter mus rau 12.5V qhov chaw. Lub 10k resistor ua rau lub hauv paus siab - yog li cov phiaj xwm hluav taws xob tawm. Thaum tus pin 5 ntawm koj qhov chaw nres nkoj sib dhos mus qis, nws rub lub hauv paus qis, dhau ntawm 5k resistor. Cov txheej txheem kuv tau siv kuj tau qhia txog 10k resistor ntawm tus neeg sau thiab hauv av. Kuv tsis paub tseeb tias nws yog dab tsi. Kuv xav tias nws yog los xyuas kom meej tias PIC tus MCLR tus pin tsis ntab. Tab sis qhov ntawd yuav ua dag, vim MCLR feem ntau yuav txuas nrog rau kev rub sab nraud, ib qho twg. Ib qho ntxiv, MCLR tus pin yog lub dab dej ua haujlwm ntawm ob peb lub microamps. Nws tsis ntab. Txawm li cas los xij, Kuv tau ua tsis tau zoo tso tseg qhov kev tawm tsam no. Cov ntsiab lus ntxiv rau txhua tus neeg uas tuaj yeem qhia kuv vim li cas qhov no yog lub tswv yim tsis zoo.

Kauj ruam 4: DB25 Chaw nres nkoj

DB25 Chaw nres nkoj
DB25 Chaw nres nkoj
DB25 Chaw nres nkoj
DB25 Chaw nres nkoj

DB25 yog lub npe ntawm qhov chaw nres nkoj sib luag. Raws li kuv paub, lawv yog cov lus sib xws. Koj xav tau tus txiv neej ib feem, raws li koj cov comp muaj tus poj niam ntsaws.

Koj tuaj yeem lo nws ntawm ntug daim npav, tam sim no. Tsis tos! Koj tau kaw nws sai dhau! Ua ntej ua pins 18-25 ntau, vim tias lawv yuav yog cov pins hauv av. Huag.. nws zoo, vim daim npav tuaj yeem khoov. Qhov tseeb, txoj hauv kev zoo dua los ua ntu no yog khoov txhua tus pin hla mus rau nws tus neeg nyob ze, tom qab ntawd muab lawv pov rau hauv. Kuv tsuas yog sim ua piv txwv tias kev sib txuas yuav tsum mus li cas.

Kauj Ruam 5: DB 25 Kev Sib Txuas

DB 25 Kev Sib Txuas
DB 25 Kev Sib Txuas
DB 25 Kev Sib Txuas
DB 25 Kev Sib Txuas

Ok. Tus Pin 2 ntawm DB25 chaw nres nkoj yog cov ntaub ntawv tawm tus pin. Txuas nws mus rau "cov ntaub ntawv tawm" puag resistor. Qhov txiaj ntsig kawg: thaum tus pin no nce mus, daim duab RB7/tus pin tus lej yuav tau txais lub teeb liab qis. (dab tsi yog qhov taw tes ntawm cov khoom hloov pauv? Ib qho kev cuam tshuam ntawm kev hloov pauv lub teeb liab yog tias koj tsis nws, ib yam nkaus. Buffering cov cim ntawm no, siv lub zog sab nraud los, yog tag nrho cov ntsiab lus ntawm npn transistors.)

Tus pin 3 yog lub moos tawm tus pin. Txuas nws mus rau "moos tawm" lub hauv paus resistor. Daim duab 2: tus pin 10 yog cov ntaub ntawv IN tus pin. Txuas qhov no mus rau qhov rub tawm ntawm "cov ntaub ntawv hauv" transistor, raws li pom hauv cov voj xiav. Tus pin 5 yog tus lej hluav taws xob tus pin, lossis Vpp tus pin. Saib cov kauj ruam 8. Koj yuav tsum tau ntxiv plaub npn transistor thib plaub, thiab txuas kab no rau nws lub hauv paus resistor. Tus transistor tus sau yuav txuas rau 5k puag resistor ntawm pnp transistor. Tus emitter yuav txuas rau lub dav hlau hauv av.

Kauj Ruam 6: ICSP Chaw Nkag Sab

ICSP Chaw Nkag Sab
ICSP Chaw Nkag Sab

Hauv kuv qhov teeb tsa, Kuv tau xaiv los ua lub moos hauv qab, cov ntaub ntawv saum toj kawg nkaus, thiab hauv av, Vdd, thiab Vpp nyob nruab nrab. Qhov no yog qhov ua tsis tiav.

ICSP cov ntaub ntawv tus pin yuav txuas rau ob qho tib si rub tawm tus tiv thaiv rau "cov ntaub ntawv tawm" tranny THIAB rau lub hauv paus tiv thaiv ntawm "cov ntaub ntawv hauv" tranny. XIAV lub voj voos ** Kho: rub tawm Cov Ntaub Ntawv Tawm nrog rau 1k resistor, lossis nrog tag nrho 5 seem 10k rub tawm ntawm lub network resistor. Siv tsuas yog ib qho 10k resistor yuav ua rau cov ntaub ntawv teeb liab tau muab faib rau 2.5V.. Qhov ntawd yuav tsis sau npe kom siab, raws li CMOS qhov chaw khiav ntawm 5V xav tau txog 3.5V txhawm rau sau npe siab. Tus Vpp tus pin yuav txuas rau PNP transistor tus neeg sau khoom. Tus Vdd tus pin yuav txuas nrog koj lub network resistor tus pin 1. ORANGE lub voj voos Yog tias koj xav tau qhov qhib/tawm ntawm tus programmer, ntxig nws nruab nrab ntawm cov ntsiab lus no. Tus pin hauv av yuav txuas rau qee qhov ntawm cov kab hauv av. Lub moos tus pin yuav txuas nrog lub zog rub tawm ntawm "moos tawm" transistor. YELLOW voj voog

Kauj Ruam 7: Cov Duab Tshiab… Tiav thiab Kuaj

Cov Duab Tshiab… Tiav thiab Kuaj
Cov Duab Tshiab… Tiav thiab Kuaj
Cov Duab Tshiab… Tiav thiab Kuaj
Cov Duab Tshiab… Tiav thiab Kuaj
Cov Duab Tshiab… Tiav thiab Kuaj
Cov Duab Tshiab… Tiav thiab Kuaj
Cov Duab Tshiab… Tiav thiab Kuaj
Cov Duab Tshiab… Tiav thiab Kuaj

Nov yog cov programmer ua tiav. Koj tsis tuaj yeem qhia hauv daim duab, tab sis kuv txiav ib daim ntawv los ntawm daim duab kom raug thiab siv Elmer los lo daim npav rau ntawm lub rooj tsavxwm.

Kuv rub tawm kuv lub LCD rau qhov ntsuas nrawm. Nws nyeem, sau, tshem tawm. Koj tuaj yeem nug dab tsi ntxiv? Txheeb cov duab rau lub vijtsam ntawm yuav teeb tsa ICProg lossis PICPgm cov software li cas. Kuj txheeb xyuas qib 8 kom paub meej ntawm ob peb qhov kev ntsuas kho uas tau hais tawm ntawm no. Kuv ntxiv ob lm317's rau 5V thiab lub zog hluav taws xob.

Kauj ruam 8: Kho !

Kho !!!
Kho !!!
Kho !!!
Kho !!!

Nov yog kev kho. Oops … hloov tshiab. Saib daim duab tom ntej.

Koj yuav tsum muaj lwm lub npn transistor txhawm rau tiv thaiv qhov chaw nres nkoj los ntawm qhov muaj peev xwm ua rau muaj kev phom sij ntawm pnp lub hauv paus. Qhov no tau piav nyob rau sab saud sab saud. Tus neeg khaws khoom tsis txuas rau lub rub tawm tus neeg tawm tsam. Lub hauv paus pnp twb tau rub mus txog Vpp. Emitter yog grounded. Tus neeg khaws khoom txuas mus rau 5k puag resistor ntawm pnp transistor. Kuv kuj tseem qhia 10k rub tawm tus tiv thaiv uas kuv tau tshem tawm ua ntej. Kuv tseem tsis paub tias nws yog dab tsi, ho.:) Vim tias koj tab tom cuam tshuam nrog kev siv cov inverters, thaum koj siv TAIT sib xws cov phiaj xwm softare, koj yuav tsum tau nkag mus rau tus programmer teeb tsa thiab hloov lub moos, cov ntaub ntawv tawm, thiab cov ntaub ntawv hauv. koj yuav tso nws ib leeg. FYI, thawj TAIT siv DB25 tus pin 4 los tswj Vdd. Kuv tsis nyiam qhov no, vim tias tom qab ntawd koj tsis tuaj yeem khiav koj lub pic los ntawm tus programmer lub zog los. Kuv tau ntxiv phau ntawv hloov pauv hauv qee qhov ntawm kuv lwm tus kws tshaj lij, tab sis nws yeej tsis tau siv. Vim li cas koj thiaj mus tom qab koj lub khoos phis tawj kom qhib/kaw koj lub xov tooj? Kuv tsuas yog ntxiv qhov hloov pauv rau kuv daim ntawv qhia zaub mov/Circuit kom tswj Vdd. Koj yuav tsum txiav lub hwj chim lossis icsp cable thaum tsis siv, txawm li cas los xij, txhawm rau kom zam lub zog luv thiab hauv av.

Kauj Ruam 9: Schemmy, Siv Roj Teeb 9V! thiab Daim Duab Tsis Txaus Siab Kitty:)

Schemmy, Siv Roj Teeb 9V! thiab Daim Duab Tsis Txaus Siab Kitty:)
Schemmy, Siv Roj Teeb 9V! thiab Daim Duab Tsis Txaus Siab Kitty:)
Schemmy, Siv Roj Teeb 9V! thiab Daim Duab Tsis Txaus Siab Kitty:)
Schemmy, Siv Roj Teeb 9V! thiab Daim Duab Tsis Txaus Siab Kitty:)

Daim duab 1: Tsuas yog ntxiv rau/tawm hloov mus rau lub roj teeb, thiab tus programmer no zoo mus. Yog tias koj lub vojvoog rub lub zog ntau dua li lub roj teeb wimpy tuaj yeem tuav tau, ntxiv lub zog sib txawv nruab nrab ntawm 9 thiab 12.5V (txheeb xyuas yog tias muaj lub ntsuas hluav taws xob! 12V tsis muaj kev tswj hwm feem ntau txhais tau tias 18-20V qis dua kos - thiab yuav tua yor pic). Yog tias koj cov phab ntsa nyob ze tshaj muab ntau dua 12.5V, tom qab ntawd koj yuav tsum tau ntxiv lwm qhov ntsuas hluav taws xob.

LOSSIS koj tuaj yeem tso lub roj teeb 9V txuas nrog pnp transistor, tab sis txuas nws los ntawm 7805. Tom qab ntawd ntxig koj lub zog sab nraud, tsawg dua 35V, mus rau 7805. Zoo, tam sim no koj nkag siab tias tus programmer ua haujlwm li cas (ya ua, txoj cai) ?), Koj tuaj yeem hloov kho nws txhua txoj kev uas koj nyiam los ntawm no. Ntxiv qee qhov taw qhia LEDs yuav zoo? Image 2: Smurfy. Shhhh, nws tsaug zog.

Pom zoo: