Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Kauj Ruam 5: Hauv Visuino: Teem Cheebtsam
- Kauj Ruam 6: Kauj Ruam 5: hauv Visuino: Txuas Cov Khoom Siv
- Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 8: Ua si
Video: Visuino Breathalyzer Yuav Siv Li Cas MQ-3 Alcohol Gas Sensor: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov kev qhia no peb yuav siv Arduino UNO, OLED Lcd, MQ-3 Alcohol Gas Sensor module, thiab Visuino los tso saib cov cawv nyob ntawm Lcd thiab teeb tsa kev txwv. Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
Arduino UNO lossis lwm yam Arduino
MQ-3 Alcohol Gas Sensor module
OLED Lcd
Cov qhob cij
Jumper xov hlau
Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
Txuas GND los ntawm Arduino UNO rau tus pin breadboard (gnd)
Txuas 5V tus pin los ntawm Arduino UNO mus rau lub khob cij pin (zoo)
Txuas SCL los ntawm Arduino UNO rau OLED LCD tus pin (SCL)
Txuas SDA los ntawm Arduino UNO rau OLED LCD tus pin (SDA)
Txuas OLED LCD tus pin (VCC) mus rau tus pin breadboard (zoo)
Txuas OLED LCD tus pin (GND) rau tus pin breadboard (GND)
Txuas MQ-3 Alcohol Gas Sensor module tus pin (VCC) mus rau lub khob cij pin (zoo)
Txuas MQ-3 Alcohol Gas Sensor tus pin (GND) rau tus pin breadboard (GND)
Txuas MQ-3 Alcohol Gas Sensor module tus pin (A0) rau Arduino UNO tus pin Analog (1)
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Cov Lus Qhia no teeb tsa Arduino IDE rau program ESP 8266! Visuino: https://www.visuino.eu kuj yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Ntxiv 2X "Cov Ntawv Sau Tus Nqi" tivthaiv
- Ntxiv 2X "Sib Piv Tus Nqi" tivthaiv
- Ntxiv Zaub OLED I2C tivthaiv
- Ntxiv "Text Multi Merger" tivthaiv
- Ntxiv "Lub Sijhawm Nruab Nrab" tivthaiv
Kauj Ruam 5: Hauv Visuino: Teem Cheebtsam
- teeb cov ntawv sau ntawm "TextValue1" tivthaiv rau "qaug cawv heev!"
- teeb cov ntawv sau ntawm "TextValue2" tivthaiv rau "Ok"
- teeb tus nqi ntawm "CompareValue1" tivthaiv rau "0.3" >> Qhov no yog qhov ntsuas pom, koj tuaj yeem teeb tsa koj tus kheej tus nqi
- teeb tus nqi ntawm "CompareValue2" tivthaiv rau "0.3" >> Qhov no yog qhov ntsuas pom, koj tuaj yeem teeb tsa koj tus kheej tus nqi
- teeb tsa CompareType ntawm "CompareValue1" tivthaiv rau "ctBiggerOrEqual"
- teeb tsa CompareType ntawm "CompareValue2" tivthaiv rau "ctSmaller"
- teeb Lub Sijhawm ntawm "AveragePeriod1" tivthaiv rau "500000" qhov no yog sib npaug 0.5 ntawm ib pliag, nws txhais tau tias LCD yuav qhia vlue txhua 0.5s
Ob npaug nyem rau ntawm DisplayOled1 tivthaiv
- ntxiv Kos cov ntawv rau sab laug thiab teeb cov ntawv rau "Alc Level:"
- ntxiv 2X Text field rau sab laug (saib daim duab) thiab teeb Y: 20 rau "text field1" thiab y: 40 rau "text field2"
Kauj Ruam 6: Kauj Ruam 5: hauv Visuino: Txuas Cov Khoom Siv
- Txuas DisplayOled1 tus pin [Tawm I2c] rau Arduino I2C tus pin [hauv]
- Txuas Arduino Analog tus pin tawm [1] rau Nruab NrabPeriod1 tus pin [hauv] thiab CompareValue1 tus pin [hauv] thiab CompareValue2 tus pin [hauv]
- Txuas AveragePeriod1 tus pin [tawm] rau OLED elkements Text Field1 tus pin [hauv]
- Txuas CompareValue1 tus pin [tawm] rau TextValue1 tus pin [moos]
- Txuas CompareValue2 tus pin [tawm] rau TextValue2 tus pin [moos]
- Txuas TextValue1 tus pin [tawm] rau TextMultiMerger1 tus pin [0]
- Txuas TextValue2 tus pin [tawm] rau TextMultiMerger1 tus pin [1]
- Txuas TextMultiMerger1 tus pin [tawm] rau OLED cov ntsiab lus Text Field2 tus pin [hauv]
Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.
Kauj ruam 8: Ua si
Yog tias koj siv zog Arduino UNO module, OLED Lcd yuav pib qhia tus nqi ntawm MQ-3 Alcohol Gas Sensor. Yog tias koj tso Alcohol swab lossis Alcohol ze rau lub sensor nws yuav qhia tus nqi ntawm lub LCD.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau qhov Qhia Qhia no. Koj tuaj yeem rub tawm thiab qhib nws hauv Visuino:
Pom zoo:
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM MUAJ KEV LAG LUAM CIRCUIT Siv D882 Tus Neeg Soj Ntsuam: 3 Kauj Ruam
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM TAU LWM YAM CIRCUIT Siv D882 Tus Kws Tshaj Lij: HELLO phooj ywg, Zoo siab txais tos rau kuv CHANNEL, Hnub no kuv yuav qhia koj li cas kom ua tau CIRCUIT ntawm kev siv hluav taws xob tsis siv neeg lub teeb pom kev siv D882
Qhia: Yuav Siv Li Cas Mg811 Co2 Carbon Dioxide Gas Sensor: 3 Kauj Ruam
Tutorial: Yuav Siv Mg811 Co2 Carbon Dioxide Gas Sensor: Nqe lus piav qhia: Cov ntawv qhia no yuav qhia koj ob peb qib yooj yim txog yuav siv Mg811 Co2 Gas Sensor los ntawm kev siv Arduino Uno. Qhov kawg ntawm qhov kev qhia no, koj yuav tau txais txiaj ntsig los ntawm kev sib piv thaum lub ntsuas hluav taws xob tuaj yeem ntes lub suab thiab tsis tuaj yeem ntes ib qho mov
Yuav Ua Li Cas Calibrate & Siv MQ9 Gas Sensor W/ Arduino: 8 Kauj Ruam
Yuav Ua Li Cas Calibrate & Siv MQ9 Gas Sensor W/ Arduino: Koj tuaj yeem nyeem qhov no thiab lwm yam kev qhia zoo ntawm ElectroPeak lub vev xaib raug cai Saib ua ntej Hauv qhov kev qhia no, koj yuav kawm paub ntsuas thiab siv MQ9 roj sensor nrog Arduino board.What Koj Yuav Kawm: Dab tsi gas sensor yog thiab nws ua haujlwm li cas. Cov
Yuav Siv Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Mus Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Rau Koj Yuav Tsiv Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Rau Koj Yuav Ua Li Cas Thiaj Li Siv Tau Li Li Ion Roj Teeb
Yuav Txuas Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li Li li li li li li li li ntawm qhov kev nej์ nej cov teeb meem, nej nej yuav tsum them 2x3.7v roj teeb txuas nrog sereis.here
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Tseem Ceeb: 4 Kauj Ruam
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Cov Haujlwm Tseem Ceeb: Peb yuav qhia koj li cas qhib MAC Terminal. Peb kuj tseem yuav qhia koj ob peb yam hauv Terminal, xws li ifconfig, hloov cov npe, nkag mus rau cov ntaub ntawv, thiab arp. Ifconfig yuav tso cai rau koj los tshuaj xyuas koj tus IP chaw nyob, thiab koj li MAC ad