Skip to content

Instantly share code, notes, and snippets.

View lizTheDeveloper's full-sized avatar

lizthedeveloper lizTheDeveloper

View GitHub Profile

Meshtastic Workshop

Workshop Outcomes

By the end of the session, participants will:

  1. Understand Meshtastic and mesh networking.
  2. Flash and configure a Meshtastic device.
  3. Send and receive messages through the network.

Setting Up a Meshtastic Repeater Node (Android App)

Prerequisites

  • Android Device: Running Android 5.0 or higher
  • Meshtastic Device: Powered on with firmware flashed
  • Bluetooth Enabled: To connect to the device
  • Meshtastic App Installed: Download from the Google Play Store

Steps

Hands-on Testing: Sending & Receiving Messages (Python CLI)

Prerequisites

  • Python Installed: Version 3.x
  • Pip Installed: Required for package management
  • Meshtastic Python CLI Installed: pip install meshtastic
  • Meshtastic Device: Connected via USB

Steps

@lizTheDeveloper
lizTheDeveloper / Meshtastic - Connect via Android App.md
Created March 13, 2025 00:23
How to connect to your meshtastic node

Connecting to Meshtastic Device: Android App

Prerequisites

  • Android Device: Running Android 5.0 or higher
  • Meshtastic Device: Powered on with firmware flashed
  • Bluetooth: Enabled on your Android device

Steps

  1. Install Meshtastic App
@lizTheDeveloper
lizTheDeveloper / Meshtastic - Python Flash.md
Last active March 13, 2025 00:19
A code and no-code flashing guide

Flashing Meshtastic Firmware: Code Path

Prerequisites

  • Python: Installed on your computer
  • Pip: Python package installer
  • USB Cable: Appropriate for your device
  • Meshtastic Device: Ensure the antenna is connected before powering on

Steps

Install exo on Android

1. Install Termux

2. Install a bunch of packages that don't compile from source using pkg

pkg update && pkg upgrade
pkg install git clang cmake make python numpy
pkg install libjpeg-turbo libpng libtiff libwebp eigen
pkg install libprotobuf  
pkg install ffmpeg
git clone -b 4.10.0 https://github.com/opencv/opencv.git
git clone -b 4.10.0 https://github.com/opencv/opencv_contrib.git # optional
cd ./opencv
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=$PREFIX \
-D CMAKE_OPENCV_VERBOSE=OFF \
-D BUILD_SHARED_LIBS=ON \
-D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF \
VAR socketdev client_socket;
VAR string received_data;
VAR jointtarget target_joints;
VAR num joint_speed := 100;
VAR num joint_zone := 50;
PROC main()
! Create socket and bind to ABB’s IP
SocketCreate client_socket;
SocketBind client_socket, "192.168.125.1", 1025;
import socket
import json
import time
import cv2
import numpy as np
from PIL import Image
# Define connection to ABB RobotStudio
HOST = "127.0.0.1"
PORT = 5000 # Must match RAPID socket port
VAR socketdev server_socket;
VAR socketdev client_socket;
VAR jointtarget joint_data;
VAR string joint_data_str;
VAR num send_status;
PROC main()
! Create and bind server socket
SocketCreate server_socket;
SocketBind server_socket, "127.0.0.1", 5000;