Cov txheej txheem:

ESP32 LED Matrix Moos: 8 Kauj Ruam
ESP32 LED Matrix Moos: 8 Kauj Ruam

Video: ESP32 LED Matrix Moos: 8 Kauj Ruam

Video: ESP32 LED Matrix Moos: 8 Kauj Ruam
Video: Finishing off a WiFi controlled LED matrix 2024, Kaum ib hlis
Anonim
ESP32 LED Matrix Moos
ESP32 LED Matrix Moos

Qhov no yog txuas ntxiv ntawm ESP8266 LED Matrix Clock project.

Tus sau ntawm thawj txoj cai hloov kho nws rau ESP32 (ua tsaug ntau rau schreibfaul1!) Yog li kuv txiav txim siab tseem yuav hloov lub Clock uas kuv twb tau ua lawm.

Kauj Ruam 1: Qhov Chaw thiab Cov Cuab Yeej

Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej

Qhov:

  • 6 x 8x8 MAX7219 LED Matrix
  • 1 x ESP32 Pawg Thawj Coj
  • 1 x KY-018 Photoresistor Module
  • 1 x DHT11 Sensor
  • 1 x Micro USB ntsaws
  • 1 x pasta khob
  • 1 x 5.5mm X 2.1mm DC Lub Hwj Huam Muab Khoom Hlau Hlau Vaj Huam Sib Luag Mount
  • 1 x USB rau 5.5mm X 2.1mm chim jack 5v dc fais fab cable
  • 1 x Qhov rai tint zaj duab xis
  • 11 x poj niam rau poj niam dupont xov hlau

Cov Cuab Yeej:

  • cam khwb cia hlau
  • lub raj mis tsuag
  • rab riam hobby
  • daim kab xev ob tog

Txhua ntu tuaj yeem nrhiav tau yooj yim los ntawm ebay/aliexpress thiab/lossis khw muag khoom hauv zos.

Kauj Ruam 2: Npaj LED Matrix

Npaj LED Matrix
Npaj LED Matrix
Npaj LED Matrix
Npaj LED Matrix

Kuv pom nws yooj yim dua yuav 2 x 4pcs cov qauv, txiav ib qho ntawm lawv ib nrab thiab muab nws txuas rau lwm qhov thaum tswj kev taw qhia luam tawm ntawm PCB.

Kauj Ruam 3: Txuas lub LED Matrix Display, LDR thiab DHT11 mus rau ESP32

Txuas lub LED Matrix Display, LDR thiab DHT11 rau ESP32
Txuas lub LED Matrix Display, LDR thiab DHT11 rau ESP32
Txuas lub LED Matrix Display, LDR thiab DHT11 rau ESP32
Txuas lub LED Matrix Display, LDR thiab DHT11 rau ESP32
Txuas lub LED Matrix Display, LDR thiab DHT11 rau ESP32
Txuas lub LED Matrix Display, LDR thiab DHT11 rau ESP32

Solder tus pin headers ntawm cov qauv tom qab ntawd siv dupont cables txuas lawv raws li hauv qab no.

MAX7219

  • VCC - VIN
  • GND - NCO
  • DIN -D23 hli
  • TSO - D15
  • NPE - D18

DHT11

  • S -D4 ua
  • + - 3V3
  • --- GND UA

LDR

  • S -D34
  • + - 3V3
  • --- GND UA

Kauj Ruam 4: Siv Hnub Ci Zaj Duab Xis rau ntawm Pasta Jar

Thov Hnub Ci Zaj Duab Xis rau Zaub Mov Zaub Mov
Thov Hnub Ci Zaj Duab Xis rau Zaub Mov Zaub Mov
Thov Hnub Ci Zaj Duab Xis rau Zaub Mov Zaub Mov
Thov Hnub Ci Zaj Duab Xis rau Zaub Mov Zaub Mov
Thov Hnub Ci Zaj Duab Xis rau Zaub Mov Zaub Mov
Thov Hnub Ci Zaj Duab Xis rau Zaub Mov Zaub Mov
Thov Hnub Ci Zaj Duab Xis rau Zaub Mov Zaub Mov
Thov Hnub Ci Zaj Duab Xis rau Zaub Mov Zaub Mov

Kuv tau txiav txim siab tsuas yog npog ib feem ntawm lub thawv nrog zaj duab xis kom cov khoom seem pom.

Tom qab qee qhov kev sim thiab yuam kev kuv tau pom tias qhov 'zais cia' yog kom muaj ob lub thawv thiab zaj duab xis kom ntub li sai tau nrog cov xab npum kom tuaj yeem hloov kho raws li koj thov. Siv lub raj tshuaj tsuag kom txhua yam zoo thiab ntub thiab rab riam hobby txiav cov zaj duab xis ntau dhau. Thaum nws ua kom qhuav tag nrho zaj duab xis yuav tsum zoo nkauj zoo ncab rau ntawm lub hwj.

Kauj Ruam 5: Npaj DC Power Supply Metal Jack

Npaj DC Power Supply Metal Jack
Npaj DC Power Supply Metal Jack
Npaj DC Power Supply Metal Jack
Npaj DC Power Supply Metal Jack
Npaj DC Power Supply Metal Jack
Npaj DC Power Supply Metal Jack
Npaj DC Power Supply Metal Jack
Npaj DC Power Supply Metal Jack

Cov laug 2 dupont xov hlau rau DC jack thiab tom qab ntawd txuas lub micro USB ntsaws.

Kuv siv tus pinout uas tau piav qhia ntawm no.

Laum tag nrho nyob nruab nrab ntawm lub hau lub hau thiab ntsaws DC jack.

Kuj laum qee qhov tseem ceeb hauv lub hau rau DHT11 sensor.

Kauj Ruam 6: Nyem rau ESP32 Module

Nyem rau ESP32 Module
Nyem rau ESP32 Module

Cov kauj ruam tom ntej yuav yog xa cov cai rau ESP32.

Thaum tus lej qub tuaj yeem pom ntawm no (ntau ua tsaug rau tus sau!) Koj tuaj yeem pom txuas nrog kuv cov ntawv ntawm nws uas suav nrog qhov hloov tshiab rau DHT11 thiab LDR sensors. Cov txheej txheem upload yog ncaj ncaj rau pem hauv ntej, tsuas yog tsis txhob hnov qab hloov kho qhov chaws nrog koj li ntawv pov thawj WiFi.

// Cov ntaub ntawv pov thawj ----------------------------------------#txhais SSID "### ## "; // Koj li ntaub ntawv pov thawj WiFi ntawm no#txhais PW "#####";

Kauj Ruam 7: Muab Txhua Yam Ua Ke

Image
Image

Nco ntsoov tias cov modules tsis kov ib qho ntawm cov qauv LED hu rau, thiab yog tias lawv ua, siv qee daim kab xev hluav taws xob los npog cov neeg sib tiv kom tsis txhob muaj qhov luv.

Tsis tas li, txhawm rau kom ntseeg tau tias cov zaub tsis txav ib zaug thaum kuv ntsia rov qab lub hau ntawm lub hwj, Kuv tau ntxiv qee daim kab xev rau hauv qab kawg ntawm nws kom qhov ntawd nyob qis qis hauv qab ntawm lub hwj. Txhua yam uas tseem tshuav yog txhawm rau txuas lub USB cable thiab qhov ntawd yog nws!

Kauj Ruam 8: Cov Tswv Yim Ntxiv

Ntxiv lub roj teeb thaub qab them los ntawm TP4056;

Tsim cov ntawv luam tawm 3d

Vam tias koj txaus siab rau txoj haujlwm no thiab yog tias koj muaj lus nug thov nug.

Ua tsaug rau koj nyeem!

Pom zoo: