- The TinyGSM used in the example is a fork to support A7670,A7608,SIM7672G,SIM7670G, If you use the master branch, the compilation will not go smoothly
- A7670G/A7670E/A7670SA are collectively referred to as A7670X
- A7608SA-H/A7608E-H,A7608E,A7608SA are collectively referred to as A7608X
- SIM7672G and SIM7670G are exactly the same, except for the name change , The readme file indicates these two models with SIM767X
- When using T-Call-A767X, you need to distinguish between versions. Pinmaps for V1.0 and V1.1 are different and cannot be used universally.
- The usage methods of A7670/A7670 R2 are exactly the same, but the internal chip manufacturing process of the module is different.
- The difference between A7608X-S3 V1.0 and V1.1 is that V1.1 adds a solar input voltage dividing resistor (occupies IO3), the others are the same
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-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 |
Example | T-A7670X | T-Call-A7670X | T-SIM767XG-S3 | T-A7608 | 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* | β | β | β | β | β | β |
- HP303BSensor,SPIExample it only demonstrates how to define and use SPI and I2C. Please confirm the pin connection and IO definition before use.
- For users using the ESP32 version (non ESP32S3 version), please install the CH9102 USB bridge driver for the first time.
- Install Visual Studio Code and Python
- Search for the
PlatformIO
plugin in theVisualStudioCode
extension and install it. - After the installation is complete, you need to restart
VisualStudioCode
- After restarting
VisualStudioCode
, selectFile
in the upper left corner ofVisualStudioCode
->Open Folder
-> select theLilyGO-T-A76XX
directory - Wait for the installation of third-party dependent libraries to complete
- Click on the
platformio.ini
file, and in theplatformio
column - Select the board name you want to use in
default_envs
and uncomment it. - Uncomment one of the lines
src_dir = xxxx
to make sure only one line works - 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
- It is recommended to use platformio without cumbersome steps
- For users using the ESP32 version (non ESP32S3 version), please install the CH9102 USB bridge driver for the first time.
- Install Arduino IDE
- Install Arduino ESP32 2.0.5 or above
- Copy all folders in lib folder to Arduino library folder (e.g. C:\Users\YourName\Documents\Arduino\libraries)
- Open ArduinoIDE ,
Tools
, Look at the picture to chooseT-A7670X/T-Call-A7670X/T-A7608 T-A7608-DC-S3/T-A7608-DC-S3/T-A7608-S3/T-SIM767XG-S3 LilyGO-T-A76XX
folder ->examples
->Choose the appropriate example from the list above
- Open the corresponding board macro definition above utilities.h
- Connect the board to the computer USB-C , Micro-USB is used for module firmware upgrade
- Select
Port
- Click
upload
, Wait for compilation and writing to complete - If it cannot be written, or the USB device keeps flashing, please check 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.
- The A7670G does not have a built-in GPS modem, regardless of whether the motherboard contains a GPS connector.
- The following does not apply to T-Call-A7670
- 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.
- 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.
- On/off switch is for battery use only, it will not function when plugged into USB.
- Recommended solar panels are 4.4v to 6v DO NOT EXCEED OR BOARD MAY BE DAMAGED
- 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.
- 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 - 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.
-
Can't turn on the phone after connecting the battery for the first time?
- This is due to the characteristics of the onboard battery over-discharge and over-charge chip. It cannot be turned on when the battery is connected for the first time. This can be solved by inserting a USB charger or reconnecting the battery. For details, please see the remarks on page 4 of the datasheet.
-
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 (If there is no BOOT button, you need to use wires to connect GND and IO0 together.)
- Press RST button
- Release the RST button
- Release the BOOT button (If there is no BOOT button, disconnect IO0 from GND.)
- Upload sketch
-
Upgrade modem firmware
-
How do I connect the antenna correctly?
- Check the silk screen on the board. GPS stands for GPS antenna. Only active GPS antenna can be connected here.
- SIM or MAIN, this is the main antenna interface of LTE
- AUX This is the diversity antenna for LTE, used to enhance the signal
-
Solar input voltage range?
- 4.4 ~ 6V , As long as the voltage matches, the solar panel power is not limited
-
Can't get location?
- Please write the compiled firmware for testing. Please see here for details.
-
Where can I access solar energy to charge the panel?
- Some boards(T-A7670,T-A7608,T-A7670-S3,T-A7608-S3) have their own solar battery input interface, you just need to connect the solar panel correctly according to the polarity.
- If the board has an external VBAT pin, you can connect the solar rechargeable battery input to VBAT. Please be careful not to exceed the battery supply voltage, which is usually 4.2V.
- If there is no VBAT, you can also connect it to the VBUS Pin, which is the input pin for USB power supply. Connecting it to VBUS will share the 5V of the USBC. Please note that when connecting an external charger, disconnect the USBC or disconnect the solar energy. enter
-
How to use voice call example?
- Voice calls require external welding of the condenser microphone and speaker. Generally, the board silk screen is marked SPK. The speaker needs to be welded, and the MIC silk screen position needs to weld the condenser microphone.
-
SIM767XG sendSMS and VoiceCall?
- Although the manual of SIM767XG states that it has the functions of making voice calls and sending text messages, the current firmware does not support it.
-
Unable to detect SIMCard?
- All SIM series 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.
-
For ESP32S3 users , If you use external power supply instead of USBC, please turn off the CDC option. This is because the board will wait for USB access when it starts.
- For Arduino IDE users, it can be turned off in the options , Please note that turning off USB CDC will turn off Serial redirection to USBC. At this time, you will not see any Serial message output when opening the port from USBC, but output from GPIO43 and GPIO44.
Tools -> USB CDC On Boot -> Disable
- For Platformio users, you can add the following compilation flags in the ini file
build_flags = ; Enable UARDUINO_USB_CDC_ON_BOOT will start printing and wait for terminal access during startup ; -DARDUINO_USB_CDC_ON_BOOT=1 ; Enable UARDUINO_USB_CDC_ON_BOOT will turn off printing and will not block when using the battery -UARDUINO_USB_CDC_ON_BOOT
-
How to release the limitations of ESP32-WROVER-E GPIO12 ?
- Since the ESP32-WROVER-E module is used, the internal flash voltage of the module is 3.3V by default. IO12 controls the startup flash startup voltage. If the external device connected to IO12 defaults to the HIGH level, then the startup will fall into an infinite restart. , Two solutions,
- Replace the IO port and connect the default low-level device to IO12
- Use espefuse to forcefully set the flash voltage to 3.3V. For details, please refer here, this can only be set once, and cannot be set incorrectly. If the setting is incorrect, the module will never start.
- SIMCOM official website document center
- A7670/A7608-Datasheet
- SIM767XG-Datasheet
- Schematic
- Dimensions