Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Xaiv Qhov Ntaus Ntaus ENC28J60 lossis W5100 Series
- Kauj ruam 2: Xa Email yooj yim
- Kauj Ruam 3: Txuas SD Laub los Tswj Cov Ntawv Txuas
- Kauj ruam 4: Xa Email Nrog Attachments
- Kauj Ruam 5: Qhov tshwm sim
- Kauj Ruam 6: Tsev qiv ntawv
Video: Yuav Ua Li Cas Xa Email Nrog Cov Ntawv Txuas Nrog Arduino, Esp32 thiab Esp8266: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nov kuv xav piav qhia qhov version 2 ntawm kuv lub tsev qiv ntawv EMailSender, kev hloov pauv loj rau hwm version 1, nrog kev txhawb nqa rau Arduino nrog w5100, w5200 thiab w5500 ethernet shield thiab enc28J60 clone devices, thiab txhawb nqa esp32 thiab esp8266.
Tam sim no koj tuaj yeem ntxiv cov ntawv txuas ntxiv, thauj khoom los ntawm cov khoom siv xws li SD lossis SPIFFS. Nov yog siv Arduino ethernet.
Khoom siv
- Arduino Mega Cov
- wb 28j60
- SD daim npav
Kauj Ruam 1: Xaiv Qhov Ntaus Ntaus ENC28J60 lossis W5100 Series
Arduino, ib txwm, tswj hwm network nrog cov cuab yeej sab nraud, cov cuab yeej siv zoo li w5100 siv Ethernet lub tsev qiv ntawv clones ENC28J60 muaj qee lub tsev qiv ntawv los xaiv.
Txhawm rau xaiv koj lub cuab yeej koj yuav tsum mus rau EMailSenderKey.h cov ntaub ntawv hauv tsev qiv ntawv thiab teeb tsa qhov raug
#define DEFAULT_EMAIL_NETWORK_TYPE_ARDUINO NETWORK_ENC28J60 // Default
Lub tsev qiv ntawv thauj khoom los tswj cov khoom siv no yog UIPEthernet, koj tuaj yeem nrhiav lub tsev qiv ntawv ntawm tus thawj tswj tsev qiv ntawv ntawm Arduino IDE
lossis koj tuaj yeem hloov pauv hom network tsis raug
#define DEFAULT_EMAIL_NETWORK_TYPE_ARDUINO NETWORK_W5100
Nov yog tus qauv siv thiab siv Ethernet lub tsev qiv ntawv.
Ib qho tseem ceeb xav los txiav txim siab yog qhov thaiv Ethernet no tsis txhawb SSL lossis TLS, yog li koj yuav tsum nrhiav tus muab kev pabcuam SMTP uas muab kev sib txuas SMTP tsis muaj hom kev sau npe no.
Kuv tsim cov ncauj lus ntawm lub rooj sab laj uas koj tuaj yeem ntxiv tus muab kev pabcuam koj siv, uas koj tuaj yeem pom kuv li thiab.
Kauj ruam 2: Xa Email yooj yim
Txhawm rau xa email nrog Arduino koj yuav tsum nrhiav tus muab kev pabcuam uas ua haujlwm tsis muaj SSL lossis TLS, Rau kuv qhov kev daws teeb meem kuv siv nrog tus muab kev pabcuam SendGrid.
Kuv xav tias kev siv yog yooj yim heev.
Yog li koj yuav tsum teeb tsa tus muab kev pabcuam
E-mail Xa Ntawv email ("KOJ-SENDGRID-API-KEY", "KOJ-SENDGRID-PASSWD", "FROM-EMAIL", "smtp.sendgrid.net", 25);
Tshaj li koj yuav tsum tsim cov lus thiab xa Nws
EMailSender:: EMailMessage lus; message.subject = "Soggetto"; message.message = "Ciao tuaj staiio Bene.
EMailSender:: Response resp = emailSend.send ("[email protected]", lus);
Serial.println ("Xa xwm txheej:");
Serial.println (resp.status);
Serial.println (resp.code); Serial.println (resp.desc);
Kauj Ruam 3: Txuas SD Laub los Tswj Cov Ntawv Txuas
Txhawm rau xa cov ntawv txuas koj yuav tsum txuas daim npav SD zoo li hauv cov phiaj xwm, yog tias koj xav tau cov ntaub ntawv ntau ntxiv txog kev txuas txuas ntxiv rau kab lus no "Yuav siv SD daim npav nrog esp8266, esp32 thiab Arduino" li cas.
Kauj ruam 4: Xa Email Nrog Attachments
Txhawm rau xa email nrog cov ntawv txuas koj yuav tsum nrhiav tus muab kev pabcuam uas txhawb nqa lub luag haujlwm ntawd, kuv tus muab kev pabcuam xa ntawv tsis txhawb qhov ntawd thiab GMX tus muab kev pabcuam uas kuv siv rau qhov kev xeem tsis muaj kev txhawb nqa ntxiv.
Tab sis yog tias koj pom tus muab kev pabcuam tshiab koj tuaj yeem siv tus lej no txhawm rau xa cov ntaub ntawv.
EMailSender:: FileDescriptior fileDescriptor [1]; fileDescriptor [0].filename = F ("test.txt"); fileDescriptor [0].url = F ("/test.txt"); fileDescriptor [0].mime = MIME_TEXT_PLAIN; fileDescriptor [0].encode64 = tsis tseeb; fileDescriptor [0].storageType = EMailSender:: EMAIL_STORAGE_TYPE_SD;
EMailSender:: Attachments attachments = {1, fileDescriptor};
EMailSender:: Response resp = emailSend.send ("[email protected]", lus, xa)
Kauj Ruam 5: Qhov tshwm sim
Nov yog email xa nrog esp8266 thiab GMail tus muab kev pabcuam (kom siv GMail koj yuav tsum tau txais kev pabcuam sab nraud).
Kauj Ruam 6: Tsev qiv ntawv
Koj tuaj yeem nrhiav lub tsev qiv ntawv ntawm GitHub
Thiab koj yuav tsum nug cov yam ntxwv lossis tshaj tawm cov kab ntawm Lub Rooj Sib Tham
Cov ntaub ntawv ntxiv ntawm no.
Pom zoo:
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
Yuav Ua Li Cas Txuas Android Daim Ntawv Thov Nrog AWS IOT thiab Nkag Siab Lub Suab Pom Zoo API: 3 Cov Kauj Ruam
Yuav Ua Li Cas Txuas Android Daim Ntawv Thov Nrog AWS IOT thiab Nkag Siab Lub Suab Pom Pom API: Qhov kev qhia no qhia tus neeg siv yuav ua li cas txuas Android Daim Ntawv Thov rau AWS IOT server thiab nkag siab lub suab lees paub API uas tswj lub Tshuab Kas Fes. Kev Pabcuam Suab, txhua lub app c
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
Txuas Txuas Txuas Txuas: 5 Cov Kauj Ruam
Txuas Txuas Lub Sijhawm: Nyob Zoo! Hauv qhov kev qhia no koj yuav pom yuav ua li cas txuas nrog ib qho khoom siv Arduino sib xws, nruab nrog WiFi, rau REST APIs! Qhov no siv GitKraken Glo Board webapp los tsim cov laug cam, kab & daim npav los npaj khoom! Qee qhov kev paub ntawm yuav ua li cas pej xeem
Kev Sib Txuas Txuas Txuas Txuas Siv Bluefruit: 4 Cov Kauj Ruam
Kev Sib Txuas Tsis Sib Txuas Siv Bluefruit: Nov yog cov lus qhia yooj yim los ntawm kauj ruam qhia los hloov koj cov xov hlau nrog bluetooth tsis muaj zog txuas: Nws coj kuv ib pliag los daws qhov no vim tias tsis muaj cov ntaub ntawv hais txog kev ua qhov no nrog bluetooth niaj hnub tsis muaj zog thev naus laus zis raws li Bluefrui