Difference between revisions of "Maduino Zero 4G LTE CAT1"

From MakerFabsWiki
Jump to: navigation, search
Line 3: Line 3:
  
 
supports LTE (4G) communication which is much faster and popular than 2G.
 
supports LTE (4G) communication which is much faster and popular than 2G.
 +
 +
'''[https://www.makerfabs.com/ Maduino Zero 4G LTE CAT]'''
 +
[[File:Maduino Zero 4G LTE CAT 101.jpg|500px]]<br>
  
 
==Features==
 
==Features==
  
 
==Interface==
 
==Interface==
 +
[[File:Maduino Zero 4G LTE CAT 102.jpg|500px]]<br>
 +
[[File:Maduino Zero 4G LTE CAT 103.jpg|500px]]<br>
  
 
==Usage==
 
==Usage==
Line 18: Line 23:
 
5. Plug the SD card into the SD card slot for SIM7600.<br>
 
5. Plug the SD card into the SD card slot for SIM7600.<br>
 
When powering the board and the SIM7600 module working, the onboard PWR LED will turn on. When the SIM working, the NET LED will flash.<br>
 
When powering the board and the SIM7600 module working, the onboard PWR LED will turn on. When the SIM working, the NET LED will flash.<br>
 +
[[File:Maduino Zero 4G LTE CAT 104.jpg|500px]]<br>
  
 
===How to use AT commands===
 
===How to use AT commands===
Line 24: Line 30:
 
2. Use Type-C USB cable to connect the board and PC, note plug the cable to USB-MCU interface.<br>
 
2. Use Type-C USB cable to connect the board and PC, note plug the cable to USB-MCU interface.<br>
 
3. Select "Tool --> Board --> Arduino Zero" and the port.<br>
 
3. Select "Tool --> Board --> Arduino Zero" and the port.<br>
 +
[[File:Maduino Zero 4G LTE CAT 105.jpg|500px]]<br>
  
 
4. Verify the code and upload.<br>
 
4. Verify the code and upload.<br>
Line 35: Line 42:
 
     AT+CSUB    // Request the module version and chip
 
     AT+CSUB    // Request the module version and chip
 
</pre>
 
</pre>
 
+
:[[File:Maduino Zero 4G LTE CAT 106.jpg|500px]]<br>
  
 
<pre>
 
<pre>
Line 44: Line 51:
 
     AT+COPS?    // Check the current network operator
 
     AT+COPS?    // Check the current network operator
 
</pre>
 
</pre>
 +
[[File:Maduino Zero 4G LTE CAT 107.jpg|500px]]<br>
  
 
<pre>
 
<pre>
Line 57: Line 65:
 
     AT+CGPS=0      // Stop GPS session
 
     AT+CGPS=0      // Stop GPS session
 
</pre>
 
</pre>
 
+
[[File:Maduino Zero 4G LTE CAT 108.jpg|500px]]<br>
  
 
:*'''Send and receive SMS'''
 
:*'''Send and receive SMS'''
:  Note that is recommended to use other serial monitor not the Arduino IDE one to send the AT command for this demo.  
+
:  Note that is recommended to use other serial monitors not the Arduino IDE one to send the AT command for this demo.  
 
<pre>
 
<pre>
 
     AT+CSCA="XXXXXX"      // Set the SMS service centre address
 
     AT+CSCA="XXXXXX"      // Set the SMS service centre address
Line 67: Line 75:
 
</pre>
 
</pre>
 
:  After sending the above AT commands, it will show ">" and then you can send you message. when you finish your message, you need to send "1A" with hexadecimal for confirming or send "1B" with hexadecimal for cancel, that is why recommended to use other serial monitor.<br>
 
:  After sending the above AT commands, it will show ">" and then you can send you message. when you finish your message, you need to send "1A" with hexadecimal for confirming or send "1B" with hexadecimal for cancel, that is why recommended to use other serial monitor.<br>
 +
[[File:Maduino Zero 4G LTE CAT 109.jpg|500px]]<br>
 +
 
<pre>
 
<pre>
 
     AT+CMGR=3        // Read message
 
     AT+CMGR=3        // Read message
 
     AT+CMGD=3        // Delete message
 
     AT+CMGD=3        // Delete message
 
</pre>
 
</pre>
 +
[[File:Maduino Zero 4G LTE CAT 110.jpg|500px]]<br>
  
  
Line 80: Line 91:
  
 
</pre>
 
</pre>
 
+
[[File:Maduino Zero 4G LTE CAT 111.jpg|500px]]<br>
 
<pre>
 
<pre>
 
     ATDxxxxx;        // Call to xxxxx
 
     ATDxxxxx;        // Call to xxxxx
 
     AT+CHUP          // Hang up the call
 
     AT+CHUP          // Hang up the call
 
</pre>
 
</pre>
 
+
[[File:Maduino Zero 4G LTE CAT 112.jpg|500px]]<br>
  
 
<pre>
 
<pre>
     AT+CLIP    // Calling line identification presentation
+
     AT+CLIP=1     // Calling line identification presentation
 
     ATA        // Call answer
 
     ATA        // Call answer
 
</pre>
 
</pre>
 +
[[File:Maduino Zero 4G LTE CAT 113.jpg|500px]]<br>
 +
 
:*'''HTTP test'''
 
:*'''HTTP test'''
  
 
<pre>
 
<pre>
 
+
    AT+HTTPINIT        // Initialize and start the HTTP
 +
    AT+HTTPPARA="URL","http://www.makerfabs.com"  // Set the URL
 +
    AT+HTTPACTION=0    // Connect the HTTP. (0-get, 1-post, 2-head)
 +
    AT+HTTPHEAD        // Read the response's header.
 +
    AT+HTTPREAD=0,3    // Read the content (“3” means the number of the reading data)
 
