HelTecAutomation / ESP32_LoRaWAN

Transplanted from Semtech LoRaWAN(https://github.com/Lora-net/LoRaMac-node) protocol to "ESP32 + Arduino" platform. Use RTC, support deep sleep, only working with ESP32 + LoRa boards made by HelTec Automation(TM). Need a unique license to use it.
336 stars 108 forks source link

Wrong pin for DIO1 #1

Closed michaelshmitty closed 5 years ago

michaelshmitty commented 5 years ago

https://github.com/HelTecAutomation/ESP32_LoRaWAN/blob/b34e3eea56b09c126cab389d23016f01ebcda916/examples/OTAA/OTAA.ino#L44 https://github.com/HelTecAutomation/ESP32_LoRaWAN/blob/b34e3eea56b09c126cab389d23016f01ebcda916/examples/OTAA_DHT11/OTAA_DHT11.ino#L66 https://github.com/HelTecAutomation/ESP32_LoRaWAN/blob/b34e3eea56b09c126cab389d23016f01ebcda916/examples/OTAA_OLED/OTAA_OLED.ino#L48

The hardware DIO1 pin of the SX1276 is connected to pin 25 of the HelTec board, not pin 35 as stated in the examples.

Heltec-Aaron-Lee commented 5 years ago

we have two version WiFi LoRa 32 baords, they had a different pin defintion on DIO1. V1 pin out diagram: https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/blob/master/PinoutDiagram/WIFI_LoRa_32_V1.pdf V2 pin out diagram: https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/blob/master/PinoutDiagram/WIFI_LoRa_32_V2.pdf