Skip to content

markbirss/MESHSTICK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 

Repository files navigation

MESHSTICK

If you are self assembling the board you can view the interactive BOM here below

iBOM

BOARD iBOM url
V2 https://markbirss.github.io/MESHSTICK/

Alternative Parts list

contributed by https://github.com/MayNiklas

https://github.com/markbirss/MESHSTICK/blob/main/docs/Meshstick_commented.pdf

image

diy CH341 USB-TO-SPI SX1262 LoRa Meshstick that you can have manufactured or part assembled and finish by just adding the USB 2.0 connector, Waveshare SX1262 TXCO Core LoRa module and SMA anntenna connection

Waveshare SX1262 TXCO Core module is on the back side of the board.

More vesions being evaluated are SX1280, 1W eByte E22, wio sx1262, LR1110 and LR1121

Verion 1 did not have the 24C02 I2C flash chip that is being used to store a unique serial number for the device.

The 2 pin jumper is populated when you want to program the flash chip. (IMSProg is used in the example bellow)

image

5312cc00861a12550403000000000000
32303030303031360000000000000000
4d455348535449434b20505752442042
59204d45534854415354494300000000

Remove the jumper for normal use (once the 24C02 flash is programmed)

Confirm that your unique iSerial is actually read from the device (with jumper removed) e.g using lsusb

lsusb | grep CH341
Bus 001 Device 016: ID 1a86:5512 QinHeng Electronics CH341 in EPP/MEM/I2C mode, EPP/I2C adapter

Use the device numder 016 above for -s

lsusb -s 016 -v|grep -i iserial
  iSerial                 3 20000016

DISCLAIMER

Use of these GERBER, BOM and CPL are at your own risk

BOARD VERSIONS

V2 (2 layer board)

image

v2.zip (includes GERBER, BOM and CPL)

V3 (4 layer board)

image

v3.zip (includes GERBER, BOM and CPL)

V4 (4 layer board)

Adds I2C header for connecting more I2C devices in the furture

image

v4.zip (includes GERBER, BOM and CPL)

JLBPCB Gerber view (online)

https://jlcpcb.com/RGE

SMA Connector

LCSC #C9900018296 Alternative parts number available from Mouser or DigiKey

EMPCB.SMAFSTJ.B.HT https://www.digikey.co.za/en/products/detail/taoglas-limited/EMPCB-SMAFSTJ-B-HT/3522337

Other possible candidates

LCSC Part # C496550

or

https://jlcpcb.com/partdetail/cntitle-SMAKHD9/C20415780

Use Case

You want to add a Meshtastic Powered Meshstick to your Raspberry Pi, OpenWRT Router or Desktop Computer running Ubuntu 24.04/ Debian 12/ Fedora or Steam Deck to use Meshtasticd (linux-native)

arm64/armf/x86-64 and all OpenWRT architecture packages are available

image image

yaml.conf source

https://github.com/meshtastic/firmware/blob/master/bin/config.d/lora-meshstick-1262.yaml

Lora:
  Module: sx1262
  CS: 0
  IRQ: 6
  Reset: 2
  Busy: 4
  spidev: ch341
  DIO3_TCXO_VOLTAGE: true
#  USB_Serialnum: 12345678
  USB_PID: 0x5512
  USB_VID: 0x1A86

UPDATE [2025-03-08]

Support for 2.6.x MUI

https://meshtastic.org/docs/software/meshtastic-ui/

sudo nano /etc/meshtasticd/config.d/x11.yaml

Display:
  Panel: X11
  Width: 480
  Height: 480

Platformio python install

sudo apt -y install python3-full python3-virtualenv
virtualenv .
source bin/activate
pip3 install platformio

Raspbian Dependancies

sudo apt install -y libusb-1.0-0-dev libgpiod-dev libyaml-dev libyaml-cpp-dev libbluetooth-dev libxkbcommon-dev libinput-dev libi2c-dev

Build native-tft (MUI) - 2.6.1

git clone https://github.com/meshtastic/firmware
cd firmware/
git submodule update --init --recursive --remote;
pio run -e native-tft
.pio/build/native-tft/program

image

image

TESTING

Various developers including myself have already received and tested the early version 1 of the Meshstick devices.

More instrctions to follow soon

Support my work and considder buying me a coffee

https://buymeacoffee.com/mark.birss