Giter VIP home page Giter VIP logo

lilygo-t-a76xx's Introduction

🌟LilyGO T-A76XX🌟

PlatformIO CI

News

  • 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

1️⃣Product

Product(PinMap) SOC Flash PSRAM Schematic
T-A7670X ESP32-WROVER-E 4MB 8MB(QSPI) schematic
T-Call-A7670X 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

2️⃣Examples

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 βœ… βœ… βœ… βœ… βœ… βœ…
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.

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
  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

  • It is recommended to use platformio without cumbersome steps
  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. Select Port
  9. Click upload , Wait for compilation and writing to complete
  10. If it cannot be written, or the USB device keeps flashing, please check the FAQ below

Writing as a beginner

  • 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.

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.
  • The following does not apply to T-Call-A7670
  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

6️⃣ FAQ

  • Can't upload any sketch,Please enter the upload mode manually.
    1. Connect the board via the USB cable
    2. 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.)
    3. Press RST button
    4. Release the RST button
    5. Release the BOOT button (If there is no BOOT button, disconnect IO0 from GND.)
    6. Upload sketch
  • Upgrade modem firmware
    1. T-A76XX Upgrade docs
  • How do I connect the antenna correctly?
    1. Check the silk screen on the board. GPS stands for GPS antenna. Only active GPS antenna can be connected here.
    2. SIM or MAIN, this is the main antenna interface of LTE
    3. AUX This is the diversity antenna for LTE, used to enhance the signal
  • Solar input voltage range?
    1. 4.4 ~ 6V , As long as the voltage matches, the solar panel power is not limited
  • Can't get location?
    1. Please write the compiled firmware for testing. Please see here for details.
  • Where can I access solar energy to charge the panel?
    1. 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.
    2. 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.
    3. 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?
    1. 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?
    1. 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?
    1. 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.

7️⃣Resource

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

lilygo-t-a76xx's People

Contributors

lewisxhe avatar lilygo avatar sukaibin11 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.