</pre>
 
</pre>
 +
[[File:Maduino Zero 4G LTE CAT 114.jpg|500px]]<br>
  
 
:*'''Test the SD card'''
 
:*'''Test the SD card'''
 
: When you plug an SD card into the SD card slot for SIM7600, You can use the following commands to check it.<br>
 
: When you plug an SD card into the SD card slot for SIM7600, You can use the following commands to check it.<br>
 +
 
<pre>
 
<pre>
 
+
    AT+FSCD=D:                    // Select SD card directory as current directory
 +
    AT+FSLS                      // List directories/files in current directory
 +
    AT+CFTRANRX="D: TEST.txt",10  // Transfer a file to EFS
 +
    AT+CFTRANTX="D: TEST.txt"    // Transfer a file from EFS to host
 
</pre>
 
</pre>
 
  
 
:*'''More AT commands detail please check [ here]'''
 
:*'''More AT commands detail please check [ here]'''

Revision as of 03:45, 4 November 2021

Introduction

supports LTE (4G) communication which is much faster and popular than 2G.

Maduino Zero 4G LTE CAT 500px

Features

Interface

Maduino Zero 4G LTE CAT 102.jpg
Maduino Zero 4G LTE CAT 103.jpg

Usage

Warning:Do not operate when in power on (don’t plug or unplug the Antenna, SIM Cars, SD Card, in case of short-circuiting that may burn the IC down.)

Hardware connecttion

1. Plug the SIM card into the board.
2. Plug the GPS antenna into the interface.
3. Plug two 4G-GSM antennas into the main antenna interface and auxiliary one.
4. Plug the headphone with the microphone.
5. Plug the SD card into the SD card slot for SIM7600.
When powering the board and the SIM7600 module working, the onboard PWR LED will turn on. When the SIM working, the NET LED will flash.
500px

How to use AT commands

For using AT commands by the serial communication, it needs to upload the sketch to this board. The sketch is available on GitHub.
1. Open the sketch by Arduino IDE.
2. Use Type-C USB cable to connect the board and PC, note plug the cable to USB-MCU interface.
3. Select "Tool --> Board --> Arduino Zero" and the port.
Maduino Zero 4G LTE CAT 105.jpg

4. Verify the code and upload.
5. Open the serial monitor, send the AT command to the board, and it will print the module response.
6. There are some demos that show how to use the AT commands:

  • AT commands test
    AT+CGMI    // Request manufacturer identification
    AT+CGMM    // Request model identification
    AT+CGSN    // Request product serial number identification
    AT+CSUB    // Request the module version and chip
Maduino Zero 4G LTE CAT 106.jpg
    AT+CPIN?     // Request the state of the SIM card
    AT+CICCID    // Read ICCID from SIM card
    AT+CNUM      // Request the subscriber number
    AT+CNMP?     // Preferred mode selection
    AT+COPS?     // Check the current network operator

Maduino Zero 4G LTE CAT 107.jpg

    AT+IPREX?    // Check local baud rate
    AT+CRESET    // Reset the module

  • Get the GNSS location
    AT+CGPS=1      // Start GPS session 
    AT+CGPSINFO    // Get GPS fixed position information
    AT+CGPS=0      // Stop GPS session

Maduino Zero 4G LTE CAT 108.jpg

  • Send and receive SMS
Note that is recommended to use other serial monitors not the Arduino IDE one to send the AT command for this demo.
    AT+CSCA="XXXXXX"       // Set the SMS service centre address
    AT+CMGF=1              // Select SMS message format
    AT+CMGS="xxxxxx"       // Send message to "xxxxxx"(the receiver number).
After sending the above AT commands, it will show ">" and then you can send you message. when you finish your message, you need to send "1A" with hexadecimal for confirming or send "1B" with hexadecimal for cancel, that is why recommended to use other serial monitor.

Maduino Zero 4G LTE CAT 109.jpg

    AT+CMGR=3        // Read message
    AT+CMGD=3        // Delete message

Maduino Zero 4G LTE CAT 110.jpg


  • Make a call
    AT+CSDVC         // Switch voice channel device
    AT+CSDVC=1       // 1-Handset, 3-Speaker phone
    AT+CLVL=2        // Set loudspeaker volume level to 2, the level range is 0 to 5

Maduino Zero 4G LTE CAT 111.jpg

    ATDxxxxx;        // Call to xxxxx
    AT+CHUP          // Hang up the call

Maduino Zero 4G LTE CAT 112.jpg

    AT+CLIP=1     // Calling line identification presentation
    ATA         // Call answer

Maduino Zero 4G LTE CAT 113.jpg

  • HTTP test
    AT+HTTPINIT         // Initialize and start the HTTP
    AT+HTTPPARA="URL","http://www.makerfabs.com"  // Set the URL
    AT+HTTPACTION=0    // Connect the HTTP. (0-get, 1-post, 2-head)
    AT+HTTPHEAD        // Read the response's header.
    AT+HTTPREAD=0,3    // Read the content (“3” means the number of the reading data)

Maduino Zero 4G LTE CAT 114.jpg

  • Test the SD card
When you plug an SD card into the SD card slot for SIM7600, You can use the following commands to check it.
    AT+FSCD=D:                    // Select SD card directory as current directory
    AT+FSLS                       // List directories/files in current directory
    AT+CFTRANRX="D: TEST.txt",10  // Transfer a file to EFS
    AT+CFTRANTX="D: TEST.txt"     // Transfer a file from EFS to host
  • More AT commands detail please check [ here]

Test SD card

Surfing the internet

FAQ

You can list your questions here or contact support@makerfabs.com for technology support. A detailed description of your question will be helped to solve.

Resources

  • [ GitHub]
  • [ AT command manual]