Problem with esp32 TTgo Lora Board

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Txus25
Posts: 1
Joined: Mon May 18, 2020 7:04 pm

Problem with esp32 TTgo Lora Board

Post by Txus25 » Mon May 18, 2020 8:15 pm

Hi.
These are starting with programming in python and I have run into a problem with esp32.
Currently I have a code running on a generic esp32 that only reads data from digital inputs and sends them via mqtt to a server without any problems. Up to here everything ok.
I've sent the same code to an esp32 ttgo board with lora and display (https://es.aliexpress.com/item/40001192 ... fe88b7be5e = 89739afb-513c-4c11-8815-08fe88b7b5e2-11 & btsid = 0ab50f4915894801772394551ea5c2 & ws_ab_test = searchweb0_0, searchweb201602_) and said code does not work. I have tried to cancel all the reading of the I / O and publish via mqtt a fixed data and it does not work either.
The problem is the following. The board takes ip address but when executing the main.py that is where the calls to the mqtt are, it does not work.
Is anyone using this board?
Thank you very much and sorry for my English

Glagnar
Posts: 2
Joined: Sat Oct 24, 2020 9:31 pm

Re: Problem with esp32 TTgo Lora Board

Post by Glagnar » Sat Oct 24, 2020 10:24 pm

I have several LoRa boards including the one from TTGO, and they all work with this library:
https://github.com/lemariva/uPyLoRaWAN

There is also a great guide here about it:
https://lemariva.com/blog/2020/02/tutor ... r-lorawan

Post Reply