Cov txheej txheem:

Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1: 4 Kauj Ruam (nrog Duab)
Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1: 4 Kauj Ruam (nrog Duab)

Video: Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1: 4 Kauj Ruam (nrog Duab)

Video: Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1: 4 Kauj Ruam (nrog Duab)
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Hlis ntuj nqeg
Anonim
Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1
Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1
Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1
Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1
Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1
Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1
Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1
Tswj LED Los Ntawm Koj Lub Network WiFi! SPEEEduino V1.1

SPEEEduino yog dab tsi?

SPEEEduino yog Wi-nkaus qhib lub microcontroller board raws li ib puag ncig Arduino ecosystem, ua rau cov kws qhia ntawv. SPEEEduino suav nrog daim foos thiab microcontroller ntawm Arduino nrog ESP8266 Wi-Fi SoC, ua rau nws muaj kev teeb tsa tau zoo thiab siv tau. Nws yog tam sim ntawd sib xws nrog ntau pua lub tsev qiv ntawv uas tib neeg sau rau Arduino Uno, raws li SPEEEduino sib koom tib lub microcontroller unit zoo li Arduino Uno.

Txoj haujlwm no yog ua los ntawm pab pawg ntawm cov tub ntxhais kawm los ntawm Singapore Polytechnic. Peb muaj tag nrho 3 tus tswv cuab hauv pab pawg: Pan ZiYue, Julian Kang thiab kuv tus kheej. Peb tus thawj saib xyuas yog Mr Teo Shin Jen.

Phau ntawv qhia yooj yim no yog ib feem ntawm kev sau Cov Lus Qhia rau SPEEEduino. Hauv Cov Lus Qhia no, peb yuav kawm paub tswj hwm onboard LED (thiab lwm lub LED los ntawm tus lej 13) siv lub vev xaib.

Yam koj xav tau:

1. Lub khoos phis tawj tau ntim nrog Arduino IDE, muaj nyob ntawm no.

2. SPEEEduino nws tus kheej

3. ESP8266 ESP01 Module

4. USB rau Serial Converter (Rau cov lus qhia no, peb yuav siv CP2102)

5. Kev sib txuas WiFi nquag ESP8266 tsis ua haujlwm nrog Enterprise Networks, kuv tsis tuaj yeem siv nws nrog 5GHz tes hauj lwm.

6. SPEEEduino Lub Tsev Qiv Qib Qis. Txhawm rau paub teeb tsa koj li SPEEEduino/yog tias koj tsis muaj nws teeb tsa hauv Arduino IDE, nyem qhov no.

7. Qhov tseem ceeb tshaj plaws, koj tus kheej!:)

Kauj ruam 1: Txuas lub Circuit Court! [Tsis teb los tau]

Txuas lub Circuit Court! [Tsis teb los tau]
Txuas lub Circuit Court! [Tsis teb los tau]
Txuas lub Circuit Court! [Tsis teb los tau]
Txuas lub Circuit Court! [Tsis teb los tau]

Cov piv txwv txoj haujlwm siv yuav hloov lub onboard LED (PIN13) ntawm SPEEEduino, tab sis kuv suav nrog lwm LED ob qho tib si rau kev lom zem thiab ua kom pom lub teeb ci ntawm LED.

Rau qhov yooj yim Circuit Court, koj yuav xav tau:

1. Ib qho LED (Kuv siv xiav 5mm ib qho)

2. 220Ohm resistor

3. qee cov Jumper cables

4. ib lub khob cij

Kauj Ruam 2: Txuas SPEEEduino rau Koj Lub PC Siv USB rau Serial Converter

Txuas SPEEEduino rau Koj Lub PC Siv USB rau Serial Converter
Txuas SPEEEduino rau Koj Lub PC Siv USB rau Serial Converter
Txuas SPEEEduino rau Koj Lub PC Siv USB rau Serial Converter
Txuas SPEEEduino rau Koj Lub PC Siv USB rau Serial Converter

Siv lub rooj los xaim koj SPEEEduino kom raug. Hauv nplooj ntawv no, peb tab tom siv CP2102 USB-TTL hloov pauv. Koj tus hloov pauv yuav txawv, tab sis nco ntsoov tias nws siv 5V cov qib kev xav thiab tso tawm 5V lub zog, tsis yog 3.3V.

Kauj Ruam 3: Qhib Tus Qauv Piv Txwv thiab Kho Nws

Qhib Tus Qauv Piv Txwv thiab Kho Nws
Qhib Tus Qauv Piv Txwv thiab Kho Nws
Qhib Tus Qauv Piv Txwv thiab Kho Nws
Qhib Tus Qauv Piv Txwv thiab Kho Nws

Txhawm rau qhib tus lej piv txwv, mus rau:

Cov ntaub ntawv> Piv txwv> SPEEEduino_Low_Level_Library> LED_Webserver

thiab qhib qhov piv txwv.

Tom ntej no, hauv txoj cai, xyuas kom koj hloov NETWORK-NAME-HERE thiab NETWORK-PASSWORD-HERE rau koj li WiFi SSID thiab tus password.

Qhov haujlwm no yuav ua li cas yog tias nws yuav txuas rau koj li WiFi thiab tsim kom muaj server los tuav lub vev xaib rau koj kom tswj hwm LED ntawm lub pob ntawm lub vev xaib.

Tam sim no koj tuaj yeem tso qhov program mus rau SPEEEduino

Kauj Ruam 4: Teeb Kuv Lub Ntiaj Teb

Teeb Kuv Lub Ntiaj Teb!
Teeb Kuv Lub Ntiaj Teb!
Teeb Kuv Lub Ntiaj Teb!
Teeb Kuv Lub Ntiaj Teb!
Teeb Kuv Lub Ntiaj Teb!
Teeb Kuv Lub Ntiaj Teb!

Tom qab qhov program tau rub tawm, qhib Serial monitor hauv Arduino IDE.

Hauv Serial Monitor, nws yuav tso saib cov xwm txheej ntawm lub cuab yeej txuas nrog WiFi network. Thaum nws tau txuas nrog lub network, nws yuav tsim IP chaw nyob. Txuas thiab tswj cov LED los ntawm kev nkag tus IP chaw ntawd rau hauv koj tus browser

Pom zoo: