Meshtastic Firmware
 
 
 
 
 
 
Go to file
astro-arphid 91227b25df #13 - add support for 433MHz Heltec boards 2020-03-12 06:05:11 +00:00
.github/workflows It helps to spell things correctly... 2020-02-29 19:05:59 -08:00
.vscode Refactor to make some real design docs 2020-03-05 18:39:24 -08:00
bin #13 - add support for 433MHz Heltec boards 2020-03-12 06:05:11 +00:00
docs #13 - add support for 433MHz Heltec boards 2020-03-12 06:05:11 +00:00
images we now use 13 different channel numbers 2020-02-11 12:05:46 -08:00
lib Refactor to make some real design docs 2020-03-05 18:39:24 -08:00
proto@66e926740a minor doc update 2020-03-08 14:03:36 -07:00
release show reason for last reset 2020-03-08 14:05:12 -07:00
src #13 - add support for 433MHz Heltec boards 2020-03-12 06:05:11 +00:00
.gitignore move my bt experiment into its own repo (about to remove ttn) 2020-02-01 08:30:53 -08:00
.gitmodules Pull protobufs from submodule instead of a symbolic link Fix #2 2020-03-02 09:57:05 -08:00
LICENSE move my bt experiment into its own repo (about to remove ttn) 2020-02-01 08:30:53 -08:00
README.md #13 - add support for 433MHz Heltec boards 2020-03-12 06:05:11 +00:00
partition-table.csv for the time being use my old partition table to make TTGO happy 2020-02-08 08:47:08 -08:00
platformio.ini Change all repo URLs to be meshtastic... instead of geeksville... 2020-03-02 15:13:33 -08:00

README.md

Meshtastic-esp32

This is the device side code for the meshtastic.org project.

Continuous Integration

Meshtastic is a project that lets you use inexpensive GPS mesh radios as an extensible, super long battery life mesh GPS communicator. These radios are great for hiking, skiing, paragliding - essentially any hobby where you don't have reliable internet access. Each member of your private mesh can always see the location and distance of all other members and any text messages sent to your group chat.

The radios automatically create a mesh to forward packets as needed, so everyone in the group can receive messages from even the furthest member. The radios will optionally work with your phone, but no phone is required.

Typical time between recharging the radios should be about eight days.

This project is currently early-alpha, but if you have questions please join our chat Join the chat at https://gitter.im/Meshtastic/community.

This software is 100% open source and developed by a group of hobbyist experimenters. No warranty is provided, if you'd like to improve it - we'd love your help. Please post in the chat.

Supported hardware

We currently support three models of radios. The TTGO T-Beam, TTGO LORA32 and the Heltec LoRa 32. Most users should buy the T-Beam and a 18650 battery (total cost less than $35). Make sure to buy the frequency range which is legal for your country. For the USA, you should buy the 915MHz version. Getting a version that include a screen is optional, but highly recommended.

See (meshtastic.org) for 3D printable cases.

Installing the firmware

Prebuilt binaries for the supported radios is available in our releases. Your initial installation has to happen over USB from your Mac, Windows or Linux PC. Once our software is installed, all future software updates happen over bluetooth from your phone.

The instructions currently require a few commmand lines, but it should be pretty straightforward. Please post comments on our group chat if you have problems or successes. Steps to install:

  1. Purchase a radio (see above) with the correct frequencies for your country (915MHz for US or JP, 470MHz for CN, 433MHz and 870MHz for EU).
  2. Install "pip". Pip is the python package manager we use to get the esptool installer app. Instructions here.
  3. Run "pip install --upgrade esptool" to get esptool installed on your machine
  4. Connect your radio to your USB port
  5. Confirm that your device is talking to your PC by running "esptool.py chip_id". The Heltec build also works on the TTGO LORA32 radio. You should see something like:
mydir$ esptool.py chip_id
esptool.py v2.6
Found 2 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 24:6f:28:b5:36:71
Uploading stub...
Running stub...
Stub running...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: 24:6f:28:b5:36:71
Hard resetting via RTS pin...
  1. Install the correct firmware for your board with "esptool.py write_flash 0x10000 firmware-board-country.bin". For instance "esptool.py write_flash 0x10000 release/firmware-HELTEC-US-0.0.3.bin". You should see something like this:
~/development/meshtastic/meshtastic-esp32$ esptool.py write_flash 0x10000 release/firmware-HELTEC-US-0.0.3.bin 
esptool.py v2.6
Found 2 serial ports
Serial port /dev/ttyUSB0
Connecting......
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 24:6f:28:b5:36:71
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 8MB
Compressed 1184800 bytes to 652635...
Wrote 1184800 bytes (652635 compressed) at 0x00010000 in 57.6 seconds (effective 164.5 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
  1. The board will boot and show the Meshtastic logo.
  2. Please post a comment on our chat so we know if these instructions worked for you ;-). If you find bugs/have-questions post there also - we will be rapidly iterating over the next few weeks.

Meshtastic Android app

The source code for the (optional) Meshtastic Android app is here.

Alpha test builds are current available by opting into our alpha test group. See (www.meshtastic.org) for instructions.

After our rate of change slows a bit, we will make beta builds available here (without needing to join the alphatest group): Download at https://play.google.com/store/apps/details?id=com.geeksville.mesh

Development

We'd love to have you join us on this merry little project. Please see our development documents and join us on the gitter chat above.

Credits

This project is run by volunteers. Past contributors include:

  • @claesg: Various documentation fixes and 3D print enclosures
  • @girtsf: So far our CI system, but soon lots of device improvements

IMPORTANT DISCLAIMERS AND FAQ

For a listing of currently missing features and a FAQ click here.