Easy Off-Grid Texting & Tracking With Lilygo T-Deck Plus

by mattcalhoun1 in Circuits > Wireless

84 Views, 2 Favorites, 0 Comments

Easy Off-Grid Texting & Tracking With Lilygo T-Deck Plus

tdeck_how_set_up (1).jpg
tdeck_plus_external_distance (1).jpg
Lilygo T-Deck + Blackout Comms : Simple, Private Off-Grid Text & Location Sharing. Available Now!
user_guide_blackout_comms_touch (2).jpg
user_guide_blackout_comms_touch (1).jpg

This project shows you how to easily turn 2 or more T-Deck Plus devices into a private off-grid mesh communication cluster (group), which is handy for when your camping, hiking, or just want to be able to send messages and track family/friends without using the grid.

The T-Deck Plus is extremely easy to set up.

After following these instructions, you'll have a set of pocket-sized devices that will let you privately text, share location, and more, completely off-grid. These do not rely on your phones or cell service at all.

If you want to know more about how this works:

  1. How LoRa and Mesh work for Off-Grid Communication
  2. How Encrypted Off-Grid Messaging Works (video)
  3. Using T-Deck for Location & Tracking (video)
  4. How Off-Grid Mesh Delivery Works (video)
  5. How frequency hopping is used to enhance security & resist jamming / interference

Supplies

tdeck_plus_lilygo (1).jpg
tdeck_sd_cards.jpg
tdeck_plus_antenna_options.jpg
usb_c_data_cable_tdeck.jpg

Make sure the T-Deck Plus you choose is for frequency 915 if you are in the USA. Outside the USA, check your regulations to see if you need 915, 868, or 433.

Where to Buy:

Lilygo T-Deck Plus: Amazon, Ali Express, Lilygo, chatters.io

SD Cards: Amazon, Ali Express

Antenna: Amazon, Ali Express, chatters.io

USB C Data Cable: Amazon, Ali Express

You may purchase the Lilygo T-Deck Plus with an internal or external antenna. The internal antenna is more convenient for slipping into your pocket or a backpack, but the range is typically half that of an external antenna.

Attach Your Antenna to the T-Deck

lilygo_tdeck_attach_antenna.jpg

If your T-Deck has an internal antenna (no threaded SMA connector on top), your antenna is built-in and you can skip this part.

An external antenna can definitely give you better range. If you've got an external antenna, screw the antenna onto the T-Deck's SMA connector.

Insert Micro SD Card

tdeck_insert_SD_card.jpg
tdeck_sd_cards.jpg

Insert a compatible SD card to the T-Deck. Not all micro SD cards are compatible.

You need a 32 GB or less micro SD card, preferably from the known compatible list.

This PNY card is a good option.

Connect T-Deck to Your Computer

tdeck_connect_pc_usb (2).jpg
  1. Use a high quality USB data cable (not just a charging cable)
  2. If you run into trouble during flashing, try reconnecting or switching to a different cable

Power-On T-Deck in "Boot Mode"

how_tdeck_boot_mode.jpg
  1. Press and hold the trackball button
  2. Power the T-Deck on (slide the power switch down)
  3. Release the trackball button

The screen of the T-Deck will probably not turn on, that is OK.

Flash Firmware Onto the T-Deck

tdeck_flash_page_instructions.jpg

Flashing means installing firmware onto the device. It takes about 30 seconds and is done from your web browser.

With the T-Deck connected, Flash firmware onto the T-Deck by visiting one of the following T-Deck firmware pages:

  1. Main T-Deck Firmware Site
  2. Alternate T-Deck Firmware Download Site
  3. Yet another T-Deck Download Site

Flash instructions are on the T-Deck Firmware page.

Reboot the T-Deck

lilygo_tdeck_firmware_mesh_splash_screen.jpg
  1. Disconnect the T-Deck from your computer
  2. Power the T-Deck off and then back on
  3. You should see the startup screen within a few seconds

Getting Current Time from GPS

When the T-Deck first powers on, it will acquire a GPS signal to get the current time. This can take a while.

If your T-Deck gets stuck waiting for GPS, go near a window or outside. It's not looking for location, it's trying to get the current time.

Getting Current Time from a Nearby Device

If you already have another T-Deck running nearby, your new T-Deck will automatically get the time from that other powered-on device within a few minutes.

