Cov txheej txheem:
- Kauj ruam 1: Yuav tsum tau ua
- Kauj ruam 2: Luam 3D
- Kauj Ruam 3: Hluav Taws Xob Hluav Taws Xob
- Kauj Ruam 4: Kev teeb tsa ESP-12E
- Kauj ruam 5: Txoj Cai
- Kauj Ruam 6: Sib sau ua ke
- Kauj Ruam 7: Cov phiaj xwm yav tom ntej
Video: Teeb Teeb - Huab Cua thiab Ceeb Toom: 7 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Thaum tshawb xyuas los ntawm ntau yam, Kuv pom qhov no zoo kawg nkaus Wave Teeb thiab Kuv HAD los tsim nws.
www.thingiverse.com/thing: 774456
Lub teeb tau tsim zoo heev thiab luam tawm yam tsis muaj kev txhawb nqa (xav tau luam tawm ntawm ib sab)
Tsis tas li ntawd, muaj lub hauv paus teeb uas siv cov hlua LED
Thiab ntawm chav kawm, kuv tsis tuaj yeem yooj yim tso nws ua lub teeb ntawm lub txaj. Kuv yuav tsum ua nws wifi thiab qhia huab cua. Yog li, kuv siv txhua qhov ESP8266 module nrog WS2812B LEDs los tswj cov xim ntawm lub teeb raws li kev kwv yees hnub no. Tsis tas li ntawd, lub teeb hloov mus thaum 10:00 teev tsaus ntuj thiab qhib thaum 6:00 teev sawv ntxov.
Kauj ruam 1: Yuav tsum tau ua
Koj yuav xav tau cov khoom hauv qab no los tsim lub teeb nthwv dej no:
Cov Cuab Yeej:
- 3D tshuab luam ntawv - ib qho uas tuaj yeem luam tsawg kawg 30-35cm
- USB-TTL module rau program ESP-12E
- Kub Nplaum Phom
- Soldering Hlau
Khoom siv:
- PLA - dawb rau lub teeb thiab lwm xim rau lub hauv paus
- 30 WS2812B Chaw Nyob RGB LEDs
- ESP8266 - 12E
- 74HCT245N
- 5V Fais fab mov
- 5V-3.3V Fais fab hloov pauv
- Ob peb header pins thiab resistors
- Solder
Kauj ruam 2: Luam 3D
3D Luam cov ntawv hauv qab no
Teeb
- Luam tawm siv PLA dawb tig rau sab
- Kev txhawb nqa thiab Rafts tsis xav tau
- Txawm hais tias kuv tau siv 5mm brim kom ntseeg tau tias nws nyob qis qis rau lub txaj thaum luam ntawv
-
Kuv siv cov chaw hauv qab no:
- 0.8 hli volcano nozzle thiab 0.3mm txheej siab.
- 2 puag ncig
- 100% infill (qhov no tsis muaj teeb meem tiag tiag vim tias daim nyias nyias, lawv tau ntim rau hauv lawm)
- Ceeb toom - qhov no yog cov ntawv loj loj thiab siv sijhawm ntau. Yog li, yog tias koj tsis xis nyob tawm koj lub tshuab luam ntawv ib hmo (lossis ntau hmo) qhov no tsis yog rau koj. Tau nws luam tawm siv 3Dhubs. Kuv siv ~ 30 teev
Sawv
- Kuv hloov kho sawv ntsug siv TinkerCAD los tsim kab noj hniav hauv paus rau cov khoom siv hluav taws xob. Koj tuaj yeem rub nws ntawm no:
-
Luam tawm siv cov xim PLA (Kuv siv ntoo ntim):
- 0.8 hli volcano nozzle thiab 0.3mm txheej siab.
- 2 puag ncig
- 20% ntxiv
- Ceeb toom txawm hais tias - kab noj hniav kuv tau tsim tsis muaj kev txhawb nqa thiab sab hauv tau ntxais me ntsis (tshwj xeeb nrog cov ntoo PLA uas tsis ua choj zoo)
Sab saum toj
Qhov no yog ib qho xaiv tau. Kuv tsim nws hauv TinkerCAD kom zais lub qhov nyob saum lub teeb. Nws tsis muaj dab tsi zoo, tab sis ua haujlwm.
- https://www.tinkercad.com/things/5aD6V4O0jpy
- Kev txhawb nqa thiab Rafts tsis xav tau
-
Kuv siv cov chaw hauv qab no:
- 0.8 hli volcano nozzle thiab 0.3mm txheej siab.
- 2 puag ncig
- 30% ua ntej
Kauj Ruam 3: Hluav Taws Xob Hluav Taws Xob
Lub Circuit Court siv rau lub teeb no yooj yim heev thiab yog tias koj WS2812Bs (qee qhov ua, qee qhov tsis ua) ua haujlwm ntawm 3.3V teeb liab, nws yooj yim dua li koj tuaj yeem zam dhau 74HCT245N.
Lub hauv paus tseem ceeb (saib schematic saum toj no):
-
ESP-12E (koj tuaj yeem hla cov theem no yog tias koj siv ib qho ntawm cov qauv tsim ua ntej los ntawm Adafruit, Sparkfun, thiab lwm yam):
- Txuas tus pin 3 thiab 8 rau 3.3V
- Txuas tus pin 1, 11 thiab 12 rau 3.3V los ntawm 10k resistor
- Txuas tus pin 9 thiab 10 rau GND
- Txuas tus pin 12 rau GND los ntawm kev qhib 2-tus pin txuas. Cov pins no tuaj yeem txuas ua ke los ua haujlwm rau ESP-12E
- Txuas tus pin 15 thiab 16 rau tus pin header (cov no yog RX thiab TX pins siv los ua haujlwm ESP-12E)
-
74HCT245N (tsis quav ntsej qhov no yog tias koj WS2812B LEDs ua haujlwm ncaj qha ntawm 3.3V)
- Txuas tus pin 1 thiab 20 rau +5V
- Txuas tus pin 10 thiab 19 rau GND
- Txuas tus pin 2 rau tus pin 13 ntawm ESP-12E
-
TWS 2812B
- Txuas +5V thiab GND rau +5V thiab GND pins feem
- Txuas DIN rau tus pin 18 ntawm 74HCT245N
- Yog tias koj hla 74HCT245N, txuas DIN rau tus pin 13 ntawm ESP-12E
Xyuas kom txhua tus GNDs txuas nrog ua ke. Nco ntsoov tias koj tsis txuas +5 lossis +3.3 rau GND.
Kuv muaj ob peb lub rooj zaum dag los ntawm qhov haujlwm ua ntej thiab siv yooj yim (cov duab saum toj no)
github.com/dushyantahuja/ESP8266-RGB-W-LED…
Kauj Ruam 4: Kev teeb tsa ESP-12E
Kuv siv Arduino IDE txhawm rau upload cov cai rau ESP-12E. Nws xav tau qee qhov teeb tsa ua ntej koj tuaj yeem ua qhov no.
Teeb tsa Arduino IDE
Qhov hloov tshiab kawg ntawm Arduino IDE tau ua kom yooj yim dua los teeb tsa cov laug cam no thiab koj tsis tas yuav hla ntau lub hoops kom nws ua haujlwm nrog ESP8266 cov laug cam.
Cov theem yog raws li hauv qab no:
- Rub tawm IDE tshiab kawg los ntawm
- Qhib IDE thiab mus rau Cov Cuab Yeej -> Boards -> Boards Manager …
- Tshawb nrhiav ESP8266 thiab nyem rau nruab (saib duab saum toj no)
Programming lub Module
Cov qauv no tsis tuaj nrog USB interface, yog li koj yuav tsum siv USB-TTL module / arduino los tswj kev sib txuas lus USB nrog lub khoos phis tawj. Koj tuaj yeem yuav ib qho ntawm cov qauv pheej yig muaj nyob ntawm ebay (https://www.ebay.com/sch/i.html?_from=R40&_sacat=0&…) - txhua qhov ua haujlwm ib yam - tsuas yog ceeb toom thaum pom cov tsav tsheb raug tias koj lub computer pom lub module.
Cov kev sib txuas yog yooj yim zoo nkauj:
- Txuas GND los ntawm USB-TTL rau tus pin cim GND ntawm ESP-12E
- Txuas 3.3V los ntawm USB-TTL rau tus pin cim VCC ntawm ESP-12E
- Txuas TX los ntawm USB-TTL rau tus pin cim RX ntawm ESP-12E
- Txuas RX los ntawm USB-TTL rau tus pin cim TX ntawm ESP-12E
- Luv qhov Program header kom tus PIN 12 txuas rau GND
Tam sim no tus qauv tau npaj los ua haujlwm.
Kauj ruam 5: Txoj Cai
Cov cai tau hnyav nyob ntawm kev qhia ntawm Random Nerd Tutorials https://randomnerdtutorials.com/esp8266-weather-fo…-raws li qhov tseeb qhov huab cua tau raug theej los ntawm qhov ntawd.
-
Nruab cov tsev qiv ntawv hauv qab no:
- FastLED (https://fastled.io)
- ArduinoOTA (https://github.com/esp8266/Arduino/tree/master/libraries/ArduinoOTA)
- ArduinboJSON (https://github.com/bblanchon/ArduinoJson)
- Tau txais OpenWeatherMap API (https://openweathermap.org/api)
- Rub tawm cov cai los ntawm github:
-
Ua cov kev hloov hauv qab no:
- Wifi thiab Lo lus zais ntawm kab 56 thiab 57
- Lub Nroog thiab API Ntsiab Lus ntawm kab 23 thiab 24
- Hloov mus rau ESP-12E
Yog tias txhua yam mus tau zoo, cov cai tau tshaj tawm, koj tus qauv txuas rau lub router wifi thiab qhia huab cua. Tam sim no, Kuv tau teeb tsa kom:
- Yog tias nws yuav pos huab / nag - Xiav
- Yog tias nws yuav daus / cua daj cua dub - Liab -Xiav
- Yog tias nws ntshiab - Ntsuab
- Lwm Tus Zaj sawv - suav nrog rau cov xwm txheej tshwj xeeb / yuam kev
Koj tuaj yeem hloov pauv kab 365-377 los hloov cov no. Cov Palettes siv yog kab 70-82
Kauj Ruam 6: Sib sau ua ke
Sib sau ua ke cov khoom hauv qab no:
- Qhwv cov hlua LED rau ntawm lub teeb LED thiab lo nrog cov kua nplaum kub
- Ntxig lub Circuit Court module rau hauv qab thiab txuas nrog cov kua nplaum kub
- Xaub lub teeb nthwv dej saum lub LED sawv
- Muab tso rau saum toj
Plug rau hauv 5V fais fab mov thiab txaus siab rau
Kauj Ruam 7: Cov phiaj xwm yav tom ntej
Nws ua haujlwm tam sim no, txawm li cas los xij kuv npaj yuav ntxiv cov yam ntxwv hauv qab no:
- Koom nrog MQTT kom nws tuaj yeem txuas rau OpenHAB
- Tej zaum tsim qee yam kev ceeb toom rau kev hu tsis tau / lus
- Sawv kaj
Cov lus pom zoo txais tos. Thiab yog tias koj tsim ib qho, nco ntsoov tshaj tawm cov duab ntawm no.
Pom zoo:
Kev Ceeb Toom Kub Ceeb Toom: 10 Kauj Ruam
Kev Ceeb Toom Kub Ceeb Toom: Nyob hauv Florida, Kuv txaus siab tsim cov khaub ncaws uas tuaj yeem ceeb toom kuv thaum nws kub heev sab nraum. Siv Arduino thiab ob peb yam yooj yim kuv tuaj yeem tsim lub rooj tsav xwm hauv Circuit uas tuaj yeem suav nrog hauv lub taub hau uas ceeb toom kuv thaum
Ceeb Toom Cov Neeg Tuaj Saib Lub Vev Xaib ceeb toom Nrog IFTTT: 6 Cov Kauj Ruam
Kev ceeb toom Cov Neeg Tuaj Saib Lub Vev Xaib Nrog IFTTT: Hauv cov lus qhia no, koj yuav tau txais Android ceeb toom thaum ib tus neeg mus ntsib koj li Website.so rau qhov no Koj yuav tsum muaj kev paub me ntsis ntawm PHP programming lus thiab Kev paub yooj yim ntawm C Yam Lus kom paub li cas IFTTT App cov haujlwm (
Saib Xyuas Cua Kub Roj Tank Gallons Nrog Email, SMS, thiab Pushbullet Ceeb Toom: 9 Cov Kauj Ruam (nrog Duab)
Saib Xyuas Cov Cua Kub Roj Tank Gallons Nrog Email, SMS, thiab Pushbullet Ceeb Toom: KEV SAIB XYUAS NTXIV: Yog tias leej twg xav paub yog "qhov no muaj kev nyab xeeb los tsim/teeb tsa" - Kuv tau coj qhov no mus rau 2 lub tuam txhab Roj sib txawv rau kev tawm tswv yim/xav txog kev nyab xeeb, thiab kuv tau ua qhov no los ntawm lub chaw tua hluav taws Kev Tiv Thaiv Hluav Taws Xob Tus Lwm Thawj C
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: 5 Cov Kauj Ruam (nrog Duab)
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: Peb lub tshuab ntxhua khaub ncaws nyob hauv lub nkas -las thiab peb tsis hnov lub suab nrov nrov los qhia tias ntxuav tas lawm. Kuv xav nrhiav txoj hauv kev kom tau txais kev ceeb toom, txhua qhov chaw peb nyob hauv tsev, thaum lub voj voog tiav lawm. Kuv tau tinkering nrog Arduino, ESP8266 WiFi
Txheeb Xyuas Cov Teeb Meem thiab Ceeb Toom - Arduino UNO thiab Ultrasonic: 4 Cov Kauj Ruam (nrog Duab)
Txheeb Xyuas Cov Teeb Meem thiab Ceeb Toom - Arduino UNO thiab Ultrasonic: Qhov no yog kev qhia los pab koj nkag siab txog ultrasonic thiab buzzer thiab nkag mus tob rau kev kawm Arduino, ua raws cov theem no thiab muab kuv cov lus teb