Xinyuan-LilyGO / LilyGO-T-A76XX

LilyGo A7670 A7608 SIM7672 series
MIT License
96 stars 42 forks source link
a7608 a7670 sim7672

๐ŸŒŸLilyGO T-A76XX๐ŸŒŸ

PlatformIO CI

News

1๏ธโƒฃProduct

Product(PinMap) SOC Flash PSRAM Schematic
T-A7670X ESP32-WROVER-E 4MB 8MB(QSPI) schematic
T-Call-A7670X-V1.0 ESP32-WROVER-E 4MB 8MB(QSPI) schematic
T-Call-A7670X-V1.1 ESP32-WROVER-E 4MB 8MB(QSPI) schematic
T-A7608 ESP32-WROVER-E 4MB 8MB(QSPI) schematic
T-A7608-V2 ESP32-WROVER-E 4MB 8MB(QSPI) schematic
T-A7608-DC-S3 ESP32-S3-WROOM-1 16MB 8MB(OPI) schematic
T-A7608-S3 ESP32-S3-WROOM-1 16MB 8MB(OPI) schematic
T-SIM767XG-S3 ESP32-S3-WROOM-1 16MB 8MB(OPI) schematic

2๏ธโƒฃExamples

Example T-A7670X T-Call-A7670X T-SIM767XG-S3 T-A7608/V2 T-A7608-DC-S3 T-A7608-S3
ATdebug โœ… โœ… โœ… โœ… โœ… โœ…
Blynk_Console โœ… โœ… โœ… โœ… โœ… โœ…
GPSShield โœ… (Only T-A7670G) โŒ (Can't run) โŒ (Can't run) โŒ (Can't run) โŒ (Can't run) โŒ (Can't run)
GPS_BuiltIn โœ… โœ… โœ… โœ… โœ… โœ…
GPS_NMEA_Parse โœ… โœ… โœ… โœ… โœ… โœ…
HttpClient โœ… โœ… โœ… โœ… โœ… โœ…
HttpsClient โœ… โœ… โœ… โœ… โœ… โœ…
MqttClient โœ… โœ… โœ… โœ… โœ… โœ…
ReadBattery โœ… โŒ (Can't run) โœ… โœ… โŒ (Can't run) โœ…
DeepSleep โœ… โœ… โœ… โœ… โœ… โœ…
ModemSleep โœ… โœ… โœ… โœ… โœ… โœ…
ModemPowerOff โœ… โœ… โœ… โœ… โœ… โœ…
VoiceCalls โœ… โœ… โŒ (No support) โœ… โœ… โœ…
SDCard โœ… โŒ (Can't run) โœ… โœ… โœ… โœ…
SerialRS485 โœ… โœ… โœ… โœ… โœ… โœ…
SendSMS โœ… โœ… โŒ (No support) โœ… โœ… โœ…
LBSExample โœ… โœ… โŒ (No support) โœ… โœ… โœ…
Network โœ… โœ… โœ… โœ… โœ… โœ…
MqttsBuiltlnAuth โœ… โœ… โœ… โœ… โœ… โœ…
MqttsBuiltlnSSL โœ… โœ… โœ… โœ… โœ… โœ…
MqttsBuiltlnAWS โœ… โœ… โœ… โœ… โœ… โœ…
MqttsBuiltlnHivemq โœ… โœ… โœ… โœ… โœ… โœ…
MqttsBuiltlnEMQX โœ… โœ… โœ… โœ… โœ… โœ…
HttpsBuiltlnGet โœ… โœ… โœ… โœ… โœ… โœ…
HttpsBuiltlnPost โœ… โœ… โœ… โœ… โœ… โœ…
HttpsOTAUpgrade โœ… โœ… โœ… โœ… โœ… โœ…
HP303BSensor* โœ… โœ… โœ… โœ… โœ… โœ…
SPIExample* โœ… โœ… โœ… โœ… โœ… โœ…

Quick start โšก

3๏ธโƒฃ PlatformIO Quick Start (Recommended)

  1. For users using the ESP32 version (non ESP32S3 version), please install the CH9102 USB bridge driver for the first time.
  2. Install Visual Studio Code and Python
  3. Search for the PlatformIO plugin in the VisualStudioCode extension and install it.
  4. After the installation is complete, you need to restart VisualStudioCode
  5. After restarting VisualStudioCode, select File in the upper left corner of VisualStudioCode -> Open Folder -> select the LilyGO-T-A76XX directory
  6. Wait for the installation of third-party dependent libraries to complete
  7. Click on the platformio.ini file, and in the platformio column
  8. Select the board name you want to use in default_envs and uncomment it.
  9. Uncomment one of the lines src_dir = xxxx to make sure only one line works
  10. Click the (โœ”) symbol in the lower left corner to compile
  11. Connect the board to the computer USB-C , Micro-USB is used for module firmware upgrade
  12. Click (โ†’) to upload firmware
  13. Click (plug symbol) to monitor serial output
  14. If it cannot be written, or the USB device keeps flashing, please check the FAQ below

4๏ธโƒฃ Arduino IDE Quick Start

  1. For users using the ESP32 version (non ESP32S3 version), please install the CH9102 USB bridge driver for the first time.
  2. Install Arduino IDE
  3. Install Arduino ESP32 2.0.5 or above
  4. Copy all folders in lib folder to Arduino library folder (e.g. C:\Users\YourName\Documents\Arduino\libraries)
  5. Open ArduinoIDE ,Tools , Look at the picture to choose T-A7670X/T-Call-A7670X/T-A7608 T-A7608-DC-S3/T-A7608-DC-S3/T-A7608-S3/T-SIM767XG-S3
    esp32dev esp32s3dev
  6. LilyGO-T-A76XX folder -> examples -> Choose the appropriate example from the list above
  7. Open the corresponding board macro definition above utilities.h
  8. Connect the board to the computer USB-C , Micro-USB is used for module firmware upgrade
  9. Select Port
  10. Click upload , Wait for compilation and writing to complete
  11. If it cannot be written, or the USB device keeps flashing, please check the FAQ below

Writing as a beginner

5๏ธโƒฃ Notes for new Users <T-A7670X/T-A7608X>

  1. The A7670G does not have a built-in GPS modem, regardless of whether the motherboard contains a GPS connector.
  1. Pin VIN is a USB input, if a battery is being used to power the device there will be no voltage output from VIN meaning 3.3v is the only power output.
  2. When using the built-in battery pack the on/off switch will function as normal, supplying/cutting off power to the board, However, if an external battery pack is used and attached to the VBAT pin the on/off switch will be bypassed meaning the only way to shut off will be to disconnect the batteries.
  3. On/off switch is for battery use only, it will not function when plugged into USB.
  4. Recommended solar panels are 4.4v to 6v DO NOT EXCEED OR BOARD MAY BE DAMAGED
  5. When an SD card in you can not upload software in Arduino IDE since the SD card uses IO2 as CS, the SD card must be removed when uploading a new sketch.
  6. The T-A7670G modem does not contain a GPS positioning component and requires an additional external GPS positioning module to use the positioning function. LilyGo T-A7670G with GPS uses Quectel L76K as the T-A7670G auxiliary positioning function, which requires a part of the IO, please refer to the GPSShield example , How to identify whether you have an external GPS module please see #issues56
  7. Known issues, ESP32 (V1.2) version of T-A7670, T-A7608, when using battery power supply mode, BOARD_POWERON_PIN (IO12) must be set to high level after esp32 starts, otherwise a reset will occur.

6๏ธโƒฃ FAQ

7๏ธโƒฃResource

  1. SIMCOM official website document center
  2. A7670/A7608-Datasheet
  3. SIM767XG-Datasheet
  4. Schematic
  5. Dimensions