If you build your own custom T-Deck (instead of T-Deck Plus) you can add a realtime clock, which skips this GPS step on startup, allowing the T-Deck to always start instantly. With a custom T-Deck, you can also add vibrate alerts and other nice options.

Name the T-Deck & Choose Private

choose_private.jpg
device_name.jpg

Once booted, you will be prompted for:

  1. Language - English, Spanish, German, Polish, and French are currently supported
  2. Device Name - Letters/numbers, like: "Matt", "dad", "bravo1", etc. This is always encrypted, so it does not need to be cryptic
  3. Time Zone - You can change this later if needed
  4. Private vs Open - Choose Private

At any time during setup, if you decide to change something, you can just reboot the device to start over. After setup, if you want to change the device name or cluster options, you can clear the SD card and reboot the device.

Choose the Device Type

FTI9HR3MLJVT5JK.jpg

A private group of off-grid mesh communication devices (such as T-Decks) is called a cluster.

If this is your first T-Deck / device, you'll need to make it the root (admin) device for your cluster.

If you already have a root device set up, choose standard for all other devices you set up.

Device Type

Root

  1. Choose this for your first device only
  2. The root device will be the "admin" of your cluster.
  3. Other devices can be added to your cluster only by being onboarded (invited) by the root
  4. If you choose root, you'll be prompted for more cluster settings next


Standard

  1. If you choose "standard", you will skip the remaining cluster setup. Instead, your device will get its cluster settings from the root device during onboarding.
  2. All devices in a cluster are "standard" except for the single root device.
  3. After setting up one root device, you will choose "standard" for any additional devices.

First T-Deck: Set Up a Cluster

cluster_name.jpg
cluster_frequency_setup.jpg
setup_frequency_hopping_lora.jpg

If you already have a cluster or root device, skip this step.

This step only happens if you choose "root" during setup.

Cluster Name

Choose any text/numbers that describes the group. "home", "smith", "MyGroup1" are examples. Choose something that is meaningful for your group.

Your cluster name is always encrypted when transmitted or stored. It is never revealed in the same way a WiFi SSID is, so you don't have to make it something secret if you don't want to.


RF Zone

In the USA, you will choose 915 for the RF zone. In other countries, you may need to choose 868 or 433 (check your regulations).


Center Frequency

The default center frequency (915.0 in the US) is the most tested option. If you understand LoRa & RF, you can adjust this, but typically the default is good.


Number of Channels

Multiple channels and frequency hopping help your mesh cluster resist jamming and interference. It is recommended to leave the number of channels at 64. You may choose to adjust this if you understand the implications, but it's not recommended.


Hop Schedule

Again, the default is recommended here. You are choosing how many seconds your cluster should sit on any frequency before hopping to the next unpredictable frequency. The default (100) is the most tested option and offers a good balance in performance.

Remaining T-Decks: Onboard Each T-Deck

sample_cluster_onboarding (1).jpg
onboarding_from_settings.jpg

Onboarding is the one-time process of adding a device to your private cluster. Only the root device is allowed to onboard any device to your cluster. You may have up to 90 devices in a private cluster. Learn more

  1. On your existing root device, choose: Settings / Cluster / Onboard
  2. On your new device, choose: Settings / Cluster / Join
  3. The onboard should begin within 10 seconds or so, and the devices will take a minute or two to exchange a lot of information
  4. Once it's complete, both devices will restart and should see one another (green / good signal).
  5. You can verify by looking at the "neighbors" screen of each device after reboot.

It is important to only onboard one device at a time! Don't try to onboard multiple devices simultaneously or the onboard could fail.

All other devices in your private cluster will automatically recognize and trust any device onboarded by the root. This "trust" may take a few minutes to propagate, but it happens automatically after onboarding.

Your Device Is Ready to Use!

new_tdeck_root_connected.jpg
using_blackout_comms_image.png

Now your cluster is ready to use! You can add more devices any time.

Your private off-grid mesh cluster is not just limited to these device types. You can add...

Communicators - Use them like an app to text, track, etc

  1. Heltec v4 Touchscreen
  2. Lilygo Pagers
  3. Custom-built T-Decks with vibrate alerts, upgraded battery, and more

Mesh Links / Nodes - Extend the reach & resilience of your cluster

  1. Lilygo T-Beam Supreme
  2. Lilygo T-Beam 1W (very powerful)
  3. Heltec Vision Master e290


Other DIY projects that are compatible with this can be found here.