Porting Guide to new hardware

Hello, I happily stumbled on this project a few weeks after starting to build something very similar.

My DIY project is inspired by a commercial product by GoTenna, which is also very similar.
I would like to know if it is possible to port meshtasitc (firmware+app) to my own hardware setup ?

My hardware setup is also based on ESP32 and the LORA is from EBYTE (based on SX1872) and no GPS (keeping the BOM cost down, i dont think there is a need to duplicate the GPS function in the smartphone) ? can you explain the need/benefit of having a separate GPS ?

The other difference is that I added a walkie talkie module to add PTT capability.

If it is possible to use meshtastic as baseline ? is there a porting guide ?

Thanksā€¦

2 Likes

hi @tc61,

that sounds like a pretty quick port probably. A few things might help:

re: walkie talkie
I bet that could be added nicely using the (young so you might find bugs?) plugin api. Youā€™d define a new port number for ā€˜voiceā€™ and send those packets when the user sends.

re: gps
gps is optional, if the device doesnā€™t have one the android app will auto fill-in (using the same protocol). But the reason Iā€™m a fan:

  • I wanted weeklong runtime with location data for nodes. The gps (+ heavier CPU) in the phone burns a lot of current in that case.
  • Every node having high quality time will eventually allow us to save more power by leaving even lora receivers sleeping most of the time, and turning on briefly to see if anyone in the mesh wants to send something. (That said, for nodes without a phone or a built in GPS, they will use (less good but not horrible) network time (as long as at least one node in the mesh has a GPS or phone).
  • really cheap now adays
1 Like

thanks for the quick responseā€¦

my approach (not very far) is using ESP32-A1S (audio) and using BLE (for data) and phone BT HFP(or HSP) for voice

and ESP32 as AG and route the voice to walkie talkie module

(via I2S convert to MIC/SPKR), do you see issue (or are you suggesting a different approach ?)

(have yet to see if two radio module can co-exist side by side ??)

i am also planning to try a DMR (single module, instead of one LORA and one WALKIETALKIE module), but DMR module is quite expensive

as for GPS, i was thinking about that after posting the question, i can see two use cases for thatā€¦ one as ā€œBREAD CRUMBā€ā€¦ ie if someone is going

on a long trip, he may possibly drop a NODE along the way as repeater, and then that GPS position can be used to COLLECT these CRUMBs on the

way backā€¦ (that can possibly extend the range to many miles)

also, another possibilty is to use a small DRONE or a ballon (POOR MANā€™s STARLINK :0 ) having a node/repeater in the sky (good line of sight!)

Hello, iā€™ve tried to compile my own board but I get

Error: Unknown board ID ā€˜test-boardā€™
The terminal process ā€œC:\Users***.platformio\penv\Scripts\pio.exe ā€˜runā€™, ā€˜ā€“targetā€™, ā€˜cleanā€™, ā€˜ā€“environmentā€™, ā€˜test-boardā€™ā€ terminated with exit code: 1.

It doesnā€™t compile unless I clone a board and add its json in the board folder.

Iā€™m wondering how did he get his variant to compile?

Thanks

edit:

well I can,t even get his board to compile

Error: Unknown board ID ā€˜genieblocks_loraā€™
The terminal process ā€œC:\Users\dferron.platformio\penv\Scripts\pio.exe ā€˜runā€™, ā€˜ā€“environmentā€™, ā€˜genieblocks_loraā€™ā€ terminated with exit code: 1.

I guess adding the board json is the way to go.

1 Like