Cov txheej txheem:

Arduino Kev Ruaj Ntseg 3G/GPRS Email Lub Koob Yees Duab Nrog Kev Tshawb Fawb: 4 Kauj Ruam
Arduino Kev Ruaj Ntseg 3G/GPRS Email Lub Koob Yees Duab Nrog Kev Tshawb Fawb: 4 Kauj Ruam

Video: Arduino Kev Ruaj Ntseg 3G/GPRS Email Lub Koob Yees Duab Nrog Kev Tshawb Fawb: 4 Kauj Ruam

Video: Arduino Kev Ruaj Ntseg 3G/GPRS Email Lub Koob Yees Duab Nrog Kev Tshawb Fawb: 4 Kauj Ruam
Video: yuav ruaj ntseg vim muaj txoj kev ntseeg thiab muaj keeb kwm 2024, Kaum ib hlis
Anonim
Arduino Kev Ruaj Ntseg 3G/GPRS Email Lub Koob Yees Duab nrog Kev Tshawb Fawb
Arduino Kev Ruaj Ntseg 3G/GPRS Email Lub Koob Yees Duab nrog Kev Tshawb Fawb
Arduino Kev Ruaj Ntseg 3G/GPRS Email Lub Koob Yees Duab nrog Kev Tshawb Fawb
Arduino Kev Ruaj Ntseg 3G/GPRS Email Lub Koob Yees Duab nrog Kev Tshawb Fawb

Hauv phau ntawv qhia no, kuv xav qhia txog ib qho ntawm kev tsim lub chaw saib xyuas kev nyab xeeb nrog lub ntsuas hluav taws xob thiab xa cov duab mus rau lub thawv xa ntawv ntawm 3G/GPRS daim ntaub thaiv.

Kab lus no yog ua raws lwm cov lus qhia: qhia 1 thiab qhia 2.

Qhov sib txawv ntawm qhov kev qhia no yog hauv kev siv lub ntsuas ntsuas txav mus rau hauv lub VC0706 lub koob yees duab txhawm rau txheeb xyuas kev txav mus los hauv tus ncej.

Yog li peb xav tau:

  • Arduino UAS
  • MicroSD daim npav breakout board
  • MicroSD daim npav
  • TTL Serial JPEG Lub Koob Yees Duab VC0706
  • 3G/GPRS/GSM/GPS daim thaiv
  • Chip resistor (1206) 2, 2kOhm thiab 3, 3kOhmWires, soldering hlau thiab lwm yam.
  • Wireleads LED thiab resistor 500-1000 Ohm.

Kauj Ruam 1: Teeb Lub Koob Yees Duab

Teeb Lub Koob Yees Duab
Teeb Lub Koob Yees Duab
Teeb Lub Koob Yees Duab
Teeb Lub Koob Yees Duab

Thawj theem, koj yuav tsum txuas lub LED (ALARM) ua ke nrog 500-1000 Ohm resistor, UART JPEG VC0706 lub koob yees duab thiab micro SD daim npav rau Arduino Uno (siv lub adapter), raws li qhia hauv daim duab. Micro SD daim npav yuav tsum tau muab tso rau hauv FAT32. LED (ALARM) yuav raug siv los qhia txog kev txav mus los.

Kauj Ruam 2: Teeb tsa 3G/GPRS Shield

3G/GPRS Shield Teeb
3G/GPRS Shield Teeb
3G/GPRS Shield Teeb
3G/GPRS Shield Teeb
3G/GPRS Shield Teeb
3G/GPRS Shield Teeb

Kev txuas 3G/GPRS daim thaiv rau Arduino UNO tsis nyuaj. Npaj ib daim npav SIM. Kev thov tus lej PIN yuav tsum yog neeg xiam oob khab ntawm daim npav SIM. Nruab daim npav SIM rau hauv "SIM" qhov nyob hauv qab ntawm daim ntaub thaiv 3G/GPRS.

