Cov txheej txheem:
- Kauj Ruam 1: Yuav tsum kho vajtse thiab sib txuas
- Kauj ruam 2: Software Yuav Tsum Tau thiab Kho
- Kauj ruam 3: Kev ua haujlwm
- Kauj Ruam 4: Txhua Lub Boxed Up and Ready to MQTT
Video: ESP8266/Arduino MQTT Memo Minder W/LCD (AKA Teenage Gamer Attention Getter!): 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Puas muaj cov tub ntxhais hluas uas kaw lawv tus kheej mus ua si lawv cov game online nrog lub mloog pob ntseg? Nkees ntawm lawv tsis hnov koj qw rau lawv lossis tsis teb lawv cov ntawv lossis hu xov tooj? Yog … US TOO! Qhov ntawd yog qhov kev txhawb siab rau kuv qhov tseeb gizmo tau tsav los ntawm (Ntxiv rau nws tsuas yog lom zem los tsim). Nres lub pov haum me me no nyob rau ntawm lawv lub vijtsam. Thaum nws nyob ntsiag to, nws tsuas yog zaum nyob ntawd xav txog nws tus kheej kev lag luam. Tab sis … thaum koj xa nws cov lus, nws tau txais OBNOXIOUS me ntsis thiab lub suab nrov thiab ntsais LED'S nrog rau koj cov lus ntawm LCD … TSEEM CEEB tau txais koj tus hluas uas muaj txiaj ntsig mloog. Yog li nyeem, txheeb xyuas cov vis dis aus saum toj no, thiab tsim koj tus kheej ib yam.
Kauj Ruam 1: Yuav tsum kho vajtse thiab sib txuas
XEEM:
ESP8266 NodeMCU 1.0 (Txhua ESP yuav tsum ua haujlwm)
1602 lossis 2004 LCD nrog Serial/I2C Interface
Momentary Push Button
Cov qhob cij
LED
Cov neeg dhia
HOOKUP:
ESP8266 ----------- LCD ----------- BUTTON ----------- BUZZER ------------- LED
Grnd ----------------- Grnd ---------- Pole 1 -------------- Grnd ------ ------------ Grnd
Vcc ---------------------- Vcc
D6 ------------------------------------------------------- --------------------------------------- LongLeg
D7 ----------------------------------------------------------------------- -------------- Phab 2
D4 -------------------------------------- 2nd Ncej
D1 ---------------------- SCL
D2 -------------------- SDA
Kauj ruam 2: Software Yuav Tsum Tau thiab Kho
Kev xav: Kev paub thiab kev xyaum siv Arduino IDE thiab tsev qiv ntawv.
Yuav tsum tau Software:
- Arduino IDE (Kuv siv 1.8.5)
- Android App MQTT Dash (Tsis paub yog tias muaj iOS version)
- Lub Vev Xaib
Kev teeb tsa Software:
- Android App MQTT DashUse tib tus neeg siv.subscribe (Tseem hu ua Topic) cov ntsiab lus raws li hauv qab no. Qhov tseem tshuav ntawm lub neej ntawd 'yuav tsum yog OK. Ua cov ntsiab lus pom ntawm lub vev xaib saum toj no rau chaw nres nkoj# thiab server npe lub npe:
-
Arduino Sketch (Programming uas xav tau kev hloov pauv kuj tau hais tawm hauv daim duab)
- I2C Chaw Nyob ntawm koj lub LCD
- WiFi Creds
-
MQTT Broker Info (xaiv/xaiv tus kheej koj muab)
- Txoj hlua clientId = "YOUR_CHOICE_HERE";
- client.subscribe ("YOUR_Topic_HERE")
Kauj ruam 3: Kev ua haujlwm
Thaum Qhib MQTT Dash App:
- Nyem PLUS kos npe rau sab xis.
- Xaiv Hom 'Ntawv'.
- Lub npe yog koj xaiv.
- Sau koj lub Npe Lub Npe ntawm no raws li tau hais hauv kauj ruam dhau los.
- Nyem Disk nyob rau sab saud kom txuag.
- Qhib Pobzeb teev los ntawm lub npe xaiv hauv qib 3 saum toj no.
- Sau cov ntawv dawb ntawm kab lus nthuav qhia. Nyem SET
- Cov lus yuav tsum tshwm ntawm LCD yog txhua yam ua haujlwm raws li xav tau.
- Kom tshem cov lus xa lus tsis pub leej twg paub.
- LOS YOG… Nias lub khawm txuas rau ESP ib pliag kom pom tseeb.
Kauj Ruam 4: Txhua Lub Boxed Up and Ready to MQTT
Tau khaws lub thawv khoom siv tes ua thiab khawm zoo dua tam sim no thiab muab tso ua ke hauv qhov no.
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
I2C / IIC LCD Zaub - Siv SPI LCD rau I2C LCD Zaub Siv SPI rau IIC Module Nrog Arduino: 5 Kauj Ruam
I2C / IIC LCD Zaub | Siv SPI LCD rau I2C LCD Zaub Siv SPI rau IIC Module Nrog Arduino: Nyob zoo cov phooj ywg txij li ib txwm muaj SPI LCD 1602 muaj xov tooj ntau dhau los txuas yog li nws nyuaj rau cuam tshuam nrog arduino tab sis muaj ib qho qauv muaj nyob hauv khw uas tuaj yeem hloov SPI zaub rau hauv IIC zaub yog li ntawd koj yuav tsum txuas tsuas yog 4 xov hlau
Minder Chav Dej: 4 Kauj Ruam (nrog Duab)
Minder Chav Dej: Hauv peb lub tsev, peb muaj ob tug hluas thiab 1.5 chav dej. Txij li thaum nkawd ob leeg nyiam siv sijhawm ntev heev los da dej thiab npaj kom txhij, qhov no txhais tau tias ntau lub sijhawm kuv tus poj niam thiab kuv tau nyob nrog tsuas yog ib nrab da dej los siv. Qhov no yog teeb meem.Peb twb
Amplify Your Gamer Guitar: 10 Kauj Ruam (nrog Duab)
Amplify Your Gamer Guitar: Tej zaum koj tau tsim NES " cigar box " -style 'Gamer Guitar' (phau ntawv p. 193) thiab kawm paub ua ob peb suab nkauj, tab sis koj tau txiav txim siab tias nws tsuas yog tsis nrov txaus. Tsis muaj teeb meem nyuaj npaum li cas koj quaj ntawm koj lub guitar, nws lub suab me me tsuas yog