# LilyGO TTGO T-Motion - no serial output / no ttn packets

**URL:** <https://www.thethingsnetwork.org/forum/t/lilygo-ttgo-t-motion-no-serial-output-no-ttn-packets/38482>\
**Category:** Uncategorized\
**Created:** [July 11, 2020, 11:45pm UTC](https://www.thethingsnetwork.org/forum/t/lilygo-ttgo-t-motion-no-serial-output-no-ttn-packets/38482 "2020-07-11T23:45:26Z")\
**Posts on this page:** 3\
**Page:** 4

<div class="post-metadata">

**Author:** ![ELPIDOFOROSANSTASIOU](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/elpidoforosanstasiou/32/35697_2.png) [@ELPIDOFOROSANSTASIOU](https://www.thethingsnetwork.org/forum/u/ELPIDOFOROSANSTASIOU)\
**Post date:** [October 23, 2021, 7:54pm UTC](https://www.thethingsnetwork.org/forum/t/lilygo-ttgo-t-motion-no-serial-output-no-ttn-packets/38482/67 "2021-10-23T19:54:17Z")

</div>

Ok i have sorted everything out with this tutorial and program was successful burned on the board , but once again no data are send to TTN

please see tutorial

> <https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series/blob/master/docs/en/LilyGo_LoRa_Series_Quick_Start_On_TTN.md>

This was send from to me today from the technicians in the factory , will try again tomorrow to fix the problem!!!

---

<div class="post-metadata">

**Author:** ![ELPIDOFOROSANSTASIOU](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/elpidoforosanstasiou/32/35697_2.png) [@ELPIDOFOROSANSTASIOU](https://www.thethingsnetwork.org/forum/u/ELPIDOFOROSANSTASIOU)\
**Post date:** [October 25, 2021, 2:24pm UTC](https://www.thethingsnetwork.org/forum/t/lilygo-ttgo-t-motion-no-serial-output-no-ttn-packets/38482/68 "2021-10-25T14:24:50Z")

</div>

Ok how can i contact you ?

---

<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:** [October 25, 2021, 2:25pm UTC](https://www.thethingsnetwork.org/forum/t/lilygo-ttgo-t-motion-no-serial-output-no-ttn-packets/38482/69 "2021-10-25T14:25:32Z")

</div>

I took a brief look at above LilyGO [repository](https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series).

Some quick analysis:

The docs are a mix of information related to both gateways and TTGO dev boards.

In the `libdeps` folder are several open source Arduino libraries of which some appear modified. These copies are from some moment in time and are probably not up to date with the latest versions.

The name `libdeps` reminds to PlatformIO but the information is related to the Arduino IDE (image partially in Chinese only unfortunately).

Included is a copy of the Arduino-LMIC LoRaWAN library. This looks like a (modified?) copy of an old **deprecated** version of LMIC (‘Classic LMIC’).

LilyGO’s LoRaWAN example is in folder `examples\TTN_OTTA` where the OTTA probably stands for OTAA.

Basis for the example was problably the standard `ttn-otaa.ino` included with the LMIC library which was then renamed and modified to support multiple TTGO boards.  
The two source files `loramac.h` and `loramac.cpp` give an impression that the example may use Semtech’s LoRaMAC-node LoRaWAN library which it does not. It uses an old version of LMIC instead.

The example supports several TTGO ESP32 based boards as well as the STM32 based T-Motion board (each platform requires a different Arduino Core).

The most essential information in the TTN\_OTTA example are the T-Motions’ pin definitions, redefining of SPI pins and remarks about the LMIC library and its pin mappings.

Armed with that information it should be possible to use the T-Motion with a recent version of the MCCI LMIC library (preferred).

_It should also be possible to add support for the T-Motion board to [LMIC-node](https://github.com/lnlp/LMIC-node), but I lack a T-Motion board for the testing._

Be aware that the included LMIC library is a copy of the now deprecated Classic LMIC and not the preferred MCCI LMIC. Only latter supports the LoRaWAN MAC commands required by TTS CE V3.

[Previous page](https://www.thethingsnetwork.org/forum/t/lilygo-ttgo-t-motion-no-serial-output-no-ttn-packets/38482.md?page=3)
