Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Xav Tau
- Kauj Ruam 2: Txhim Kho Cov Txheej Txheem Software
- Kauj Ruam 3: Teeb tsa Arduino Development Environment
- Kauj ruam 4: Tsim Circuit Court
Video: DomoRasp: 4 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Ua ntej tshaj plaws, 2 yam tseem ceeb:
- koj yuav tsum ua siab ntev nrog kuv cov lus Askiv tsis zoo
- tsis txhob poob siab: lub Circuit Court zoo li txaus ntshai heev, tab sis nws ua haujlwm thiab kuv yuav piav qhia koj yuav tsim koj tus kheej li cas
Txoj haujlwm me no lub hom phiaj tsim kom muaj ESP32 raws qhov muaj peev xwm sib txuas lus ntawm MQTT cov ntaub ntawv ntsuas;
Cov ntaub ntawv yuav tshwm sim siv Grafana.
Npaj kom pib?
Kauj Ruam 1: Yam Koj Xav Tau
Koj xav tau lub PC txuas nrog koj lub WiFi network hauv tsev.
Lub PC yuav raug siv los tuav MQTT broker, Telegraf thiab Grafana.
Yog tias ua tau Raspberry Pi qhov twg los tuav cov kev pabcuam InfluxDB (txwv tsis pub koj tuaj yeem nruab InfluxDB ntawm koj lub PC)
Raws li Hardware koj xav tau:
- ESP32 (Kuv yuav qhov no)
- BMP280 sensor (Kuv yuav qhov no)
- Oled zaub 128 x 64 pixel (Kuv yuav qhov no)
- Lub teeb pom kev zoo (LDR, ib yam zoo li no)
- Laub khawm (qee yam zoo li no)
- Resistors (10k ohm thiab 220ohm)
- Txuas
- Breadboard (Kuv yuav cov me me no)
Hauv Amazon koj tuaj yeem pom cov khoom siv zoo tiag tiag los ntawm Elegoo lossis AzDelivery, piv txwv li qhov no.
Kauj Ruam 2: Txhim Kho Cov Txheej Txheem Software
Muaj ntau ntau cov lus qhia yuav ua li cas rau nruab thiab teeb tsa MQTT (Mosquitto) + InfluxDB + Telegraf + Grafana.
Qhov muaj txiaj ntsig tiag tiag yog qhov no: Raspberry Pi IoT: Sensors, InfluxDB, MQTT, thiab Grafana
Thaum lub Circuit tau tsim thiab sib txuas lus nrog MQTT broker (ua siab ntev, koj yuav tsum tau tos qee lwm cov kauj ruam), koj yuav tsum tuaj yeem sau npe rau esp32/ sensors/ ncauj lus siv MQTT.fx, thiab pom cov ntaub ntawv xa los ntawm Circuit.
Kuv xav muab lus qhia rau koj:
- rho tawm txhua qhov kev tawm tswv yim thiab kev teeb tsa hauv telegraf.conf thiab tsim ob cov ntaub ntawv hauv phau ntawv tshiab 'conf': inputs.conf thiab outputs.conf. Koj tuaj yeem pom kuv teeb tsa hauv cov duab.
- sim cov kab ke Mosquitto + InfluxDB + Telegraf ua ntej kuv tsim lub Circuit: MQTT.fx yog koj tus phooj ywg
Kauj Ruam 3: Teeb tsa Arduino Development Environment
Kuv tsis paub yog tias koj tshiab rau Arduino (Kuv vam tias tsis yog, vim txoj haujlwm no tuaj yeem nyuaj me ntsis thawj qhov haujlwm)
Txawm li cas los xij. Thawj qhov koj yuav tsum tau teeb tsa Arduino IDE thiab teeb tsa ESP32 pawg thawj coj hauv IDE.
NB: tsis txhob nruab Windows 10 App, tab sis ua tiav Win32 daim ntawv thov:
Teeb tsa ESP32 pawg thawj coj hauv Arduino, raws li tau piav qhia ntawm no:
randomnerdtutorials.com/installing-the-esp…
Thaum kawg ntawm 2 cov kauj ruam no koj yuav tsum muaj peev xwm thauj tus qauv yooj yim mus rau ESP32 micro-maub los.
Kuv tsim kuv tus lej siv Visual Studio Code nrog qhov txuas ntxiv no:
Ua ntej tsim lub Circuit Court, thov nco ntsoov tias koj tuaj yeem:
- suav sau cov duab yooj yim (tshawb rau I2C scanner piv txwv)
- saib ESP32 cov lej tso tawm hauv Visual Studio Code
- Nruab thiab suav nrog cov tsev qiv ntawv hauv txoj haujlwm
- upload koj daim duab qhia chaw ntawm ESP32
Kauj ruam 4: Tsim Circuit Court
Kuv tsim Fritzing project nplooj ntawv piav qhia yuav tsim lub Circuit thiab qhov twg koj tuaj yeem pom kuv tus lej!
Kuv pom Fritzing tsuas yog hnub no: ib qho software zoo tshaj plaws thiab zej zog, qhov twg los tsim thiab tiv thaiv kab hluav taws xob.
Koj tau rub tawm qhov kawg (dawb) version ntawm Fritzing thiab qhib DomoRasp.fzz cov ntaub ntawv kuv ntxiv rau nplooj ntawv hauv qab no:
fritzing.org/projects/domorasp
(thov nyeem cov lus piav qhia hauv nplooj ntawv qhov project!)
Yog tag nrho!
Muaj kev lom zem thiab tsis txhob yig tiv tauj kuv!
Pom zoo:
YADPF (YET Lwm Tus Duab Duab Duab): 7 Kauj Ruam (nrog Duab)
YADPF (YET Lwm Tus Duab Duab Duab): Kuv paub qhov no tsis yog khoom tshiab, Kuv paub, Kuv tau pom qee qhov ntawm cov haujlwm no ntawm no, tab sis kuv ib txwm xav tsim kuv tus kheej cov duab thav duab. Txhua daim duab thav duab kuv tau pom yog qhov zoo, tab sis kuv tab tom nrhiav lwm yam, Kuv tab tom nrhiav qhov zoo nkauj tiag tiag
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv