You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
# UART ports
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()
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?
The text was updated successfully, but these errors were encountered: