Cov txheej txheem:

Arduino 24 Teev Kub Kub Vaum Zaub: 3 Kauj Ruam (nrog Duab)
Arduino 24 Teev Kub Kub Vaum Zaub: 3 Kauj Ruam (nrog Duab)

Video: Arduino 24 Teev Kub Kub Vaum Zaub: 3 Kauj Ruam (nrog Duab)

Video: Arduino 24 Teev Kub Kub Vaum Zaub: 3 Kauj Ruam (nrog Duab)
Video: How To Solve A Rubik's Cube Malayalam | Rubik's Cube Malayalam 2024, Hlis ntuj nqeg
Anonim
Arduino 24 Teev Kub Kub Zaub Zaub
Arduino 24 Teev Kub Kub Zaub Zaub

DHT11 yog lub ntsuas ntsuas zoo los pib nrog. Nws yog pheej yig thiab yooj yim los txuas rau Arduino. Nws tshaj tawm qhov ntsuas kub thiab av noo nrog kwv yees li 2%, thiab cov ntawv qhia no siv Gameduino 3 ua cov duab teeb duab, qhia 24 teev keeb kwm.

Kuv siv dab tsi

1 Arduino, np. Uno

1 Kev ua si 3

1 DHT11 ntsuas kub/av noo

3 daim hlau, txog 6"

Kauj Ruam 1: Txuas DHT11

Txuas DHT11
Txuas DHT11
Txuas DHT11
Txuas DHT11

DHT11 xav tau peb qhov kev sib txuas: hauv av, 5 lub zog hluav taws xob, thiab cov ntaub ntawv. Kuv tab tom siv DHT11 uas suav nrog hauv qhov pheej yig 37-hauv-1 sensor sau. Nws muaj 3 lub cim qhia meej.

Muaj ob peb txoj hauv kev txuas DHT11 - ntawm no kuv tsuas yog cuam tshuam peb lub xov hlau me rau hauv Arduino lub qhov nyob.

Koj tuaj yeem pom lawv txuas nrog:

  • GND (dub)
  • +5V (liab)
  • A0 (daj)

Qhov ntawd yog txhua qhov DHT11 xav tau - tsawg heev. Cov chaw tsim khoom thov tias nws ua haujlwm zoo nrog cov xov hlau ntev txog 20 feet.

Kauj ruam 2: Txuas Cov Zaub

Txuas Cov Zaub
Txuas Cov Zaub

Txuas Gameduino mus rau Arduino, ua kom ntseeg tau tias cov pins tau zaum tag nrho.

Gameduino 3 muaj daim npav microSD, tab sis daim ntawv thov no tsis siv microSD - yog li koj tuaj yeem tso lub qhov khoob.

Kauj Ruam 3: Nruab GD Library thiab Thauj Khoom

Nruab GD Lub Tsev Qiv Ntawv thiab thauj khoom Sketch
Nruab GD Lub Tsev Qiv Ntawv thiab thauj khoom Sketch

Piv txwv tias koj twb paub zoo txog Arduino IDE thawj zaug rub tawm Gameduino lub tsev qiv ntawv. Cov lus qhia teeb tsa yog ntawm:

gameduino.com/code

Koj yuav xav khiav "nyob zoo ntiaj teb" piv txwv kom paub tseeb tias Arduino/Gameduino ua haujlwm.

Tom qab ntawv rub daim duab no mus rau Arduino.

Nws yuav txuas tam sim rau DHT11 thiab tso saib qhov kub thiab txias tam sim no. Raws li 24 teev dhau los, cov kab ntawv yuav tsim. Koj tuaj yeem tawm ntawm daim duab kos tsis tu ncua - nws ib txwm qhia qhov ntsuas kub/av noo ntawm 24 teev tas los.

Pom zoo: