M5Stack Core Basic as Meshtastic Device
-
To use an M5Stack Core Basic as a Meshtastic device I connected a LoRa868 V1.1 to the Core. The DIP switches should be set to Core Basic. But my tries resulted always in critical fault #3. This means no LoRa module is connected. My DIP switch setup is not correct. How to set the DIP switch for M5Stack Core Basic?
-
@ckuehnel
what's you mean for "critical fault #3"? -
@kuriko After starting the app an the Core the screen shows the Meshtastic start screen followed by the output Critical Fault #3.
-
@ckuehnel I also have this module and can not get it to work with the same Critical Failure #3
I have tried a few selections but unable to get this to work.
Hopefully someone can help
-
Hi guys
I don't think you can use pre-compiled Meshtastic firmware as some GPIOs used in pre-compiled firmware cannot be selected in LoRa868 V1.1 module.
From the M5Stack Meshtastic
variant.h
file and the previous LoRa module I understand the following GPIOs are used:SCK : GPIO18 MISO : GPIO19 MOSI : GPIO23 CS/NSS: GPIO5 IRQ : GPIO36 RST : GPIO26
However the newer LoRa868 V1.1 module doesn't allow to select
GPIO36
asIRQ
norGPIO26
asRST
.So I think you either need to compile Meshtastic firmware (with the correct GPIOs) yourself, get the older LoRa868 module or modify the V1.1 hardware.
Note: I do not have the necessary hardware to test this myself - so my above conclusions could be incorrect.
Thanks
Felix -
Thanks for the heads up. I will send the LoRa module back i haven't time to dig deep, I was hoping it would be a straight forward thing lol.
To be honest meshtastic around here is dead I have a node and only one person on for the 1000 days uptime lol
-
@felmue said in M5Stack Core Basic as Meshtastic Device:
Hi guys
I don't think you can use pre-compiled Meshtastic firmware as some GPIOs used in pre-compiled firmware cannot be selected in LoRa868 V1.1 module.
From the M5Stack Meshtastic
variant.h
file and the previous LoRa module I understand the following GPIOs are used:SCK : GPIO18 MISO : GPIO19 MOSI : GPIO23 CS/NSS: GPIO5 IRQ : GPIO36 RST : GPIO26
However the newer LoRa868 V1.1 module doesn't allow to select
GPIO36
asIRQ
norGPIO26
asRST
.So I think you either need to compile Meshtastic firmware (with the correct GPIOs) yourself, get the older LoRa868 module or modify the V1.1 hardware.
Note: I do not have the necessary hardware to test this myself - so my above conclusions could be incorrect.
Thanks
FelixIs there an answer from M5Stack specialists?
-
Using the LoRa868 (old version) w/ Core Basic works as expected w/ precompiled meshtastic firmware. Thanks to @felmue for his hints.
If you want to use precompiled firmware then look into variants.h for the used GPIO and check your Core and LoRa Module whether the IO fits or not.