Skip to content

Instantly share code, notes, and snippets.

@bshambaugh
bshambaugh / gist:065dd8f82c8f852df7e055051f26d1d7
Created September 14, 2025 18:52
pro micro nrf52840 nice nano with E22-900T22D
I am trying to use a pro micro nrf52840 nice nano with E22-900T22D, but I have heard that Meshtastic does not support UART due to lack of support in radiolib. Is there a way to modify the Meshtastic firmware to support this setup?
Most relevant references:
Transciever Manual [1] https://github.com/bricomp/EBYTE_E22/blob/main/E22-900T22D_UserManual_EN_v1.3.pdf
Board Definition and Variants for running pro micro nrf52840 nice nano with platformIO [2] https://github.com/ICantMakeThings/Nicenano-NRF52-Supermini-PlatformIO-Support
Meshtastic candidate variant [2a] https://github.com/meshtastic/firmware/tree/106a052950ffbb34a6365f17eb87a7a0ca98239a/variants/nrf52840/diy/nrf52_promicro_diy_xtal
Meshtastic candidate board defintion [2b] https://github.com/meshtastic/firmware/blob/106a052950ffbb34a6365f17eb87a7a0ca98239a/boards/promicro-nrf52840.json
Connections:
E22-900T22D pro micro nrf52840
https://www.youtube.com/watch?v=qoAPRBonXG8 (NanoVNA v2 Unboxing)
https://www.youtube.com/watch?v=_pjcEKQY_Tk (#359 How to properly use a NanoVNA V2 Vector Network Analyzer & Smith Chart (Tutorial))
@bshambaugh
bshambaugh / gist:11c80fea82d47a6a02853d88fb04d688
Last active September 13, 2025 19:41
NRF52840 with LLCC68 Meshtastic Research
https://hackaday.io/project/202154-meshtastic-diy-how-to-build-your-own-meshtastic/details
https://github.com/meshtastic/firmware/issues/926

Keybase proof

I hereby claim:

  • I am bshambaugh on github.
  • I am bshambaugh (https://keybase.io/bshambaugh) on keybase.
  • I have a public key ASBtdJRT98MfsrE4TecWbTTPLlZfrpuMDcsfdy4434OtwQo

To claim this, I am signing this object:

@bshambaugh
bshambaugh / gist:2da7684b3c76f7f8f8e112007d274af0
Created May 5, 2025 14:49
KiCad Tutorials to study v7.0
https://www.youtube.com/watch?v=vaCVh2SAZY4&list=PL3bNyZYHcRSUhUXUt51W6nKvxx2ORvUQB [KiCad Tutorial : Shawn Hymel]
https://www.youtube.com/playlist?list=PLbWc6Q71G_qUsLTo624W0_NVtuTcFMpnc [ KiCad Tutorial : Creating Custom Symbols ]
https://www.youtube.com/watch?app=desktop&v=Qx0kQdFYC7o [ KiCad Tutorial - How to create your own Footprint in KiCad ]
@bshambaugh
bshambaugh / gist:b89d0d5e122b038896bcdb59fd6fbb13
Created February 9, 2025 22:18
how to store a private key in efuse? some possible avenues...
https://github.com/espressif/esp-idf/blob/master/docs/en/api-reference/system/efuse.rst
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/system/efuse.html
https://docs.espressif.com/projects/esp-idf/en/v4.3/esp32c3/api-reference/peripherals/ds.html
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/system/efuse.html
https://github.com/espressif/esp-idf/blob/master/examples/system/efuse/README.md
@bshambaugh
bshambaugh / gist:6429e042328c86ed15389f2394e4eb70
Created December 9, 2024 19:06
chatgpt response for code lightmqtt chat_gpt_as_student_and_without
what does this mean?
_lightMqttSettingsService->addUpdateHandler([&](const String& originId) { registerConfig(); }, false);
ChatGPT
The line of code you've provided is a C++ code snippet, and here's an explanation of each part:
_lightMqttSettingsService->addUpdateHandler([&](const String& originId) { registerConfig(); }, false);
@bshambaugh
bshambaugh / gist:51c813996071eb3b82a8cc06b29268d0
Last active December 8, 2024 19:53
programming esp32-c3
https://community.platformio.org/t/enabling-usb-cdc-on-boot-on-esp32-c3-devkit/33346/2 (for platform.io)
config:
------------
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
Testing Aliexpress 3S cheap BMS 25A -- Roee Bloch
https://www.youtube.com/watch?v=Vr04zH4ljwk
https://cleversolarpower.com/choose-a-bms-for-lifepo4-cells/
Sodium ion DIY Battery ! build how to 4s - mazda2284
https://www.youtube.com/watch?v=rI1Dg0DbK04
How To Make MPPT Solar Charge Controller | MPPT 4.0 -- Kiyani's Lab
https://www.youtube.com/watch?v=60MJzOacuIc
https://www.instructables.com/ESP32-BLE-Android-App-Arduino-IDE-AWESOME/
https://www.youtube.com/watch?v=RvbWl8rZOoQ
https://randomnerdtutorials.com/esp32-bluetooth-guide/