Cov txheej txheem:
- Kauj ruam 1: Circuit Court
- Kauj Ruam 2: Teeb Tus Pi & Tau Txais Kev Ntsuas Kub
- Kauj Ruam 3: Txuas nrog Tus Kws Ua Dej Kas Fes & Calibrating
- Kauj ruam 4: Txoj Cai
- Kauj Ruam 5: Node & Pib Txoj Cai ntawm Boot nrog PM2
- Kauj Ruam 6: Ua Kom Nws Zoo Zoo
- Kauj ruam 7: Txhua yam ua tiav
Video: Tsis Siv Neeg Cov Ntawv Ceeb Toom Kas Fes: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hauv txoj haujlwm no kuv ua lub chaw ua kas fes txiag ntse, los ntawm kev tsim lub tshuab kas fes ceeb toom uas xa Slack cov ntawv ceeb toom thaum ib tus neeg ua rau lub lauj kaub tshiab ntawm kas fes. Cov cai tuaj yeem hloov pauv kom xa email, lossis xa xov. Txoj haujlwm no tau tsim los ntawm Raspberry Pi Zero-W
Txhawm rau ua qhov no kuv yuav tsum tau saib xyuas qhov kub ntawm lub tshuab kas fes tsis tu ncua. Kuv mus nrog DS18B20 qhov ntsuas kub tsis muaj dej thiab Raspberry Pi Zero-W.
Yog tias koj nyiam txoj haujlwm no thov ua raws kuv ntawm Instagram thiab YouTube.
Txuas
Cov Cai & Cov Kab Xaim:
Adafruit's Raspberry Pi & DS18B20 Kub Sensor Qhia:
Qhov (Qee Qhov Chaw Txuas Txuas)
Mini Solderless Prototype Breadboard:
Txiv neej rau poj niam jumper xov hlau:
DS18B20 Digital Temp Sensor los ntawm Adafruit:
Digital Temp Sensor ntawm eBay (Qhov kuv tau siv):
Raspberry Pi Zero W Kit:
Raspberry Pi Zero W los ntawm Adafruit ($ 10 shipping):
Kuv muaj lub teeb LED nyob ib puag ncig.
Ib lub npov laib thiab cov kav dej tuaj ntawm Lowes
Kauj ruam 1: Circuit Court
Lub voj voog no yog hmo noj hmo yooj yim. Kuv ua kuv tus kheej ntawm lub khob cij me me yog li kuv tsis tas yuav siv cov laug (Kuv tsuas yog kawm thaum lub sijhawm). Txawm li cas los xij kuv tau ua qee cov hlua txuas txuas mus rau cov xov hluav taws xob tawm ntawm DS18B20, yog li nws tuaj yeem txuas rau hauv lub khob cij. Koj tsis tas yuav ua nws txoj hauv kev no, thiab txhua yam tuaj yeem ua ke tau yooj yim ua ke (Saib kuv Duel Internet ntawm Yam Kev Ntsuas Kub video).
Ua tibzoo saib daim duab.
Yeej, koj tsuas yog siv lub jumper hlau los ntawm tus pin 5 mus rau lub xov tooj daj ntawm DS18B20, hauv av mus rau hauv av xaim (dub), thiab 3.3V rau xaim liab. Tom qab ntawd, ntxiv 4.7K resistor ntawm 3.3V thiab cov xaim daj (teeb liab) ntawm lub ntsuas
Yog xav paub ntxiv koj yuav tsum txheeb xyuas Adafruit's Raspberry Pi & DS18B20 Kub Sensor Qhia
Kauj Ruam 2: Teeb Tus Pi & Tau Txais Kev Ntsuas Kub
Tom qab txhim kho Raspbian (Kuv muaj Gist & vis dis aus rau qhov ntawd) ntawm Pi Zero W, koj yuav tsum tau SSH Nkag mus rau Pi thiab khiav dtoverlay = w1-gpio txhawm rau txhawm rau ntsuas qhov ntsuas kub sib cuam tshuam. Tom qab ntawv rov pib dua los ntawm kev khiav sudo reboot. Tom qab SSHing rov qab rau hauv Pi koj tuaj yeem ua cov hauv qab no kom tau txais kev ntsuas kub.
- sudo modprobe w1-gpio
- sudo modprobe w1-kub
- cd/sys/npav/w1/khoom siv ls cd 28-xxxx (hloov qhov no kom phim tus lej naj npawb pops li cas)
- miv w1_slave
Nco tseg: rau SSH hauv Windows koj yuav xav siv Putty.
Kauj Ruam 3: Txuas nrog Tus Kws Ua Dej Kas Fes & Calibrating
Txhawm rau ntsuas qhov ntsuas kub rau lub tshuab kas fes Kuv tau siv cov cua sov ua kom sov kab xev, thiab txuas nws sab xis tom qab lub rhaub dej kub. Cov kas fes uas peb muaj ntawm chaw ua haujlwm yog Bun laus nrog cov hlau zoo rov qab uas ua cua sov zoo. Koj yuav tsum nrhiav qhov chaw zoo los tshuaj xyuas koj lub tshuab kas fes. Lub ntsuas kub DS18B20 yog dej pov thawj, yog li koj muaj kev xaiv.
Thaum cov ntawv soj ntsuam txuas nrog, koj yuav tsum tau saib xyuas qhov kub thaum ua brewing, thiab saib seb nws kub npaum li cas thaum brewing, ntxiv rau thaum nws brewed. Koj yuav tsum tau ua si nrog kev tso chaw ntawm lub ntsuas hluav taws xob txhawm rau nrhiav qhov chaw uas muab rau koj qhov kub txaus txaus sib txawv ntawm qhov kub ib txwm, thiab ua kom sov sov.
Txhawm rau kom tau koj tus lej tus lej, koj tuaj yeem teev qhov ntsuas kub mus rau lub console los ntawm kev ua cov lus txib los ntawm "Teeb Up Pi & Tau Txais Kev Nyeem Ntawv Kub" kauj ruam.
Nco tseg: koj tsuas yog yuav tsum tau ua tag nrho cov lus txib ib zaug, tom qab ntawd tsuas yog ua haujlwm "miv w1_slave" hais kom saib qhov ntsuas kub tshiab tshaj plaws.
Kauj ruam 4: Txoj Cai
Nov yog qhov txuas rau tus lej: https://github.com/calebbrewer/pi-coffee-ready/blo… Nws tau sau hauv JavaScript (nodejs)
Nyob rau sab saud muaj ob peb qhov koj tuaj yeem hloov pauv kom nws ua haujlwm rau koj teeb tsa.
- const brewingTemp = 88; (Qhov no yog qhov kub tshaj plaws thaum ua kua. LED lub teeb nyob rau sab xub ntiag yuav ntsais thaum qhov kub no tsoo)
- tsim brewedTemp = 93; (Thaum qhov ntsuas kub no txog peb paub tias kas fes tau npaj lawm)
- const brewOffset = 45 * 60000; (Nov yog lub sijhawm tos ua ntej yuav tshuaj xyuas dua. Hloov 45 rau tus lej uas koj xav tau tos kom lub tshuab kas fes txias)
- const filePath = '/sys/bus/w1/devices/28-031702a501ff/w1_slave'; (Nov yog txoj hauv kev mus rau cov ntaub ntawv nrog ntsuas kub. Koj li yuav txawv ntawm kuv. Siv cov ntawv uas koj pom los ntawm kev ua cov lus txib hauv ntu "Teeb Up Pi & Tau Txais Kev Nyeem Kub Kub".)
- const slackMessage = {"username": "Coffee Bot", "text": "Muaj kas fes tshiab! Tau nws thaum nws zoo."}
- ua slackHook = ""; (Koj Slack nuv)
Txoj cai no yog nyob ib puag ncig xa lus ceeb toom Slack, tab sis kab 75 yog qhov kuv tau xa cov lus. Koj tuaj yeem hloov kho qhov no kom xa ntawv ceeb toom nrog cov kev pabcuam twg koj nyiam.
Yog tias koj xav paub yuav teeb tsa Slack nuv li cas rau xa lus, saib daim ntawv no:
Txhawm rau ntxiv koj cov cai rau Pi, tsuas yog siv cov lus txib scp los luam qhov index.js thiab pob ntawv.json cov ntaub ntawv rau Pi. Piv txwv li: scp index.js pi@pi-ip-address:/var/pi-coffee-ready
Kauj Ruam 5: Node & Pib Txoj Cai ntawm Boot nrog PM2
Txhawm rau khiav cov cai koj yuav tsum tau teeb tsa nodejs los ntawm kev ua cov hauv qab no:
- SSH hauv
- Khiav: $ wget -O -https://raw.githubusercontent.com/sdesalas/node-p… | tsoo
- Siv "cd" hais kom hloov mus rau cov npe uas koj tso koj tus lej
- Khiav "npm install"
- Khiav "npm pib"
Txhawm rau khiav cov cai thaum Pi khau raj kuv siv pm2. Thaum sshed rau hauv Pi khiav:
- npm nruab pm2 -g
- pm2 pib app.js
Tom qab tsab ntawv no yuav pib thaum Pi khau raj.
Kauj Ruam 6: Ua Kom Nws Zoo Zoo
Kuv tuav lub thawv qhov hluav taws xob los tuav cov khoom, thiab qee cov hlau 1/2 nti yeeb nkab los ntawm lub khw txhim kho tsev. Kuv muab tso ua ke kom cov pip yuav sawv ntawm lub thawv. Kuv ces pleev xim nws liab thiab dawb.
Kuv tsim daim duab rau sab xub ntiag ntawm lub npov thiab siv lub vinyl cutter los txiav nws. Kuv drilled lub qhov rau qhov taw qhia LED, tom qab ntawd txuas cov yas yas rau lub npov npog.
Kuv npog sab nraum qab ntawm Pi hauv kab xev hluav taws xob yog li cov neeg nyob tom qab yuav tsis luv hauv lub thawv hlau. Tom qab ntawd kuv txuas tus Pi rau ib sab ntawm lub npov nrog cov ntaub pua plag. Kuv txuas lub khob cij me me rau lwm sab siv cov ntawv nplaum thaub qab.
Cov xov hlau ua haujlwm tau zoo los ntawm cov yeeb nkab thiab tawm ntawm T haum. Thov zam txim rau cov xim pleev xim. Kuv tau maj nrawm.
Kauj ruam 7: Txhua yam ua tiav
Thiab ib yam li ntawd, koj muaj kas fes ceeb toom uas zoo li txaus ntshai!
Yog tias koj nyiam txoj haujlwm no thov ua raws kuv ntawm Instagram thiab YouTube.
Pom zoo:
Tsis Siv Neeg Tshuab Luam Ntawv Tsis Siv Neeg Gumball: 18 Kauj Ruam (nrog Duab)
Tsis Siv Neeg Tshuab Luam Ntawv Tsis Siv Neeg Gumball: Peb tau Ua Kov Tsis Pub Siv Gumball Siv lub micro: me ntsis, Crazy Circuits Bit Board, ntsuas qhov deb, siv servo, thiab duab los qhia. Ua nws thiab siv nws yog "BLAST" "! ? ? Thaum koj tso koj txhais tes rau hauv lub hauv paus ntawm lub foob pob hluav taws, lub ntsuas qhov deb
Yuav Tsim Li Cas DIY Tsis Siv Neeg Tsob Ntoo Dej Dej Nrog WiFi Ceeb Toom: 15 Cov Kauj Ruam
Yuav Tsim Li Cas DIY Tsis Siv Neeg Tsob Ntoo Dej Dej Nrog WiFi Ceeb Toom: Qhov no yog qhov ua tiav, qhov DIY tsis siv neeg cog dej tso dej tswj ntawm #WiFi. Txog qhov haujlwm no peb tau siv Tus Kheej Dej Tsis Siv Neeg Lub Vaj Lub Tsev Txheej Txheem Subassembly Cov Khoom los ntawm Adosia. Qhov teeb tsa no siv cov dej solenoid li qub thiab cov av zoo sib xws
Kev Ceeb Toom Thaum Ntxov Raspberry PI Txoj Kev Siv Teeb Siv Dav Dav Qhia Cov Ntaub Ntawv: 14 Cov Kauj Ruam (nrog Duab)
Kev Ceeb Toom Thaum Ntxov Raspberry PI Kev Siv Lub Teeb Siv Dav Dav Qhia Cov Ntaub Ntawv: Lub teeb no tau los ntawm ntau qhov laj thawj vim tias kuv ib txwm nyiam cov dav hlau uas ya saum taub hau thiab thaum lub caij ntuj sov nyob rau hnub so muaj ntau qhov zoo nkauj zoo nkauj ya ncig. Txawm hais tias koj tsuas yog nyiam hnov lawv thaum lawv mus pas
Ceeb Toom Cov Neeg Tuaj Saib Lub Vev Xaib ceeb toom Nrog IFTTT: 6 Cov Kauj Ruam
Kev ceeb toom Cov Neeg Tuaj Saib Lub Vev Xaib Nrog IFTTT: Hauv cov lus qhia no, koj yuav tau txais Android ceeb toom thaum ib tus neeg mus ntsib koj li Website.so rau qhov no Koj yuav tsum muaj kev paub me ntsis ntawm PHP programming lus thiab Kev paub yooj yim ntawm C Yam Lus kom paub li cas IFTTT App cov haujlwm (
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: 5 Cov Kauj Ruam (nrog Duab)
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: Peb lub tshuab ntxhua khaub ncaws nyob hauv lub nkas -las thiab peb tsis hnov lub suab nrov nrov los qhia tias ntxuav tas lawm. Kuv xav nrhiav txoj hauv kev kom tau txais kev ceeb toom, txhua qhov chaw peb nyob hauv tsev, thaum lub voj voog tiav lawm. Kuv tau tinkering nrog Arduino, ESP8266 WiFi