Open dork3nergy opened 3 years ago
Some things you can try : 1) check if you are using the correct pins on your ESP32 board 2) verify the the RX and TX connections between ESP32 an loraE32 are crossed 3) Have you tried using the alternative port in the constructor, default is U1, but there is also U2
PORT = { 'U1':1, 'U2':2 } ... def init(self, PinM0, PinM1, PinAUX, Model='868T20D', Port='U1', Baudrate=9600, Parity='8N1', AirDataRate='2.4k', Address=0x0000, Channel= 0x06, debug=False): ''' constructor for ebyte E32 LoRa module ''' ...
from loraE32 import ebyteE32 M0pin = 25 M1pin = 26 AUXpin = 27 e32 = ebyteE32(M0pin, M1pin, AUXpin, Port='U2', Address=0x0001, Channel= 0x04, debug=False) e32.start()
Hello, wanted to confirm for anyone coming here that for lolin boards using port U2 is indeed the solution. My board was loop resetting with port U1.
Can't seem to get this to work with a Lolin D32. Might be the UART pins. The ESP32 you use seems to have 2 sets of UART (TX1/RX1) and the D32 (TX0/RX0) has only one. Is there some way in your code to specify which pins the UART should use?