Teem cov dhia ntawm daim ntaub thaiv rau "RX-1", "TX-0" txoj haujlwm. Tom ntej no, txuas txhua lub xov hlau txuas nrog Arduino UNO, nyob hauv tib qhov chaw ntawm 3G/GPRS daim ntaub thaiv. Thiab tom qab ntawd txuas ua ke 3G/GPRS ntaub thaiv npog thiab Arduino UNO. Txuas lub USB cable.

Koj yuav xav tau kho qhov nrawm ntawm kev sib pauv ntawm 3G/GPRS daim thaiv. Rau qhov no koj xav tau:

  • txhawb zog rau Arduino Uno board (siv USB lossis txuas lub zog sab nraud),
  • tig rau 3G/GPRS daim ntaub thaiv (nias thiab tuav "POWER" khawm rau 1 vib nas this),
  • txuas rau microUSB txuas ntawm 3G/GPRS daim thaiv,
  • tos rau kev teeb tsa tsis siv neeg ntawm cov tsav tsheb,
  • txuas siv lub davhlau ya nyob twg (piv txwv li, PuTTY) mus rau COM chaw nres nkoj (raws li qhia hauv daim duab) thiab sau cov lus txib "AT+IRPEX = 115200",
  • disconnect microUSB cable los ntawm 3G/GPRS ntaub thaiv npog.

Kauj ruam 3: Programming

Txoj haujlwm yog ua tiav los ntawm Arduino IDE.

Koj yuav tsum xub teeb tsa cov tsev qiv ntawv ntxiv: Camera_Shield_VC0706 thiab XModem. Txhua qhov yuam kev me me hauv XModem lub tsev qiv ntawv qub, kuv tau txuas lub tsev qiv ntawv raug.

Tua tawm Arduino IDE, qhib SnapMoveModem.ino kos duab. Nco ntsoov tias pawg "Arduino / Genuino UNO" raug xaiv. Kuv muab daim duab kos ua haujlwm.

Sau koj cov ntaub ntawv tsis yog "*****" cov cim: Nyem rau Rub lub pob.

Thov nco ntsoov tias qhov chaw nres nkoj "Serial" tau siv rau kev sib txuas lus nrog 3G/GPRS daim ntaub thaiv, thiab tsis yog los qhia cov ntaub ntawv debug. Yog li, nws tsis muaj peev xwm los qhia cov ntaub ntawv debug.

Kuv sau npe ntawm tus xa ntawv, teeb tsa daim ntawv thov xa ntawv hauv kuv lub xov tooj, tsim lub thawv xa ntawv tshiab (uas kuv yuav xa email nrog duab), ntxiv cov ntawv ceeb toom rau hauv xov tooj thaum email tshiab tuaj txog.

Kauj Ruam 4: Qhia tawm

Image
Image
Qhia tawm
Qhia tawm
Qhia tawm
Qhia tawm

Kuv tua ib daim vis dis aus los qhia txog kev ua haujlwm ntawm lub kaw lus. Cov vis dis aus no qhia txog yuav ua li cas tus tub sab tuaj hauv lub npog ntsej muag, lub ntsuas hluav taws xob tau tshwm sim, lub ntsuab ALARM LED teeb thiab lub yees duab ntawm tus tub sab raug xa mus rau e-mail. Ntsuab LED ALARM tawm mus. Tom qab ntawd tus tub sab tawm mus, lub ntsuas hluav taws xob tau tshwm sim dua, ntsuab ALARM LED teeb dua thiab daim duab thib ob raug xa mus rau e-mail.

Qhov qeeb hauv kev xa ib daim duab cuam tshuam nrog kev pauv pauv rau UART (38400) ntawm lub koob yees duab thiab Arduino UNO, nrog rau kev pauv pauv (115200) ntawm Arduino UNO thiab 3G/GPRS daim ntaub thaiv. Kuv tsis tau ua tiav nrawm, tab sis tsuas yog xav qhia qhov ua haujlwm ntawm lub kaw lus.

Kuv vam tias koj nyiam kuv cov lus qhia. Ua tsaug rau koj saib.

Pom zoo: