Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Tau txais cov kab hauv qhov chaw raug
- Kauj Ruam 2: Ua Kev Sib Txuas Me
- Kauj Ruam 3: Txoj Cai Firebase thiab Database Schema
- Kauj ruam 4: Code rau Teeb
- Kauj ruam 5: Autoroom App
Video: Kev Tswj Chaw Taws Teeb RGB Desktop Teeb: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Txoj haujlwm no qhia pom kev siv firebase ua tus neeg rau zaub mov rau kev tswj hwm thiab tswj xyuas cov teeb coj ua nyob tom qab ntawm kuv lub rooj
Khoom siv
- ESP8266.
- Coj Sawb WS2812B.
- Fais fab mov nrog tsawg kawg 10W@5V ntsuas.
- Ib qho app rau kev tswj hwm LED Strips.
Kauj Ruam 1: Tau txais cov kab hauv qhov chaw raug
Thawj qhov yog kom tau cov hlua LED nyob hauv qhov chaw
Kuv xaiv kuv lub khoos phis tawj qub lub rooj rau qhov haujlwm no yog li kuv tau siv qee cov nplaum nplaum thiab kho kuv li WS2812b coj kab txaij raws tom qab ntawm nws thiab txuas VCC, GND, DATA kab nrog ob peb lub xov hlau raws li pom hauv daim duab
Kauj Ruam 2: Ua Kev Sib Txuas Me
Txuas lub zog xa mus rau ESP8266 [Nco tseg* - Kuv tau siv lub rooj tsavxwm uas kuv siv rau Tsev Automation tab sis peb tsuas xav tau ESP8266]
Txuas raws li hauv qab no:
- D5 (Pin 14) -> Cov Ntaub Ntawv Pin ntawm LED sawb
- Txuas GND tus pin ntawm ESP8266, Lub Hwj Huam, LED Sawb.
Qhov ntawd yog rau kho vajtse, tam sim no cia dhia mus rau hauv pawg thawj coj saib.
Kauj Ruam 3: Txoj Cai Firebase thiab Database Schema
Database Schema yog qhov yooj yim.
-
(neeg siv)
-
neopixels
-
0
{r: 12, g: 220, b: 120}
-
1
{r: 112, g: 150, b: 200}
-
-
tus cim
- pej xeem: {token}
- ntiag tug: {token}
-
Schema no sawv cev rau cov qauv yooj yim teev cov npe ntawm Led qhov tseem ceeb
Token ntu sawv cev rau cov txheej txheem kev lees paub yooj yim uas qhov chaw pej xeem thiab ntiag tug sib phim yog tias tau lees paub qhov tseeb.
Kauj ruam 4: Code rau Teeb
Cov cai zoo nkauj piav qhia tus kheej.
- Suav nrog cov tsev qiv ntawv xav tau.
- Teeb lub authentication token ntawm database
- Muab cov ntaub ntawv pov thawj WiFI
- Teeb tsa lub koos pij tawj hluav taws rau neopixels hloov pauv thiab pib mloog rau kev hloov pauv hauv cov ntaub ntawv cuam tshuam los ntawm cov neeg siv khoom.
- Hauv lub voj txuas rau kev tshuaj xyuas cov xwm txheej thiab xa cov ntaub ntawv nkag mus rau cov haujlwm pabcuam.
-
Lub luag haujlwm pabcuam pabcuam siv cov ntaub ntawv thiab tshawb xyuas lub tshuab ntxhua khaub ncaws neopixel hloov tshiab yog ua rau:
- Ib leeg LED
- Qhov ntau ntawm cov lej LED
- Tag nrho cov LEDs.
Kauj ruam 5: Autoroom App
Kuv tau ua ib qho app hu ua "Autoroom" hauv Flutter siv Dart Programming Language, tswj lub teeb LED.
Nov yog cov txiaj ntsig piv txwv rau qhov ntawd.
- Ua ntej, nkag mus nrog daim ntawv pov thawj hauv kuv rooj plaub nws yog (xritzx)
- Xaiv cov xim thiab ntau yam thiab ntaus hloov tshiab.
- Los yog tej zaum xim tag nrho cov ntau yam los ntawm kev xaiv -1.
Pom zoo:
ESP8266 RGB LED Sawb WIFI Tswj - NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi - RGB LED Sawb Smartphone Tswj: 4 Cov Kauj Ruam
ESP8266 RGB LED Sawb WIFI Tswj | NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi | RGB LED Sawb Smartphone Tswj: Nyob zoo cov neeg hauv qhov kev qhia no peb yuav kawm paub siv nodemcu lossis esp8266 li IR chaw taws teeb los tswj RGB LED sawb thiab Nodemcu yuav raug tswj los ntawm smartphone dhau wifi. Yog li hauv paus koj tuaj yeem tswj RGB LED Sawb nrog koj lub xov tooj
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: 7 Cov Kauj Ruam (nrog Duab)
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: Leej twg tsis nyiam twv txiaj? Sib tw thiab Sib ntaus hauv Ntiaj Teb Virtual ntawm Chaw Ua Si thiab Xbox !! Yog li, coj qhov kev lom zem rau lub neej tiag tiag Kuv tau ua Cov Lus Qhia no uas kuv yuav qhia koj li cas koj tuaj yeem siv ib qho Chaw Ua Si Chaw Taws Teeb Chaw Taws Teeb (Wired
Bluetooth Chaw Taws Teeb Tswj Chaw Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntawv Ntxiv: 9 Kauj Ruam (nrog Duab)
Bluetooth Chaw Taws Teeb Tswj Kev Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntxiv: Hloov Kho Lub Kaum Ib Hlis 25, 2017 - Rau Lub Hwj Chim Siab ntawm qhov haujlwm no uas tuaj yeem tswj tau kilowatts ntawm kev thauj mus los saib Retrofit BLE Kev Tswj rau Kev Siv Lub Hwj Chim Siab - Tsis Xav Tau Ntxiv Ntxiv Qee cov BLE cov laug cam / software sib sau ua ke
Ordinary Cov Khoom Siv Hluav Taws Xob Hloov pauv mus rau Plaub-channel RC Qho Chaw Taws Teeb Chaw Taws Teeb: 4 Cov Kauj Ruam
Ordinary Cov Khoom Siv Hluav Taws Xob hloov pauv mus rau plaub-channel RC Toy Remote Control: 将 将 通用 遥控 器 转换 转换 玩具 玩具 模型 使用 的 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62方法 方法 非常。 只需 准备 一些 瓦楞纸 瓦楞纸 板 板 , , , 然后 然后
Cov Neeg Hlau Tswj Chaw Taws Teeb Siv Arduino thiab TV Chaw Taws Teeb: 11 Kauj Ruam
Kev Tswj Tus Neeg Siv Hluav Taws Xob Siv Arduino thiab TV Chaw Taws Teeb: Lub tsheb tswj chaw taws teeb no tuaj yeem txav mus los siv ib qho kev siv tej thaj chaw deb xws li TV, AC thiab lwm yam. los ntawm kev siv IR tus txais, uas yog lub ntsuas phoo pheej yig heev nyob rau hauv