Meshtastic node
Hardware- 3 Devlogs
- 8 Total hours
A custom Meshtastic LoRa communication device for off-grid messaging
A custom Meshtastic LoRa communication device for off-grid messaging
Spent some time working on a schematic. Finished it. Now starting to debug and check if everything is correct.
Today I decided to choose a gps/gnss module or a chip.
Turns out that standard gnss has precision of 3-10m so it is what I need
Turns out that there are bunch of sattelite systems.
Reading a bit I chose the SAM-M10Q module since it is a low-cost gnss module which incorporates built-in chip, circuitry, and antenna.
Then I started reading datasheet of ht-ct62 and then sx1262.
Also I then checked the firmware for ht-ct62. Thank God it was available.
For the display I chose ssd1306 since it is a low-cost OLED display module.
Since I do want to have a 18650 battery power supply, I need to have a buck boost converter that can step up and step down the voltage.
So the whole thing would be something like this:
flowchart TD
USB["USB-C <br/> 5 V"] --> CHG["BQ24074RGTR <br/> charger"]
BAT["18650 battery<br/> 3.0–4.2 V"] --> CHG
CHG --> SYS["SYS <br/> 3.0–4.5 V"]
SYS --> BB["TPS63001 <br/> buck-boost converter"]
BB --> RAIL["3.3 V rail"]
RAIL --> MAIN["HT-CT62 + OLED"]
RAIL --> LOAD["TPS22917 <br/> load switch"]
LOAD --> GPS["SAM-M10Q <br/> GPS module"]
I then set up the usb_c and charging IC bq24074gtr.
For setting up the charging IC I followed this logic
EN1 and EN2 configuration
EN2 = 0
EN1 = 1
Which places the charger in USB 500 mA input-limit mode:
EN2 EN1 Mode
0 0 100 mA USB
0 1 500 mA USB
1 0 Current set by ILIM resistor
1 1 Standby
For the buck boost converter it has to be pretty much like datasheet except for PS/SYNC.
It controls the operating mode
This is honestly my first journal entry. First hackclub project.
I started my day by researching what kind of hardware Meshtastic nodes generally use.
I looked at bunch of brands like heltec, lilygo, and seed studio.
Each board usually has
and it usually runs on a battery or solar power.
Some nodes are used for tracking, so they have GPS modules.
Some nodes are used for monitoring, so they have sensors for temperature, humidity, etc.
For my node I decided it to be an off-grid messaging device so I would like it to have gps and be pretty low-power but also being able to be charged via USB-C from a powerbank.
Now coming to the choice of parts I figured there are 2 main ways to go:
ESP32-C3 - less powerful than S3, single core risc-v (wifi, bluetooth)
ESP32-S3 - more powerful than C3, dual core xtensa lx7 (wifi, bluetooth)
nRF52840 (bluetooth)
ESP32-C3-WROOM-1
ESP32-C3-MINI-1
ESP32-S3-MINI-1U
HT-CT62 (built-in esp32-c3 + sx1262 lora transciever)
nRF52840 module like Raytac MDBT50Q
The thing is if I go with first option, I would need to add a lot of things myself like decoupling, crystals, rf antenna ciruitry, and layout around the chip which is not ideal since I want to build a quick prototype and it’s basically my first RF project.
So really I should just decide between choosing esp32-c3-wroom-1 or ht-ct62 (or nRF52840 module).
I think for now ht-ct62 is the best option since it has a built-in esp32-c3 and sx1262 lora transciever, and is relatively cheap.
so 127* are the older gen transceivers and 126* are the newer gen transceivers.
and RFM95 is a module that uses older sx1276 chip.
Since I’m going with HT-CT62, I don’t need to add any of thse because ht-ct62 already has a built-in sx1262 lora module.
Now Lora radios use different frequencies and I figured that US/Canada uses 915 MHz which is part of the license-free ISM band.
Turns out there are many ways to classify radio communication.
By frequency like high frequency (HF), medium frequency (MF), or low frequency (LF).
By radio services like amateur radio, general mobile radio service, family radio service, and citizens band.
And it’s crazy that amateur radio can travel thousands of miles without satellites, repeaters, intermediate nodes or cellular towers. This can happen because the wave is launched at an angle and when it hits the ionosphere it is refracted back to Earth instead of only traveling line of sight.
Going a bit further into research I found a reticulum network - a pretty interesting project which is a secure decentralized communication network which allows
creation of independent local and wide area networks. Pretty cool!
Back to the project. I decided to add to the board standard usb-c, reset button, antenna, gps, and maybe oled.
Oh and also I want to add 18650 battery since I want to run the board on battery power and not just usb power.