Cov txheej txheem:

ESP32 LoRaWAN Mote: 3 Kauj Ruam
ESP32 LoRaWAN Mote: 3 Kauj Ruam

Video: ESP32 LoRaWAN Mote: 3 Kauj Ruam

Video: ESP32 LoRaWAN Mote: 3 Kauj Ruam
Video: #404 How to Build or Migrate Sensors and Gateways on TTN LoRaWAN V3 2024, Kaum ib hlis
Anonim
ESP32 LoRaWAN Mote
ESP32 LoRaWAN Mote
ESP32 LoRaWAN Mote
ESP32 LoRaWAN Mote
ESP32 LoRaWAN Mote
ESP32 LoRaWAN Mote

Hauv txoj haujlwm no peb yuav siv ESP32 Heltec WiFi LoRa OLED board los ntawm Banggood los tsim LoRaWAN Mote (qhov kawg ntawm qhov) xa cov ntaub ntawv los ntawm DHT22 sensor mus rau The Things Network (TTN) thiab tso saib lub ntsuas qhov ntsuas. Cov cai thiab tsev qiv ntawv siv hauv qhov haujlwm tuaj yeem pom ntawm GitHub. Koj kuj tseem yuav tsum tau xaj tus kav hlau txais xov thiab tus npua tus tw txuas (U. FL rau SMA). Ib tus lej TTN kuj tseem xav tau sau npe Mote thiab daim ntawv thov. Txoj haujlwm no kwv yees qee qhov kev paub ntawm Arduino IDE, LoRaWAN thiab ntawm ESP32 feem ntau. Qee qhov kev txawj ntse kuj tseem yuav tsum tau txuas tus pin header rau ESP32 pawg thawj coj saib. LoRa Gateway ua haujlwm txuas nrog Cov Khoom Network kuj tseem yuav xav tau. Yog tias koj tsis muaj LoRa Gateway nce thiab khiav koj tuaj yeem ua raws li kuv lwm qhov kev qhia teeb tsa 1_CH LoRa Gatway siv pawg tswj hwm Heltec no. Hom Gateway no tsuas yog tsim los rau ntawm lub rooj ntev zaum thiab tsis yog LoRa Gateway tag nrho. Txoj haujlwm no tseem yuav ua haujlwm siv lwm ESP32 pawg thawj coj txhim kho nrog WiFi, LoRa thiab OLED tab sis pin_mapping yuav txawv thiab yuav xav tau kev paub zoo txog kev ua raws cov lej thiab pin_out daim duab ntawm pawg thawj coj xaiv

Txhawm rau taug kev tag nrho nrog cov kauj ruam ib kauj ruam duab vist ntawm no.

Kauj Ruam 1: Hais txog Pawg Neeg Saib Xyuas Heltec

Hais txog Pawg Neeg Saib Xyuas Heltec
Hais txog Pawg Neeg Saib Xyuas Heltec
Hais txog Pawg Neeg Saib Xyuas Heltec
Hais txog Pawg Neeg Saib Xyuas Heltec

Kev qhia tshwj xeeb:

  • CPU: ESP32 DOWDQ6

    • 240 MHz dual ntxhais
    • WiFi mus txog 150Mbps 802.11 b/g/n/e/i
    • Bluetooth 4.2 (BLE) Kev them nyiaj yug
  • Nyem: 4MB (32Mbit)
  • USB-Serial Converter: CP2102
  • Xov tooj cua: Semtech SX1276
  • Kav hlau txais xov txuas: IPX (U. FL)
  • OLED Screen:

    • Loj: 0.96 ″
    • Tsav tsheb: SSD1306
    • Daws teeb meem: 128 × 64 px
  • Li-Ion/Li-Po charging Circuit
  • Roj teeb qhov (socket): 2pin raster 1.25 mm
  • Loj: 52 x 25.4 x 10.3 mm

Kauj Ruam 2: Teeb Arduino IDE rau ESP32

Teeb tsa Arduino IDE rau ESP32
Teeb tsa Arduino IDE rau ESP32

Tseem ceeb: ua ntej pib txheej txheem teeb tsa no, xyuas kom tseeb tias koj muaj qhov hloov tshiab kawg ntawm Arduino IDE teeb tsa hauv koj lub computer. Yog tias koj tsis ua, tshem nws thiab nruab nws dua. Txwv tsis pub, nws yuav tsis ua haujlwm. Tam sim no ESP32 tau koom ua ke nrog Arduino IDE ib yam li nws tau ua tiav rau ESP8266. Qhov txuas ntxiv no rau Arduino IDE tso cai rau koj rau program ESP32 siv Arduino IDE thiab nws cov lus programming. Qhov tseem ceeb NCO TSEG: Yog qhov no yog koj thawj zaug txhim kho ESP32 ntawm Arduino IDE, yooj yim ua raws cov txheej txheem teeb tsa piav qhia hauv qab no. twb tau teeb tsa ESP32 ntxiv rau siv cov txheej txheem qub, koj yuav tsum tshem daim ntawv espressif ua ntej. Mus rau qhov kawg ntawm ntu no txhawm rau kawm paub yuav tshem tawm espressif nplaub tshev li cas raws li Ntu 1 Nco tseg#1. Txhua lub hwj chim ntawm lub rooj tsavxwm yam tsis txuas lub kav hlau txais xov ua ntej vim koj yuav ua rau lub xov tooj cua tawg ntawm lub nkoj.

Kauj Ruam 3: Txhim Kho ESP32 Pawg Thawj Coj

Txhim kho ESP32 Board
Txhim kho ESP32 Board

Txhawm rau teeb tsa ESP32 pawg thawj coj hauv koj li Arduino IDE, ua raws cov lus qhia hauv qab no: 1) Qhib qhov nyiam los ntawm Arduino IDE. Mus rau Cov Ntaub Ntawv> Nyiam2) Nkag mus https://dl.espressif.com/dl/package_esp32_index.json rau hauv "Tus Thawj Saib Xyuas Haujlwm Ntxiv URLs" teb raws li qhia hauv daim duab hauv qab no. Tom qab ntawv, nyem rau lub pob "OK". Nco tseg: yog tias koj twb muaj ESP8266 boards URL, koj tuaj yeem cais cov URL nrog tus lej raws li hauv qab no: https://dl.espressif.com/dl/package_esp32_index.json, http:/ /arduino.esp8266.com/stable/package_esp8266com_index.json

Pom zoo: