Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
The ESP32-S3-A7670E-4G (hereinafter referred to as the development board) is a multifunctional, high-performance microcontroller development board designed by Waveshare. It integrates an A7670E 4G communication module, a universal OV camera interface, a TF card slot, RGB lights, an 18650 battery slot, a battery voltage measurement IC, a solar charging interface, and other peripherals. It employs the ESP32-S3R2, a System On Chip (SoC) that integrates low-power Wi-Fi and BLE5.0. Additionally, it comes with an external 16MB Flash and 2MB PSRAM. The SoC incorporates a hardware encryption accelerator, random number generator (RNG), HMAC, and digital signature modules, meeting the security requirements of the Internet of Things (IoT).
The A7670E 4G communication module provides mobile network capabilities, enabling functionalities like portable Wi-Fi and IoT data transmission when combined with the ESP32-S3R2. Its various low-power operating modes cater to power consumption demands in IoT, mobile devices, outdoor monitoring, smart home applications, and other scenarios.
The supported camera list is shown below:
model | max resolution | color type | Len Size |
---|---|---|---|
OV2640 | 1600 x 1200 | color | 1/4" |
OV3660 | 2048 x 1536 | color | 1/5" |
OV5640 | 2592 x 1944 | color | 1/4" |
OV7670 | 640 x 480 | color | 1/6" |
OV7725 | 640 x 480 | color | 1/4" |
NT99141 | 1280 x 720 | color | 1/4" |
GC032A | 640 x 480 | color | 1/10" |
GC0308 | 640 x 480 | color | 1/6.5" |
GC2145 | 1600 x 1200 | color | 1/5" |
BF3005 | 640 x 480 | color | 1/4" |
BF20A6 | 640 x 480 | color | 1/10" |
SC101IOT | 1280 x 720 | color | 1/4.2" |
SC030IOT | 640 x 480 | color | 1/6.5" |
SC031GS | 640 x 480 | color | 1/6" |
This development board's ESP32-S3 UART to USB module and 4G module USB use the same Type-C interface, and you can choose the connection between the USB interface of the 4G module and the ESP32-S3 USB connector or the Type-C interface through the USB channel of the dip switch on the back of the development board. This function is mainly used when the ESP32-S3 uses Tiny USB 4G module communication as a portable WiFi, wireless hotspot.
The solar input selection resistor on the back of the development board can switch the maximum voltage of solar input. By default, the 0-ohm resistor is used to connect to the 5V marking position, supporting solar panels with 5~6V voltage input. When using solar panels with higher voltage input, the corresponding voltage solder joints should be shorted.
esp-idf: configure esp-idf extension
esp-idf:show examples projects
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
AT Command | Command Description | Return |
AT+HTTPINIT | Open HTTP service | OK |
AT+HTTPPARA="URL",https://www.waveshare.cloud/api/sample-test/ | Connect to the remote server | OK |
AT+HTTPDATA=5,1000 | Input the data | DOWNLOAD <Enter hello OK |
AT+HTTPACTION=0 | Open HTTP request, 0:GET; 1:POST; 2:HEAD; 3:DELETE; 4:PUT | OK +HTTPACTION: 0,200,54 |
AT+HTTPTERM | Close HTTP service | OK |
AT+HTTPPARA | Set HTTP parameters | OK |
AT+HTTPHEAD | Read the HTTP response header message | OK |
AT+HTTPREAD | Read the HTTP response message | OK |
AT Command | Command Description | Return |
AT+CMQTTSTART | Open MQTT service | OK |
AT+CMQTTACCQ=0,"Waveshare-7670X",0 | Apply for MQTT client | OK |
AT+CMQTTCONNECT=0,"tcp://mqtt.easyiothings.com",20,1 | Send MQTT request, connect to the private MQTT server (MQTTS) | OK |
AT+CMQTTTOPIC=0,8 | Input the message to publish the topic | >A7670Pub OK |
AT+CMQTTPAYLOAD=0,9 | Input the message to be published | OK >waveshare |
AT+CMQTTPUB=0,0,60 | Publish the message | OK +CMQTTPUB: 0,0 |
AT+CMQTTSUB=0,8,1 | Subscribe to message topic | >A7670Sub OK +CMQTTSUBTOPIC: 0,0 [10:03:39.665]Receive←◆ +CMQTTRXSTART: 0,8,15 +CMQTTRXTOPIC: 0,8 A7670Sub +CMQTTRXPAYLOAD: 0,15 {"data":"test"} +CMQTTRXEND: 0 |
AT+CMQTTSTOP | Stop MQTT service | OK |
AT+CMQTTREL | Release the client | OK |
AT+CMQTTUNSUBTOPIC | Unsubscribe the topic | OK |
AT+CMQTTUNSUB | Release subscription | OK |
AT+CGNSSPWR=1 | Open GNSS | +CGNSSPWR: READY! |
AT+CGNSSTST=1 | Open GNSS data output | OK |
ATD10086; | Dial phone numbers | OK VOICE CALL: BEGIN |
ATA | Answer | OK VOICE CALL: BEGIN |
ATH | Hang off | OK VOICE CALL: END: 000017 |
1. Set the local SMS message center: AT+CSCA="+8613800755500" + Enter; return OK. <br> 2. AT+CMGF=1: Set the SMS mode as TEXT;<br> 3. AT+CMGS="phone number" <Enter>, set the receiver phone number, and then return: ">"; Send the required message, such as "Send message test!", and Enter is not needed at the end. After editing the message, send it in hexadecimal format with the key value of 1A for sending (1A represents "CTRL+Z" and is used to indicate the module to execute the send operation, alternatively 1B (1B represents "ESC") can be sent to cancel the operation). After successful transmission, the module returns "+CMGS: 15" to confirm successful sending, as shown in the figure below.<br>
1. Send a message "This is a receive test for SIM7600X!" on your phone to the test module.
2. When receiving a message, the serial port will automatically report the information. For example, "SM", 20, indicates that there are 20 messages in the Short Message (SM) storage. The message just sent is the 20th message.
3. Read the message: AT+CMGR=20 reads the 20th message (AT+CMGL="ALL" is for reading all messages).
4. Delete the message: AT+CMGD=20 as shown below:
5. Convert the displayed message to text through the code converter.
The commonly used commands for TTS (Text-to-Speech) are as follows:
AT+CTTSPARAM=? // View the range of adjustable parameters AT+CTTSPARAM=1,3,0,1,1 // Set parameters AT+CTTSPARAM? // Read the current TTS settings AT+CTTS=1,"6B228FCE4F7F75288BED97F3540862107CFB7EDF" // Synthesize and play UCS2 text AT+CTTS=2,"1234567890" // Synthesize and play text
The common commands for LBS (Location-Based Service) base station positioning functionality are as follows:
AT+CLBS=? // View the range of parameters that can be set AT+SIMEI=xxxxx // If there is no IMEI, set the IMEI first; xxxxx must correspond to the IMEI code on the module sticker AT+CLBS=2 // Retrieve detailed address AT+CLBS=1 // Retrieve current latitude and longitude
This demo is based on the CameraWebServer demo of the ESP32.
#define PWDN_GPIO_NUM -1 #define RESET_GPIO_NUM -1 #define XCLK_GPIO_NUM 34 #define SIOD_GPIO_NUM 15 #define SIOC_GPIO_NUM 16 #define Y9_GPIO_NUM 14 #define Y8_GPIO_NUM 13 #define Y7_GPIO_NUM 12 #define Y6_GPIO_NUM 11 #define Y5_GPIO_NUM 10 #define Y4_GPIO_NUM 9 #define Y3_GPIO_NUM 8 #define Y2_GPIO_NUM 7 #define VSYNC_GPIO_NUM 36 #define HREF_GPIO_NUM 35 #define PCLK_GPIO_NUM 37
const int SDMMC_CLK = 5; const int SDMMC_CMD = 4; const int SDMMC_DATA = 6; const int SD_CD_PIN = 46;
Onboard a WS2812b RGB LED, and the signal pin is 38.
After programming the sample demo, the LED light is expected to display a gradient color.
This development board utilizes the MAX17048 as the battery charge measurement IC.
Please download the demo, and open the GNSS-With-WaveshareCloud sample demo.
In this application, communication between ESP32-S3 and A7670E-FASE is established using ESP32-S3's software serial port. By sending AT commands, the GNSS (Global Navigation Satellite System) is activated, and NMEA GNSS data is parsed and uploaded to the Waveshare Cloud. The specific location of the development board is then displayed on a web view map page.
Here, we take the map service provided by Waveshare Cloud as an example:
1. Through Device|Attributeto create any devices, and obtain the MQTT connection data.
2. Enter the parameters in the GNSS-With-WaveshareCloud demo.
A7600 & A7670 AT commands reference: