- This page introduces the hardware parameters related to
LilyGo SIM7670G ESP32S3 Version
| Product | SOC | Flash | PSRAM |
|---|---|---|---|
| T-SIM7670G ESP32S3 | ESP32-S3-WROOM-1 | 16MB(Quad-SPI) | 8MB(OPI) |
- Install Visual Studio Code and Python
- Search for the
PlatformIOplugin in theVisual Studio Codeextension and install it. - After the installation is complete, you need to restart
Visual Studio Code - After restarting
Visual Studio Code, selectFilein the upper left corner ofVisual Studio Code->Open Folder-> select theLilyGo-Modem-Seriesdirectory - Wait for the installation of third-party dependent libraries to complete
- Click on the
platformio.inifile, and in theplatformiocolumn - Cancel the
;symbol in front of the linedefault_envs = T-SIM7670G-S3and useT-SIM7670G-S3as the default environment - Uncomment one of the lines
src_dir = xxxxto ensure that only one line is valid. For example, to enablesrc_dir = examples/ATdebug, remove the leading;symbol and save the file. The ATDebug example will now be compiled. - Click the (✔) symbol in the lower left corner to compile
- Connect the board to the computer USB-C , Micro-USB is used for module firmware upgrade
- Click (→) to upload firmware
- Click (plug symbol) to monitor serial output
- If it cannot be written, or the USB device keeps flashing, please check the FAQ below
-
Install Arduino IDE
-
Install Arduino ESP32
-
Copy all folders in the
libdirectory to theSketchbook locationdirectory. How to find the location of your own libraries, please see here- Windows:
C:\Users\{username}\Documents\Arduino - macOS:
/Users/{username}/Documents/Arduino - Linux:
/home/{username}/Arduino
- Windows:
-
Open the corresponding example
- Open the downloaded
LilyGo-Modem-Series - Open
examples - Select the sample file and open the file ending with
ino
- Open the downloaded
-
On Arduino ISelect the corresponding board in the DE tool project and click on the corresponding option in the list below to select
Name Value Board ESP32S3 Dev Module Port Your port USB CDC On Boot Enable CPU Frequency 240MHZ(WiFi) Core Debug Level None USB DFU On Boot Disable Erase All Flash Before Sketch Upload Disable Flash Mode QIO 80Mhz Flash Size 16MB(128Mb) Arduino Runs On Core1 USB Firmware MSC On Boot Disable Partition Scheme 16M Flash (3MB APP/9.9MB FATFS) PSRAM OPI PSRAM Upload Speed 921600 Programmer Esptool Partition SchemePlease select according to the actual application. For example, select 16M Flash (3MB APP/9.9MB FATFS) , For more partitioning schemes, please see here
-
In the open sketch, select the
utilities.hfile and uncomment the line// #define LILYGO_T_SIM7670G_S3. Delete the//and save the file to use this board as the default configuration. -
Upload sketch
Important
- Unable to upload any code? Please see the FAQ below
- When opening the Arduino IDE, you will be prompted that there are new libraries that can be updated. Please do not click update. There is no guarantee that it can be compiled, run, etc. after the update. Make sure that the board is running normally before deciding whether to update. You have to Know that problems may occur after updating due to library differences, or the default configuration (such as TinyGSM) will be overwritten.
- If it runs abnormally after the update, please follow Article 4 of the Arduino Quick Start to delete the directory in libraries, and drag the folder in lib into the libraries directory again.
| Name | GPIO NUM | Free |
|---|---|---|
| Modem TX | 11 | ❌ |
| Modem RX | 10 | ❌ |
| Modem PWRKEY | 18 | ❌ |
| Modem RESET | 17 | ❌ |
| Modem RING | 3 | ❌ |
| Modem DTR | 9 | ❌ |
| Board LED | 12 | ❌ |
| Battery ADC Pin | 4 | ❌ |
| Solar ADC Pin | 5 | ❌ |
| SD SCK | 21 | ❌ |
| SD MISO | 47 | ❌ |
| SD MOSI | 14 | ❌ |
| SD CS | 13 | ❌ |
| Features | Details |
|---|---|
| 🔗USB-C Input Voltage | 5V |
| ⚡Solar Input Voltage | 5~6V |
| ⚡USB-C/Solar Charge Max Current | 500mA |
| 🔋Battery Voltage | 3.7V |
| 📍VBUS ( Pin header) | 5V |
| 📍VBAT ( Pin header) | 4.2V |
Tip
- The onboard JST2.0 interface is only used to connect the solar panel to charge the battery, and cannot provide power to the board from this interface
- It is recommended to use a solar panel with an output voltage of 6V or 5V and a power of about 5-10W. Solar energy can only charge the battery. Without the battery, the panel cannot supply power. Please note that this is only a suggestion. It is not necessary to use a 5-10W solar panel. 1W is also acceptable. The size of the solar panel determines the current and speed of solar charging. Please note that depending on the environment, the sunshine time may not exceed one hour per day. At this time, if the solar panel is too small and the light is not sufficient, it cannot be charged.
- Connect the VBUS pin to the USB-C power supply. If USB-C is present, the VBUS voltage is equal to the USB-C voltage. If USB-C is not present, there is no voltage on VBUS.
- Connect the VBAT pin to the positive terminal of the battery. This pin can be used to connect an external battery directly to the VBAT pin. When using an external battery, it is best not to connect the battery to the development board's 18650 battery holder unless the battery's parameters are similar to the external battery. Batteries connected to the VBAT pin can be charged using the onboard charge management.
| Features | Details |
|---|---|
| Over-Voltage Threshold | 4.30V |
| Under-Voltage Threshold | 2.5V |
| Over-Discharge Current | 3A |
| ChipName | DW01V |
| Button | Function |
|---|---|
| BOOT(Close to esp) | Customizable function/Download mode |
| RST | Reset devices button |
| SIM-BOOT(Close to modem) | Modem Upgrade mode |
| PWR(Close to modem) | When the battery is first connected, press PWR to activate the battery power supply. |
- Press and hold the
BOOTbutton before powering on. The board is now in waiting mode for downloading. - Before powering on, keep the
SIM-BOOTbutton pressed to put the modem into firmware update mode. - The above naming method is subject to the board silk screen printing
| Function | |
|---|---|
| SIM | LTE Main antenna interface |
| GNSS | GPS active antenna interface |
- When using, you only need to connect the LTE antenna you wear to the SIM IPEX first generation interface. The AUX antenna does not need to be connected.
- The above naming method is subject to the board silk screen printing
| FUNCTION | COLOR |
|---|---|
| MODEM STATUS | RED (Near the modem) |
| MODEM NETWORK STATE | RED (Near the modem) |
| CHARGE LED | BLUE (Near the battery switch) |
| CHARGE DONE LED | BLUE (Near the battery switch) |
| ON BOARD LED | BLUE (Near the RST button) |
- Modem Status light and network status led cannot be turned off
- GPS Antenna
- LTE Antenna
- T-SIM7670G Schematic
- SIMCOM official SIM7670G All Datasheet
- For SIM7670G series documentation, please visit the datasheet directory.
- Board dimensions
-
Upgrade modem firmware
-
Unable to detect SIMCard?
- Need to insert the SIMCard into the board first and then power on to detect the SIM card. If the order is reversed, it will report that the SIMCard cannot be detected.
-
Can't upload any sketch,Please enter the upload mode manually.
- Connect the board via the USB cable
- Press and hold the BOOT button , While still pressing the BOOT button
- Press RST button
- Release the RST button
- Release the BOOT button
- Upload sketch
-
What the onboard switch does
- When using the internal battery pack, the switch will work normally to power/power down the board. However, if an external battery pack is used and connected to the VBAT pin, the switch will be bypassed, meaning the only way to shut down is to disconnect the battery.
- The switch is only for battery power and has no effect when plugged into USB
-
About VBUS Pin
- VBUS Pin and USB-C are on the same line. Only when USB-C is connected, VBUS has voltage
- When only the battery is connected, VBUS has no voltage output
- If you want to connect an external power supply without connecting USB-C, VBUS Pin is the only voltage input pin. Please note that the maximum input of VBUS Pin is 5V, do not exceed 5V
-
Can other GPS antennas be used?
- The external GPS antenna must be an active GPS antenna with a 3.3V power supply. For example, the MK-76 supports 2.5-5.5V and is compatible. Most active GPS antennas support 2.5-5.5V power. Please refer to the GPS antenna datasheet for details.

