# 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:** 17

<div class="post-metadata">

**Author:** ![Petr](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/petr/32/35697_2.png) [@Petr](https://www.thethingsnetwork.org/forum/u/Petr)\
**Post date:** [December 3, 2021, 6:17pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/340 "2021-12-03T18:17:24Z")

</div>

Hello,

I’m thinking of using a TTGO T-Beam to track the position of my car.  
I would therefore like to ask, what is the best way to do this at the moment?

So far, I have found these two projects:

> **[GitHub - DeuxVis/Lora-TTNMapper-T-Beam: TTNMapper on the TTGO T-Beam](https://github.com/DeuxVis/Lora-TTNMapper-T-Beam)**
>
> TTNMapper on the TTGO T-Beam. Contribute to DeuxVis/Lora-TTNMapper-T-Beam development by creating an account on GitHub.

> **[GitHub - tekk/TTGO-T-Beam-Car-Tracker: TTGO-T-Beam Arduino Car Tracker - ESP32...](https://github.com/tekk/TTGO-T-Beam-Car-Tracker)**
>
> TTGO-T-Beam Arduino Car Tracker - ESP32 + LoRa + GPS + GSM (optional) - GitHub - tekk/TTGO-T-Beam-Car-Tracker: TTGO-T-Beam Arduino Car Tracker - ESP32 + LoRa + GPS + GSM (optional)

Which one do you think is better? Or should I use something else?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [December 3, 2021, 6:24pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/341 "2021-12-03T18:24:43Z")

</div>

> [@Petr](#):
>
> Or should I use something else?

GSM or an SD Card.

Route tracking requires far too many uplinks to stay within the Fair Use Policy and rather presumes you are in range of a gateway, which doesn’t really have anything like the coverage of the mobile networks.

But then you may have a use case that hasn’t been done to death on the forum already - what did you have in mind?

---

<div class="post-metadata">

**Author:** ![Petr](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/petr/32/35697_2.png) [@Petr](https://www.thethingsnetwork.org/forum/u/Petr)\
**Post date:** [December 3, 2021, 7:16pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/342 "2021-12-03T19:16:32Z")

</div>

Thank you for answer.  
I mean car security. I want the tracker to send the location once in a while so I can check that the car is in the right place.  
If the car is lost, I can find it.  
I know there are limits to the fact that LoRaWAN network coverage is not 100%.  
I’m getting acquainted with this technology and this is a use case that sounds very good to me and I would like to try it.  
This is not a professional application where I need maximum reliability.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [December 3, 2021, 9:45pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/343 "2021-12-03T21:45:41Z")

</div>

> [@Petr](#):
>
> I want the tracker to send the location once in a while so I can check that the car is in the right place. If the car is lost, I can find it.

Not sure I understand that - you could just have a movement detector to alert you that the car has moved. And unless you live in some high crime area, it’s not going to happen very often.

> [@Petr](#):
>
> I’m getting acquainted with this technology and this is a use case that sounds very good to me and I would like to try it.

I’d highly recommend starting with a simple sensor as there’s a fair number of moving parts to this sort of project.

The TTNMapper code is a bit TTNMapper specific. The other code would be a good starting point, bearing in mind that it will be coded for v2 and we are on v3 now,

I’d start with a board that [LMIC-node](https://github.com/lnlp/LMIC-node) supports in the TTGO with GPS range and build things up from there. It’s well documented, supported on here and is v3 friendly.

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/44639_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [December 4, 2021, 12:24am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/344 "2021-12-04T00:24:55Z")

</div>

@Petr

> [@descartes](#):
>
> I’d start with a board that [LMIC-node](https://github.com/lnlp/LMIC-node) supports in the TTGO with GPS range and build things up from there. It’s well documented, supported on here and is v3 friendly.

@roelwolf made a fork of LMIC-node with support for GPS that is tested on the TTGO T-Beam v1.0 board and should probably also work on T-Beam v1.1 (latter is an assumption).  
You can find more information about it here: [LMIC-node | One example to rule them all - #20 by roelwolf](https://www.thethingsnetwork.org/forum/t/lmic-node-one-example-to-rule-them-all/46964/20)

Note that the GPS extensions are not documented. You will have to check the source code.

---

<div class="post-metadata">

**Author:** ![Johan\_Scheepers](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/johan_scheepers/32/46550_2.png) [@Johan\_Scheepers](https://www.thethingsnetwork.org/forum/u/Johan_Scheepers)\
**Post date:** [March 8, 2022, 4:49pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/346 "2022-03-08T16:49:45Z")

</div>

Looking for a data sheet for the TTGO T-Beam V1.0, I have searched but Google cant help me, or did I ask the question incorrectly to Google?

---

<div class="post-metadata">

**Author:** ![wolfp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/wolfp/32/45304_2.png) [@wolfp](https://www.thethingsnetwork.org/forum/u/wolfp)\
**Post date:** [March 8, 2022, 6:16pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/347 "2022-03-08T18:16:03Z")

</div>

Try this: [GitHub - Xinyuan-LilyGO/LilyGo-LoRa-Series: LilyGo LoRa Series examples](https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series)  
Here you find circuit drawings and datasheets of the components.

---

<div class="post-metadata">

**Author:** ![Johan\_Scheepers](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/johan_scheepers/32/46550_2.png) [@Johan\_Scheepers](https://www.thethingsnetwork.org/forum/u/Johan_Scheepers)\
**Post date:** [March 8, 2022, 7:50pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/348 "2022-03-08T19:50:39Z")

</div>

Thanks I did find Xinyuan repository, looking for interrupt pin, Vbat, onboard led … long time since I read circuit diagrams 😅

---

<div class="post-metadata">

**Author:** ![paulb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paulb/32/44714_2.png) [@paulb](https://www.thethingsnetwork.org/forum/u/paulb)\
**Post date:** [April 26, 2022, 7:54am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/349 "2022-04-26T07:54:46Z")

</div>

After some time of absence I picked up on platformio / paxcounter again and bought a Liligo module on Ali.  
For some reason I am unable to flash this unit on my mac. “A fatal error occurred: Failed to write to target RAM (result was 01070000)”  
On windows it works.  
This unit is a T22\_V1.1 and from what little info I can find on the web it is not compatible with M1 mac or Big Sur. I tried it on both an Intel and an M1 mac but both fail. Can’t seem to find anything on that in this topic apart from @bluejed ranting on V1.1 with 1276/1262 chips. So here’s my addition to that. Stay away from V1.1 if you own a mac.

![signal-2022-04-26-094213](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/e/7/e722f9fcbaf8540608f6861732b38b945fedf404.jpeg)

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/44639_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [April 28, 2022, 5:09pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/350 "2022-04-28T17:09:24Z")

</div>

It will be interesting to know what the actual cause is here.  
It is less likely that this would only occur with TTGO T-Beam v1. 1 and not with v1. 0 or any of the other (ESP32) boards.

---

<div class="post-metadata">

**Author:** ![paulb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paulb/32/44714_2.png) [@paulb](https://www.thethingsnetwork.org/forum/u/paulb)\
**Post date:** [April 28, 2022, 6:06pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/351 "2022-04-28T18:06:41Z")

</div>

My other boards flash without problems.  
Heltec, Tbeam and a Lilygo.  
It looks to be a driver issue.  
I’ve just installed the CH34XSER driver from [this page](http://www.wch.cn/downloads/CH34XSER_MAC_ZIP.html) but no success yet.

![error](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/7/9/79d12c473692b42e9492a846158f14a973b607c9.jpeg)  
See also discussion [here](https://meshtastic.discourse.group/t/usb-on-macos-monterey-12-3/5387).

Wait I just noticed something.  
The other Lily that flashes ok is marked T22\_V1.1 20191212  
And the new one I got last week is T22\_V1.1 20210222  
Don’t know what the difference is but if the new one didn’t flash on Windows I would think it is defective.

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/44639_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [April 28, 2022, 9:55pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/352 "2022-04-28T21:55:45Z")

</div>

> [@paulb](#):
>
> Wait I just noticed something.  
> The other Lily that flashes ok is marked T22\_V1.1 20191212  
> And the new one I got last week is T22\_V1.1 20210222

Not very clear.

So you have two different T-Beam V1.1, one dated 2019-12-12 and the other 2021-02-22?

You have tested both on Windows 10 on Intel?  
And on two different Mac’s, one Intel and the other Apple M1 based?

For the 2019 T-Beam uploading/flashing from within PlatformIO works on all three OS/CPU combinations?  
For the 2021 T-Beam uploading/flashing works on Windows 10/Intel and OSX/Intel but fails on OSX/M1?

_(All Windows here, no Mac (OSX))_

  

> [@paulb](#):
>
> The other Lily that flashes ok is marked T22\_V1.1 20191212  
> And the new one I got last week is T22\_V1.1 20210222

Aha, two different hardware versions, but both with the same version number v1.1.  
If no hardware differences then there would not be a reason to change the date.  
If a reason for changing the date then the version should have been changed also.  
Bad practice but from LilyGO I’m not surprised about this.

So apparently _something_ has changed but what?  
_(As usual LilyGO will probably leave that up to the customer to find out)_.

  

> [@paulb](#):
>
> See also discussion [here](https://meshtastic.discourse.group/t/usb-on-macos-monterey-12-3/5387).

In the linked discussion the problem was solved.  
What is different in your situation from that of the discussion where it was solved?

Are PlatformIO versions identical on all three of your OS/CPU combinations?  
Is the ESP32 Arduino Core (‘platform Espressif ESP32’) version (and esp tool) identical on all three?  
Possibly differences in Python versions and/or how they are installed? Although this appears less likely because for the 2019 T-Beam it seems to work.

  

Please don’t post images of text/code/logs. See [How do I format my forum post? [HowTo]](https://www.thethingsnetwork.org/forum/t/how-do-i-format-my-forum-post-howto/8735)

What is firmware\_ttgotbeam\_v3.2.1, is that Paxcounter?

Have you already tested the very basics by uploading one of the standard _basic_ (e.g. `blink`) Arduino examples to check if that works?

---

<div class="post-metadata">

**Author:** ![paulb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paulb/32/44714_2.png) [@paulb](https://www.thethingsnetwork.org/forum/u/paulb)\
**Post date:** [April 29, 2022, 3:32pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/353 "2022-04-29T15:32:34Z")

</div>

> [@bluejedi](#):
>
> Not very clear.
> 
> So you have two different T-Beam V1.1, one dated 2019-12-12 and the other 2021-02-22?
> 
> You have tested both on Windows 10 on Intel?

yes and yes

> [@bluejedi](#):
>
> And on two different Mac’s, one Intel and the other Apple M1 based?

Yes. Both latest os 12.3.1

> [@bluejedi](#):
>
> For the 2019 T-Beam uploading/flashing from within PlatformIO works on all three OS/CPU combinations?

yes

> [@bluejedi](#):
>
> For the 2021 T-Beam uploading/flashing works on Windows 10/Intel and OSX/Intel but fails on OSX/M1?

Works on Windows 10 Intel but fails on both Macs. Old and new mac, Intel vs M1.

What is firmware\_ttgotbeam\_v3.2.1, is that Paxcounter?  
Yes, latest. Compiles and uploads without problems to my other boards - Heltec V1 & V2, TTGO and the other Lily.

> [@bluejedi](#):
>
> Have you already tested the very basics by uploading one of the standard _basic_ (e.g. `blink`) Arduino examples to check if that works?

Yes I tried that and it also failed. Even the simplest empty sketch crashes with the same fatal error.

```auto
Sketch uses 197340 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13084 bytes (3%) of dynamic memory, leaving 314596 bytes for local variables. Maximum is 327680 bytes.
/Users/paulb/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool --chip esp32 --port /dev/cu.usbmodem54240346091 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 /Users/paulb/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/partitions/boot_app0.bin 0x1000 /Users/paulb/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/bin/bootloader_dio_80m.bin 0x10000 /var/folders/j9/0nlsqd4510q298pj_6k7jj1m0000gn/T/arduino_build_165707/sketch_apr29a.ino.bin 0x8000 /var/folders/j9/0nlsqd4510q298pj_6k7jj1m0000gn/T/arduino_build_165707/sketch_apr29a.ino.partitions.bin 
esptool.py v3.0-dev
Serial port /dev/cu.usbmodem54240346091
Connecting......
Chip is ESP32-D0WDQ6-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 58:bf:25:04:17:bc
Uploading stub...

A fatal error occurred: Failed to write to target RAM (result was 01070000)

```

Indeed the other thread reported the problem as solved so I guess I should retrace my steps. I’m suspecting that the driver install was somehow not ok. I’m unsure if there is a hardware difference or that I am somehow wasting everyones time here.

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/44639_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [April 29, 2022, 6:42pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/354 "2022-04-29T18:42:26Z")

</div>

To come back to your remark about my older post about SX1262 based T-Beam:

On SX1262 based T-Beam images on the internet the sticker on the LoRa module clearly shows SX1262 on the bottom, your’s does not so is most probably SX1272.

BTW, IIRC I haven’t seen any posts on the forum where someone mentions they actually have a SX1262 based T-Beam.

---

<div class="post-metadata">

**Author:** ![mjoldfield](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mjoldfield/32/35697_2.png) [@mjoldfield](https://www.thethingsnetwork.org/forum/u/mjoldfield)\
**Post date:** [June 23, 2022, 4:13pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/355 "2022-06-23T16:13:05Z")

</div>

I’ve connected a T-Beam T22\_V1.1 20210222 to the TTN and learnt the following things:

1. The USB-serial chip isn’t properly supported on the Mac (neither Intel or Apple Silicon both running Monterey 12.4). I didn’t explore third-party drivers, but just copied the files to a Raspberry Pi, and ran esptool there instead.

2. a. The [Meshtastic firmware](https://github.com/meshtastic/Meshtastic-device) appeared to work, though having only one device it was hard to be sure. It doesn’t use The Things Network, so this firmware is only really useful to test the toolchain and basic hardware.  
b. I couldn’t get LMIC-node or LMIC-node-gps-tracker to work: the hardware initialization failed, though it wasn’t clear why. I didn’t spend long on them though, and it’s quite possible I was making a stupid mistake.  
c. The [TTGO T-Beam Tracker](https://github.com/kizniche/ttgo-tbeam-ttn-tracker) worked after fixing the duplicate `hal_init` issue described above. It connects to The Things Network and successfully logs its location.

I hope this is helpful to anyone trying to get a simple example working.

---

<div class="post-metadata">

**Author:** ![jasperridley](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/j/8edcca/32.png) [@jasperridley](https://www.thethingsnetwork.org/forum/u/jasperridley)\
**Post date:** [May 16, 2023, 12:22pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/356 "2023-05-16T12:22:24Z")

</div>

I know this is a ridiculously old topic but I’m interested in using the external Wi-Fi/Bluetooth port and was wondering if anybody has tried this yet. You mentioned moving a resistor. Is there a place where I can see which one to move and where?

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/44639_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [May 16, 2023, 7:17pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/357 "2023-05-16T19:17:20Z")

</div>

> [@jasperridley](#):
>
> You mentioned moving a resistor. Is there a place where I can see which one to move and where?

I would suggest to search for the schematic diagram of your version of the T-Beam. Check if the diagram contains any details about this. Next (try to) follow the PCB traces/connections of the onboard antenna, of the U.Fl antenna connector and of the antenna pin from the ESP32 chip. Somewhere they should come close and only one of them will be connected, probably via a 0 Ohm SMD resistor. Looking at my original picture above, I would expect the resistor to probably be on the left side of the U.Fl connector. The (blackish) resistor you see there might have to be soldered in vertical instead of horizontal position, but it could also be possible that the resistor needs to be removed and soldered on the solder islands just below where the resistor is now. But these are just assumptions. You will have to carefully check and verify yourself. In addition the job will require some decent SMD soldering skills.  
Good luck.

---

<div class="post-metadata">

**Author:** ![jasperridley](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/j/8edcca/32.png) [@jasperridley](https://www.thethingsnetwork.org/forum/u/jasperridley)\
**Post date:** [May 16, 2023, 10:21pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/358 "2023-05-16T22:21:42Z")

</div>

Thanks so much for the reply! I have been looking closely at the traces and what you’ve said seems to be the case. I will give it a try and see what happens. I’ve bricked more expensive items than this that’s for sure! 🙂

---

<div class="post-metadata">

**Author:** ![gmbo](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gmbo/32/44651_2.png) [@gmbo](https://www.thethingsnetwork.org/forum/u/gmbo)\
**Post date:** [May 17, 2023, 5:28am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/359 "2023-05-17T05:28:24Z")

</div>

![T-beam_wifi_ant](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/b/1/b122a41659886cc70446cdc7a9f66581c4eba900.jpeg)

---

<div class="post-metadata">

**Author:** ![jasperridley](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/j/8edcca/32.png) [@jasperridley](https://www.thethingsnetwork.org/forum/u/jasperridley)\
**Post date:** [May 17, 2023, 11:23am UTC](https://www.thethingsnetwork.org/forum/t/ttgo-t-beam-topic/15297/360 "2023-05-17T11:23:01Z")

</div>

Thank you! I will try it out today. I appreciate the detailed pictures!

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

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