{"product_id":"lilygo-ttgo-lora32-915mhz-sx1276-esp32-oled-display-bluetooth-wifi-lora-development-module-board","title":"LILYGO TTGO LORA32 915Mhz SX1276 ESP32 OLED Display bluetooth WIFI Lora Development Module Board","description":"\u003ca href=\"https:\/\/www.banggood.com\/Wemos-TTGO-LORA32-868915Mhz-SX1276-ESP32-Oled-display-Bluetooth-WIFI-Lora-p-1248652.html\" target=\"_blank\"\u003e\u003cspan style=\"color:#ff0000;\"\u003e\u003cspan style=\"font-size:14px;\"\u003eIf you need the 868mhz version, please buy Product ID: 1248652\u003c\/span\u003e\u003c\/span\u003e\u003c\/a\u003e\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003e\u003cspan style=\"font-size: 16px;\"\u003eDescription:\u003c\/span\u003e\u003c\/strong\u003e\u003cbr\u003e\u003cp\u003e\u003cspan style=\"font-size: 14px;\"\u003eThe 915MHz antenna needs to be in connection with the IPEX interface (if the antenna is not connected, it may damage the LoRa chip)\u003cbr\u003eLithium battery charge and discharge circuit, when the battery is full, the blue LED will stop working. When using, pay attention to the positive and negative of the battery, otherwise it will be damaged!\u003c\/span\u003e\u003cspan style=\"font-size: 14px;\"\u003eWith IO port touch screen touch signal input, you need to add the 100nF pull-down capacitor to this pin!\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan style=\"font-size: 16px;\"\u003e\u003cstrong\u003eExample:\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan style=\"font-size: 14px;\"\u003eThis product is a SX1276 chip based on ESP32 WIFI increased OLED, namely LoRa remote modem, 915MHz frequency, high sensitivity is over-148dBm, + 20dBm output power, high reliability, long transmission distance.\u003c\/span\u003e\u003cbr\u003e\u003cspan style=\"font-size: 14px;\"\u003ethe onboard 32MB Flash wi-fi antenna, 0.96 inch blue oled display, lithium battery charging circuit, CP2102 interface and USB serial chip, the perfect support for development environment, can be used for program checking and product development is very easy and fast.\u003c\/span\u003e\u003cbr\u003e\u003cspan style=\"font-size: 14px;\"\u003eOperating voltage: 3.3V to 7V\u003c\/span\u003e\u003cbr\u003e\u003cspan style=\"font-size: 14px;\"\u003eOperating temperature range: -40 ° C to + 90 ° C\u003c\/span\u003e\u003cbr\u003e\u003cspan style=\"font-size: 14px;\"\u003eSupport for Sniffer software protocol analysis, Station, SoftAP, and Wi-Fi Direct modes\u003c\/span\u003e\u003cbr\u003e\u003cspan style=\"font-size: 14px;\"\u003eData rates: 150 Mbps @ 11n HT40., 72 Mbps @ 11n HT20, 54 Mbps @ 11g, 11 Mbps @ 11b\u003c\/span\u003e\u003cbr\u003e\u003cspan style=\"font-size: 14px;\"\u003etransmit power: 19.5 dBm @ 11b, 16.5 dBm @ 11g, 15.5 dBm @ 11n\u003c\/span\u003e\u003cbr\u003e\u003cspan style=\"font-size: 14px;\"\u003ereceiver sensitivity up to -98 dBm\u003c\/span\u003e\u003cbr\u003e\u003cspan style=\"font-size: 14px;\"\u003eUDP sustained throughput of 135 Mbps\u003c\/span\u003e\u003cbr\u003e \u003c\/p\u003e\u003ch1\u003e\u003cstrong\u003e\u003cspan style=\"font-size: 16px;\"\u003ePin diagram:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/h1\u003e\u003cp\u003e\u003cimg alt=\"\" src=\"http:\/\/img.staticbg.com\/images\/oaupload\/ser1\/banggood\/images\/40\/27\/a2461586-680d-47a7-b808-3920f0a56995.jpg\" style=\"font-size: 14px; width: 1000px; height: 707px;\"\u003e\u003cbr\u003e \u003c\/p\u003e\u003ch1\u003e\u003cspan style=\"font-size: 16px;\"\u003eTest details:\u003c\/span\u003e\u003c\/h1\u003e\u003cp\u003e\u003cimg alt=\"\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1rhXrbvDH8KJjy1Xcq6ApdXXaE.jpg?size=57897\u0026amp;height=694\u0026amp;width=554\u0026amp;hash=dad1fa80af99295b36b5f75b4ac8098d\" style=\"width: 554px; height: 694px;\"\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan style=\"font-size: 16px;\"\u003e\u003cstrong\u003eUse legend:\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cimg alt=\"\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1T9hmbwLD8KJjSszeq6yGRpXay.jpg?size=54181\u0026amp;height=744\u0026amp;width=554\u0026amp;hash=86fc291e994539e8ce2c9d33632da582\" style=\"width: 554px; height: 744px;\"\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan style=\"font-size: 16px;\"\u003e\u003cstrong\u003ePackage included:\u003c\/strong\u003e\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e1 x Wemos® TTGO LORA32 915Mhz SX1276 ESP32\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e1 x 915nhz Spring Antenna\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e1 x Line\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e2 x Pin\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan style=\"font-size: 16px;\"\u003e\u003cstrong\u003eFor example One\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\u003cp data-spm-anchor-id=\"2114.10010108.1000023.i0.558759bfmgBgSz\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e(1) 915MhzOLED LoRaSender\u003cbr\u003e#include \u003cspi.h\u003e\u003cbr\u003e#include \u003clora.h\u003e\u003cbr\u003e#include \u003cwire.h\u003e\u003cbr\u003e#include \"SSD1306.h\"\u003cbr\u003e#include \"images.h\"\u003cbr\u003e\u003cbr\u003e#define SCK 5 \/\/ GPIO5 - SX1278's SCK\u003cbr\u003e#define MISO 19 \/\/ GPIO19 - SX1278's MISO\u003cbr\u003e#define MOSI 27 \/\/ GPIO27 - SX1278's MOSI\u003cbr\u003e#define SS 18 \/\/ GPIO18 - SX1278's CS\u003cbr\u003e#define RST 14 \/\/ GPIO14 - SX1278's RESET\u003cbr\u003e#define DI0 26 \/\/ GPIO26 - SX1278's IRQ (interrupt request)\u003cbr\u003e#define BAND 868E6 \/\/ 915E6\u003cbr\u003e\u003cbr\u003eunsigned int counter = 0;\u003cbr\u003e\u003cbr\u003eSSD1306 display (0x3c, 4, 15);\u003cbr\u003eString rssi = \"RSSI -\";\u003cbr\u003eString packSize = \"-\";\u003cbr\u003eString packet;\u003cbr\u003e\u003cbr\u003e\u003cbr\u003evoid setup () {\u003cbr\u003e  pinMode (16, OUTPUT);\u003cbr\u003e  pinMode (2, OUTPUT);\u003cbr\u003e  \u003cbr\u003e  digitalWrite (16, LOW); \/\/ set GPIO16 low to reset OLED\u003cbr\u003e  delay (50);\u003cbr\u003e  digitalWrite (16, HIGH); \/\/ while OLED is running, GPIO16 must go high\u003cbr\u003e  \u003cbr\u003e  Serial.begin (9600);\u003cbr\u003e  while (! Serial);\u003cbr\u003e  Serial.println ();\u003cbr\u003e  Serial.println (\"LoRa Sender Test\");\u003cbr\u003e  \u003cbr\u003e  SPI.begin (SCK, MISO, MOSI, SS);\u003cbr\u003e  LoRa.setPins (SS, RST, DI0);\u003cbr\u003e  if (! LoRa.begin (868)) {\u003cbr\u003e    Serial.println (\"Starting LoRa failed!\");\u003cbr\u003e    while (1);\u003cbr\u003e  }\u003cbr\u003e  \/\/LoRa.onReceive(cbk);\u003cbr\u003e\/\/ LoRa.receive ();\u003cbr\u003e  Serial.println (\"init ok\");\u003cbr\u003e  display.init ();\u003cbr\u003e  display.flipScreenVertically ();\u003cbr\u003e  display.setFont (ArialMT_Plain_10);\u003cbr\u003e  delay (1500);\u003cbr\u003e}\u003cbr\u003e\u003cbr\u003evoid loop () {\u003cbr\u003e  display.clear ();\u003cbr\u003e  display.setTextAlignment (TEXT_ALIGN_LEFT);\u003cbr\u003e  display.setFont (ArialMT_Plain_10);\u003cbr\u003e  \u003cbr\u003e  display.drawString (0, 0, \"Sending packet:\");\u003cbr\u003e  display.drawString (90, 0, String (counter));\u003cbr\u003e  display.display ();\u003cbr\u003e\u003cbr\u003e  \/\/ send packet\u003cbr\u003e  LoRa.beginPacket ();\u003cbr\u003e  LoRa.print (\"hello\");\u003cbr\u003e  LoRa.print (counter);\u003cbr\u003e  LoRa.endPacket ();\u003cbr\u003e\u003cbr\u003e  counter ++;\u003cbr\u003e  digitalWrite (2, HIGH); \/\/ turn the LED on (HIGH is the voltage level)\u003cbr\u003e  delay (1000); \/\/ wait for a second\u003cbr\u003e  digitalWrite (2, LOW); \/\/ turn the LED off by making the voltage LOW\u003cbr\u003e  delay (1000); \/\/ wait for a second\u003cbr\u003e}\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e(2) 868mhz \/ 915Mhz OLED LoRaSender\u003cbr\u003e#include \u003cspi.h\u003e\u003cbr\u003e#include \u003clora.h\u003e\u003cbr\u003e#include \u003cwire.h\u003e\u003cbr\u003e#include \"SSD1306.h\"\u003cbr\u003e#include \"images.h\"\u003cbr\u003e\u003cbr\u003e#define SCK 5 \/\/ GPIO5 - SX1278's SCK\u003cbr\u003e#define MISO 19 \/\/ GPIO19 - SX1278's MISO\u003cbr\u003e#define MOSI 27 \/\/ GPIO27 - SX1278's MOSI\u003cbr\u003e#define SS 18 \/\/ GPIO18 - SX1278's CS\u003cbr\u003e#define RST 14 \/\/ GPIO14 - SX1278's RESET\u003cbr\u003e#define DI0 26 \/\/ GPIO26 - SX1278's IRQ (interrupt request)\u003cbr\u003e#define BAND 868E6 \/\/ 915E6\u003cbr\u003e\u003cbr\u003eSSD1306 display (0x3c, 4, 15);\u003cbr\u003eString rssi = \"RSSI -\";\u003cbr\u003eString packSize = \"-\";\u003cbr\u003eString packet;\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003evoid loraData () {\u003cbr\u003e  display.clear ();\u003cbr\u003e  display.setTextAlignment (TEXT_ALIGN_LEFT);\u003cbr\u003e  display.setFont (ArialMT_Plain_10);\u003cbr\u003e  display.drawString (0, 15, \"Received\" + packSize + \"bytes\");\u003cbr\u003e  display.drawStringMaxWidth (0, 26, 128, packet);\u003cbr\u003e  display.drawString (0, 0, rssi);\u003cbr\u003e  display.display ();\u003cbr\u003e}\u003cbr\u003e\u003cbr\u003evoid cbk (int packetSize) {\u003cbr\u003e  packet = \"\";\u003cbr\u003e  packSize = String (packetSize, DEC);\u003cbr\u003e  for (int i = 0; i \u003cpacketsize br=\"\" i=\"\" lora.read=\"\" packet=\"\"\u003e  rssi = \"RSSI\" + string (LoRa.packetRssi (), DEC);\u003cbr\u003e  loraData ();\u003cbr\u003e}\u003cbr\u003e\u003cbr\u003evoid setup () {\u003cbr\u003e  pinMode (16, OUTPUT);\u003cbr\u003e  digitalWrite (16, LOW); \/\/ set GPIO16 low to reset OLED\u003cbr\u003e  delay (50);\u003cbr\u003e  digitalWrite (16, HIGH); \/\/ while OLED is running, GPIO16 must go high,\u003cbr\u003e  \u003cbr\u003e  Serial.begin (9600);\u003cbr\u003e  while (! Serial);\u003cbr\u003e  Serial.println ();\u003cbr\u003e  Serial.println (\"LoRa Receiver Callback\");\u003cbr\u003e  SPI.begin (SCK, MISO, MOSI, SS);\u003cbr\u003e  LoRa.setPins (SS, RST, DI0);\u003cbr\u003e  if (! LoRa.begin (868E6)) {\u003cbr\u003e    Serial.println (\"Starting LoRa failed!\");\u003cbr\u003e    while (1);\u003cbr\u003e  }\u003cbr\u003e  \/\/LoRa.onReceive(cbk);\u003cbr\u003e  LoRa.receive ();\u003cbr\u003e  Serial.println (\"init ok\");\u003cbr\u003e  display.init ();\u003cbr\u003e  display.flipScreenVertically ();\u003cbr\u003e  display.setFont (ArialMT_Plain_10);\u003cbr\u003e  \u003cbr\u003e  delay (1500);\u003cbr\u003e}\u003cbr\u003e\u003cbr\u003evoid loop () {\u003cbr\u003e  int packetSize = LoRa.parsePacket ();\u003cbr\u003e  if (packetSize) {cbk (packetSize); }\u003cbr\u003e  delay (10);\u003cbr\u003e}\u003c\/packetsize\u003e\u003c\/wire.h\u003e\u003c\/lora.h\u003e\u003c\/spi.h\u003e\u003c\/wire.h\u003e\u003c\/lora.h\u003e\u003c\/spi.h\u003e\u003c\/span\u003e\u003cbr\u003e \u003c\/p\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg alt=\"\" src=\"https:\/\/imgaz.staticbg.com\/images\/oaupload\/banggood\/images\/99\/76\/c4ff19e3-68fb-4f3f-aca4-af87cdb60e01.jpeg\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg alt=\"\" src=\"https:\/\/imgaz.staticbg.com\/images\/oaupload\/banggood\/images\/9E\/91\/7db4ba0d-690b-4b6b-81aa-90d9aa4fe42d.jpeg\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg alt=\"\" src=\"https:\/\/imgaz.staticbg.com\/images\/oaupload\/banggood\/images\/76\/50\/aa5fc75f-fd04-40eb-86a4-8032c5d5dd79.jpeg\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg alt=\"\" src=\"https:\/\/imgaz.staticbg.com\/images\/oaupload\/banggood\/images\/DC\/AF\/4c833811-7614-4916-a290-5930b941298e.jpeg\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg alt=\"\" src=\"https:\/\/imgaz.staticbg.com\/images\/oaupload\/banggood\/images\/57\/4B\/dd9dbe29-8232-4498-920f-257643c8f808.jpeg\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg alt=\"\" src=\"https:\/\/imgaz.staticbg.com\/images\/oaupload\/banggood\/images\/85\/CA\/66ec2f6c-7496-4415-a942-97ac5f2a69e4.jpeg\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg alt=\"\" src=\"https:\/\/imgaz.staticbg.com\/images\/oaupload\/banggood\/images\/60\/6B\/c305b060-ad8e-4558-85a9-9f2e805f2fe7.jpeg\"\u003e","brand":"Electronic Pro","offers":[{"title":"Default Title","offer_id":35566566867100,"sku":"1507043","price":1075.38,"currency_code":"ZAR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/2787\/9162\/products\/cb2a0a45-b88a-4864-b995-139e5fb90bf0.jpg?v=1597667959","url":"https:\/\/electronic-pro-south-africa.myshopify.com\/products\/lilygo-ttgo-lora32-915mhz-sx1276-esp32-oled-display-bluetooth-wifi-lora-development-module-board","provider":"Electronic Pro ","version":"1.0","type":"link"}