ENTRY
[ESC]New DIY Meshcore companion
I wanted to make something that doesn't look like a bomb so I could take it with me on flights.
- A box I had lying around that was a temporary home for some of my early meshcore experiments
- Two parallel 18650 cells with a BMS
- Small prototype PCB with:
- Xiao nRF52840 + Wio SX1262 LoRa kit
- BME280 temperature, humidity and air pressure sensor module
- 24LC256 32kiB EEPROM module
- BMI160 IMU (accelerometer and gyrometer) module
- 1A fuse
- Small I2C screen
- Rotary encoder with a button
- USB-C socket on the right connected to the Xiao, complete with data lines so I can program/debug without opening the case
- Power switch on the left
- A separate charging port on the bottom, connected to a TP4056 charging module. Xiao's built-in charger only supports up to 100mA which is way too low.
Needed to add support for the BMI160 in the firmware, but it seems to work. I plan to use it for data logging on hikes, flights etc to reconstruct 3d routes. I'll need GPS for real checkpoints, but I didn't have the space nor GPIO/UART pins for a GPS module so I'll probably use the phone. I'm already using forked MeshCore Open app for my custom stuff so that's probably the best option.
I'll also need some custom firmware UI to use the rotary encoder. Not sure what the EEPROM will be for since the Xiao has 2MiB of QSPI flash, but I can use the EEPROM to buffer some data before writing to flash (it has more write cycles endurance).
I love tinkering.
Log in to read the replies and join the conversation