Big ESP32 + SX127x topic part 2

  1. Learn how to format your posts. Do not simply cut-and-paste code.
  2. If something does not compile, tell us what the issue is. Error messages? Show them.

Does anyone use Micropython to connect this board to the TTN? I cannot find a library that has those functions.

Hey! I have a Heltec Wifi Lora ESP32 board. When I tried running the ttn-abp code, it is able to send the payload once, and it wonā€™t continue to send after that. In the serial monitor output, it never runs the EV_TXCOMPLETE.

In my config.h file, I have set it to #define CFG_us915 and #define CFG_sx1276_radio. I have set the appropriate network session key and application session key. Is there a wiring issue that I mightā€™ve skipped over? Would it be on the TTN side of not configuring something?

const lmic_pinmap lmic_pins = {
    .nss = 18, 
    .rxtx = LMIC_UNUSED_PIN,
    .rst = 14,
    .dio = {/*dio0*/ 26, /*dio1*/ 33, /*dio2*/ 32}
};

:drum: :drum: :drum: :drum: :drum: :drum: :drum:


p2-oled


My optional 0.96 OLED front panel is a remix of this Thing .

2 Likes

I found another OLED with 1.3" and has the ā€œstrangeā€ pin layout too :wink:
The overall size is high: 33.5mm width: 35.4mm
could you please give me the size of the board? I couldnā€™t find it. Thanks

My T-Beamā€™s PCB size is (LxH) : 100x33 mm

1 Like

It would be nice if you put the files online on Thingiverse and GitHub, too.

Sure I will, but not today.

Where is the best place to buy the Heltec Wifi LoRa 32?

you find it on some amazon sites, probably fastet way to get one. If you not, you can order it on Aliexpress.

1 Like

Cased my TTGO T-Beam, thanks to the creator of the case! Printed by 3d hubs print service.

IMG_20180816_192611

1 Like

Can you say how much 3d hubs charged for the print ?

I paid 17,92ā‚¬ including shipping (tracked). My order was routed to a print service in norther Germany (Joerg in Schortens).
4 days until delivery.

I see blue light coming from battery status LEDs, so you have one of the very first revisions of the T-Beam, right?
Does the window in the lid match your antenna connector ? I saw this picture before for the board similar to yours:


p2-enc-ant


In the revision (t22_v6 21080705) of the T-Beamā€™s PCB that Iā€™ve used while doing this enclosure design, antenna connector is in 1 mm off the centerline.

Yes, my TTGO T-Beam is probably an early type. Got it from Liliygo as sample for fitting paxcounter to it. Case matches exactly in all dimensions.

Hi Guys,

This looks like a great topic.

I have one of these little Heltec boards with the OLED display.
Currently it just attempts to send data with the built in test code.

I am not an Arduino person so not that familiar with trying to modify code for this device.

I would like to find a pre built application that I can use to turn this device into a network monitoring/test node for my TTN gateways. I am based in Australia and using AU915 band plan.

Has someone already managed to get some basic LoRaWAN test code working on this device? It would be nice if the display showed some basic network parameters like RSSI, SNR, time, etc.

It would make a useful little test node.

A simple way to set up OTTA registration (maybe via the USB port) would probably be needed.

Cheers

Peter.

New TTGO 2.1 v1.6 with preloaded paxcounter software spotted recently on Ali:

https://m.de.aliexpress.com/item/32915894264.html

Peter,
Iā€™m running a TTGO with OLED as a single channel gateway. The code Iā€™m using was from

The OLED displays
Time:
RSSI:
Addr:
LEN:

FYI Iā€™m using another TTGO as the node, using

Dave

Iā€™m having an issue with my TTGO setup.
Using one as a sc-gateway, one as a node (see above message).

On the node, if I enable the OLED, the messages are NOT showing up on the ttn console, suggesting the U8 lib or OLED somehow corrupts the data packet.
The OLED display is working, for now I have it displaying ā€˜Starting Nodeā€™ after display.begin(); in setup().
Packets show on the gw OLED, and the gw shows they are received in the Message Statistics.

FYI Iā€™m following the bluejediā€™s notes, using as923, and the Heltec_WiFi_LoRa_32 pinmap. Boards are TTGO V1.

Dave

Thanks Dave, This will help in the short term.
Ultimately I would like to find a MicroPython version that will run on the TTGO and similar hardware as a LoRaWan client. I have a group of MicroPython enthusiasts who are all interested in developing simple low cost application nodes.

Peter.