Cov txheej txheem:
Video: HTTP Server Tswj LED - Ameba Arduino: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Kev tswj hwm LED yog ib qho yooj yim nrog txhua lub microcontroller ntawm koj xaiv, tab sis tswj LED wirelessly ntawm koj lub xov tooj ntawm tes browser ntawm kev mus yog qhov txias thiab lom zem heev. Qhov tseeb nws yog qhov haujlwm IoT twb dhau los lawm, zoo li koj tuaj yeem siv tib lub server kom tswj tau lwm yam uas tsis yog LED, piv txwv li, hais lus, teeb, kiv cua, dej txias, thiab lwm yam.
Khoom siv
- Peb x 1
- Breadboard x 1
- LED x 1
- 1KΩ Resistor x 1
Kauj Ruam 1: Teeb Kho Vajtse
Hauv qhov piv txwv no, peb txuas
Ameba rau WiFi thiab siv Ameba ua tus neeg rau zaub mov, tus neeg siv tuaj yeem tswj hwm LED qhib/tawm los ntawm lub vev xaib.
Ua ntej tshaj, txuas Ameba nrog LED.
Hauv LED, tus pin ntev dua yog tus ncej zoo, thiab tus pin luv yog tus ncej tsis zoo. Yog li peb txuas tus pin luv rau GND (V = 0), thiab txuas tus pin ntev dua rau D13. Ib qho ntxiv, kom tsis txhob muaj hluav taws xob tam sim no dhau qhov ua siab ntev ntawm LED thiab ua rau muaj kev puas tsuaj, peb txuas kev tiv thaiv ntawm tus ncej zoo.
Kauj ruam 2: Teeb Software
Ua ntej tshaj plaws, peb yuav tsum paub tseeb tias pob pob ameba twb tau teeb tsa lawm. Yog tsis yog, peb tuaj yeem luam qhov txuas hauv qab no rau koj "tus thawj tswj hwm ntxiv URLs" raws li qhov xav tau, thiab teeb tsa nws siv tus thawj tswj hwm tswj hwm, github.com/ambiot/amb1_arduino/raw/master/…
Tom qab ntawd qhib "File" -> "Piv txwv" -> "AmebaWiFi" -> "SimpleWebServerWiFi"
Hauv cov qauv piv txwv, hloov kho cov ntsiab lus tseem ceeb rau cov ntaub ntawv sib xws.
Tshaj tawm cov cai, thiab nias lub pob pib dua ntawm Ameba.
Kauj ruam 3: HTTP Server
Thaum tsim qhov kev sib txuas, koj yuav pom cov lus "Kom pom nplooj ntawv no ua haujlwm, qhib qhov browser mus rau https://xxx.xxx.xxx.xxx" hauv arduino IDE, raws li qhia hauv daim duab 1 saum toj no:
Tom ntej no, qhib qhov browser ntawm lub khoos phis tawj lossis lub xov tooj ntse nyob hauv tib lub npe WiFi, sau qhov chaw nyob hauv cov lus. Hauv qhov no, peb siv lub web browser ntawm PC.
Tam sim no peb tuaj yeem pom ob kab ntawm qhov browser ib yam li daim duab 2 saum toj no. Tam sim no peb tuaj yeem tswj hwm LED kom qhib lossis tua txhua lub sijhawm!
Muaj kev lom zem nrog txoj haujlwm no thiab khaws cov lej!
Pom zoo:
Hloov kho RGBW LED Sawb Tus Tswj, PIR Tswj, ESP8285: 3 Cov Kauj Ruam
Hloov kho RGBW LED Sawb Tus Tswj, PIR Tswj, ESP8285: Saum kuv lub rooj tom tsev Kuv tau teeb tsa RGBW LED sawb. WiFi LED RGBW maub los yuav tsum ua haujlwm nrog app zoo li Magic Home app. Txawm li cas los xij, Kuv muaj ESP8285 nti uas kuv tau ua nrog kuv tus kheej firmware. Kuv ntxiv PIR los ntawm qhov uas LED sawb hloov
Tsheb Tswj Chaw Taws Teeb - Tswj Kev Siv Wireless Xbox 360 Tus Tswj: 5 Kauj Ruam
Lub Tsheb Tswj Chaw Taws Teeb - Tswj Kev Siv Wireless Xbox 360 Tus Tswj: Cov no yog cov lus qhia txhawm rau tsim koj tus kheej lub tsheb tswj chaw taws teeb, tswj siv wireless Xbox 360 maub los
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
Yuav Ua Li Cas Tswj Drone Quadcopter Brushless DC Tsav (3 Hom Hluav Taws Xob) los ntawm Kev Siv HW30A Lub Cev Muaj Zog Tswj thiab Arduino UNO: 5 Cov Kauj Ruam
Yuav Ua Li Cas Tswj Drone Quadcopter Brushless DC Tsav (3 Hom Hluav Taws Xob) los ntawm Kev Siv HW30A Lub Cev Muaj Zog Tswj thiab Arduino UNO: Nqe lus piav qhia: HW30A Lub Cev Muaj Zog Ceev tuaj yeem siv nrog 4-10 NiMH/NiCd lossis 2-3 cell LiPo roj teeb. BEC ua haujlwm tau zoo txog li 3 LiPo cells. Nws tuaj yeem siv los tswj kev nrawm ntawm Brushless DC lub cev muaj zog (3 xov hlau) nrog siab txog li 12Vdc.Specific
Begging Neeg Hlau Nrog Saib Xyuas Lub Ntsej Muag thiab Tswj los ntawm Xbox Tus Tswj - Arduino: 9 Cov Kauj Ruam (nrog Duab)
Begging Robot Nrog Lub ntsej muag taug qab thiab Tswj los ntawm Xbox Controller - Arduino: Peb tab tom yuav ua tus thov neeg hlau. Tus neeg hlau no yuav sim ua rau khaus lossis ua rau pom kev dhau ntawm tib neeg. Nws yuav ntes lawv lub ntsej muag thiab sim tua lasers ntawm lawv. Yog tias koj muab tus neeg hlau ib npib, nws yuav hu nkauj thiab seev cev. Tus neeg hlau yuav xav tau