• sales

    +86-0755-88291180

T-SIM7080G-S3 User Guide

【Examples preview】

examples 
├─AllFunction                   # Full function test example
├─BLE5_extended_scan            # Official BLE5 Example
├─BLE5_multi_advertising        # Official BLE5 Example
├─BLE5_periodic_advertising     # Official BLE5 Example    
├─BLE5_periodic_sync            # Official BLE5 Example
├─BIGIOT_Gnss_Upload            # Upload positioning coordinates to BIGIOT IOT,Timed wake-up consumes about 1.2mA
├─MinimalCameraExample          # Example of camera use
├─MinimalModemGPSExample        # SIM7080G GPS example
├─MinimalModemNBIOTExample      # SIM7080G NBIOT example
├─MinimalModemPowerSaveMode     # SIM7080G power maintenance example
├─MinimalModemSleepMode         # SIM7080G sleep example
├─MinimalModemUpgrade           # Upgrade SIM7080 built-in firmware
├─MinimalPowersExample          # Example of PMU
├─MinimalSDCardExample          # Example of using SDCard
├─ModemMqttPulishExample        # MQTT Pulish Example            
├─ModemMqttsExample             # MQTTS Example    
└─ModemMqttSubscribeExample     # MQTT Subscribe Example           

【Quick Start】

PlatformIO

  1. Install VisualStudioCode and Python
  2. Search for the PlatformIO plugin in the VisualStudioCode extension and install it.
  3. After the installation is complete, you need to restart VisualStudioCode
  4. After restarting VisualStudioCode, select File in the upper left corner of VisualStudioCode -> Open Folder -> select the LilyGo-T-SIM7080G directory
  5. Click on the platformio.ini file, and in the platformio column, cancel the sample line that needs to be used, please make sure that only one line is valid
  6. Click the (√) symbol in the lower left corner to compile
  7. Connect the board to the computer USB
  8. Click (→) to upload firmware
  9. Click (plug symbol) to monitor serial output

ArduinoIDE

  1. Install ArduinoIDE
  2. Copy all the folders in the LilyGo-T-SIM7080G/lib directory to <C:\Users\UserName\Documents\Arduino\libraries>. If there is no libraries directory, please create a new one. Please note that you are not copying the lib directory, but copying the folders in the lib directory
  3. Open ArduinoIDE -> Tools
  • Board -> ESP32S3 Dev Module
  • USB CDC On Boot -> Enable ## Note that you need to change Enable to Disable when USB is not connected, so USB CDC will not prevent the board from starting
  • CPU Frequency -> 240MHz
  • USB DFU On Boot -> Disable
  • Flash Mode -> QIO 80MHz
  • Flash Size -> 16MB(128Mb)
  • USB Firmware MSC On Boot -> Disable
  • PSRAM -> OPI PSRAM
  • Partition Scheme -> 16M Flash(3MB APP/9.9MB FATFS)
  • USB Mode -> Hardware CDC and JIAG
  • Upload Mode -> UART0/Hardware CDC
  • Upload Speed -> 921600
  1. Insert USB into the PC and click Upload <If the upload fails, keep pressing the BOOT button, click RST, and then click Upload. When the upload is complete, click RST to exit the download mode>
【Tips】

  1. Note: SIM7080G cannot connect to cellular network and GPS positioning at the same time
  2. Board integrated PMU (Power management chip), with short circuit and overload protection. By default,PWRKEYneeds to be pressed for 6 seconds to turn off the board power supply, and pressPWRKEYfor 128 milliseconds to turn on the power supply. If you need to modify the power off pressing time, please refer toMinimalPowersExample
  3. If the charging function is required, thePMU TS Pindetection function needs to be turned off. By default, there is no NTC sensor on the board, so the TS Pin detection needs to be disabled before the charging function can be used normally. If theTS Pindetection function is not turned off, the PMU charging indicator will flash after the battery is inserted, and charging will be disabled
  4. The board VSYS is the internal 5V boost output of the PMU, which can only be output but not input. Please do not connect an external power supply load greater than 500mA
  5. The DC5 power supply voltage can be adjusted, and the maximum output current should not exceed 1A 5.DC1 is the core power supply voltage, and the default output is 3.3V. Please do not adjust the DC1 voltage through software
  6. When the sketch cannot be uploaded, please press and hold the BOOT button on the board, and then insert the USB. At this time, you should be able to see the port in the device manager of the computer, and then click Upload Sketch again
  7. When the power supply channel of the ESP32S3 is closed incorrectly, please insert USB, and then press and hold the BOOT button of the board, and then press and hold the PWRKEY button. At this time, the board enters the download mode, and the sketch can be uploaded normally
  8. If the power supply of the board cannot be turned on when the battery is connected, please check that the mechanical switch beside the USB is turned toON, and then press the board PWR for 2 seconds. At this time, the board should start to work
  9. The range of solar input voltage is 4.4~6V. Please select an appropriate solar panel and set the maximum charging current as 500mA
  10. If the camera is not connected, all IO ports are available. If the camera is used, the board has only GPIO45 and GPIO46 is idle
  11. T-SIM7080G uses Octal SPI PSRAM, so GPIO35~GPIO37 is unavailable. Please do not use these IOs
  12. Note:  Please understand the risks to be faced before changing the voltage of peripherals, otherwise do not try to change the voltage of cameras and other on-board devices, which may cause permanent damage
  13. Note:  Please do not turn off the BLDO1 power supply, otherwise ESP32S3 and SIM7080G cannot communicate normally
  14. Please check the Operating Instructions for updating the built-in firmware of the modem. Generally, upgrading the firmware is not recommended
【Pins】

CameraPWDNResetXCLKSDASCLVSYNCHREFPCLK
GPION/A18821161712
CameraD9D8D7D6D5D4D3D2
GPIO910111321484714
  • If you do not use a camera, you can freely allocate IO ports here. Assuming you need to allocate I2C, please use the display to call Wire and pass the required IO ports, such as

int sda = 13;  // You can also use other IO ports

int scl = 21;  // You can also use other IO ports

Wire.begin(sda,scl)


ModemPWRRXDTXDRIDTR
GPIO4145342
PMUSDASCLIRQ
GPIO1576
SDCardCMDCLKDATA
GPIO393840
Power domain
ModemCameraESP32S3SDCardLevel conversion
DC3/BLDO2(GPS)ALDO1/ALDO2/ALDO4DC1ALDO3BLDO1