Cov txheej txheem:

Daim Npav Ua Lag Luam PIC Programmer: 6 Kauj Ruam (nrog Duab)
Daim Npav Ua Lag Luam PIC Programmer: 6 Kauj Ruam (nrog Duab)

Video: Daim Npav Ua Lag Luam PIC Programmer: 6 Kauj Ruam (nrog Duab)

Video: Daim Npav Ua Lag Luam PIC Programmer: 6 Kauj Ruam (nrog Duab)
Video: YUAV UA LI CAS LUAG THIAJ SAIB TAUS YUS 2024, Hlis ntuj nqeg
Anonim
Daim Npav Ua Lag Luam PIC Programmer
Daim Npav Ua Lag Luam PIC Programmer

Nov yog kuv nkag mus rau Hack Ib Hnub lag luam daim npav loj sib tw sib tw. Kuv nyuam qhuav zipped cov ntaub ntawv thiab muab tso rau hauv kuv lub vev xaib. Kuv tab tom tshaj tawm nws ntawm no vim tias txhua qhov nkag nkag zoo li nyob hauv blog kom nkag tau yooj yim. Vam tias qhov no yuav ua rau txoj haujlwm nkag tau yooj yim dua thiab txo qhov thauj khoom ntawm kuv lub server. Cov ntawv khaws cia txuas yog qhov kev sib tw nkag mus raws li nws tau nyob ntawm kuv lub server, rho tawm cov duab. Cov ntawv yog muab los ntawm cov ntawv suav nrog. Tus programmer PIC/EEPROM no yooj yim heev thiab me me nws haum rau ntawm daim npav lag luam nrog chav txaus rau sab laug rau kev qhia ua ke… Txoj Haujlwm: Yooj Yim JDM2 style PIC ICSP programmer (ntawm daim npav lag luam).

  • tag nrho los ntawm qhov
  • tsawg dua 2USD tus nqi ntawm ib feem (hauv 1s thiab 2s!)
  • kev tsim kho ib leeg yooj yim hauv tsev (nrog 3 tus dhia)
  • tshuav chav txaus rau kev qhia ua ke
  • qhov chaw ntxiv nyob tom qab rau kev lag luam zoo dua qub
  • kuj cov program/nyeem cov ntawv EEPROMS

Qib txuj ci: Yooj yim/pib ua. Lub sijhawm sib dhos: Kwv yees li ib teev.

Kauj ruam 1: Kev piav qhia

Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia

Txhua tus tuaj yeem tsim qhov programmer yooj yim no thiab kawm paub txog PIC microcontrollers. Tus programmer JDM2 yog qhov yooj yim heev (kwv yees li 10 ntu), tab sis muaj ntau yam PICS thiab EEPROMs txuas. Kuv tau npaj txhua yam los ntawm 8 tus pin 12F629 mus rau 18F4550 USB PIC tshiab nrog JDM2. Tus programmer no muaj ICSP interface, lub ntsiab lus nws tuaj yeem ua haujlwm PICs thiab nyeem EEPROMs thaum lawv txuas nrog lub rooj tsav xwm hauv Circuit Court. Pib koj hacking!

PCB tuaj yeem ua rau ib sab (nrog peb lub xov hlau txuas), tab sis ob txheej txheej tsim ua kom yooj yim dua. Txhua qhov kev taug qab yog qhov zoo thiab rog kom yooj yim toner-hloov lossis yees duab-txheej txheem hauv tsev. JDM2 tsim yog qub heev, thawj JDM2 Circuit tuaj yeem nrhiav tau ntawm no: https://www.jdm.homepage.dk/newpic.htm Qhov kev tsim no nyob ruaj khov rau cov txheej txheem qub, tab sis cov lej diode tam sim no pib ntawm 1, theej tshaj 2.

Kauj Ruam 2: Qhov Chaw

Qhov
Qhov
Qhov
Qhov
Qhov
Qhov

Nqe Nqe Lus piav qhia C1 100uF/16 volt electrolytic capacitor C2 22uF/16 volt tantalum capacitor D1 8.2V zener diode D2 5.1V zener diode D3, 4, 5, 6 1N4148 diode Q1, 2 BC547B transistor-npn R1 10K resistor R2 1.5K resistor SV1 5 tus pin header tus pin header (lossis tus poj niam tus pin header, koj xaiv) X1 DB9 poj niam txuas txuas

Kauj Ruam 3: Sib dhos #1

Sib dhos #1
Sib dhos #1

Pib los ntawm hauv qab thiab ua haujlwm nce ntxiv: Tsis txhob hnov qab pib nrog cov xov hluav taws xob yog tias koj siv PCB ib sab.

  • Solder diodes thiab resistors.
  • Txhua lub diode muaj cov qhab dub uas yuav tsum tau taw qhia hauv tib txoj kev qhia hauv pawg thawj coj/hauv cov phiaj xwm.
  • Tsuas yog solder hauv cov resistors, tsis muaj kev qhia tshwj xeeb xav tau.

Kauj Ruam 4: Sib dhos #2

Sib dhos #2
Sib dhos #2

Tom ntej no, ntxiv cov transistors. Lawv yuav tsum tau taw qhia ntawm kev ua yeeb yam hauv daim duab/duab. Lub transistor nyob rau sab laug tau muab tso rau hauv qhov kev taw qhia rov qab rau transistor ntawm sab xis (ceeb toom ob leeg muaj ib puag ncig tig mus rau nruab nrab). Qhov no yog tus qauv (raug?) BC547B pin-out. Yog tias koj muaj teeb meem nrog koj lub Circuit Court tiav, nco ntsoov tias koj lub transistors muaj tus pin-tawm tib yam li tau qhia hauv cov phiaj xwm thiab rov ua dua raws li xav tau.

Kauj Ruam 5: Sib dhos #3

"," saum ": 0.44285714285714284," sab laug ": 0.4160714285714286," qhov siab ": 0.08095238095238096," dav ": 0.05714285714285714}, {" noteID ":" TKKAZDP0KJEWT14CGS "," sau ":" ian " siv poj niam lub taub hau vim tias tag nrho kuv ICSP lub taub hau yog txiv neej. Txoj kev no, tus programmer tuaj yeem ntsaws ncaj qha rau hauv Circuit Court. "," Top ": 0.6285714285714286," sab laug ": 0.21071428571428572," height ": 0.11428571428571428," width ": 0.21785714285714286}, {" noteID ":" TQ9CYOK88 " ":" ian "," text ":" Electrolytic capacitor. Cov cim qhia hauv av cov kab ntawv tsis tshua pom pom ntawm no ntawm sab laug. "," Sab saum toj ": 0.430952380952381," sab laug ": 0.1875," qhov siab ": 0.05714285714285714," dav ": 0.026785714285714284}]">

Sib dhos #3
Sib dhos #3
Sib dhos #3
Sib dhos #3
  • Ua kom tiav lub rooj tsavxwm los ntawm kev siv cov khoom siv siab tshaj plaws: lub capacitors, tus pin header, thiab DB9 qhov (socket).
  • Lub tshuab hluav taws xob hluav taws xob yuav tsum tau muab pov rau hauv av, qhia los ntawm kab txaij dub, tig mus rau sab laug (raws li qhia hauv daim duab). Yog tias qhov me ntsis tsis meej pem, nco ntsoov tias cov hlau lead los ntawm ib sab nrog cov kab dub txuas rau hauv av dav hlau (thaj tsam tooj liab loj npog feem ntau ntawm pawg thawj coj saib).
  • Lub tantalum capacitor yuav tsum tau muab tso rau hauv av nrog rau sab xis ntawm lub rooj tsavxwm (raws li qhia hauv daim duab). Tantalum capacitors tuaj yeem qhia qhov ua tau zoo nrog +, ntau dua li cov hlau lead hauv av (ib yam li cov hluav taws xob hluav taws xob). Raws li nrog lub tshuab hluav taws xob hluav taws xob, hauv av txuas rau lub dav hlau dav hauv av uas npog feem ntau ntawm pawg thawj coj.

Kauj Ruam 6: Siv

Siv
Siv

Software Tus programmer yuav ua haujlwm nrog txhua lub software software uas txhawb nqa JDM2. Kuv nyiam WinPic800 vim tias nws tuaj yeem kuaj pom ntau tus PICs. WinPIC kuj tseem tsim nyog tau txais txiaj ntsig zoo rau kev txhawb nqa cov ntaub ntawv WinPIC. Ob leeg txhawb nqa USB PICs tshiab tshaj plaws (18F2/4455). ICProg ua ntau PICs, ntxiv rau EEPROMs, tab sis tseem tsis tau hloov kho tshiab ib ntus ICProg. ICSP Txheej txheem cej luam: Hais los ntawm kuv li ICSP qhia rau ntawm no. Nkag siab ICSP rau PIC MicrocontrollersProgramming microcontrollers tsis nyuaj. Tsim tus programmer ua thawj qhov haujlwm hluav taws xob zoo. Lub hom phiaj ntawm ntu no yog piav qhia qhov yooj yim 'Hauv Circuit Serial Programming' txoj hauv kev siv nrog Microchip PICs. Why ICSP? Pop nws mus rau hauv lub programmer uas nyob ntsiag to, hlawv, thiab rov qab mus rau daim ntawv thov Circuit. Kuaj thiab rov ua dua. Things nyuaj dua nrog cov chips me me (saum npoo). Tsis muaj cov txheej txheem txheej txheem rau QFN, SSOP, QFP, lossis txawm tias loj SOIC.300 pob. Muaj cov nqi kim heev ($ 100s) cov yeeb yaj kiab uas tuaj yeem txuas rau, thiab program, cov chips no. Ib qho clip sib txawv xav tau rau txhua hom chip thiab tus lej suav koj siv. Muaj lwm txoj hauv kev. Nws hu ua ICSP. ICSP txhais tau tias 'hauv Circuit program serial programmer (ing?)'. Nws yog ib txoj hauv kev ntawm kev tsim lub PIC thaum nws tseem txuas nrog daim ntawv thov Circuit Court. Yog lawm, tsis muaj kev sib pauv hloov pauv ntxiv. Yog li, vim li cas ICSP thiaj yog qhov zoo? 1. Tsis muaj cov phiaj xwm txheej txheem rau pob me pob. Clips yog kim. 2. Nws yog qhov mob txav cov chips hauv & tawm ntawm tus programmer thaum tsim kho. Tsis yooj yim sua rau ntu ntu. Ntawm qhov seem.

Pom zoo: