Cov txheej txheem:

Flatulant Boss Detector: 9 Kauj Ruam (nrog Duab)
Flatulant Boss Detector: 9 Kauj Ruam (nrog Duab)

Video: Flatulant Boss Detector: 9 Kauj Ruam (nrog Duab)

Video: Flatulant Boss Detector: 9 Kauj Ruam (nrog Duab)
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Hlis ntuj nqeg
Anonim
Flatulant Boss Detector
Flatulant Boss Detector
Flatulant Boss Detector
Flatulant Boss Detector

Thaum kuv loj tuaj, qhov me me kuv lub cubicle tau txais. Qhov tseeb, Kuv tsis muaj lub cubicle tam sim no. Tab sis kuv tus thawj coj tau taug kev hauv qhov tsis muaj kev tiv thaiv thiab ntes kuv ua kev tshawb fawb rau qee txoj haujlwm (WWW - rau tus thawj coj nws zoo li web surfing) thiab nws yuav qhia kuv kom mus ua haujlwm. Kuv xav muab lub tswb nrov nyob ib puag ncig nws, tab sis kuv paub tseeb tias nws yuav tsis mus rau nws, yog li kuv yuav tsum tuaj nrog lwm yam ntxiv. (ceeb toom - lub npe yuav tsum yog "Flatulent.")

Kauj Ruam 1: Tau Txais Lub Noifty Noise Maker Rau Txog 6 Bucks hauv Qho Khoom Qho Khoom Ua Si ntawm Lub Khw Khoom Noj

Tau Txais Lub Nifty Noise Maker Rau Txog 6 Bucks hauv Qho Khoom Qho Khoom Ua Si ntawm Lub Khw Khoom Noj
Tau Txais Lub Nifty Noise Maker Rau Txog 6 Bucks hauv Qho Khoom Qho Khoom Ua Si ntawm Lub Khw Khoom Noj

Koj tuaj yeem nyeem pob ntawv rau koj tus kheej. Nws muaj kwv yees li 6 qhov sib txawv "suab nkauj." Tab sis, cov khoom tseem ceeb yog qhov me ntsis RF chaw taws teeb khawm uas los nrog nws.

Kauj Ruam 2: Thiab Kuv Pom Lub Pob Zeb Me Me hauv WalMart txog $ 5.00

Thiab Kuv Pom Qhov Pob Zeb Me Me hauv WalMart Txog Txog $ 5.00
Thiab Kuv Pom Qhov Pob Zeb Me Me hauv WalMart Txog Txog $ 5.00

Pom tseeb nws tig lub teeb me me (LED) thaum pom cov lus tsa suab, thiab chav tsaus ntuj. (Hmmmmm, Kuv xav paub yog tias kuv tuaj yeem …)

Kauj ruam 3: Okay. Cia Peb Qhib Qhib Lub Suab Motion thiab Saib Zoo Li Cas…

Okay. Cia Peb Qhib Qhib Tsab Ntawv Motion Sensor thiab Saib Zoo Li Cas…
Okay. Cia Peb Qhib Qhib Tsab Ntawv Motion Sensor thiab Saib Zoo Li Cas…

Zoo, kuv sau txhua yam. Lub photocell (tsis qhia, tab sis ntseeg kuv, nws nyob ntawd) yog txhawm rau tiv thaiv lub teeb (LED) los ntawm qhov nruab hnub nruab hnub, thiab yog li ntawd ua kom lub roj teeb nyob ntev.

Lub Fresnel lens nyob ntawd los muab qhov pom dav rau pom lub suab txav. Fresnel tau tshaj tawm ua phooj ywg-nel, saib nws ntawm Wikipedia kom paub ntau ntxiv.

Kauj Ruam 4: Cia Peb Ua Hackin '

Cia Peb Ua Ib co Hackin '
Cia Peb Ua Ib co Hackin '

Ua ntej, koj pom tias PIR lub suab ntsuas. PIR txhais tau tias "Passive infra-red." Qee leej neeg hu nws ua "Pyro infra-red." Kuv tsis paub vim li cas. Txawm li cas los xij, peb yuav tsis hack qhov ntawd. Peb yuav xav tau qee yam tom qab.

Tom ntej no, peb (zoo, kuv… tab sis peb muaj koob muaj npe) tau npog cov ntawv luam ntawv uas kuv tau hais rau koj. Koj pom, Kuv xav kom kuv tus thawj coj-ntes kom ua haujlwm nruab hnub thiab hmo ntuj. Yog li, los ntawm kev npog nws, nws xav tias nws nyob hauv qhov tsaus ntuj txawm tias thaum lub teeb qhib. Tab sis, peb nyuam qhuav rub cov plaub tsiaj hla nws ob lub qhov muag (ua tau ib lub qhov muag,) thiab tam sim no nws tau nyob hauv qhov tsaus ntuj. Thiab koj tuaj yeem pom tias peb tau teeb tsa peb tus kheej lub photocell sab xis ntawm LED. Qhov ua kom yuam kev me me qhia rau peb paub thaum LED tuaj vim hais tias cov lus tsa suab tau pom. Tau kawg peb tuaj yeem tau xaim hluav taws xob los ntawm LED kom ua tiav tib lub hom phiaj, tab sis qhov kev lom zem nyob qhov twg. Qhov kev lom zem tshaj plaws ntawm hacking yog txhawm rau hack nws txawv dua li lwm cov hackers, zoo li hauv lwm cov kws tsim hluav taws xob. Thiab qhov ntawd ua rau koj hack qhov tseeb tiag.

Kauj Ruam 5: Lub Photocell Circuit

Photocell Circuit
Photocell Circuit

Lub photocell, xws li koj tuaj yeem yuav hauv Xov Tooj Cua Shack, muaj kev tiv thaiv txog 50k ohms uas tsis muaj lub teeb pom kev, thiab kwv yees li 5k ohms lossis tsawg dua thaum raug lub teeb ci. Yog li, yog tias peb siv tus tiv thaiv nyob rau hauv kab nrog lub photocell, uas tsuas yog tus tiv thaiv, thiab khi lawv mus rau qhov hluav taws xob thiab hauv av, tom qab ntawd peb muaj qhov faib hluav taws xob. Los ntawm qhov ntawd, tapping nyob nruab nrab ntawm ob lub resistors muab lub teeb liab hluav taws xob uas nce siab lossis qis, thiab tuaj yeem siv los ua lub cuab yeej. Hauv qhov no lub ntsuas hluav taws xob siv 3 x AA roj teeb, uas yog 4.5 volts. Thiab qhov no yog yuav ua li cas lub xov tooj hluav taws xob tau muab lub teeb liab xav tau los tsav qee yam khoom siv hluav taws xob. Nrog LED tawm, lub teeb liab hluav taws xob yog kwv yees li 1.7 volts, nrog LED qhib, lub teeb liab nce mus txog 3.5 volts, uas yog txaus los ua lub micro-maub los

Kauj Ruam 6: Hacking Qhov Chaw Tswj Chaw Taws Teeb Whoopee Khawm

Hacking Cov Chaw Taws Teeb Tsoo Whoopee Khawm
Hacking Cov Chaw Taws Teeb Tsoo Whoopee Khawm

Muaj lub pob, uas txhais tau tias qee qhov muaj ob tus pin, uas thaum kaw-circuited, ua rau lub tog hauv ncoo ua nws yog yam. Cov koob tau pom tseeb, yog li kuv tsis tau qhia qhov ntawd. Tab sis, Kuv tau tho qhov me me thiab khiav ob kab ntawm cov xov rau khawm khawm. Thiab, siv 5v reed relay los ntawm Xov Tooj Cua Shack, Kuv tuaj yeem txuas ob tus pin los ntawm kev txhawb zog reed relay.

Kauj Ruam 7: Tam sim no rau Qhov Tsis Zoo

Tam sim no rau Tricky Part
Tam sim no rau Tricky Part

Nws tsis yog qhov nyuaj tiag tiag yog tias koj paub me ntsis txog cov khoom siv hluav taws xob, tab sis qhov kev pom zoo yog tias koj yuav tsum siv lub teeb liab kom qhib lub kaw lus. Koj tuaj yeem siv lub sijhawm tua ib zaug, lossis tus sib piv, lossis 555 lub sijhawm, tab sis, rau kuv, qhov yooj yim tshaj plaws yog siv 8-tus pin micro-maub los. Kuv siv PIC Micro 12F675. Nrog qhov ntawd, Kuv tuaj yeem ua rau hloov pauv tus lej, thiab nyem lub teeb liab liab. Tsis tas li, yog tias 5 tus neeg taug kev hauv kuv tsis xav kom qhov ua rau vwm rau 15 vib nas this, yog li kuv muab ncua 30 feeb thib ob yog li kuv tuaj yeem tsoo qhov hloov pauv tua thiab kaw nws. Yog li, kuv yuav cia li yoo-fwd thiab qhia qhov kawg ntawm qhov tsis sib haum. Nco tseg, Kuv tau npog lub LED kom tus thawj coj qub yuav tsis pom lub teeb tig rau txhua lub sijhawm nws cuam tshuam rau kuv li 1/4 ntawm lub cubicle. Daim duab no yog qhov khoom kawg. Kuv yuav tso cov khoom siv hluav taws xob los ua kev tawm dag zog rau tus tub kawm ntawv. Ntawm no yog tus lej rau PIC Micro 12F675:; *************************** ********************************************************** ******; Cov ntaub ntawv npe: Flatulant_Boss; Tus Txheej Txheem: 12F675; Sau: Alan Mollick (alanmollick.com); Hom: cuam tshuam ntawm GP2 hloov pauv;; ~ GPIO REGISTERS ~; GP0 = INPUT - n/c; GP1 = OUTPUT - txuas; GP2 = INPUT - Siab = ntsuas pom; GP3 = INPUT - n/c; GP4 = OUTPUT - Liab LED; ********************************************** *********************************** npe p = 12F675; teev cov lus qhia los txheeb xyuas tus txheej txheem#suav nrog; tus txheej txheem tshwj xeeb sib txawv cov ntsiab lus txhais yuam kev -302; txwv cov lus 302 los ntawm cov npe fileCONFIG _CP_OFF & _CPD_OFF & _BODEN_OFF & _MCLRE_OFF & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT; ~ Variables ~ w_temp EQU 0x20; sib txawv siv rau cov ntsiab lus txuag xwm txheej_temp EQU 0x21; sib txawv siv rau cov ntsiab lus txuag hiB EQU 0x21; MSBytelowB EQU 0x22; LSBytetemp EQU 0x23 spare EQU 0x24 temp1 EQU 0x25; ua kom cuam tshuam cuam tshuam flagtemp2 EQU 0x26 ncua EQU 0x27; ncua sijhawm sijhawm EQU 0x28; pin statespare1 EQU 0x29spare2 EQU 0x2acount EQU 0x2b; voj suav suav 1 EQU 0x2c; txheej sab nraum suav count2 EQU 0x2d; txheej sab nraum suav 1 EQU 0x2e; ncua counterd2 EQU 0x2f; ncua counterd3 EQU 0x30; ncua counterd4 EQU 0x31; ncua sij hawm; ************************************************* *********************** RESET_VECTOR ORG 0x000; processor pib dua vector goto lub ntsiab; mus rau qhov pib ntawm programINT_VECTOR ORG 0x004; cuam tshuam vector qhov chaw movwf w_temp; tseg tseg tam sim no W sau cov ntsiab lus movf STATUS, w; txav cov xwm txheej sau npe rau hauv W sau npe movwf status_temp; tseg tseg cov ntsiab lus ntawm STATUS sau npe; isr code hu rau motion_detect; xa lub tswb ceeb toom bankel INTCON bcf INTCON, INTF; clear GP2/INT chij movf status_temp, w; khaws daim ntawv theej STATUS sau npe movwf STATUS; rov ua ntej isr STATUS sau npe txheem swapf w_temp, f swapf w_temp, w; rov ua dua ua ntej isr W sau cov ntsiab lus retfie; rov qab los ntawm kev cuam tshuam; ********************************************** ****************** lub ntsiab:; txoj haujlwm tseem ceeb; thawj 4 cov lus qhia no tsis xav tau yog tias sab hauv oscillator tsis siv hu 0x3FF; rov qab los ntawm lub Hoobkas ntsuas tus nqi bsf STATUS, RP0; teeb tsa cov ntaub ntawv sau npe txhab nyiaj mus rau 1 movwf OSCCAL; hloov tshiab sau npe nrog lub Hoobkas cal tus nqi bcf STATUS, RP0; teeb tsa cov ntaub ntawv tso nyiaj hauv txhab nyiaj rau 0; ***********************************;*Initialization*; *** ********************************; GP0 = tsis siv, GP1 = tso zis tawm, GP2 = tawm tswv yim (ntsuas pom), GP3 = tawm tswv yim rau cntrl/kev txiav tawm thaum muaj xwm ceev, GP4 = tso tawm rau qhov taw qhia LED,; GP5 = tsis siv; teeb tsa kev taw qhia ntawm I/O pins bankel TRISIO movlw b'00000101 '; xx ------ tsis siv; --0 ----- 0 = tso tawm, GP5 = n/c; --- 0 ---- 0 = tso zis, GP4 = LED; ---- x --- tsis siv, GP3, Dedicated rau MCLR; ----- 1--1 = tawm tswv yim, GP2 tsab ntawv pom; ------ 0- 0 = tso zis, GP1 = solenoid valve; ------- 1 1 = input GP0 = A/D movwf TRISIO; teeb tsa A/D converter bankel ANSEL movlw b'00010000 '; x ------- tsis siv; -001 ---- 001 = Focs/8 Conversion Clock; ---- 0 --- 0 = digital I/O, GP4, Fosc/4 clockout rau lub hom phiaj debug.; ----- 0-- 0 = digital I/O, GP2; ------ 0- 0 = digital I/O, GP1, relay/thiab lwm yam; ------- 0 0 = digital I/O, 1 = analog GP0 movwf ANSEL bankel ADCON0 movlw b'00000000 '; 0 ------- 1 = txoj cai ncaj ncees tshwm sim; -0 ------ 0 = Vdd yog qhov siv hluav taws xob; --xx ---- tsis siv; ---- 00--00 = xaiv channel 0 (GP0); ------ 0- 0 = A/D hloov dua siab tshiab tsis tau pib; ------- 0 0 = A/D converter module tawm ntawm movwf ADCON0; initialize output pinsinit banksel GPIO movlw b'00000000 'movwf GPIO; initialize cuam tshuam bankel INTCON movlw b'00000000 '; 0 ------- 0 = kev cuam tshuam thoob ntiaj teb xiam oob khab; -0 ------ 1 = qhib kev cuam tshuam ib puag ncig; --0 ----- 0 = lov tes taw TMR0 cuam tshuam cuam tshuam; --- 1 ---- 1 = pab kom GP2/INT cuam tshuam sab nraud; ---- 0 --- 0 = lov tes taw GPIO chaw nres nkoj hloov cuam tshuam; ----- 0-- 0 = tsis muaj ntawm TMR0 txeej; ------ 0- 1 =; ------- 0 0 = tsis muaj GPIO chaw nres nkoj hloov movwf INTCON; initialize cuam tshuam ntawm tus pin hloov GP2 bankel IOC movlw b'00000100 '; x ------- tsis siv; -x ------ tsis siv; --0 ----- 0 = lov tes taw GP5; --- 0 ---- 0 = lov tes taw GP4; ---- 0 --- 0 = lov tes taw GP3; ----- 1-- 1 = pab kom GP2/INTR *****; ------ 0- 0 = lov tes taw GP1; ------- 0 0 = lov tes taw GP0 movwf IOC bankel PIE1 movlw b'00000000 '; 0 ------- 0 = lov tes taw EE sau tiav cuam tshuam; -0 ------ 0 = lov tes taw A/D converter cuam tshuam; --xx ---- tsis siv; ---- 0 --- 0 = kev sib piv cuam tshuam cuam tshuam; ----- xx- tsis siv; ------- 0 1 = pab kom TMR1 cuam tshuam cuam tshuam movwf PIE1 bankel PIR1 movlw b'00000000 '; 0 ------- 0 = tsis muaj EE sau kom tiav; -0 ------ 0 = tsis muaj kev hloov pauv A/D tiav; --xx ---- tsis siv; ---- 0 --- 0 = tsis muaj kev sib piv cuam tshuam; ----- xx- tsis siv; ------- 0 0 = tsis muaj TMR1 txov movwf PIR1; ************************************** ************************; GP1 = tso tawm rau kev xa tawm; GP4 = tso tawm rau LED; ******************************************** ************** bankel INTCON bsf INTCON, INTE; pab GP2 cuam tshuam bsf INTCON, GIEMain_Loop:; yog GP2 = 1 ces tso lub tswb ceeb toom ntawm GP1, GP4 ntawm kev cuam tshuam pw tsaug zog nop goto Main_Loop; ******************************* **************************************; Motion Detection Interrupt Handler;; GP1 = tso tawm rau kev xa tawm, GP4 = tso tawm rau LED; ************************************** ******************** motion_detect: bsf GPIO, 1; txhawb zog txuas rau 100 msec hu rau pause_100ms bcf GPIO, 1; de-activate relay bsf GPIO, 4; qhib LED rau 0.5 sec. hu pause_500ms bcf GPIO, 4 rov qab; ********************************************** ****************; online Qhib Code Generator; https://massmind.org/techref/piclist/codegen/delay.htm; ************************** ncua_100msec:; Ncua = 0.1 vib nas this; Clock zaus = 4 MHz movlw 0x1F; 99998 cycles movwf d1 movlw 0x4F movwf d2Delay_100 decfsz d1, f tau txais $+2 decfsz d2, f tau txais Delay_100 goto $+1; Ncua = 0.5 vib nas this; Clock zaus = 4 MHz movlw 0x03; 499994 cycles movwf d1 movlw 0x18 movwf d2 movlw 0x02 movwf d3Delay_500 decfsz d1, f goto $+2 decfsz d2, f goto $+2 decfsz d3, f goto Delay_500 tau txais $+1; $+1 goto $+1 returnpause_1sec; Ncua = 1 vib nas this; Clock zaus = 4 MHz movlw 0x08; 999997 cycles movwf d1 movlw 0x2F movwf d2 movlw 0x03 movwf d3Delay_1sec decfsz d1, f tau $ 2 rov; ************************************************ *****************************

Kauj Ruam 8: Cov Lus Kawg

Lo Lus Kawg
Lo Lus Kawg

Daim duab no yog ib txoj hauv kev zais txhua yam.

Nco tseg - los ntawm kev siv lub micro -maub los, tus naj npawb ntawm kev hloov pauv ntawm cov lus qhia no yog txwv. Koj tuaj yeem tso tus hais lus kom nws lub suab tawm los tom qab koj tus thawj coj. Lossis, koj tuaj yeem khi nws rau hauv tuam txhab PA system. Koj tuaj yeem muaj qhov system ping koj lub khoos phis tawj thiab muaj nplooj ntawv cuam tshuam txog kev ua haujlwm nyob rau hauv 1/10 ntawm ib pliag kom txhua lub sijhawm uas koj tus thawj coj yav dhau los, lossis lwm tus neeg taug kev mus rau hauv koj ib puag ncig, ib txwm muaj daim ntawv nthuav qhia, lossis cov ntaub ntawv qhia paub. uas koj yuav tsum tau ua haujlwm ntawm. Thiab 24/7… leej twg taug kev mus rau hauv koj lub cubicle, lossis tawm ntawm nws, tuaj yeem hais tias koj muaj koj lub qhov ntswg mus rau pob zeb zeb zeb txhua txhua ob hnub ntawm hnub. Qhov ntawd ua rau koj yog tus neeg ua haujlwm muaj nuj nqis. Koj yog goddam workaholic. Tsis tas li, koj tsis xav tau Fresnel lens. Qhov tseeb, rau tus thawj coj-kuaj pom, nws yog qhov zoo dua los tshem nws txwv tsis pub cov neeg sab hauv koj lub cubicle txav mus los yuav tso nws tseg. Koj tuaj yeem tshem Fresnel lub lens tawm thiab tso 1 nti ntawm PVC tubing (1/2 inch inch los ntawm Tsev Depot) ntawm PIR lub ntsuas thiab qhov ntawd yuav ua rau koj pom kev nqaim heev, xws li ncaj qha ntawm koj lub qhov rooj (piv txwv tias koj muaj lub qhov rooj) tab sis lub sensor ua haujlwm ib yam nkaus. Nws qhov ntau yog li 5-10 ko taw yam tsis muaj Fresnel lens. Koj tseem tuaj yeem tshem PIR lub ntsuas hluav taws xob thiab siv 3 lub xov hlau, koj tuaj yeem tso lub ntsuas hluav taws xob nyob txhua qhov chaw kom nws zais. Koj tseem tuaj yeem yuav lub suab suab rau 6 bucks, thiab sau koj lub suab. Koj tuaj yeem siv lub cim thoob ntiaj teb rau "tus thawj coj tab tom los" uas yog tshem koj lub caj pas. Thiab koj tuaj yeem hloov nws txhua tag kis. Los yog kaw lub suab ntawm koj ntaus taub hau, thiab lwm yam. Ntawm no yog lub suab zoo uas kuv tau ua los ntawm lub tog hauv ncoo ntawd, thiab khiav nws mus rau hauv kuv lub khoos phis tawj, kho nws nrog Audacity, thiab siv nws rau Qhov Yooj Yim Khawm hack uas kuv yuav tso ib hnub.

Kauj Ruam 9: Kev hloov pauv

Ib Variation
Ib Variation

Nov yog lwm tus saib xyuas tus thawj coj raws li tib lub tswv yim. Tsis tas li, qee leej xav tau daim vis dis aus, yog li kuv yuav tso daim vis dis aus rau sai sai no. Lub ntsuas ntsuas rau qhov no yog qhov pom tseeb Robo Sapien sib koom ua lub ntsuas hluav taws xob los ntawm Home Depot. Thaum pom cov lus tsa suab, tus neeg hlau xa lub teeb liab IR mus rau lub tawb noog uas muaj qhov zais zais 38khz. Cov noog mechanism muaj ob peb txoj kev xaiv. Txhua qhov kev xaiv yog xaiv tus kheej, tab sis nrog txhua yam qhib, tus noog pib tig, quaj, nrog lub ntsais ntsais LED. Tsis tas li kuv tau ntxiv qhov zoo tshaj plaws liab liab LED teeb hauv qab uas ua rau pom 4 zaug kom koj paub tias qee tus neeg tuaj txog yam tsis muaj pob khoom. Qhov no tseem muaj 30 lub sijhawm ncua thib ob, thiab koj tuaj yeem ua haujlwm tag nrho yam yooj yim los ntawm kev nqa tus xaum. Cov xaum xaum muaj cov hlau nplaum nyob rau qhov kawg uas, thaum tso rau hauv tus noog pub, ua rau cov khoom siv hluav taws xob los ntawm txoj kev me me sib nqus reed relay. Tsuas yog qhov sib txawv tiag tiag hauv cov kab ke no yog tias kuv tsis tau siv daim duab dag. Muaj plaub quad op-amp hauv lub ntsuas lub suab, thiab kuv tsuas yog kais tawm tus pin tso tawm ntawm theem kawg. Kuv yuav ntau yam ntawm cov noog no ntawm lub khw muag tshuaj vim tias lawv tau muag rau 5 bucks txhua. Tom qab ntawd kuv tau ntxiv pob zeb thiab cov nroj tsuag txhawm rau txhawm rau zais IR lub ntsuas hluav taws xob, thiab ua lub thawv me me tawm ntawm cov ntoo cherry thiab hloov nws kom zais cov roj teeb AA ntxiv uas kuv xav tau. Qhov khoom siv ntawm 2 AA roj teeb, thiab tau qhib lub suab. Kuv ua rau nws tsis nkag siab lub suab, thiab xav tau lub roj teeb ntxiv vim tias lub ntsuas hluav taws xob 38khz kuv siv xav tau tsawg kawg 4.5 volts, uas txhais tau tias yog 3 lub roj teeb. Lub ntsuas hluav taws xob tau tsim los ntsaws rau hauv lub qhov hluav taws xob phab ntsa, yog li kuv txiav cov khoom loj tawm ntawm lub rooj tsav xwm hauv Circuit Court thiab tam sim no nws khiav tawm ntawm 9v roj teeb teeb tsa qhov twg lub teeb pom kev nyob.

Nov yog qhov txuas rau daim vis dis aus ntawm no.video

Pom zoo: