Cov txheej txheem:

Ntse Qhov Rooj: 3 Kauj Ruam
Ntse Qhov Rooj: 3 Kauj Ruam

Video: Ntse Qhov Rooj: 3 Kauj Ruam

Video: Ntse Qhov Rooj: 3 Kauj Ruam
Video: Tus Neeg Ruam - R-Lin Thoj | New Song [ Official MV ] Nkauj Tawm Tshiab 2023 Hmong Song 2023 2024, Hlis ntuj nqeg
Anonim
Ntse Qhov Rooj
Ntse Qhov Rooj
Ntse Qhov Rooj
Ntse Qhov Rooj

Ntse Qhov Rooj yog qhov kev daws teeb meem yooj yim los txuas koj lub qhov rooj rau lub xov tooj ntawm tes nrog ob peb kauj ruam yooj yim.

Ntse Qhov Rooj yuav ceeb toom rau koj thaum koj hnov qab xauv lub qhov rooj thiab thaum ib tus neeg tab tom los ze koj lub qhov rooj.

Peb yog leej twg?

Ob tug Computer Science cov tub ntxhais kawm los ntawm Interdisciplinary Center (IDC), Herzliya, Israel. Qhov Qhov Rooj Ntse Qhov Rooj no yog peb txoj haujlwm kawg hauv “Internet of Things (IoT)” chav kawm.

Sim peb qhov project? Qhia rau peb paub! Peb yuav nyiam hnov los ntawm koj yog tias koj muaj cov ntsiab lus los txhim kho lossis cov lus pom. Ntxiv mus, peb yuav nyiam kom tau qee cov duab!

Khoom siv

1 x ESP8266 board (Peb siv Wemos D1 mini)

1 x Micro-USB Cable

12 x jumper kab

1 x potentiometer

1 x ultrasonic sensor

1 x hais lus

Kauj Ruam 1: Cov Hluav Taws Xob

Cov Circuits
Cov Circuits

Hauv theem no, peb yuav txuas txhua lub ntsuas.

Ultrasonic ntsuas:

  • Txuas Vcc rau 5v
  • Txuas GND rau G
  • Txuas Trig rau D8
  • Txuas Echo rau D7

Potentiometer: Cov

  • Txuas GND rau G (sab laug ceg)
  • Txuas VCC mus rau 5v (sab xis)
  • Txuas nruab nrab txhais ceg rau A0

Hais lus:

  • Txuas GND rau G
  • Txuas Vcc rau D6

Kauj Ruam 2: Txhim Kho Cov Software Yuav Tsum Tau & Dashboards

Txhim Kho Cov Software Xav Tau & Dashboards
Txhim Kho Cov Software Xav Tau & Dashboards
Txhim Kho Cov Software Xav Tau & Dashboards
Txhim Kho Cov Software Xav Tau & Dashboards
Txhim Kho Cov Software Yuav Tsum & Dashboards
Txhim Kho Cov Software Yuav Tsum & Dashboards

Arduino IDE Cov

Nruab Arduino IDE:

www.arduino.cc/en/Guide/HomePage

Txhim kho cov "tsav tsheb" cuam tshuam rau ESP8266 cov laug cam rau koj Arduino IDE:

Adafruit

Tsim ib tus as khauj:

Mus rau 'Feeds' thiab ntxiv 2 txau:

  1. potentiometer
  2. ultrasonic

Tom qab ntawd, mus rau 'Dashboard' thiab tsim lub dashboard tshiab, tom qab ntawd nkag mus rau lub dashboard thiab ntxiv 2 thaiv, siv cov cim ntxiv rau ntawm sab xis ntawm nplooj ntawv:

  1. Ntxiv Gauge block, tom qab ntawd xaiv lub zog pub mis thiab paub tseeb tias tus nqi siab tshaj yog 1.
  2. Ntxiv Gauge block, tom qab ntawd xaiv ultrasonic pub thiab xyuas kom tseeb tias tus nqi siab tshaj yog 100.
  3. Nyem 'Txuag'.

App ntawm Blynk

IOS:

Google Ua Si:

Tsim tus account thiab tom qab ntawd:

  1. Ua ib qhov project Blynk. (thaum koj yuav ua nws koj yuav tau txais rau koj li email tseem ceeb pov thawj khaws cia, peb yuav siv nws hauv cov kauj ruam tom ntej).
  2. Kho lub app kom raws li koj lub rooj tsavxwm (hauv peb qhov xwm txheej, Wemos mini 1).
  3. Ntxiv ceeb toom widget. (Saib cov duab txuas rau kev teeb tsa).

Kauj Ruam 3: Txoj Cai

Txoj Cai
Txoj Cai

Cov cai tau txuas nrog thiab tau sau tseg zoo, kom yooj yim siv.

Qhib cov cai hauv Arduino IDE, nco ntsoov tias pawg thawj coj saib xyuas koj tab tom ua haujlwm yog qhov tseeb.

Thaum koj tab tom ua haujlwm saib xyuas lub xov tooj, nco ntsoov tias koj nyob ntawm 115200baud.

Daim ntawv ceeb toom tias muaj cov chaw hauv tus lej koj yuav tsum tau hloov kho raws li koj qhov haujlwm (xws li koj li WiFi cov ntsiab lus).

Txhua yam yog sau rau hauv cov ntaub ntawv.

Pom zoo: