vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.91k stars 708 forks source link

M5Stack M5ScoreS3 and Module Com.X LTE (SIM7600G) #772

Open cohen-sydney opened 5 months ago

cohen-sydney commented 5 months ago

I have the M5CoreS3 with the Module COM.X LTE I am trying the Test Sketch "This script tries to auto-detect the baud rate"

the modern is a SIM7600

currently this does not work. am I using the correct Define

I have tried both other these. // #define TINY_GSM_MODEM_SIM800

define TINY_GSM_MODEM_SIM7600

help is appreciated. First attempted to do At commands with Modem module.

[ YES] I have read the Troubleshooting section of the ReadMe

What type of issues is this?

[ MayBe] Request to support a new module

[ ] Bug or problem compiling the library [ ] Bug or issue with library functionality (ie, sending data over TCP/IP) [Yes ] Question or request for help

What are you working with?

Modem: Main processor board: TinyGSM version: Code:

Scenario, steps to reproduce

Expected result

Actual result

Debug and AT command log

cohen-sydney commented 5 months ago

I have fixed this issue. Changed the Dip Switches on the Board. In the COM.LTE module set the DIP switches as follows: 15 - off 5 - off 16 - on 13 - off 0 - off 17 - on

// Note: set DIP switch 16 and 17 to ON position in COM.LTE(4G) module

define RX_PIN 18

define TX_PIN 17

added the following code in the TinyGSM "Allfunctions" example

define TINY_GSM_MODEM_SIM7600

define SerialMon Serial

define RX_PIN 18

define TX_PIN 17

define SerialAT Serial1

in Void Setup()

SerialMon.begin(115200); delay(10);

SerialAT.begin(115200, SERIAL_8N1, 18, 17, false); delay(3000); modem.restart(); delay(6000);

works for me can access the Modem. on the COM.X LTE device attached to the CoreS3.