Cov txheej txheem:
- Kauj Ruam 1: Txuas Gas Sensor mus rau Arduino
- Kauj Ruam 2: Txuas Arduino mus rau Raspberry Pi
- Kauj Ruam 3: Sau Ib co Cai rau Arduino
- Kauj Ruam 4: Sau qee Cov Cai rau Raspberry Pi
- Kauj Ruam 5: Tsim Rooj plaub thiab sim nws
Video: IoT Gas Detector Nrog Arduino thiab Raspberry Pi: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv cov lus qhia no koj yuav kawm paub tsim IoT lub tshuab ntsuas roj siv Arduino, Raspberry Pi, thiab MQ-5 lub ntsuas roj. Ntxiv rau cov ntu no koj yuav xav tau peb lub xov hlau los txuas Arduino mus rau lub ntsuas roj. Thaum ua tiav koj yuav tuaj yeem sau cov cai rau Arduino thiab Raspberry Pi kom tau txais qib roj tam sim no hauv chav, puas yog roj ntuj, cawv, lossis txawm tias koj ua pa. Cia peb pib!
Kauj Ruam 1: Txuas Gas Sensor mus rau Arduino
Koj yuav xav tau peb lub xov hlau los txuas lub ntsuas roj rau Arduino:
-One los ntawm tus sensor A0 (analog tawm) mus rau tus pin analog nkag ntawm Arduino
-One los ntawm tus sensor GND (tus pin hauv av) mus rau tus pin hauv av ntawm Arduino
-Cov ib los ntawm lub sensor VCC (lub hwj chim nkag mus) rau 5v tus pin ntawm Arduino
Thaum qhov ntawd ua tiav, tig rau Arduino. Koj yuav tsum pom lub teeb liab ntawm lub ntsuas pa.
Kauj Ruam 2: Txuas Arduino mus rau Raspberry Pi
Koj yuav tsum tau ntsaws Arduino rau hauv Raspberry Pi txhawm rau txheeb xyuas tias nws tau siv los ntawm Pi's USB chaw nres nkoj. Koj tseem yuav siv qhov kev sib txuas no rau kev sib txuas lus ntawm Arduino's serial.println () muaj nuj nqi, uas yuav tau txais los ntawm Raspberry Pi.
Kauj Ruam 3: Sau Ib co Cai rau Arduino
Tam sim no tias Arduino txuas nrog nws yuav tsum muaj peev xwm nyeem tau los ntawm lub ntsuas pa thiab xa mus rau Raspberry Pi. Txhawm rau ua qhov no, ob peb kab ntawm cov cai yuav tsum tau ua: Arduino yuav tsum siv cov lus sib piv los ntawm lub ntsuas hluav taws xob thiab tom qab ntawv sau nws mus rau qhov txuas txuas, uas yuav tso cai rau Pi nyeem nws. Ib qho piv txwv ntawm yuav ua li cas no suav nrog hauv daim duab.
Kauj Ruam 4: Sau qee Cov Cai rau Raspberry Pi
Tam sim no koj yuav xav tau qee cov cai ntawm lwm qhov kawg kom "ntes" cov ntaub ntawv los ntawm Arduino thiab tso tawm hauv internet. Txhawm rau ua qhov no peb yuav siv Python hauv peb qhov piv txwv nrog Flask, uas yuav cia peb ua haujlwm rau lub vev xaib nrog cov ntaub ntawv ntsuas nrog rau qhov nruab nrab ntawm lub ntsuas qhov nyeem yav dhau los. Koj yuav tsum tau ntshuam cov qauv uas pom hauv daim duab rau lub vev xaib thiab kev sib txuas chaw nres nkoj txuas mus ua haujlwm.
Tom ntej no, koj yuav xav pib qhov txuas tshiab txuas thiab sau chav kawm ntawv uas yuav nyeem los ntawm Arduino thiab dhau cov ntaub ntawv ntawd mus rau peb Txoj Kev Flask, uas tau qhia hauv daim duab thib ob. Thaum kawg, koj yuav xav ua lub vev xaib hauv HTML yog li peb tuaj yeem pom peb cov ntaub ntawv tiag. Ib qho piv txwv ntawm qhov koj tuaj yeem ua qhov no tau suav nrog ntawm no.
Kauj Ruam 5: Tsim Rooj plaub thiab sim nws
Thaum kawg, thaum koj tau sim koj lub ntsuas cua, koj tuaj yeem tsim rooj plaub rau nws thiab sim nws! Koj tuaj yeem ua rooj plaub nrog lub tshuab luam ntawv 3D (cov ntaub ntawv ua ntej rau Pi thiab Arduino twb muaj lawm) lossis tseem tsim ib qho tawm ntawm cov duab los qhia. Ib qho piv txwv ntawm ob qho no suav nrog saum toj no. Peb tau txais peb kis los ntawm Thingiverse (ntawm no thiab ntawm no). Thaum kawg, qhov kev xaiv yog nyob ntawm koj! Zoo siab tsev!
Pom zoo:
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: 5 Cov Kauj Ruam (nrog Duab)
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: Hauv Cov Lus Qhia no kuv qhia koj li cas kuv ntxiv kev siv tshuab rau kuv qhov muag tsis pom. Kuv xav kom muaj peev xwm ntxiv thiab tshem tawm qhov kev siv tshuab nws, yog li txhua qhov kev teeb tsa yog clip ntawm.Qhov tseem ceeb yog: Stepper motor Stepper tsav tswj bij ESP-01 Iav thiab teeb tsa
Saib Xyuas thiab Sau Kub Nrog Bluetooth LE thiab RaspberryPi: 9 Kauj Ruam (nrog Duab)
Saib Xyuas thiab Sau Kub Nrog Bluetooth LE thiab RaspberryPi: Cov lus qhia no yog hais txog yuav ua li cas ua ke ntau qhov ntsuas kub ntsuas nrog Bluetooth LE sensor kab laum los ntawm Blue Radios (BLEHome) thiab RaspberryPi 3BT ua tsaug rau kev txhim kho ntawm Bluetooth LE tus qauv, muaj tam sim no tuaj yeem siv tau
DIY Huab Cua Raid Siren Nrog Cov Tiv Thaiv thiab Capacitors thiab Transistors: 6 Cov Kauj Ruam (nrog Duab)
DIY cua Raid Siren Nrog Cov Tiv Thaiv thiab Capacitors thiab Transistors: Qhov pheej yig Air Raid Siren DIY txoj haujlwm yog qhov tsim nyog rau kev tshawb fawb tus kheej oscillation Circuit tsim los ntawm tsuas yog resistors thiab capacitors thiab transistors uas tuaj yeem txhawb koj txoj kev paub. Thiab nws yog qhov tsim nyog rau Kev Tiv Thaiv Kev Kawm Txuj Ci rau Cov Menyuam, hauv
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: Tswj 8 qhov hloov pauv hloov siv nodemcu thiab ir tus txais tshaj wifi thiab ir chaw taws teeb thiab hauv app.the ir tej thaj chaw deb ua haujlwm ywj pheej ntawm wifi txuas. NTUJ
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: 13 Kauj Ruam (nrog Duab)
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: Intro: Qhov no yog Txoj Haujlwm uas siv Arduino board, Sensor (DHT11), lub khoos phis tawj Windows thiab Kev Ua Haujlwm (rub tawm dawb) program los tso saib Kub, Cov ntaub ntawv vaum hauv digital thiab bar kab ntawv, tso tawm lub sijhawm thiab hnub tim thiab suav lub sijhawm suav