Cov txheej txheem:
- Kauj Ruam 1: Lub Tswv Yim
- Kauj ruam 2: Tswv yim thiab thaiv
- Kauj ruam 3: Ua noj
- Kauj Ruam 4: Tsim Rooj Plaub
- Kauj ruam 5: 3D Prining
- Kauj Ruam 6: Cov Ntaub Ntawv Npaj Tiav
- Kauj Ruam 7: Sim Ua Li Cas
- Kauj ruam 8: Soldering. Hlau
- Kauj Ruam 9: PwKeeper Npaj Tau
- Kauj Ruam 10: PwKeeperPc - Yooj Yim Kho Cov Ntaub Ntawv hauv Token
- Kauj ruam 11: PwKeeper tab tom khiav
- Kauj Ruam 12: Txoj Kev Xav
- Kauj Ruam 13: Kev Tshuaj Xyuas-1
- Kauj Ruam 14: Kev Tshuaj Xyuas-2
Video: Tus Kheej Tus Kheej Tus password rau Aruino Pro Micro lossis Vim Li Cas Khaws Yooj Yim Thaum Txhim Kho Txoj Kev Muaj!: 15 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nws zoo li, tias qhov teeb meem tseem ceeb nrog microcontrollers rau kiv cua ntawm cov khoom siv hluav taws xob (tshwj xeeb yog cov pib) yog txhawm rau nrhiav qhov twg los siv lawv:) Tam sim no cov khoom siv hluav taws xob niaj hnub no, tshwj xeeb tshaj yog digital, yog ntau dua thiab zoo li cov khawv koob dub. Tsuas yog 80-Lvl cov neeg txawj ntse tuaj yeem ua qee yam muaj nrog cov khoom me me. Qhov ntawd yog qhov laj thawj vim li cas Arduino cov laug cam tau dhau los ua neeg nyiam heev. Lawv kaw cov khawv koob dub thiab qee cov pa luam yeeb;) rau hauv pawg thawj coj saib xyuas tib neeg.
Cov ntawv no kuv xav mob siab rau txoj haujlwm yooj yim haum, hu ua PasswordKeeper, ntawm lub hauv paus ntawm Aruino Pro Micro board. Pawg no tuav ATmega32U4 nti.
Kauj Ruam 1: Lub Tswv Yim
Tau ntev kuv xav ua qee yam yooj yim thiab muaj txiaj ntsig nrog qee tus tswj. Thiab tom qab ntawd ib tus npoj yaig ntawm kuv cuam lub tswv yim nthuav - nws tub nkeeg dhau los nkag tus lej nkag thiab tus password rau hauv nws lub computer txhua hnub. Yog li nws tau coj me me DigiSpark (ATTiny85) lub rooj tsavxwm thiab tsim cov cuab yeej, uas xa tus ID nkag mus+tus lej nkag mus rau lub khoos phis tawj thaum khawm nyem. Nov yog qhov kev tiv thaiv no.
Kauj ruam 2: Tswv yim thiab thaiv
Lub tswv yim zoo tshaj plaws - Kuv xav. Vim li cas ho tsis qiv nws thiab siv qee qhov kev vwm vwm rau nws.
Rov tsim kho txoj haujlwm Arduino thiab rov ua nws dua rau hauv pawg thawj coj txhua lub sijhawm thaum hloov tus password - "Nws tsis yog droids koj tab tom nrhiav" [yoj]. Nws yog qhov ncaj heev. Peb yuav ua ntau txoj kev tangled ntau!
Qhov kev tiv thaiv yuav tsum qhia tias nws ua haujlwm li cas. Tab sis tsuas yog peb tus qauv on -board LEDs - nws yog txoj kev tsawg dhau rau lub hom phiaj no. Cia nce tus lej LED rau 4099! Yog li qhov me me OLED 128X32 zaub module tau ntxiv rau txoj haujlwm. Kuv tsis tuaj yeem xav txog qhov yuav squeese nws ib pliag. Thiab nws haum zoo rau hauv txoj haujlwm no. Ob peb khawm ntxiv - thiab txhua yam npaj txhij mus!
Tsis muaj chaw txaus hauv ATTiny85 nti rau txoj haujlwm - ntxiv cov zaub rub rau lub tsev qiv ntawv nraaj + fonts. Yog li txhua yam khoom no tsuas yog tsis haum rau DigiSpark nco. Kev tshawb nrhiav nrawm los nrog lub platform tsim nyog: Arduino Pro Micro.
Lub tswv yim tseem ceeb ntawm txoj haujlwm yog tias ATmega32U4 los ntawm qhov ua piv txwv ua HID ntaus ntawv - USB keyboard thiab USB COM chaw nres nkoj. Cov tsav tsheb rau cov cuab yeej no twb tau teeb tsa ua ntej hauv feem ntau ntawm kev ua haujlwm - thiab tsis muaj dab tsi ntxiv xav tau los teeb tsa.
Tus PasswordKeeper, coj los rau koj mloog, yog chindogu uas ua raws qhov nyem ntawm cov nyees khawm ntawm cov keyboard. Cov cliks no tuaj yeem hloov tus ID nkag mus thiab tus password rau lub khoos phis tawj. Txawm hais tias txhua qhov chaw Ctrl-Alt-Del tuaj yeem xa los ntawm nyem ntawm 1 khawm hloov ntawm 3. Los yog lwm qhov tseem ceeb sib txuas los ntawm koj qhov tsw.
Daim ntawv foos ntawm cov qauv xaiv tau zoo heev, tab sis tsis tas li, yooj yim los cuam tshuam nrog. Nws muaj peev xwm ua tau nrog kev siv zog tsawg kawg los sib sau ua ke cov cuab yeej me me thiab zoo dua. Kev thaiv tsuas yog tsis tuaj yeem yooj yim dua.
Kauj ruam 3: Ua noj
Cov khoom xyaw Contraption:
1) Aruino Pro Micro - 1 daim
2) OLED zaub 128x32 - 1 daim
3) Khawm - 2 daim (lossis lwm yam - los ntawm qhov tsis zoo).
4) DuPont cov khoom sib txuas - 7 daim (lossis qee qhov xaim rau nws txuas nws tag nrho ua ke - los ntawm qhov tsw).
Muab txhua yam tso rau hauv lub thawv ntim khoom noj me me thiab co kom huv. Raws li qhov tshwm sim txoj kev xav cov khoom sib cuam tshuam nrog tus kheej txoj hauv kev thaum kawg.
Auj, tos! Nws tsis yog tsab xov xwm ntsig txog kev ua noj! Kuv thov txim.
Koj yuav zoo dua txuas nws txhua qhov ua ke ntawm tus kheej - raws li daim duab kab thaiv thiab txuag koj tus kheej ob peb xyoos ntawm kev co.
Yog li cov qauv rau kev kos duab debugging / kuaj yog npaj txhij.
Kauj Ruam 4: Tsim Rooj Plaub
Daim duab zoo li ua haujlwm. Tab sis nws tsis yooj yim los siv cov cuab yeej hauv daim ntawv no. Yog li kev ua haujlwm me me hauv Sketchup muab rau peb nrog cov khoom me me.
Hloov tshiab: Ib lub tswv yim hais txog rooj plaub.
Koj tuaj yeem nqa ib lub thawv yas pob tshab uas tsim nyog.
Los yog nqa cov yas pob tshab los ntawm qee lub ntim. Khoov nws raws li lub cuab yeej geometry. Muab cov khoom siv hluav taws xob sab hauv thiab sau txhua qhov chaw dawb nrog cov pob tshab silicon. Nws yuav tsum muab rau koj relatifully zoo saib ntaus ntawv.
Kauj ruam 5: 3D Prining
Muab nws pov rau hauv lub tshuab luam ntawv 3D uas ze tshaj plaws.
Kauj Ruam 6: Cov Ntaub Ntawv Npaj Tiav
Thiab raws li ib txwm muaj, nrawm yog qhov tsim nyog thaum ntes cov dev.
Thawj qhov xwm txheej yog me me thiab lub rooj tsavxwm tsis haum!
Akela nco tseg qee qhov khoob. Yog li cov duab raug kho thiab rov luam dua.
Qhov thib ob kis tau zoo dua - lub rooj tsavxwm haum txig.
Kauj Ruam 7: Sim Ua Li Cas
Muab lub rooj tsavxwm sab hauv, nias rau nws thiab nrog tus yam ntxwv ua rau nws xauv rau hauv qhov chaw.
Sim ntawm cov nyees khawm - lawv haum ib yam.
Kauj ruam 8: Soldering. Hlau
Los ntawm txoj kev, Kuv tau nrhiav lub sijhawm ntev rau cov hlau zoo prototyping.
Raws li qhov tshwm sim, tam sim no kuv siv 30AWG xaim hauv kuv cov phiaj xwm. Koj tuaj yeem pom lawv ntawm daim duab. Nws yog qhwv hlau.
Tsawg tus neeg tam sim no nco qab tias nws yog rau dab tsi.
Tab sis nws haum txig rau ntawm lub rooj tsav khoom ib yam nkaus. Cov xov hlau muaj xim zoo rau kev ua kom zoo li qub ib txwm los ntawm kev muab cov xim sib txawv rau cov xaim ua haujlwm. Cov xaim yog nyias. Rwb thaiv tsev tiv taus qhov kub ntawm cov hlau yaj zoo. Raug PVC rwb thaiv tsev yaj thaum lub sij hawm soldering tam sim ntawd. Qhov no tau dhau los ua mos, tab sis tuav nws cov duab thiab tso cai qee zaum kov ntawm cov hlau txuas tsis tau yaj rau hauv cov tub ntxhais.
Kauj Ruam 9: PwKeeper Npaj Tau
Yog li muab nws tso ua ke muab rau peb lub cim me me uas txuas rau lub khoos phis tawj thiab tso cai rau koj los tswj thiab siv
ntau tus lej nkag mus thiab tus lej nkag.
Kauj Ruam 10: PwKeeperPc - Yooj Yim Kho Cov Ntaub Ntawv hauv Token
Tus lej nkag nkag tau txwv los ntawm tus lej ntawm EEPROM lub cim xeeb (1024 bytes) thiab qhov ntev ntawm tus lej nkag.
EEPROM nco khaws ntau cov ntaub ntawv.
Txhua cov ntaub ntawv muaj cov lus teb thiab mus txog 8 kab ntawv.
Ob ntawm kab ntawv sau npe Lub Npe thiab Tus Kheej (Password) - tsuas yog rau kev tswj hwm kev sib tham.
Cov zaub tso cai rau koj xaiv qhov xav tau nkag mus uas qhia koj cov lus teb.
Nws tseem tso cai rau koj los kho cov ntaub ntawv hauv tus cim. Cov ntaub ntawv yuav raug kho nrog tsuas yog ob lub pob. Kuv squeesed qee yam ntawm Editor rau hauv token. Tab sis, ua siab ncaj, koj yuav tsum yog tus masochist siv nws.
Yog li ntawd, txhawm rau txhawm rau tswj tus password kom yooj yim Kuv yuav tsum sau ib qho tshwj xeeb rau lub PC (los ntawm txoj kev - tsis txhob poob rau hloov token rau hauv USB hom thaum koj siv qhov program no).
Hloov kho: Rau *nix cov neeg kuv ntxiv cov lej TTY console hauv PwKeeper v1.4 firmware. Lub console no tau qhib los ntawm cov ntawv qhia zaub mov. Txuas rau nws nrog txhua qhov kev pabcuam dav dav uas tsim nyog - thiab koj tuaj yeem hloov kho cov ntaub ntawv hauv PwKeeper nrog ntau yam VI zoo li cov lus txib. Console tuaj yeem siv tau ntawm Windows platform ib yam nkaus. Tsuas yog nias Ctrl-Shift-M los ntawm Arduino IDE thiab koj nyob ntawd (tsis txhob hnov qab qhib TTY ntawm PwKeeper ua ntej). Tab sis PwKeeperPc yooj yim dua, kuv xav.
Kauj ruam 11: PwKeeper tab tom khiav
Cov cim muaj cov ntaub ntawv rhiab heev yog li qee qhov kev siv zog yuav tsum tau muab tso rau hauv kev nyab xeeb.
Lub ntsiab lus tseem ceeb los qhib lub token muaj.
Nws tsis muaj dab tsi los ntawm lub neej ntawd, tab sis raws li koj tau teeb tsa hauv lub cim, koj yuav tsum nkag mus rau nws txhua lub sijhawm tom qab qhib lub zog.
Lo lus zais tseem ceeb yog tus neeg siv tau piav qhia ib leeg thiab ob npaug nias ntawm nce thiab nqis khawm.
Kauj Ruam 12: Txoj Kev Xav
Raws li txoj cai, nws muaj peev xwm encrypt cov ntaub ntawv hauv EEPROM nrog qee qhov crypto -algorithm - qee qhov chaw tseem tshuav hauv flash. But cov kev siv zog no yuav tsis pom los ntawm sab nraud - yog li kuv tsis thab.
Cov cim hauv nws lub xeev ib txwm tsis pom hauv computer. Txhawm rau muab nws tso rau hauv USB hloov kho hom koj yuav tsum ua lub cev ua nws los ntawm nias lub pob rau nws. Ib yam nkaus, kom xa tus password koj yuav tsum lub cev nias lub pob UP. Yog li hacker siab phem yuav tsis nyiag koj tus password los ntawm token. Nws yuav ntes lawv ntawm USB chaw nres nkoj thaum koj xa lawv los ntawm token;)
Qhov tshwm sim ntawm txoj haujlwm no yog qhov tsis sib haum uas kuv khaws tus password rau kuv tus as -qhauj hauv txhab nyiaj thiab rooj sib tham. Tsis tas li kuv niam kuv txiv pom nws muaj txiaj ntsig rau kev nkag mus rau hauv lub vev xaib thiab ntau qhov chaw.
Tshwj xeeb tshaj yog rau kuv cov npoj yaig Kuv tau ua haujlwm tag nrho cov tswv yim seem ntawm pawg thawj coj ua cov khawm nkag tau sai. Mus txog 12 cov nyees khawm tuaj yeem txuas nrog los ntawm cov tswv yim txuas ntxiv rau hauv av. Los ntawm txhaj rau ib qho ntawm cov nyees khawm no koj dhia ntawm tus ID nkag mus (yog tias nws muaj). Yog li koj tsuas yog yuav tsum nias lub pob UP kom xa nws. Lossis tuav lub khawm luv ntev me ntsis.
Kauj Ruam 13: Kev Tshuaj Xyuas-1
Ua ntej mus rau pej xeem PwKeeper tau raug tshuaj xyuas zoo.
Kauj Ruam 14: Kev Tshuaj Xyuas-2
Lub taub hau ntawm Kev Tshawb Fawb tau nyuam qhuav sawv los thiab tsis nyob hauv qhov kev xav.
Tab sis nws frowns yeej tsis muaj qhov tseeb- vim li cas cov cuab yeej ua tsis tau tiav tau muab rau pej xeem.
Kuv cov lus, tias nws xav tau los txheeb xyuas qhov zoo ntawm cov khoom thiab nws nyuaj rau ua nrog rooj plaub raug kaw, tsuas yog tsis quav ntsej los ntawm nws.
Tsis muaj qhov tshiab (tom qab xiab nyiaj nrog hnyuv ntxwm) nws tau muab daim ntawv pov thawj pom zoo.
Pom zoo:
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): 7 Kauj Ruam
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): Xav hloov pauv yam ntawm koj lub laptop lossis PC? Xav tau kev hloov pauv hauv koj qhov chaw? Ua raws cov kauj ruam no yooj yim thiab yooj yim kom ua tiav koj tus kheej lub computer ntsuas phoo
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi
UDuino: Tus Nqi Tsawg Tus Nqi Arduino Tau Txais Kev Txhim Kho Kev Txhim Kho: 7 Cov Kauj Ruam (nrog Duab)
UDuino: Tus Nqi Tsawg heev Arduino Compatible Development Board: Arduino boards yog qhov zoo rau kev tsim qauv. Txawm li cas los xij lawv tau txais qhov kim dua thaum koj muaj ntau txoj haujlwm sib xws lossis xav tau ntau lub rooj tswj hwm rau txoj haujlwm loj dua. Muaj qee qhov zoo, pheej yig dua (Boarduino, Freeduino) tab sis
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: 4 Cov Kauj Ruam
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: Nyeem … lub npe