COM.GSM from M5Stack is Die?
-
Hello @udafff49
- which M5Stack device are you using? M5Stack (Basic, Gray, Fire) or M5Core2?
- can you share the log file with the errors?
- have you double-checked the SIM card you are using works with your provider in your region? (You can check with a mobile phone.)
- have you double-checked the SIM card doesn't have a PIN set? (Again, you can check that with a mobile phone.)
Thanks
Felix -
Hi @felmue
Thanks for replay.
- I'm using M5stack Core Fire;
- Of course, I attach it in next message;
- Yes I'm checked it more times. Also I try change sim for different samples;
- Yes it's checked. SIM is unlock.
-
-
Hello @udafff49
ok, which GPIOs are you using for TX and RX? M5Stack Fire uses GPIO 16 and 17 internally, so you'll need to switch to a different pair of GPIOs.
From the view of the COM.GSM module TX can be 16, 5 or 15 and RX can be 17, 0 or 13.
Whatever pair you choose you'll also need to adapt those two lines in the sketch:
#define TX_PIN 16 #define RX_PIN 17
Thanks
Felix -
Hi @felmue
Yes, this is step I made. I know about several GPIO for RX/TX. In my case I used 16/17 GPIO.
Screen I attach in next message. -
-
Hello @udafff49
sorry if I was unclear. You can not use GPIO 16 and GPIO 17 with M5Stack Fire. Those two GPIOs are internally used for the PSRAM. Please see here.
You need to use a different pair, for instance GPIO 5 and GPIO 13, adapt the sketch and change the dip switches on the COM.GSM module accordingly.
Thanks
Felix -
Oh, I see. Thanks, I try it. Never know before about 16/17 GPIO is busy.
-
Hi @felmue
Your advice was useful. I changed GPIO and my example sketch was work. Thanks! -