# TTGO T-Beam topic

**URL:** <https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297>\
**Category:** End Devices (Nodes)\
**Created:** [June 25, 2018, 2:58pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297 "2018-06-25T14:58:18Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![rem73](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/rem73/32/35697_2.png) [@rem73](https://www.thethingsnetwork.org/forum/u/rem73)\
**Post date:** [February 1, 2019, 12:07pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/87 "2019-02-01T12:07:23Z")

</div>

“buying a new one is probably cheaper…” : No!! You don"t undestand.  
I’m pratically sure that the mistake is not on MY board but on ALL TTGO V1 at 868Mhz:  
There is a mystake in the layout: use of PAboost with wrong parts. Or it is only a BOM mistake  
Understanding PA SX1276 is not obvious: many frequencies and BOM changes, many power configuration, 2 différents layout available, use or not EMI filter…not so easy as connecting an Oled Display.

Any way , if you are not able to do the measurement with specific hardware, you can not see the difference. 10dB Could be over-pass by good or bad cable and antenna. You will see it only for test at the limit range, with same antenna…

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [February 1, 2019, 12:13pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/88 "2019-02-01T12:13:41Z")

</div>

> [@rem73](#):
>
> I’m pratically sure that the mistake is not on MY board but on ALL TTGO V1 at 868Mhz

ok, therefore you can’t say that changing a few components will help if there is a fundamental design error.

---

<div class="post-metadata">

**Author:** ![rem73](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/rem73/32/35697_2.png) [@rem73](https://www.thethingsnetwork.org/forum/u/rem73)\
**Post date:** [February 1, 2019, 12:21pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/89 "2019-02-01T12:21:22Z")

</div>

To be clear : If you change theses components ( not easy ) and modify LMIC lib, you can improve de transmitted power, to be close to the semtech specification and RFM95

---

<div class="post-metadata">

**Author:** ![UdLoRa](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/udlora/32/45330_2.png) [@UdLoRa](https://www.thethingsnetwork.org/forum/u/UdLoRa)\
**Post date:** [February 1, 2019, 2:08pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/90 "2019-02-01T14:08:33Z")

</div>

There is a video by Andreas Spiess about the [ESP32 issues due to bad RF design](https://www.youtube.com/watch?v=CJNq2I_PDHQ) . However, I agree that is likely better to buy an ESP32 alone + RFM95w instead.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [February 1, 2019, 2:11pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/91 "2019-02-01T14:11:35Z")

</div>

tnx… Andreas was **[spotted](https://www.thethingsnetwork.org/forum/t/conference-paparazzi/21985/72)** at The Conference yesterday ! 🕶

---

<div class="post-metadata">

**Author:** ![ori](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ori/32/25844_2.png) [@ori](https://www.thethingsnetwork.org/forum/u/ori)\
**Post date:** [March 18, 2019, 10:44am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/92 "2019-03-18T10:44:23Z")

</div>

I wonder what is this UFL connector for, does anyone know? ![UFL](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/9/e/9e481a599dcee96a056e274a6e000f0ab387bba3.jpeg)

---

<div class="post-metadata">

**Author:** ![EricVdB](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/e/ce73a5/32.png) [@EricVdB](https://www.thethingsnetwork.org/forum/u/EricVdB)\
**Post date:** [March 18, 2019, 10:55am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/93 "2019-03-18T10:55:55Z")

</div>

Wifi ?

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/48549_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [March 18, 2019, 10:57am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/94 "2019-03-18T10:57:19Z")

</div>

It is meant for connecting an external Wifi/BT antenna but that would require moving (de/re-soldering) a 0 ohm resistor (on the left of the U.FL connector) from one location to another to switch the RF connection.

---

<div class="post-metadata">

**Author:** ![ori](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ori/32/25844_2.png) [@ori](https://www.thethingsnetwork.org/forum/u/ori)\
**Post date:** [March 18, 2019, 11:20am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/95 "2019-03-18T11:20:44Z")

</div>

Not good for the Lora antenna then…

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/48549_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [March 18, 2019, 11:24am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/96 "2019-03-18T11:24:17Z")

</div>

That is unrelated to the LoRa antenna _(or at least as much related as the on-board Wifi/BT antenna)_.

---

<div class="post-metadata">

**Author:** ![ori](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ori/32/25844_2.png) [@ori](https://www.thethingsnetwork.org/forum/u/ori)\
**Post date:** [March 18, 2019, 11:47am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/97 "2019-03-18T11:47:05Z")

</div>

Any luck/update with regards to the GPS and sleep mode?

---

<div class="post-metadata">

**Author:** ![Bercman](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bercman/32/23141_2.png) [@Bercman](https://www.thethingsnetwork.org/forum/u/Bercman)\
**Post date:** [March 27, 2019, 9:07am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/100 "2019-03-27T09:07:35Z")

</div>

Hello!

I’m new to the LoRaWAN and TTN community.

I’ve been trying to get my [TTGO T-Beam](https://www.aliexpress.com/item/TTGO-T-Haz-ESP32-433-868-915-Mhz-WiFi-inal-mbrico-Bluetooth-m-dulo-ESP-32/32875743018.html?spm=a2g0s.9042311.0.0.274263c0HNqOji) to work (connect to TTN) for several days now, but have had no success whatsoever.

**What I’ve tried so far:**

- Downloaded LMIC library and tried out the following pinout settings according to [the best TTGO T-Beam pinout information](http://tinymicros.com/wiki/TTGO_T-Beam) I’ve found so far (incl. soldering LoRa1 to pin 33 and LoRa2 to pin 32 on the board itself):

> const lmic\_pinmap lmic\_pins = {  
> .nss = 18, // LoRa chip select on ttgo t-beam  
> .rxtx = LMIC\_UNUSED\_PIN,  
> .rst = LMIC\_UNUSED\_PIN, // Not required  
> .dio = {26, 33, 32}, // To LoRa DIO0 (interrupt), To LoRa DIO1 (interrupt) & To LoRa DIO2 (interrupt)  
> };

- Updated SPI settings in hal.cpp according to the correct SPI pinout:

> static void hal\_spi\_init () {  
> // SPI.begin();  
> SPI.begin(5,19,27); // These specific pins are for TTGO T-Beam only!  
> }

- Tested LMIC AGP example, paying very close attention to little- and big-endian formats. This is what I see (no joining feedback, the last lines just repeat after every 60 seconds as defined):  
**Baud rate 115200**

> ets Jun 8 2016 00:22:57
> 
> rst:0x1 (POWERON\_RESET),boot:0x33 (SPI\_FAST\_FLASH\_BOOT)  
> configsip: 0, SPIWP:0xee  
> clk\_drv:0x00,q\_drv:0x00,d\_drv:0x00,cs0\_drv:0x00,hd\_drv:0x00,wp\_drv:0x00  
> mode:DIO, clock div:1  
> load:0x3fff0018,len:4  
> load:0x3fff001c,len:928  
> ho 0 tail 12 room 4  
> load:0x40078000,len:9280  
> load:0x40080400,len:5848  
> entry 0x40080698  
> Starting  
> 11124: EV\_TXSTART  
> Packet queued  
> 206222: EV\_TXCOMPLETE (includes waiting for RX windows)

- Tested LMIC OTAA example, paying very close attention to little- and big-endian formats. This is what I see:  
**Baud rate 9600** (the last lines just repeat)

> ⸮as⸮⸮J&&⸮SY  
> Packet queued  
> 4918: EV\_JOINING  
> 4937: EV\_TXSTART  
> 414734: EV\_TXSTART  
> 843576: EV\_TXSTART  
> 1302692: EV\_TXSTART  
> 2665242: EV\_TXSTART

- OTAA example. **Baud rate 115200**

> ets Jun 8 2016 00:22:57  
> rst:0x1 (POWERON\_RESET),boot:0x33 (SPI\_FAST\_FLASH\_BOOT)  
> configsip: 0, SPIWP:0xee  
> clk\_drv:0x00,q\_drv:0x00,d\_drv:0x00,cs0\_drv:0x00,hd\_drv:0x00,wp\_drv:0x00  
> mode:DIO, clock div:1  
> load:0x3fff0018,len:4  
> load:0x3fff001c,len:928  
> ho 0 tail 12 room 4  
> load:0x40078000,len:9280  
> load:0x40080400,len:5848  
> entry 0x40080698

- Peeled off the LoRa module sticker to make sure I do not have the 433 MHz LoRa module as I did have with other LoRa modules I failed with as I live in Europe. Although it **is not** the 433 MHz module, I found HPD13A-915 written on top of the module. Knowing that the TTGO T-Beam advertises itself to be compatible with 868 MHz and 915 MHz at the same time (?!), might this prove to be a problem? I do have to admit I’m too novice in this to make sure, so any feedback on this would be fantastic.

Going through numerous topics on TTGO T-Beam and different examples, the board itself works and I’ve managed to upload code onto it, but I cannot seem to connect with the TTN. Any help or extra questions to give input to would be greatly appreciated!

PS. I am using The Things Gateway for testing.

Thanks!  
-Tarvo.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [March 27, 2019, 9:08am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/101 "2019-03-27T09:08:41Z")

</div>

see

> [@How do I format my forum post? \[HowTo\]](https://www.thethingsnetwork.org/forum/t/how-do-i-format-my-forum-post/8735):
>
> The TTN forum is using [Discourse](https://www.discourse.org/), which supports several ways to format your post: Markdown BBCode HTML Any combination of the above Quite often you’ll need an empty line above specific formatting to make it work. You’ll also have to type blank lines to create proper paragraphs; just pressing Return once and then typing a new block of text right below a previous block only creates a so-called line break, which might be harder to read. Leaving one blank line between two blocks of texts nicely…

---

<div class="post-metadata">

**Author:** ![Verkehrsrot](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/verkehrsrot/32/46588_2.png) [@Verkehrsrot](https://www.thethingsnetwork.org/forum/u/Verkehrsrot)\
**Post date:** [March 27, 2019, 9:21pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/102 "2019-03-27T21:21:15Z")

</div>

If you have the older TTGO T-Beam Version you need to wire Lora Pin DIO1 to CPU.

You can also check paxcounter software which comes with tailored settings for TTGO T-Beam, perhaps it works on your’s. If yes, you know that you did something wrong.

> **[cyberman54/ESP32-Paxcounter](https://github.com/cyberman54/ESP32-Paxcounter)**
>
> Wifi & BLE driven passenger flow metering with cheap ESP32 boards - cyberman54/ESP32-Paxcounter

---

<div class="post-metadata">

**Author:** ![Bercman](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bercman/32/23141_2.png) [@Bercman](https://www.thethingsnetwork.org/forum/u/Bercman)\
**Post date:** [March 28, 2019, 6:27am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/103 "2019-03-28T06:27:36Z")

</div>

Thanks for the tip. Could You please elaborate to where I would have to wire the LoRa DIO1 in case I need to?  
I’ve had a look at the Paxcounter before, but haven’t really tried uploading it to the T-Beam that as it seemed a bit too complex code to begin my exploration with, but I will try it out. Hopefully it reveal something. 🙂

EDIT: Paxcounter works fine, I was able to connect to TTN and forward data. So what mightbe up with the previous codes? 😕

---

<div class="post-metadata">

**Author:** ![DeuxVis](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/deuxvis/32/40111_2.png) [@DeuxVis](https://www.thethingsnetwork.org/forum/u/DeuxVis)\
**Post date:** [March 28, 2019, 9:31am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/104 "2019-03-28T09:31:21Z")

</div>

Well first make sure you have a version which needs the wiring.

Can you find any version marking on the board ? Please copy it here.

Later : I just saw your edit. You definitely do not need more wiring if paxcounter works.

---

<div class="post-metadata">

**Author:** ![Verkehrsrot](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/verkehrsrot/32/46588_2.png) [@Verkehrsrot](https://www.thethingsnetwork.org/forum/u/Verkehrsrot)\
**Post date:** [March 28, 2019, 11:14am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/105 "2019-03-28T11:14:07Z")

</div>

Double-check your pinout and your keys.

Pinout of TTGO-Tbeam can be found here:

> <https://github.com/espressif/arduino-esp32/blob/master/variants/t-beam/pins_arduino.h>

---

<div class="post-metadata">

**Author:** ![shadowkane](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/shadowkane/32/25844_2.png) [@shadowkane](https://www.thethingsnetwork.org/forum/u/shadowkane)\
**Post date:** [April 19, 2019, 4:26pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/106 "2019-04-19T16:26:07Z")

</div>

i’m not sure if this is the right place to post my question about TTGO T beam. It’s my first ESP board and my very first project with ESP and lora. my question is simple, can i use my board without battery, just power it on using only USB (connected to PC). I already tried that because i though it’s fine, like almost every single board in the market has an USB port for power and programming, but the moment i turn the switch on i heard some noise.i’m not sure if the noise is from Lora component or not but i think it is, so i just turned off.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [April 19, 2019, 4:43pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/108 "2019-04-19T16:43:25Z")

</div>

> [@shadowkane](#):
>
> can i use my board without battery, just power it on using only USB

why not

![](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/b/d/bd2394ba66eff61a598f11dbbb3bb81acb1a78ee.jpeg)

---

<div class="post-metadata">

**Author:** ![shadowkane](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/shadowkane/32/25844_2.png) [@shadowkane](https://www.thethingsnetwork.org/forum/u/shadowkane)\
**Post date:** [April 19, 2019, 4:49pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/109 "2019-04-19T16:49:16Z")

</div>

“why not”  
it’s the same though i had in mind when i was buying the board. if i can charge the battery from usb it means the usb can power the system on, which mean no need for battery if i want to work inside. but as i said, when i tried that, i heard some noise. (like a charger when it makes a low noise. i don’t know if you heard that before or not) but not a loud noise just noticeable.

[Previous page](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297.md?page=4)

[Next page](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297.md?page=6)
