Cov txheej txheem:

Yooj Yim Tsis Nyeem Ntawv Email: 7 Cov Kauj Ruam
Yooj Yim Tsis Nyeem Ntawv Email: 7 Cov Kauj Ruam

Video: Yooj Yim Tsis Nyeem Ntawv Email: 7 Cov Kauj Ruam

Video: Yooj Yim Tsis Nyeem Ntawv Email: 7 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Yooj Yim Tsis Nyeem Email Tus Neeg Ceeb Toom
Yooj Yim Tsis Nyeem Email Tus Neeg Ceeb Toom
Yooj Yim Tsis Nyeem Email Tus Neeg Ceeb Toom
Yooj Yim Tsis Nyeem Email Tus Neeg Ceeb Toom
Yooj Yim Tsis Nyeem Email Tus Neeg Ceeb Toom
Yooj Yim Tsis Nyeem Email Tus Neeg Ceeb Toom
Yooj Yim Tsis Nyeem Email Tus Neeg Ceeb Toom
Yooj Yim Tsis Nyeem Email Tus Neeg Ceeb Toom

Nyob Zoo Txhua Tus, zoo siab tos txais lwm Cov Lus Qhia. Nrog rau qhov xwm txheej tam sim no ntawm kev ua haujlwm hauv tsev, Kuv tab tom ntsib qee qhov kev cov nyom vim kuv tau txais email los ntawm Kuv Lub Tuam Txhab Sijhawm. email thiab thaum kawg kuv ua nws. Kuv siv qhov txias tshaj plaws hauv pawg thawj coj saib Nodemcu coj qhov khoom hauv qhov tseeb. Cov Lus Ceeb Toom No yuav ceeb toom rau koj txog koj li Gmail tshiab thiab yuav qhia koj tus lej tag nrho ntawm email tshiab.

Khoom siv

1X Nextion 3.2 TFT Zaub

1 X Node MCU

1X Liab LED

1X 5V 1000mA Fais Fab Khoom

1 X 220 Ohm Resistor

1X AMS 1117 3.3V Tus Tswj

Jumper Hlau

Kub Nplaum Phom

Hlau Cutter

Lub thawv ntawv

Kauj Ruam 1: Qhia Tus Naj Npawb Ntawm Qhov Tsis Tau Xa Ntawv

Qhia Tus Xov Tooj Ntawm Tsis Tau Xa Ntawv
Qhia Tus Xov Tooj Ntawm Tsis Tau Xa Ntawv

Txhawm rau sib tham nrog Google tus Gmail servers, peb yuav tsum tsim kom muaj kev ruaj ntseg txuas mus rau lub server thiab xa daim ntawv thov HTTPS ruaj ntseg nrog peb tus email chaw nyob thiab tus lej nkag. Gmail yuav teb nrog daim ntawv XML uas muaj txhua yam ntaub ntawv, zoo li (ib feem ntawm) koj cov lus tsis ntev los no thiab cov xov tooj tsis tau nyeem.

Kom paub tseeb tias peb tsis xa peb tus lej Google rau tus neeg rau zaub mov tsis zoo, peb yuav tsum txheeb xyuas tus neeg rau zaub mov tus kheej, siv SHA-1 ntiv tes ntawm daim ntawv pov thawj SSL. Nov yog qhov sib txawv ntawm cov cim hexadecimal uas txheeb xyuas tus neeg rau zaub mov.

Kauj ruam 2: Kho vajtse & thaiv

Kho vajtse & thaiv
Kho vajtse & thaiv
Kho vajtse & thaiv
Kho vajtse & thaiv

Kuv suav ob peb daim duab saum toj no

  • 220 ohm resistor ntawm LED thiab D3 pins Hlau ntawm GND.
  • Tus pin TX txuas nrog RX tus pin ntawm NEXTION Zaub.
  • RX tus pin txuas nrog TX tus pin ntawm NEXTION Zaub.

Kauj Ruam 3: Teeb Up Nextion Zaub

Muab cov ntawv no.tft tso rau hauv daim npav micro sd. Peb mam li muab daim npav SD no tso rau hauv daim npav daim npav SD tom qab ntawm Nextion Display. Yog tias tam sim no peb ua kom lub zog tso tawm, nws yuav hloov kho cov cai uas cov khoom ua haujlwm. Yog tias tam sim no peb tshem daim npav SD thiab ua kom lub zog tso tawm ib zaug ntxiv, cov neeg siv duab nraaj tshiab yuav tshwm.

Kauj Ruam 4: Txoj Cai & Nws Ua Haujlwm Li Cas

Code & Nws Ua Haujlwm Li Cas
Code & Nws Ua Haujlwm Li Cas

Ok, yog li ntawm no yog dab tsi tshwm sim tiag tiag.

Ib tug neeg xa email rau koj. Gmail pom nws, thiab pib koj li kev pabcuam Nodemcu. Nodemcu tau txais HTTP Cov Lus Teb, thiab qhov ntawd yog qhov ua rau lub teeb pom kev ntawm lub teeb LED tig rau. thiab tseem qhia txog cov suav tsis tau nyeem email.

Kauj ruam 5: Yuav tsum tau cov ntaub ntawv

Kauj Ruam 6: Nkag Siab Koj Tus ID nkag mus

Txhawm rau nkag mus rau cov khoom noj, koj yuav tsum nkag mus rau koj tus email chaw nyob thiab tus password. Koj tsis tuaj yeem xa lawv raws li cov ntawv yooj yim, koj yuav tsum tau sau lawv mus rau base64 ua ntej. Siv cov lus txib hauv qab no hauv lub davhlau ya nyob twg (Linux & Mac):

ncha -n "[email protected]: password" | puag 64

Tom qab ntawd ntxiv rau daim duab. Piv txwv li:

const char* daim ntawv pov thawj = "ZW1haWwuYWRkcmVzc0BnbWFpbC5jb206cGFzc3dvcmQ =";

Kauj Ruam 7: Xeem & Summery

Xeem & Summery
Xeem & Summery
Xeem & Summery
Xeem & Summery
Xeem & Summery
Xeem & Summery

Vam tias qhov no tuaj yeem pab tau rau ib tus neeg thiab kawm ntau npaum li kuv tau ua. Koj tuaj yeem siv txhua cov ntaub ntawv sib qhia ntawm no thiab muaj mus rau koj tus kheej.

Cov lus pom zoo txais tos, yog tias koj yog koj nyiam nws qhia koj cov lus tawm tswv yim thiab pov npav. Ua tsaug txhua tus thiab ntsib koj sai sai no. Zoo siab ua!

Pom zoo: