Cov txheej txheem:
- Kauj Ruam 1: Yam Khoom Siv Hauv Txoj Haujlwm no
- Kauj ruam 2: Teeb Obniz
- Kauj ruam 3:
- Kauj ruam 4:
- Kauj Ruam 5: Txoj Haujlwm
Video: Kev Nyuaj Siab Zam Zam Kev Ua Si Nrog Qhov Tseeb Sensor: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Los ntawm sa112Obniz lub vev xaib Ua raws ntau los ntawm tus sau:
Txog: DIY khoom siv hluav taws xob, javascript, IoT, obniz, programming, raspberrypi, arduino Ntau Txog sa112 »
Cov kev ua si uas muaj kev cuam tshuam zoo li Flappy Bird. Tsiv koj txhais tes kom tsis txhob muaj kev sib tsoo. Nws yog ib qho yooj yim ua thiab lom zem ua si!
Kauj Ruam 1: Yam Khoom Siv Hauv Txoj Haujlwm no
obniz
IR nrug deb sensor
Smartphone lossis computer
Kauj ruam 2: Teeb Obniz
Txhawm rau teeb tsa obniz, txhua yam koj yuav tsum tau ua yog ua raws peb qib.
- Txuas obniz rau wifi.
- Txuas cov cuab yeej zoo li LED lossis lub cav rau obniz.
- Luam theej duab QR code ntawm obniz thiab pib ua haujlwm. Koj tsis tas yuav nruab ib qho software.
Kauj ruam 3:
Txuas obniz thiab qhov deb nrug raws li hauv qab no.
- io0: Teeb liab (daj)
- io1: GND (dub)
- io2: VCC (liab)
Kauj ruam 4:
Peb siv HTML5 canvas.
cia canvas = document.getElementById ('teb'); cia ctx = canvas.getContext ('2d');
Teeb tus nqi ntawm qhov ntsuas qhov deb mus rau qhov "inputHeight", thiab siv nws txhua lub sijhawm.
cia inputHeight = 0; cia obniz = Obniz tshiab ("OBNIZ_ID_HERE"); obniz.onconnect = async muaj nuj nqi () {cia sensor = obniz.wired ("GP2Y0A21YK0F", {vcc: 2, gnd: 1, teeb liab: 0}); sensor.start (muaj nuj nqi (qhov siab) {inputHeight = qhov siab;})};
{vcc: 2, gnd: 1, teeb liab: 0} yuav tsum raug hloov yog tias koj txuas cov cuab yeej sib txawv ntawm Kauj Ruam 2. Qhov nqi no yog siv raws li txhua tus ncej nkag
cia cov tswv yim = (300 - Qhov siab nkag); input = Math.min (Math.max (0, tawm tswv yim), canvas.height); dot.push (cov tswv yim);
Kauj Ruam 5: Txoj Haujlwm
Thov tau txais qhov program los ntawm no
Pom zoo:
Kev Nyuaj Siab Zam Tsis Txhob Nkoj Nkoj Nrog Arudino: 9 Kauj Ruam
Obstacle Zam Txo Lub Nkoj Nrog Arudino: Nyob zoo cov phooj ywg, hauv qhov kev qhia no kuv yuav qhia koj yuav ua li cas thiaj ua tau Obstacle Zam Tsis Txhob Nkoj Nkoj. Kuv tuaj nrog lub tswv yim no thaum kuv so ntawm kuv lub pas dej ntses thiab xav txog lub tswv yim rau kev sib tw yas. Kuv pom tau hais tias cov yas ntawm no yuav zoo heev
QHOV QHOV TSEEB QHOV TSEEB QHOV TSEEB TSHIAB (Pi Tsev Ruaj Ntseg): 7 Kauj Ruam
LOST COST IOT THEFT DETECTION DEVICE (Pi Home Security): Lub kaw lus tau tsim los txhawm rau txheeb xyuas kev nkag mus (tsis tau tso cai nkag mus) rau hauv lub tsev lossis lwm thaj chaw. Txoj haujlwm no tuaj yeem siv hauv thaj chaw nyob, kev lag luam, kev lag luam, thiab cov tub rog lub zog rau kev tiv thaiv kev nyiag khoom lossis khoom puas tsuaj, ib yam
OAREE - 3D Luam Tawm - Kev Nyuaj Siab Zam Txim Rau Neeg Hlau rau Kev Kawm Txuj Ci (OAREE) Nrog Arduino: 5 Kauj Ruam (nrog Duab)
OAREE - 3D Luam - Obstacle Zam Txim Rau Neeg Hlau rau Kev Kawm Txuj Ci (OAREE) Nrog Arduino: OAREE (Obstacle Zam Zam Txim Rau Neeg Hlau rau Kev Kawm Txuj Ci) Tsim: Lub hom phiaj ntawm cov lus qhia no yog tsim OAR (Obstacle Zam Txim Neeg Hlau) neeg hlau uas yooj yim/compact, 3D luam tawm, yooj yim rau sib sau ua ke, siv kev sib hloov ua haujlwm tsis tu ncua rau kev txav chaw
Kev Txawj Ntse Alexa: Nyeem Qhov Tseeb Tseeb Tseeb (Hauv Qhov No, Vajtswv): 6 Kauj Ruam
Alexa Skill: Nyeem Qhov Tseeb Tseeb (Hauv Qhov No, Vajtswv): Kuv tau ua Alexa Skill los nyeem " Vajtswv Tseeb Tweet " - cov ntsiab lus, uas yog, los ntawm @TweetOfGod, 5 lab+ tus lej sau npe tus account tsim los ntawm yav dhau los Txhua Hnub Qhia Ua Yeeb Yaj Kiab. Nws siv IFTTT (Yog Qhov No Yog Li No), Google Daim Ntawv Qhia Tawm, thiab
Yuav Ua Li Cas Tsim Ib Qhov Tseeb Tseeb Duab Los Ntawm Ntau Qhov Tseeb Tseeb: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tsim Ib Qhov Ua Kom Pom Dua Duab Los Ntawm Ntau Qhov Ua Ntej Ua Ntej: Kuv qhia kom siv Helicon Focus software. Windows thiab Mac version muaj nyob ntawm d-Stidio qhov chaw Cov program tau tsim los rau kev siv duab thaij duab, microphotography thiab duab toj roob hauv pes hyperfocal kom daws tau qhov teeb meem qhov tob ntawm qhov chaw.Hel