Cov txheej txheem:

MQmax 0.7 Tus Nqi Qis WiFi IoT Platform Raws li Esp8266 thiab Arduino Mini Pro: 6 Kauj Ruam
MQmax 0.7 Tus Nqi Qis WiFi IoT Platform Raws li Esp8266 thiab Arduino Mini Pro: 6 Kauj Ruam

Video: MQmax 0.7 Tus Nqi Qis WiFi IoT Platform Raws li Esp8266 thiab Arduino Mini Pro: 6 Kauj Ruam

Video: MQmax 0.7 Tus Nqi Qis WiFi IoT Platform Raws li Esp8266 thiab Arduino Mini Pro: 6 Kauj Ruam
Video: HOW TO STYLE NIKE AIR FORCE 1 SNEAKERS - NIKE AF 1 LOOKBOOK 2024, Kaum ib hlis
Anonim
MQmax 0.7 Tus Nqi Qis WiFi IoT Platform Raws li Esp8266 thiab Arduino Mini Pro
MQmax 0.7 Tus Nqi Qis WiFi IoT Platform Raws li Esp8266 thiab Arduino Mini Pro

Nyob zoo Qhov no yog kuv Qhov Kev Qhia Thib Ob (txij tam sim no kuv tsis suav). Kuv tau ua qhov no los tsim qhov yooj yim (rau kuv tsawg kawg), pheej yig, ua tau yooj yim thiab ua tau zoo rau kev siv IoT tiag uas suav nrog M2M ua haujlwm.

Lub Platform no ua haujlwm nrog esp8266 thiab arduino mini pro (ib qho nrog 8 qhov chaw sib piv). Tus nqi ntawm cov teeb meem yog tsawg heev. Tsawg li 7 euros nrog PCB ua los ntawm JLCPBC, 10 pcb rau 2 euro.

Yog li txhawm rau piav me ntsis seb nws ua haujlwm li cas. Lub ntsiab firmware rau lub platform no yog. Lub platform ntxiv tus programmer rau thawj zaug kev teeb tsa software tab sis koj yuav xav tau FTDI TTL programmer los txuas rau hauv chaw nres nkoj. Tsis tas li koj yuav xav tau lub zog hloov pauv los ua kom lub rooj tsavxwm. Lub rooj tsavxwm ua haujlwm nrog 6 ~ txog 24 ~ (AC lossis DC). Kuv ua rau nws sib xws nrog AC tam sim no rau ob qho laj thawj. Ua ntej nws tau tiv thaiv los ntawm polarity thiab tseem yog tias koj xav nrhiav nws nyob hauv qhov ntev koj tuaj yeem siv AC tam sim no thiab muaj kev poob qis dua ntawm kab.

Raws li koj tuaj yeem pom lub platform muaj cais pawg tswj hwm lub zog zoo li arduino daim thaiv. Tias vim tias koj tuaj yeem siv ntau txoj hauv kev sib txawv los muab lub zog rau nws. Los ntawm sollar rau roj teeb nkaus xwb koj tuaj yeem ua txhua yam uas koj nyiam rau koj daim ntawv thov tshwj xeeb.

Yog li cia se haw ua ib qho thiab yuav pib li cas nrog thiab Node-Red los ua koj daim ntawv thov.:-)

Khoom siv

EspLink los ntawm Jeelabs

Kauj ruam 1: Ua ntej tshaj plaws.. Schematic

Ua ntej tshaj plaws.. Schematic
Ua ntej tshaj plaws.. Schematic

Schematic Nws yooj yim heev los ua. Ob Qhov Bottons ze Esp8266 yog rau kev ua kom pom lub firmware (koj tuaj yeem siv thiab lwm yam firmware zoo li TASMOTA)

Tsis tas li koj tuaj yeem pom qhov kev xaiv ua haujlwm uas koj yuav tsum siv ob lub jumper fro Rx thiab Tx txuas nrog tus programmer lossis rau kev sib koom ua ke ntawm Esp thiab AVR, qhov kev xav tau.

Kauj Ruam 2: Ua Pcb

Ua Pcb
Ua Pcb
Ua Pcb
Ua Pcb

Cov txheej txheem thiab Pcb qhov twg tsim nrog txoj haujlwm easyEDA.

qhov no yog ob sab pcb thiab muaj ntau qhov vias uas koj tuaj yeem siv txuas rau sab saum toj nrog hauv qab. Kuv siv.2 mm dril thiab.4 koj tuaj yeem siv txog li 1mm

easyEDA Txuas rau Txoj Haujlwm

Kauj ruam 3: Export PCb rau Etching

Export PCb rau Etching
Export PCb rau Etching
Export PCb rau Etching
Export PCb rau Etching
Export PCb rau Etching
Export PCb rau Etching
Export PCb rau Etching
Export PCb rau Etching

Koj tuaj yeem ua lub rooj tsavxwm los ntawm kev kos nrog cov ntsej muag no. cov ntawv luam tawm sab hauv kom koj tsis muaj thiab qhov chaw.

Kauj Ruam 4: Kev Txiav Txim ntawm Pawg Thawj Coj Tom Qab Etching Tus Qauv rau Kev Xeem

Kev Sib Tsoo ntawm Pawg Thawj Coj Tom Qab Etching Tus Qauv rau Kev Xeem
Kev Sib Tsoo ntawm Pawg Thawj Coj Tom Qab Etching Tus Qauv rau Kev Xeem
Kev Sib Tsoo ntawm Pawg Thawj Coj Tom Qab Etching Tus Qauv rau Kev Xeem
Kev Sib Tsoo ntawm Pawg Thawj Coj Tom Qab Etching Tus Qauv rau Kev Xeem
Kev Sib Tsoo ntawm Pawg Thawj Coj Tom Qab Etching Tus Qauv rau Kev Xeem
Kev Sib Tsoo ntawm Pawg Thawj Coj Tom Qab Etching Tus Qauv rau Kev Xeem
Kev Sib Tsoo ntawm Pawg Thawj Coj Tom Qab Etching Tus Qauv rau Kev Xeem
Kev Sib Tsoo ntawm Pawg Thawj Coj Tom Qab Etching Tus Qauv rau Kev Xeem

Kuv Ua Los Ntawm Tes 4 lub rooj tsavxwm nrog lub hwj chim rau kev sim ua ntej xaj lub rooj tsavxwm.

Qhov kev xeem tau ua tiav yog li kuv xaj cov laug cam JLCPCB. Cov pob tuaj nrawm heev rau tim Nkij teb chaws tab sis nrog tus nqi siab, kwv yees li 20 euro rau ob pob khoom tab sis nws tseem pheej yig dua li ua los ntawm kuv tus kheej vim tias ob sab ua kom pom kev zoo A4 pawg thawj coj saib tus nqi kwv yees li 25euro ntawm no hauv Greek.

Kauj ruam 5: Upload Firmware

Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware
Rub tawm Firmware

Txuas mus rau lub phiaj xwm chaw nres nkoj TTL sab ntawm koj lub ftdi yam tsis muaj 5v vim tias koj yuav tsum tau siv lub rooj tsavxwm los ntawm PowerBoard (qhov no tsis yooj yim kuv paub tab sis.. nws muaj kev nyab xeeb). Txhawm rau rub tawm lub firmware koj yuav tsum teeb tsa nab nab 3.0

Tom qab kev teeb tsa khiav cov lus txib tom qab

Rau qhov rais

pip nruab esptools

Rau Ubuntusudo pip nruab esptools

rau linux koj yuav tsum hloov tsab ntawv sab hauv.bat cov ntaub ntawv thiab ua kom nws ua tiav. Hauv windows nws yog los ntawm lub neej ntawd.

Yog tias lub phiaj xwm ua tau zoo koj yuav pom lub network wifi tshiab ntawm koj lub xov tooj ntawm tes nrog lub npe AIThinkerXXXXX thiab nws tau qhib.

Koj txuas rau qhov ntawd thiab tom qab txuas nrog koj ntaus 192.168.4.1 hauv koj lub browser browser ntawm koj lub xov tooj lossis koj lub PC, qhov no yuav coj mus rau nplooj ntawv zoo ntawm esp txuas.

Ua ntej koj yuav tsum teeb tsa tus Pin AssignmentReset -> gpio12

ISP/FLASH -> disabledConn LED gpio2/TX1

Serial LEd -> disabledUART pins -> li qub

Rx rub tawm uncheck thiab tom qab ntawd nyem hloov.

Tam sim no koj tuaj yeem programe koj cov arduino tsis muaj cable tab sis wireless !! tsuas yog xav tias koj yuav tsum ua tom ntej yog mus rau cov kev pabcuam zaub mov thiab sau hauv mDNS daim teb arduino

Tom qab ntawd koj yuav pom tus choj wifi ua haujlwm thaum koj mus rau Ports hauv arduino IDE thiab pom 192.168.4.1 ip.

Koj tseem tuaj yeem txuas tus esp rau koj lub network hauv zej zog thiab siv tus ip no txhawm rau rub tawm qhov program.

Tam sim no koj yuav tsum xaiv Arduino wifi los ntawm cov laug cam (nws ua haujlwm rau kuv tab sis tsuas yog nrog 50% teeb liab ntau dua) lossis koj tuaj yeem nruab lub rooj tsavxwm nrog cov ntawv thiab siv MqMax board! (Tseem tab tom txhim kho)

Kauj Ruam 6: Rub tawm ELclient Los ntawm Jeelabs

github.com/jeelabs/el-client

Los ntawm qhov txuas no rub tawm El Client library rau Arduino IDE.

Muaj koj tuaj yeem pom cov piv txwv rau Mqtt thiab So, kom siv lawv koj yuav tsum tau pab kom Slip hom

Tom qab koj nruab ElClient lub tsev qiv ntawv koj muaj cov piv txwv tshiab hauv cheeb tsam Elclient. Kuv qhov kev nyiam tshaj yog Mqtt piv txwv tab sis koj tuaj yeem siv nws tsuas yog wifi txuas thiab txuas nws nrog Raspberry pi Nrog Node-RED teeb tsa.

Muaj qhov tsis kawg uas koj tuaj yeem ua nrog MqMax tsis muaj sijhawm. Kuv ua kuv daim ntawv thesis rau kuv Masters hauv Automation thiab Telecomiunications thiab kuv tau txais txiaj ntsig zoo.

Yog tias koj siv nws muab thumps vim nws tau ua haujlwm ntau. Tsis tas li yog tias koj nyiam nws pov npav rau kuv hauv kev sib tw PCB.

Zoo siab ua!

Pom zoo: