Cov txheej txheem:

USB Reprogrammable IButton Qhov Rooj Xauv: 8 Kauj Ruam
USB Reprogrammable IButton Qhov Rooj Xauv: 8 Kauj Ruam

Video: USB Reprogrammable IButton Qhov Rooj Xauv: 8 Kauj Ruam

Video: USB Reprogrammable IButton Qhov Rooj Xauv: 8 Kauj Ruam
Video: USB iButton TM probe DS1990A TM reader,USB plug and play. 2024, Hlis ntuj nqeg
Anonim
USB Reprogrammable IButton Qhov Rooj Xauv
USB Reprogrammable IButton Qhov Rooj Xauv

iButtons yog khawm me me zoo li casings uas sib txuas lus nrog tsuas yog 2 xov. Lawv muaj zog tsis txaus ntseeg thiab txhua tus muaj tus lej tshwj xeeb uas yog kho vajtse sau rau hauv lub cuab yeej thiab tsis rov ua dua. Lawv pheej yig (kwv yees li 1 Phaus / 1, 50 Euro / $ 2)

Tus lej no tso cai rau cov yuam sij kom muaj qhov tshwj xeeb tiag tiag thiab yog li muaj kev nyab xeeb zoo. Kuv tau pom lawv siv:> raws li kom txog thaum nkag mus rau lub cuab yeej ntawm tuav> hauv cov ntaub ntawv nyiaj txiag muaj txiaj ntsig> lub computer nkag mus> raws li kev ruaj ntseg dongles siv nrog software kim. > … raws li qhov rooj xauv! Qhov teeb meem siv lawv rau tus pib, yog tias koj yuav tsum muaj peev xwm tsim kho vajtse los nyeem lawv thiab yog tias koj xauv tus yuam sij, lub ntsuas phoo ntaus ntawv tsis muaj txiaj ntsig! Cov Lus Qhia no qhia koj yuav tsim lub xauv li cas, thiab USB programmer uas tso cai rau koj sau cov yuam sij tshiab rau lub xauv hauv vib nas this, tsis tas yuav rhuav lub tsev. Ua kom lub xauv ruaj ntseg thiab hloov kho kom txog 80 tus yuam sij ib zaug. Lub xauv tuaj yeem ua haujlwm nruab nrab ntawm 5-30V AC lossis DC thiab yog li yog qhov hloov pauv tau zoo kawg; tsim los ua haujlwm zoo ib yam li koj lub qhov rooj tso hluav taws xob-koj tuaj yeem yuav qhov uas pheej yig tshaj lossis kim tshaj ib qho uas koj pom, Fail-Locked lossis Fail-Unlocked, AC lossis DC, 12V lossis 24V. Koj yuav xav tau dab tsi:> Cheebtsam (saib tom ntej)> PIC programmer> Hauv qhov rooj tso tawm. > PCB ua khoom siv (yog tias koj xav ua kom nws zoo li puurdy) NCO TSEG !!! Nov yog cov lus qhia qub uas kuv tsis tau tshaj tawm rau qee qhov laj thawj. Yog tias koj muaj teeb meem tsim nws, email rau kuv thiab kuv yuav zoo siab pab - txawm li cas los xij, kuv tsis tuaj yeem lav tias kuv tau ua kom yooj yim li sai tau - thov txim - vam tias nws yuav muab kev tshoov siab yog tias tsis muaj dab tsi ntxiv.

Kauj Ruam 1: Tus Txheej Txheem

Txheej txheem
Txheej txheem

Ua ntej koj yuav tsum txiav txim siab hom xauv twg uas koj xav tau.

FAIL SAFE/UNLOCKED tseem qhib thaum lub tsev tsis muaj zog. Qhov no feem ntau yuav siv yog tias lub qhov rooj nkag mus tau yooj yim thaum lub zog tsis ua haujlwm - piv txwv li Hluav Taws Xob FAIL SECURE/LOCKED tseem raug kaw tshwj tsis yog lub zog siv rau lub xauv. Cov no yuav tsim nyog dua thaum siv lub qhov rooj nkag ib txwm muaj, muaj lub qhov rooj ib txwm raug kaw txhua lub sijhawm, tshwj tsis yog siv lub zog. Hauv qab no yog daim ntawv qhia kom pom tias lub cuab yeej ua haujlwm li cas. Yooj yim, yog tias koj nkag mus rau tus yuam sij, microprocessor thawj zaug kuaj xyuas seb nws puas yog tus lej yuam sij, lossis nws yog tus yuam sij nkag. Yog tias nws yog [iButton] nkag tus yuam sij, microprocessor kuaj xyuas cov npe ntawm cov yuam sij uas paub hauv nws EEPROM (nco), yog tias nws pom nws, nws tso cai rau koj. Txwv tsis pub nws yuav xa lub teeb liab los hais tias tsis muaj kev nkag mus tau txais. Yog tias nws yog tus yuam sij rov ua dua tshiab ntawm txhua hom (piv txwv li iButton nrog cov npe tshiab ntawm cov yuam sij los khaws ntawm EEPROM sab hauv). Nws yuav tshuaj xyuas yog tias ibutton raug tso cai rov ua haujlwm sab hauv EEPROM tab sis tshuaj xyuas nws qhov chaws pov thawj tseeb. (Qhov no tau teeb tsa rau hauv iButton los ntawm USB programmer thiab qhov no koj hloov tsis tau - saib nplooj ntawv kawg rau cov ntaub ntawv). Yog tias iButton raug tso cai ua haujlwm sab hauv EEPROM, LED yuav nyem ntsuab/Txiv kab ntxwv thiab tom qab ntawd microprocessor yuav rub txhua tus lej-tus lej tawm ntawm iButton thiab khaws cia rau hauv nws EEPROM sab hauv. Qhov no yuav ua rau LED flicker thiab tuaj yeem siv sijhawm ntev txog 20 vib nas this - tsis txhob tshem tus yuam sij thaum qhov no tshwm sim. Cov LEDS yuav tom qab ntsuab ntsuab los qhia qhov kev ua haujlwm tiav - tam sim no tshem tawm iButton.

Kauj Ruam 2: Cov Cheeb Tsam

OK yog li cov ntawv qhia yog yooj yim zoo nkauj, kuv muab cov phiaj xwm rau koj, daim ntawv teev npe, cov ntawv hex, thiab koj tsim nws - yooj yim! Kuv yuav muab cov npe ntu thiab Cov Khoom Siv Hluav Taws Xob (https://www.rapidonline.com) tus lej yog li koj tuaj yeem muab koj tus kheej cov khoom lag luam - txawm hais tias nrawm tau zoo heev! Nov yog cov npe khoom Qhov Rooj Xauv

1x Choj Rectifier (nrawm# 47-3202) 1x 5v 7805 tus tswj hluav taws xob (nrawm# 47-3313) 1x SIL relay (nrawm# 60-0670) 1x 100uf cap (nrawm# 10-3260) 1x 470uf cap (nrawm# 11- 0275) 1x 220f cap (nrawm# 11-0260) 2x 1k resistor 1x 4k7 resistor 1x 16f628 PIC micro 1x 24LC04 4k eeprom (nrawm# 22-0170) 1x 8pin dil holder 1x 18pin dil yas dhos 1x DPDT mini hloov (nrawm# 76- 0220) 1x 3pin header (nrawm# 22-0515) 1x jumper (nrawm# 77-0237) 2x 2pin davhlau ya nyob twg thaiv (nrawm# 21-1700) 1x tso tawm hluav taws xob (https://www.directlocks.co.uk) 1x iButton sojntsuam nrog BiColour LED (MBL) (ntu# hc00039 https://www.homechip.com) 1-80x DS1990A iButtons (https://www.homechip.com) USB programmer 1x 18f2550 PIC micro 1x 20MHz XTAL 2x 22pf caps (ceramic disc) 1x 220nf cap 1x 1k res 1x LED (any color) 1x USB B-socket 1x iButton holder probe DS1402 (ib qho yuav ua) (https://www.homechip.com) 1x DS1973 iButton (https:// www.homechip.com) Qee qhov iButton kho vajtse lossis khawm tuaj yeem tau txais dawb los ntawm kev xaj cov qauv los ntawm https:// www. ibutton.com (ncaj qha los ntawm maxim).

Kauj Ruam 3: Schematic thiab PCB rau Xauv

Schematic thiab PCB rau Xauv
Schematic thiab PCB rau Xauv
Schematic thiab PCB rau Xauv
Schematic thiab PCB rau Xauv

Hauv qab no yog cov txheej txheem, PCB thiab daim duab piv txwv zaum kawg ntawm lub xauv. Txhawm rau luam tawm PCB txheej txheem, saib rub tawm. Txog qib siab res version ntawm Schematic, nyem i thiab rub cov ntawv (14kb). Cov txheej txheem PCB muaj nyob ntawm nplooj ntawv rub tawm.

Kauj Ruam 4: Schematic, PCB thiab Duab ntawm Tus Kws Ua Haujlwm

Schematic, PCB thiab Duab ntawm Tus Kws Ua Haujlwm
Schematic, PCB thiab Duab ntawm Tus Kws Ua Haujlwm
Schematic, PCB thiab Duab ntawm Tus Kws Ua Haujlwm
Schematic, PCB thiab Duab ntawm Tus Kws Ua Haujlwm

hauv qab no yog cov txheej txheem, piv txwv PCB thiab duab ntawm qhov kawg tsim PCB ntawm USB programmer

Kauj Ruam 5: Ua lub PIC Microcontroller

OK, Yog li qee tus ntawm peb yuav tau mus txog qhov no thiab xav - ua li cas heck ua kuv program a PIC maub los. Zoo hauv qab no yog txoj kev yooj yim tshaj plaws. Tau txais PIC programmer (piv txwv li ebay) uas txhawb nqa PIC 18f4550, thiab ua raws cov lus qhia. Ua tiav qhov ntawd, nug ib tus neeg hauv tsev kawm ntawv lossis tsev kawm qib siab hauv zej zog, ib tus neeg hauv zej zog hluav taws xob, lossis, email rau kuv ntawm instructyibATdandycoolDOTcoDOTuk thiab kuv yuav pom tias kuv tuaj yeem npaj nws rau koj, yog tias koj muaj teeb meem. Nws yog HAVILY tau sau tseg hauv lub vev xaib yuav ua haujlwm li cas rau cov cuab yeej no. Kev xav thib ob … lub sijhawm muaj nyiaj txiag! Kuv tuaj yeem muag koj ob qho PIC qhov kev npaj ua ntej yog tias koj nyiam (10GBP / 15euro / $ 20) paypal. Tab sis kuv hais kom koj tuaj yeem ua koj tus kheej yooj yim txaus. Tsuas yog teeb tsa PIC nrog lub fuse teeb tsa ua ntej. Cov ntaub ntawv HEX (kuv xav) yuav tsum muaj cov ntaub ntawv rau kev teeb tsa oscillator thiab zoo li, rau kuv, kuv tsuas yog ntsaws rau hauv thiab txhua yam mus. Nws khiav ntawm 4MHz nrog INT OSC, tsis muaj WDT.

Kauj Ruam 6: Ua Nws Zoo Li Yub

Ua kom nws zoo li Flashy!
Ua kom nws zoo li Flashy!
Ua kom nws zoo li Flashy!
Ua kom nws zoo li Flashy!

Tam sim no koj tuaj yeem nyem ob qhov qauv hauv qee cov iav nrawm los siv ua ib feem ntawm koj qhov kev nyab xeeb tshiab!

Kauj ruam 7: Rub tawm

Ntawm no koj tuaj yeem rub tawm cov software (xav tau. Net framework 3.5), pcb cov ntaub ntawv thiab cov khoom lag luam. Siv Mike O'brien's USB HID Library - Ua tsaug Mike! raws li daim ntawv A4, xyuas kom tseeb tias ib qho kev xaiv me me hauv acrobat yog neeg xiam oob khab kom ua qhov ntsuas.

Kauj Ruam 8: Thiab Thaum Kawg

Thiab Thaum kawg
Thiab Thaum kawg

Ib tus yuam sij tuaj yeem tsim kho kom tshiab 1, lossis 1000 qhov ntsuas phoo, nws tsis xav tau rov sau dua tshiab txhua lub sijhawm, yog li koj tuaj yeem muaj ntau qhov xauv tag nrho nrog tib tus yuam sij uas yuav qhib nws. Los yog sib tov thiab sib phim. Qhov no yuav txuag sijhawm teev ntawm qhov ntsuas phoo tshiab, lossis hloov kho cov xauv yog tias ib tus yuam sij poob - thiab hav, cov yuam sij tsuas raug nqi ib phaus!

Lub tswv yim qub yog hloov tag nrho cov xauv hauv lub tsev nrog cov xauv hluav taws xob uas txhua tus tuaj yeem muaj tus yuam sij uas nkag tau rau tsuas yog thaj chaw xav tau. Tam sim no, cov xauv no CAN tuaj yeem tsim kho dua los ntawm ib tus neeg nrog tib qhov haujlwm tsim. Lub software tso cai rau siv tus lej yuam sij tshwj xeeb kom tsis muaj lub cev tuaj yeem sau koj lub xauv eeprom ntau dua. Txoj cai tseem ceeb no tau muab khaws cia rau hauv lub khoos phis tawj thiab hauv USB software thov, yog li muaj peev xwm pib ua haujlwm yam tsis muaj teeb tsa ntev. Txawm li cas los xij, yuav tsum yog koj xav tau mus saum qhov ntawd thiab koj xav tau tus lej yuam sij ruaj ntseg kom tsuas yog koj tuaj yeem rov tsim kho koj lub xauv, xa email rau kuv xav tau thiab tej zaum kuv yuav npaj koj li kev cai app + hex code. instructyATdandycoolDOTcoDOTuk Kuv paub tseeb tias feem ntau pib nrog koj txoj kev thim rov qab engineering thiab kev txawj sluthing yuav pom txoj hauv kev los ua nws … Kev cai lij choj me ntsis: Tsis muaj kev lees paub txhua rau nws txoj haujlwm! Yuav tsum tsis txhob siv los ua qhov cuab yeej ruaj ntseg tiag, qhov no yog lub tswv yim xwb. Tab sis nws ua haujlwm zoo nkauj damn swish! Txaus siab rau Daniel Crane

Pom zoo: