Cov txheej txheem:

Hacking Keychain Digital Lub Koob Yees Duab rau Arduino Tswj: 6 Cov Kauj Ruam
Hacking Keychain Digital Lub Koob Yees Duab rau Arduino Tswj: 6 Cov Kauj Ruam

Video: Hacking Keychain Digital Lub Koob Yees Duab rau Arduino Tswj: 6 Cov Kauj Ruam

Video: Hacking Keychain Digital Lub Koob Yees Duab rau Arduino Tswj: 6 Cov Kauj Ruam
Video: The WORST Owl House Ships Part 4! 2024, Kaum ib hlis
Anonim
Hacking Keychain Cov Koob Yees Duab rau Arduino Tswj
Hacking Keychain Cov Koob Yees Duab rau Arduino Tswj
Hacking Keychain Digital Lub Koob Yees Duab rau Arduino Tswj
Hacking Keychain Digital Lub Koob Yees Duab rau Arduino Tswj
Hacking Keychain Digital Lub Koob Yees Duab rau Arduino Tswj
Hacking Keychain Digital Lub Koob Yees Duab rau Arduino Tswj

Kev xaiv kev yees duab rau Arduino yog ob peb thiab nyob deb ntawm. Webcams tsis muaj txiaj ntsig zoo rau kev thov zoo li kite yees duab lossis yees duab rau pej xeem, tshwj tsis yog tias koj xav tias zoo li yuav 200 ko taw USB cable. Thiab cov txheej txheem tam sim no rau kev nyob ib leeg Arduino kev yees duab feem ntau sim txhawm rau khaws cov ntaub ntawv raw los ntawm CMOS lub koob yees duab tawm ntawm lub xov tooj ntawm tes … thiab ntseeg kuv, tshwj tsis yog koj xav tau digitally upload lossis hloov cov duab hauv lub sijhawm, koj tsis xav mus txoj kev ntawd Vim li cas thiaj tsis muaj qhov ib txwm muaj, pheej yig, khiav ntawm lub zeb digital lub koob yees duab uas tswj tau los ntawm Arduino?

Puv tawm muaj tsawg kawg ib-thiab lawv muag nws ntawm koj lub khw muag tshuaj hauv zos (CVS/Rite-Aid/Walgreens/thiab lwm yam.) Nws yog cov koob yees duab me me me me uas lawv muag rau $ 10-15. Kev yees duab ntawm lawv tsis yog ib nrab tsis zoo nrog kev daws teeb meem ntawm 300 txog 200, lawv tuaj yeem khaws cia ntawm 20 thiab 240 cov duab (nyob ntawm qhov koj pom), thiab nws hloov tawm tias cov menyuam yaus tsuas yog ua kom raug nyiag. Koj tseem tuaj yeem ua qhov no tib yam hack nrog pheej yig 1 lossis 2 megapixel lub koob yees duab uas siv daim npav SD yog xav tau (saib hauv qab), tab sis peb yuav tau nqis tes los ntawm cov txheej txheem siv ntawm qhov pom ntau dua 300 ntawm 200 lub koob yees duab. Cov Lus Qhia no yuav coj koj mus rau hauv cov txheej txheem ntawm kev sib dhos, hloov kho thiab rov ua dua lub koob yees duab uas tsis yog-lub txee. Nws yuav taug kev koj los ntawm kev xaim hluav taws xob txheej yooj yim ntawm cov hloov hluav taws xob hloov pauv uas tuaj yeem siv los ntawm Arduino kom tig lub koob yees duab tua thiab qhib thiab thaij duab thaum twg koj xav tau. Nws tseem yuav muaj cov qauv piv txwv thiab ntau cov duab zoo nkauj. Ua ntej peb pib, ob peb qhov sau tseg: *Lub koob yees duab raug nyiag yuav hloov los ntawm xiav mus rau nyiaj thiab rov qab hauv cov duab. Tsis txhob txhawj, sab hauv ntawm ob lub koob yees duab zoo ib yam (Kuv tab tom ua haujlwm nrog ob lub sijhawm tam sim no rau kev tshawb fawb.) Lub koob yees duab tib yam no tau muag thoob plaws lub tebchaws hauv cov xim sib txawv, nyob hauv cov npe sib txawv thiab txawm tias muaj qhov txawv me ntsis ntawm lub cev. *Yog tias cov txheej txheem no zoo li paub, nws yuav yog vim li cas peb tab tom ua rau lub koob yees duab nws tus kheej zoo ib yam li cov txheej txheem siv los ntawm CatCam, ib qhov haujlwm uas tau kis mus rau ob xyoos dhau los los ntawm kev tso me me, lub koob yees duab tsis pom nyob rau ntawm dab tshos ntawm cov miv sab nraum zoov thiab saib seb lawv mus qhov twg. CatCam cov txheej txheem siv lub koob yees duab uas tsis yooj yim siv hauv Tebchaws Meskas, thiab tau sau ua ntej Arduino tshem tawm tiag tiag - vam tias qhov kev rov tshuaj xyuas cov txheej txheem no yuav pab DIY zej zog rov tshawb pom thiab rov ua nws hauv lawv cov phiaj xwm. Kuv pom CatCam raws li txoj haujlwm no tau qhwv, thiab ob qho txuj ci tau tsim los ntawm nws tus kheej - yog li kuv cov txheej txheem yuav txawv ntawm cov txheej txheem CatCam; xav tias dawb los xaiv thiab xaiv cov txheej txheem los ntawm ob. *Yog tias koj nyob sab nraud Asmeskas lossis txaus siab xaj ncaj qha los ntawm CatCam, lub koob yees duab nyiag tau lawv muag yog qhov zoo dua - 1 lossis 2 Megapixel - thiab tuaj yeem txuag cov duab ncaj qha rau daim npav SD. Zoo nkauj heev rau ntau txoj haujlwm (tab sis tsis tsim nyog rau txhua tus.) Tab sis yog tias koj xav tau lub koob yees duab niaj hnub no, taub hau mus rau ib qho Rite -Aid, CVS, thiab lwm yam thiab khaws lub koob yees duab pom ntawm no - Lub Koob Yees Duab Digital, feem ntau faib los ntawm Sakar thoob ntiaj teb. *Kuv qhov kev tshawb fawb tau ua rau kuv tswj lub koob yees duab no ntawm ib leeg ATMega nti. Yog tias koj txaus siab kawm cov txheej txheem ntawd rau qee qhov laj thawj, qhia rau kuv paub - yog tias muaj kev txaus siab txaus Kuv yuav nplawm lwm Cov Lus Qhia. (Kuv xav tias yuav muaj kev xav tau ntau ntxiv los ua nws ntawm Arduino.) Hloov tshiab: Los ntawm kev thov Kuv tau ntxiv daim duab qhia kab hluav taws xob los xaim sawv ntsug ib leeg ATMega nti rau lub nti raws li daim duab kawg hauv qab no. Nws yuav tsis muaj txiaj ntsig rau koj ntau tus, thiab kuv thov txim rau qhov ntawd - Kuv vam tias yuav muab cov theem no nws qhov kev mob siab rau - tab sis rau cov uas tau txiav txim siab, nws zoo dua li tsis muaj dab tsi (Kuv vam). *Cov txheej txheem no tau sau tseg ua ib feem ntawm kuv qhov kev tshawb fawb ntawm Carnegie Mellon University's Master of Tangible Interaction Design program, hauv Pittsburgh, PA. Yog tias koj tab tom txiav txim siab rov mus kawm ntawv, txaus siab ua tej yam thiab txaus siab rau kev sib tshuam ntawm thev naus laus zis thiab tsim lossis kos duab, tso peb kab!:) Vam tias koj pom qhov no muaj txiaj ntsig - lus pom ntawm ob lub thev naus laus zis thiab daim ntawv thov raug txais tos! Xav tias dawb los sau kuv ncaj qha lossis tawm tswv yim yog tias koj muaj lus nug lossis xav tau kev qhia meej ntxiv.

Kauj Ruam 1: Sib sau Cov Khoom Siv thiab Cov Cuab Yeej

Sib Sau Cov Khoom Siv thiab Cov Cuab Yeej
Sib Sau Cov Khoom Siv thiab Cov Cuab Yeej
Sib Sau Cov Khoom Siv thiab Cov Cuab Yeej
Sib Sau Cov Khoom Siv thiab Cov Cuab Yeej
Sib Sau Cov Khoom Siv thiab Cov Cuab Yeej
Sib Sau Cov Khoom Siv thiab Cov Cuab Yeej
Sib Sau Cov Khoom Siv thiab Cov Cuab Yeej
Sib Sau Cov Khoom Siv thiab Cov Cuab Yeej

Koj yuav xav tau ob peb yam cuab yeej thiab khoom siv ua ntej koj tuaj yeem tsoo hauv av ntawm Cov Lus Qhia no. Cia peb hla lawv tam sim no, puas yog?

Cov cuab yeej: *Tus me me Philips-taub hau ntsia hlau. (Hais txog qhov loj me ntawm ib qho uas koj yuav siv los kho tsom iav, lossis hauv khoos phis tawj khoos phis tawj.) *Pab tau, tab sis tsis muaj teeb meem yog tias koj muaj cov rau tes rau tes ntev - lub taub hau me me ntsia hlau ntsia hlau los siv ua tus plier. *Lub tshuab txiav hlau/cov hlua hlau *Muaj txiaj ntsig, tab sis tsis tseem ceeb - multimeter. *Soldering hlau thiab solder. (Tam sim no, tam sim no, tsis txhob txhawj xeeb. Txhua yam koj yuav tsum tau ua yog ua kom sov qee cov kab laug sab uas twb muaj lawm thiab lo ob peb txoj hlua xaim xaus rau hauv cov kev sib txuas uas twb muaj lawm. nrog xaim xaim ntawm qee tus qauv, tab sis kev siv tshuaj txhuam yog qhov muaj kev nyab xeeb dua.) Cov khoom siv: *Ib qho tawm ntawm lub txee Keychain Cov Koob Yees Duab. Feem ntau muag hauv cov npe khoom lag luam "Digital Concepts" lossis "Shift." Muag ntawm CVS, Rite-Aid, Walgreens, qee qhov Walmarts, thiab thoob plaws Internet. *Pab tau tab sis tsis tseem ceeb - ob peb lub roj teeb AAA. Lub koob yees duab yuav tsum los nrog ib lub roj teeb AAA. Tab sis yog tias koj npaj siab siv koj txoj haujlwm ntau dua ob peb zaug lossis ntau lub sijhawm ntev, koj yuav xav tau khoom seem - lub koob yees duab noj lawv. *Ob peb ko taw ntawm cov xov hlau thaiv. (Ob qho tib si-ntsuas cov yas rwb thaiv tsev, pom, lossis nyias-ntsuas cov xim pleev xim yog qhov zoo-ob qho tib si muaj lawv qhov zoo thiab qhov tsis zoo; Kuv nyiam siv cov xim pleev xim vim tias qee zaum kuv ua tus txiv neej lub npe rau kuv kev sib txuas.) *Breadboard lossis lwm yam protoboard. *Ob daim ntawv ntev ntawm cov xaim dawb (rau txuas cov transistors rau Arduino) *Ob daim txuas ntev ntawm cov xaim dub (rau txuas hauv av los ntawm Arduino mus rau lub rooj noj mov) *Ob daim txuas ntev ntawm cov xaim liab (txuas rau lub zog loj los ntawm Arduino mus rau lub khob cij) *Pab tau, tab sis tsis tseem ceeb - LED (rau kev debugging tso zis). *Ob lub transistors (Kuv siv NPN 2N3904 transistors.) *Ib qho Arduino nrog USB cable.

Kauj Ruam 2: Qhib Qhib thiab Rhais Lub Keychain Lub Koob Yees Duab

Qhib Qhib thiab Rhais Lub Keychain Lub Koob Yees Duab
Qhib Qhib thiab Rhais Lub Keychain Lub Koob Yees Duab
Qhib Qhib thiab Rhais Lub Keychain Lub Koob Yees Duab
Qhib Qhib thiab Rhais Lub Keychain Lub Koob Yees Duab
Qhib Qhib thiab Rhais Lub Keychain Lub Koob Yees Duab
Qhib Qhib thiab Rhais Lub Keychain Lub Koob Yees Duab
Qhib Qhib thiab Rhais Lub Keychain Lub Koob Yees Duab
Qhib Qhib thiab Rhais Lub Keychain Lub Koob Yees Duab

Thawj yam ua ntej - koj pib tawm qhov hack no los ntawm kev nqa koj tus ntsia hlau thiab rau tes/ntsia hlau rau lub koob yees duab no thiab muab nws cais. Hauv cov duab sau tseg hauv qab no, koj yuav pom ib qib zuj zus ntawm kev faib lub koob yees duab - Kuv yuav taw qhia qhov twg txhua lub ntsia hlau nyob hauv cov duab sau tseg. Thaum koj lub koob yees duab raug muab tshem tawm thiab zoo li zoo li daim duab kawg (txawm tias muaj ntau daim), txuas ntxiv mus rau Kauj Ruam 3.

Kauj Ruam 3: Hack Lub Koob Yees Duab Kuv (Solder Into the Switches)

Hack Lub Koob Yees Duab Kuv (Solder Into the Switches)
Hack Lub Koob Yees Duab Kuv (Solder Into the Switches)
Hack Lub Koob Yees Duab Kuv (Solder Into the Switches)
Hack Lub Koob Yees Duab Kuv (Solder Into the Switches)
Hack Lub Koob Yees Duab Kuv (Solder Into the Switches)
Hack Lub Koob Yees Duab Kuv (Solder Into the Switches)
Hack Lub Koob Yees Duab Kuv (Solder Into the Switches)
Hack Lub Koob Yees Duab Kuv (Solder Into the Switches)

Nov yog qhov nyuaj tshaj plaws ntawm hack - tab sis nws tsis yog * qhov * nyuaj, Kuv cog lus. Yog li ua pa tob tob thiab cia ua kom yaj!

Rau qhov hack no, peb yuav tawm hauv lub rooj tsav xwm lub koob yees duab kom zoo ib yam nkaus. Txhua yam peb yuav ua yog txuas peb tus kheej kev sib txuas rau hauv pawg thawj coj ntawm ob tog ntawm lub laub khawm hloov uas siv los ua lub koob yees duab. Qhov no tso cai rau peb siv peb Arduino rau digitally "thawb" ntawm txhua lub pob thaum twg peb xav tau (ntawm cov transistors sab nraud ua tus hloov pauv). Thaum tuav lub rooj tsav xwm hauv Circuit Court, sim tuav nws los ntawm nws cov npoo thaum ua tau. Lub rooj tsav xwm hauv Circuit Court ruaj khov, tab sis thaum kawg ntawm hnub nws tseem raug hluav taws xob, thiab nws tsis tsim nyog kov nws ncaj qha ntau dua qhov tsim nyog. Txiav thiab hle qhov xaus ntawm plaub daim hlau, txhua yam tsawg kawg ib txhais taw ntev. (Zoo dua ntev dua hauv qhov no; qhov no tsis yog yam koj yuav xav rov ua dua ntau zaus.) Tom qab ntawd, saib ob khub ntawm cov khoom sib txuas uas tau taw qhia hauv daim duab hauv qab no, ib khub nyob ib ncig ntawm ob lub khawm khawm. Siv qhov txuas txuas/luv Circuit Court ua haujlwm ntawm koj lub multimeter, koj tuaj yeem lees paub tias koj tau pom txoj cai ntawm cov pob qij txha txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau ob leeg sib txuas thiab nias lub pob manually kom pom tias qhov ntawd ua rau luv ntawm cov pob qij txha. Yog tias nws ua (qhov tsis kam ntawm ob qhov poob los ntawm infinity mus ze rau xoom) koj tau pom ob txoj cai. Yog tias koj tsis muaj lub ntsuas cua, koj tuaj yeem ua pa tob tob thiab tso siab rau daim duab. Thaum koj paub tseeb tias koj tau pom cov pob qij txha raug cai, siv koj cov hlau txuas, yaj cov laug ntawm txhua ntawm plaub qhov sib txuas no thiab txuas qhov kawg ntawm ib ntawm plaub daim hlau txuas rau hauv txhua ntawm plaub qhov txuas. Yog tias koj muaj kev pab txhais tes ntawm koj qhov kev teeb tsa, los ntawm txhua qhov txhais tau tias siv nws los tuav koj txoj kev ruaj khov (tso ib daim me me, cov ntawv xov xwm sib dhos ntawm cov clamps los tiv thaiv pawg thawj coj saib xyuas.)

Kauj Ruam 4: Hack Lub Koob Yees Duab Ntu II (Cuam Tshuam Hauv av)

Hack Lub Koob Yees Duab Ntu II (Cuam Tshuam Hauv av)
Hack Lub Koob Yees Duab Ntu II (Cuam Tshuam Hauv av)

Koj nyuam qhuav ua tiav qhov nyuaj tshaj plaws ntawm qhov hack no - nrog koj zoo siab! Qhov ntawd tau hais tias, koj tau txais ib qho ntxiv (yooj yim dua) cov khoom sib txuas los ua. Qhov no koj yuav xav tau qee lub lauj kaub tshiab rau.

NCO TSEG: Thov tsis quav ntsej qhov hauv daim duab no, lub rooj tsav xwm hauv tsev yog sab hauv ntawm cov ntaub yas yas. Tsis txhob ua qhov nws zoo li kuv tab tom ua ntawm no - thov muab qhov sib txuas ua ntej ua ntej tso lub Circuit Court rov los rau hauv nws rooj plaub, kom tsis txhob yuam kev yaj cov yas. (Kuv tau yooj yim dag hauv kev yees duab cov kauj ruam no thiab yuav sim kho nws tom qab.) Nqa ib daim hlau thib tsib, thiab txiav nws kom tsawg li ib txhais taw ntev nrog cov kab txaij. Qhov zoo tshaj, cov xaim no yuav tsum yog xim dub, lossis tsawg kawg sib txawv ntawm thawj plaub. Tam sim no, txuas ib kawg ntawm nws mus rau sab nraud ntawm qhov av kawg ntawm tus tuav lub roj teeb, raws li qhia. Koj yuav tsum tau ntxiv koj tus kheej lub lauj kaub rau qhov txuas no thiab txuas ncaj qha mus rau cov hlau ntawm no. Kuv tau pom qhov no ua kom yooj yim dua li sim ntxiv koj cov xaim rau cov laug uas twb muaj lawm tuav lub roj teeb rau lub rooj tsav xwm hauv Circuit Court. (Kuv yuav taw qhia txoj hauv kev thiab tsis raug hauv cov duab.) Vim li cas peb thiaj ua qhov no? Zoo, rau Arduino-tswj transistor kom muaj peev xwm tswj tau qhov hloov pauv ntawm lub koob yees duab keychain, Arduino Circuit thiab keychain lub koob yees duab Circuit xav tau sib qhia ib qho hluav taws xob hauv av. Cov xaim no yooj yim cia koj lub cev txuas lub koob yees duab hauv av mus rau Arduino av tom qab, dhau ntawm kab ib txwm ntawm lub khob cij.

Kauj Ruam 5: Nqa Lub Koob Yees Duab rau Koj Arduino

Nqa lub Koob Yees Duab rau Koj Arduino
Nqa lub Koob Yees Duab rau Koj Arduino
Nqa lub Koob Yees Duab rau Koj Arduino
Nqa lub Koob Yees Duab rau Koj Arduino
Nqa lub Koob Yees Duab rau Koj Arduino
Nqa lub Koob Yees Duab rau Koj Arduino

Tam sim no nws yog lub sijhawm los pib nqes koj lub koob yees duab mus rau koj Arduino.

Ua ntej, thauj qee cov cai uas yuav tswj lub koob yees duab mus rau Arduino. Hauv qab no, peb tau tshaj tawm/txuas qee cov qauv Arduino code uas peb tau siv ntawm no txhawm rau txhawm rau thaij duab lub sijhawm. Txoj cai yuav tig lub koob yees duab, thaij duab, thiab tom qab ntawd ncua sijhawm ib pliag (thaum lub sijhawm lub koob yees duab yuav kaw lub zog) ua ntej qhib lub zog thiab nqa lwm daim duab - rov ua qhov no rau nees nkaum daim duab (lub peev xwm ntawm kuv thawj zaug) hacked lub koob yees duab.) Tam sim no, cia peb nqes koj Arduino rau koj lub koob yees duab. Ua ntej, piav me ntsis: txhawm rau tswj lub koob yees duab tag nrho, peb cov cai siv ob lub koob tso tawm digital thiab daim ntawv qhia ib qho rau ntawm qhov hloov pauv, thiab lwm qhov mus rau lub qhov rooj kaw. Thaum txoj cai xav tig lub koob yees duab rau lossis tua lossis hloov cov qauv, nws luv luv tuav lub koob yees duab ntawm tus pin tso tawm siab - thiab thaum cov cai xav yees duab, nws tuav lub koob yees duab kaw qhov tso zis siab. Qhov kev nqis tes no tau txhais rau qhov tseeb ntawm lub pob los ntawm kev tig lub transistor qhib thiab kaw, uas tau txuas nrog ntawm peb lub koob yees duab xov hlau mus rau qhov hloov pauv ntawm lub koob yees duab tiag tiag. Lub hauv paus ntawm lub koob yees duab thiab Arduino tau txuas rau muab Arduino thiab lub koob yees duab sab nraud sib txuas ib qho hauv av, tso cai rau transistors ua haujlwm kom raug. Siv ob lub xov hlau los txuas ob lub pins tso tawm (lub koob yees duab ntawm thiab lub koob yees duab kaw) rau kab sib txawv ntawm lub khob cij. Tom qab ntawd, txuas lub hauv paus tus pin ntawm tus transistor rau txhua ntawm ob lub qhov rooj pins. Thaum kawg, txuas koj ob lub xov hlau rau txhua qhov hloov pauv los ntawm koj lub koob yees duab tiag tiag mus rau ob qho ntxiv (tus sau thiab cov paim hluav taws xob) ntawm lub transistor. Tej zaum koj yuav tsum tau sim nrog cov xov hlau twg mus rau tus neeg khaws khoom thiab uas mus rau tus emitter hauv txhua khub; uas yog qhov uas yuav vam khom nyob sab hauv ntawm lub koob yees duab tshwj xeeb uas koj tab tom nyiag. Thaum kawg, ** thiab qhov no tseem ceeb **, coj koj lub xov hlau hauv av los ntawm lub koob yees duab thiab ntsaws rau hauv tus pin hauv av ntawm Arduino. Qhov no yog qhov tsim nyog rau koj cov transistors ua haujlwm thiab yog li rau koj lub koob yees duab los teb rau koj cov arduino!

Kauj Ruam 6: Siv Cov Duab

Coj Duab!
Coj Duab!
Coj Duab!
Coj Duab!
Coj Duab!
Coj Duab!

Txuas lub roj teeb AAA rau hauv koj lub koob yees duab. Nws yuav tsum beep thiab tig rau. Tos 30 vib nas this kom lub koob yees duab tua. (Cov cai kuv tau suav nrog xav tias lub koob yees duab twb tau kaw lawm thaum nws tau khiav, thiab yuav tig koj lub koob yees duab rau koj.) Tam sim no, tso koj lub koob yees duab thiab Arduino rau qhov koj xav tau lub kaum ntse ntse thiab qhib koj Arduino. Voila! Tej zaum koj tab tom nug - lub koob yees duab no tsis zoo me me, nrog Arduino thiab daim txiag ntoo thiab txhua yam. Tsis tuaj yeem peb ua qhov me me kom haum, kom thaij duab los ntawm qhov zoo nkauj nyob txhua qhov chaw peb xav tau? Qhov xwm zoo yog, nws ua tau! Qhov no tau tsim los siv ua ib leeg ib leeg, siv Atmega rub tawm ntawm Arduino, ntawm ib lub koob yees duab/khoom siv ib leeg uas tuaj yeem tso rau txhua qhov chaw. Kuv tau suav nrog daim duab ntawm qhov teeb tsa hauv qab no ib yam - thiab yog tias tib neeg xav paub los ntawm nws, Kuv yuav ua haujlwm ntawm lwm Cov Lus Qhia lossis tsawg kawg ntxiv Eagle cov ntaub ntawv rau nplooj ntawv no rau lwm tus ua haujlwm los ntawm. Tsuas yog qhia rau kuv paub! Vam tias koj pom qhov no muaj txiaj ntsig - lus pom ntawm ob lub thev naus laus zis thiab daim ntawv thov raug txais tos! Xav tias sau ntawv ncaj qha rau kuv lossis tawm tswv yim yog tias koj muaj lus nug lossis xav tau kev qhia meej ntxiv.

Pom zoo: