Cov txheej txheem:

RGB Ring Thermometer: 4 Kauj Ruam
RGB Ring Thermometer: 4 Kauj Ruam

Video: RGB Ring Thermometer: 4 Kauj Ruam

Video: RGB Ring Thermometer: 4 Kauj Ruam
Video: 3D hologram fan portrait solution. Who wanna date this holographic sexy lady #3dhologramfan 2024, Kaum ib hlis
Anonim
RGB Ring Thermometer
RGB Ring Thermometer

Hauv kab lus no kuv yuav ua tus ntsuas cua sov siv 16 ntsis RGB Neo pixel ntiv nplhaib.

Qhov siab tshaj plaws uas tuaj yeem ntsuas nrog lub cuab yeej no yog 48 degrees Celsius.

Yog li vim nws siv 16 LEDs, txhua RGB LED yuav sawv cev rau 3 degrees Celsius.

Cov xim thiab tus lej ntawm LEDs yuav hloov kho rau qhov ntsuas kub. piv txwv li, ntsuas ntsuas kub yog 30 degrees Celsius. Leds uas yuav nyob yog 10 daim. Saib daim duab saum toj no. rau xim kuv siv gradations los ntawm ntsuab rau liab.

Kauj Ruam 1: Yuav Tsum Muaj Kev Koom Tes

Yuav tsum muaj Cheeb Tsam
Yuav tsum muaj Cheeb Tsam
Yuav tsum muaj Cheeb Tsam
Yuav tsum muaj Cheeb Tsam
Yuav tsum muaj Cheeb Tsam
Yuav tsum muaj Cheeb Tsam

Cheebtsam uas yuav tsum tau npaj:

  • Arduino nano cov
  • RGB Nplhaib Neo Pixels
  • DHT11
  • Jumper Hlau
  • USB mini tso
  • Pawg Thawj Coj

Yuav tsum muaj tsev qiv ntawv

  • DHT
  • Adafruit_NeoPixel

Kauj Ruam 2: Sib Sau Ua Ke Txhua Yam

Sib Sau Ua Ke Txhua Yam
Sib Sau Ua Ke Txhua Yam
Sib Sau Ua Ke Txhua Yam
Sib Sau Ua Ke Txhua Yam

Saib daim duab saum toj no txhawm rau ua cov khoom sib dhos

Arduino rau RGB & DHT

+5V ==> VCC RGB & (+) DHT

GND ==> GND RGB & (-) DHT

D2 ==> Hauv RGB

D4 ==> Tawm DHT

Kauj ruam 3: Programming

Programming
Programming

Rub tawm daim duab sketch uas kuv tso rau hauv qab no:

Kauj Ruam 4: Qhov tshwm sim

Qhov tshwm sim
Qhov tshwm sim
Qhov tshwm sim
Qhov tshwm sim

Saib daim duab saum toj no rau qhov tshwm sim.

Qhov ntsuas kub yog 30 degrees Celsius yog tias 3 degrees Celsius = 1 LED, tom qab ntawd 30 degrees Celsius = 10 LEDs. Thiab cais kuv siv gradations los ntawm ntsuab rau liab.

Pom zoo: