Cov txheej txheem:

Arduino Plant Monitor Nrog Av Capacitive Sensor - Qhia: 6 Cov Kauj Ruam
Arduino Plant Monitor Nrog Av Capacitive Sensor - Qhia: 6 Cov Kauj Ruam

Video: Arduino Plant Monitor Nrog Av Capacitive Sensor - Qhia: 6 Cov Kauj Ruam

Video: Arduino Plant Monitor Nrog Av Capacitive Sensor - Qhia: 6 Cov Kauj Ruam
Video: How to Check your mirrors at airbnb 2024, Hlis ntuj nqeg
Anonim
Image
Image

Hauv qhov kev qhia no peb yuav kawm paub yuav ua li cas txhawm rau txheeb xyuas cov av ya raws siv lub peev xwm ntsuas dej noo nrog OLED Zaub thiab Visuino.

Saib Video!

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
  • Arduino Uno lossis lwm lub Rooj Tswjhwm Saib Arduino
  • Capacitive Analog Av Moisture Sensor
  • OLED Zaub
  • Cov qhob cij
  • Jumper xov hlau
  • Visuino software: Rub tawm ntawm no

Kauj ruam 2: Circuit Court

Qhov Circuit
Qhov Circuit
  • Txuas Capacitive Soil sensor tus pin GND rau Arduino tus pin GND
  • Txuas Capacitive Soil sensor tus pin VCC rau Arduino tus pin 5V
  • Txuas Capacitive Soil sensor analog pin AOUT rau Arduino analog pin 0
  • Txuas OLED Display pin VCC rau Arduino tus pin 5V
  • Txuas OLED Display pin GND rau Arduino tus pin GND
  • Txuas OLED Display pin SDA rau Arduino pin SDA
  • Txuas OLED Display pin SCL rau Arduino tus pin SCL

Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type

Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type

Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Rub tawm Dawb version lossis sau npe rau Kev Sim Dawb.

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, Teeb & Txuas Cheeb Tsam

Hauv Visuino Ntxiv, Teeb & Txuas Cheeb Tsam
Hauv Visuino Ntxiv, Teeb & Txuas Cheeb Tsam
Hauv Visuino Ntxiv, Teeb & Txuas Cheeb Tsam
Hauv Visuino Ntxiv, Teeb & Txuas Cheeb Tsam
Hauv Visuino Ntxiv, Teeb & Txuas Cheeb Tsam
Hauv Visuino Ntxiv, Teeb & Txuas Cheeb Tsam
  • Ntxiv OLED tivthaiv
  • Tam sim no Ob npaug nyem rau ntawm "DisplayOLED1" tivthaiv.
  • Hauv cov ntsiab lus qhov rai luag "Text field" mus rau sab laug, thiab hauv cov khoom vaj khoom tsev teeb tsa qhov loj me rau 3
  • Kaw lub Elements window

Txuas Arduino board Analog pin 0 rau "DisplayOLED1"> Text Field1 pin In

Kauj Ruam 5: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code

Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso 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 6: Ua si

Yog tias koj ua lub zog Arduino UNO tus qauv, OLED Zaub yuav pib qhia pom cov nroj tsuag muaj nuj nqis.

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 Cov Lus Qhia no, koj tuaj yeem rub nws thiab qhib nws hauv Visuino:

Pom zoo: