--- title: Meshtastic, An Encrypted Mesh Network Based on LoRa author: アストラ | @astrra.space date: 第122回ゆるいハッキング大会 2025-08-23 --- When disaster strikes --- ![image:width:100%](offline.png) What's a mesh network? --- ```mermaid +render +width:70% flowchart LR A[Radio A] --- B[Radio B] --- C[Radio C] %% Only B is in the range of both A and C; A and C cannot directly communicate. ``` ```mermaid +render +width:100% flowchart LR A1[1] --- A2[2] A[Radio A] --- A2[2] A2[2] --- A3[3] A3[3] --- A4[4] A3[3] --- A5[5] A4[4] --- A5[5] A4[4] --- A8[8] A5[5] --- A6[6] A6[6] --- B[Radio B] A6[6] --- A7[7] A8[8] --- A9[9] A9[9] --- A7[7] A8[8] --- A10[10] ``` What's LoRa? --- ![image:width:100%](lora_noise.jpg) ![image:width:100%](lora_modulation.png) ![image:width:100%](lora_spectrum.jpg) What's LoRa? --- ![image:width:100%](lora_range.png) What's LoRa? --- It's not very fast: | Spreading Factor | Chirps/symbol | SNR limit | Time-on-air (10b packet) | Bitrate | |------------------|--------------|-----------|------------------------------|---------| | 7 | 128 | -7.5 | 56 ms | 5469 bps (5.3kbps)| | 8 | 256 | -10 | 103 ms | 3125 bps (3.1kbps)| | 9 | 512 | -12.5 | 205 ms | 1758 bps (1.8kbps)| | 10 | 1024 | -15 | 371 ms | 977 bps (0.977kbps)| | 11 | 2048 | -17.5 | 741 ms | 537 bps (0.537kbps)| | 12 | 4096 | -20 | 1483 ms | 293 bps (0.293kbps)| Transmitting the tiny (10kb) script to this talk on the longest-range mode would take approximately 35 seconds. What is Meshtastic? --- ![image:width:100%](meshtastic_network.png) What is Meshtastic? --- ![image:width:100%](meshtastic_map_nodes.png) What is Meshtastic? --- ![image:width:60%](node_1.jpg) ![image:width:80%](node_2.jpg) ![image:width:60%](node_3.jpg) ![image:width:70%](node_4.jpg) What can it do? --- ![image:width:80%](chat_list.png) ![image:width:100%](messages.png) ![image:width:100%](channel_list.png) ![image:width:80%](app_map.png) How to get started? --- ![image:width:100%](repeater.jpeg) Heltec LoRa 32 --- ![image:width:100%](lora32.jpg) * ~¥1200 * No case * External Antenna (included) * No battery * No GPS * OLED Display Lilygo T-Beam --- ![image:width:100%](tbeam.jpg) * ~¥3000 - ¥5000 * No case * Battery slot (bring your own 18650) * GPS * External Antenna (included) * OLED Display Lilygo T-Echo --- ![image:width:100%](t_echo.png) * ~¥8000 * Battery * GPS * E-Ink Display * Case * External Antenna (included) Sensecap T-1000E --- ![image:width:100%](t1000e.jpg) * ~¥8000 (sometimes on sale) * Battery * GPS * No Display * Case * Internal Antenna * Very compact * IP65 waterproof Lilygo T-Deck --- ![image:width:100%](tdeck.jpg) * ~¥10000 * Battery * GPS * TFT Display * Case * Internal or External Antenna * Keyboard * Meshtastic UI And many more! --- ![image:width:100%](supported.png) ![image:width:100%](flasher.png) Flashing your node --- ![image:width:100%](flasher_ui.png) Configuration --- ![image:width:100%](config.png) The end --- Thank you for listening!