Cov txheej txheem:
- Kauj Ruam 1: Cheeb Tsam
- Kauj Ruam 2: Coj Matrix
- Kauj Ruam 3: Sensor DHT
- Kauj ruam 4: Moos
- Kauj ruam 5: IOT
- Kauj Ruam 6: Cov Qauv Hluav Taws Xob
- Kauj Ruam 7: Arduino Code
- Kauj Ruam 8: Siv
Video: Bright Ball IOT: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Txoj haujlwm no yog ua los ntawm kev tswj hwm, los ntawm app Blynk, matrix ntawm neopixel, txij li lub teeb yooj yim tsis txaus Kuv ntxiv lub moos thiab ntsuas kub thiab qhov ntsuas cua, tab sis peb pom hauv ntxaws.
Kauj Ruam 1: Cheeb Tsam
1: Arduino R3
16: NeoPixel WS2812B
1: LCD 16x2 nrog I2C module
1: RTC (Lub Sijhawm Tiag) DS 1307
1: DHT 22 (ntsuas kub thiab av noo)
1: DC DC Hloov Kho Kauj Ruam Down
1: Tawm Txoj Cai LM1117
1: ESP5266-01
3: Khawm Hloov
1: Diverter
1: Diffuser rau sab nrauv opal dawb pob teeb
1: Lub thawv hluav taws xob sib txuas
1: Resistor 220 ohm
1: Resistor 510 ohm
1: Resistor 1K ohm
1: Resistor 470 ohm
3: Diode 1N4007
Cov xov hlau
Kauj Ruam 2: Coj Matrix
Kuv tau tsim cov kab me me ntawm nepixel zoo li hauv daim duab hauv qab no, nws tau tswj los ntawm Arduino nrog lub tsev qiv ntawv "Adafruit_NeoPixel.h", nws yog qhov kaj heev thiab nws tau pom zoo kom tsis txhob saib, thaum lub LEDs tau qhib.
Kauj Ruam 3: Sensor DHT
Kuv siv DHT 22 lub ntsuas los saib xyuas ib puag ncig ib puag ncig, LED xim sib txawv, sawv cev rau qhov ntsuas kub, hauv 12 xim sib txawv, los ntawm xiav (txias) mus rau liab (kub).
Kauj ruam 4: Moos
Lub moos tau tswj hwm los ntawm RTC, Kuv siv DS1307 tab sis nws tseem tuaj yeem haum DS3231, kom paub meej saib "Clock Set Date Time", tsis sib thooj rau qhov haujlwm ntawd, Kuv tshem tawm cov rub tawm hauv cov nyees khawm, P1, P2 thiab P3, uas tau siv los kho lub sijhawm, thiab kuv tau hloov pauv me me hauv cov cai.
Kauj ruam 5: IOT
Arduino txuas nrog internet ntawm ESP8266, uas nyob rau hauv, txuas nrog App Blynk
Los ntawm lub xov tooj koj tuaj yeem hloov xim ntawm lub teeb nyob ntawm qhov kev xav. Cov xim tau teeb tsa raws li hauv qab no:
V1 = Liab
V2 = Ntsuab
V3 = Blu
V5 = Daj
V6 = Ntshav
V7 = Cyan
V8 = Dawb
V4 = Kub
Kauj Ruam 6: Cov Qauv Hluav Taws Xob
Raws li koj tuaj yeem pom los ntawm daim duab kab hluav taws xob, lub plawv ntawm Circuit yog "Arduino", hauv kuv qhov xwm txheej kuv siv "Arduino Nano".
Rau tus pin A4 thiab A5 txuas nrog rau SDA thiab SCL ntawm I2C 16x2 Zaub, thiab RTC.
Qhov ntsuas kub thiab av noo tau txuas nrog Pin 4, dhau los ntawm tus tiv thaiv rub-Up.
Diverter, txuas nrog tus pin 12 ntawm Arduino, hloov pauv los ntawm IOT hom mus rau kev ua si zoo ntawm lub teeb, hu ua "zaj sawv".
Txhawm rau ua kom lub zog ESP8266 Kuv siv LM1117 tus tswj hwm, thaum txo qis qhov hluav taws xob ntawm RTX, Kuv tau siv qhov sib cais tiv thaiv (R1-R2).
Pawg D1, D2, D3 muaj lub luag haujlwm tiv thaiv:
- D1 tiv thaiv tiv thaiv rov qab polarity.
- D2, yog tias peb hloov Arduino code, tiv thaiv kev pub mis ntawm Neopixel matrix.
- D3 txo qis 5.6 Volts mus rau 5 Volts
Kauj Ruam 7: Arduino Code
Code los ntawm create.arduino.cc:
cov tsev qiv ntawv:
- Wire.h - Arduino IDE
- RTClib.h -
- LiquidCrystal_I2C.h -
- DHT.h-https://github.com/adafruit/DHT-sensor-library
- Adafruit_NeoPixel.h -
- ESP8266_Lib.h -
- BlynkSimpleShieldEsp8266.h -
Parameters yuav tsum tau teev nyob rau hauv cov cai:
- char auth = "YourAuthToken"; sau tus lej Token ntawm app Bynk
- Blynk.begin (auth, wifi, "ssid", "password"); nkag mus rau SSID thiab tus password rau koj lub router Wi -nkaus
Kauj Ruam 8: Siv
Txij li thaum kuv tus miv tsis nyiam tsob ntoo Christmas, thaum lub caij so, kuv siv lub teeb no hauv "hom zaj sawv"
Pom zoo:
$ 100 Super Bright Flashlight rau Hauv $ 10!: 5 Cov Kauj Ruam
$ 100 Super Bright Flashlight rau Hauv Qab $ 10!: Cia kuv hais ncaj qha rau pem hauv ntej qhov kev tshoov siab rau Cov Lus Qhia no tau txais txiaj ntsig rau dchall8 rau nws Tactical Teeb nyem Qhia. Kuv xav tias yuav tsum muaj txoj hauv kev yooj yim dua los hloov lub teeb nyem me dua nrog kho vajtse tsawg dua thiab ib qho uas siv sijhawm tsawg dua. Kuv p
Bright Controllable Sunrise Teeb: 6 Kauj Ruam
Lub Teeb Pom Kev Tuaj Pom Hnub Ci: Koj puas tau sawv thaum 7 teev sawv ntxov, lub sijhawm ib txwm koj xav tau sawv los ua haujlwm, thiab pom koj tus kheej hauv qhov tsaus ntuj? Lub caij ntuj no yog lub sijhawm txaus ntshai, puas yog? Koj yuav tsum sawv thaum ib tag hmo (txwv tsis pub vim li cas nws thiaj tsaus ntuj?), Rhuav koj tus kheej tawm ntawm lub txaj thiab
LED Table Tennis Ball-Ball: 16 Kauj Ruam (nrog Duab)
LED Table Tennis Ball-Ball: Cov Dab Neeg Ua ke nrog kuv qhov kev txaus siab ua "kos duab" los ntawm kev rov ua dua cov duab geometric Kuv
Yuav Ua Li Cas Super Bright Flash Teeb Nrog LED USB: 7 Kauj Ruam
Yuav Ua Li Cas Super Bright Flash Teeb Nrog LED USB: Ua ntej Saib cov vis dis aus kom nkag siab meej
DIY Super Bright Rechargeable Flashlight (Micro Usb Charging Port): 6 Kauj Ruam
DIY Super Bright Rechargeable Flashlight (Micro Usb Charging Port): Kuv tsis ntev los no tau pom cov vis dis aus hauv youtube yuav ua li cas thiaj ua lub teeb nyem tab sis lub teeb nyem uas nws tsim tsis muaj zog npaum li nws kuj siv lub xovtooj ntawm tes los txhawb lawv.Link https: // bit .ly/2tyuvlQ Yog li kuv tau sim ua kuv tus kheej ntawm nws uas muaj zog dua