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

From MakerFabsWiki
Jump to: navigation, search
(How to use AT commands)
(Blanked the page)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
==Introduction==
 
 
supports LTE (4G) communication which is much faster and popular than 2G.
 
 
'''[https://www.makerfabs.com/ Maduino Zero 4G LTE CAT]'''<br>
 
[[File:Maduino Zero 4G LTE CAT 101.jpg|500px]]<br>
 
 
==Features==
 
*Supports dial-up, phone, SMS, TCP, UDP, DTMF, HTTP, FTP, and so on
 
* Dual USB Type C port
 
* Control Via AT Commands
 
* Board USB supply voltage range: 4.8~5.5V, 5.0V Typical
 
* Board Battery supply voltage range: 3.4~4.2V, 3.7V Typical
 
* 3GPP E-UTRA Release 11
 
* Onboard charger, up to 1A charge current
 
* Overcharge protection(OCP), 4.3V
 
* Over-discharge protection(ODP), 2.5V
 
* Power Manager, the board can be supplied by USB or battery.
 
* IPEX Antenna, GSM/UMTS/LTE main antenna. UMTS/LTE auxiliary antenna. GNSS antenna
 
* SMS support
 
* Audio support
 
* On boarder controller: ATSAMD21G18A
 
* Audio chip: NAU8810
 
* Level Shifter: TXS0108E
 
 
==Interface==
 
[[File:Maduino Zero 4G LTE CAT 102.jpg|500px]]<br>
 
[[File:Maduino Zero 4G LTE CAT 103.jpg|500px]]<br>
 
 
==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.)<br>
 
 
===Hardware connecttion===
 
1. Plug the SIM card into the board.<br>
 
2. Plug the GPS antenna into the interface.<br>
 
3. Plug two 4G-GSM antennas into the main antenna interface and auxiliary one. <br>
 
4. Plug the headphone with the microphone.<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>
 
[[File:Maduino Zero 4G LTE CAT 104.jpg|500px]]<br>
 
 
===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.<br>
 
1. Open the sketch by Arduino IDE.<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>
 
[[File:Maduino Zero 4G LTE CAT 105.jpg|500px]]<br>
 
 
4. Verify the code and upload.<br>
 
5. Open the serial monitor, send the AT command to the board, and it will print the module response.<br>
 
6. There are some demos that show how to use the AT commands:<br>
 
:* '''AT commands test'''<br>
 
<pre>
 
    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
 
</pre>
 
: [[File:Maduino Zero 4G LTE CAT 106.jpg|500px]]<br>
 
 
<pre>
 
    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
 
</pre>
 
: [[File:Maduino Zero 4G LTE CAT 107.jpg|500px]]<br>
 
 
<pre>
 
    AT+IPREX?    // Check local baud rate
 
    AT+CRESET    // Reset the module
 
 
</pre>
 
 
:* '''Get the GNSS location'''
 
<pre>
 
    AT+CGPS=1      // Start GPS session
 
    AT+CGPSINFO    // Get GPS fixed position information
 
    AT+CGPS=0      // Stop GPS session
 
</pre>
 
: [[File:Maduino Zero 4G LTE CAT 108.jpg|500px]]<br>
 
 
:*'''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.
 
<pre>
 
    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).
 
</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>
 
: [[File:Maduino Zero 4G LTE CAT 109.jpg|500px]]<br>
 
 
<pre>
 
    AT+CMGR=3        // Read message
 
    AT+CMGD=3        // Delete message
 
</pre>
 
: [[File:Maduino Zero 4G LTE CAT 110.jpg|500px]]<br>
 
 
 
:*'''Make a call'''
 
<pre>
 
    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
 
 
</pre>
 
: [[File:Maduino Zero 4G LTE CAT 111.jpg|500px]]<br>
 
<pre>
 
    ATDxxxxx;        // Call to xxxxx
 
    AT+CHUP          // Hang up the call
 
</pre>
 
: [[File:Maduino Zero 4G LTE CAT 112.jpg|500px]]<br>
 
 
<pre>
 
    AT+CLIP=1    // Calling line identification presentation
 
    ATA        // Call answer
 
</pre>
 
: [[File:Maduino Zero 4G LTE CAT 113.jpg|500px]]<br>
 
 
:*'''HTTP test'''
 
 
<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>
 
: [[File:Maduino Zero 4G LTE CAT 114.jpg|500px]]<br>
 
 
:*'''Test the SD card for SIM7600'''
 
: When you plug an SD card into the SD card slot for SIM7600, You can use the following commands to check it.<br>
 
 
<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>
 
 
:*'''More AT commands detail please check [https://www.makerfabs.com/wiki/index.php?title=File:SIM7500_SIM7600_Series_AT_Command_Manual_V1.07.pdf here]'''
 
 
===Test SD card for MCU===
 
When you have plugged the SD card into the SD card slot for MCU, it can not use the AT commands to read or write. There is a demo shows how to read and write the SD card for MCU.<br>
 
* It is required to upload a sketch to the board. The sketch is available on GitHub.<br>
 
* Open the sketch by Arduino IDE.<br>
 
* Use Type-C USB cable to connect the board and PC, note plug the cable to USB-MCU interface.<br>
 
* Select "Tool --> Board --> Arduino Zero" and the port.<br>
 
* Verify the code and upload.<br>
 
* Open the serial monitor, it will print the information of the SD card.<br>
 
[[File:Maduino Zero 4G LTE CAT 114.jpg|500px]]<br>
 
 
===Surfing the internet===
 
Maduino Zero 4G LTE CAT1 can be a wireless networking device to support the PC or Raspberry PI surfing the internet. Next, it will show how to do it.<br>
 
* It needs to install the SIM7600 driver to the PC, the driver is available on [https://www.makerfabs.com/wiki/index.php?title=File:SIM7600X-Driver.zip Resources].<br>
 
* Use Type-C USB cable to connect the board and PC, note plug the cable into the USB for SIM7600.<BR>
 
* Download the driver to the PC.<br>
 
* Follow the below step to install the driver manually:<br>
 
:1. Open "Device Manager".
 
:2. In "Device Manager", select "Other devices".
 
:3. Right-click on and click "Update Driver Software".
 
:4. Select "Browse my computer for driver software".
 
:5. Paste the location address of the driver into the location field, then click "Next".
 
:6. Wait until the driver installation process completes.
 
 
* If the PC does not connect to the internet through this device, please open the serial monitor and send the AT command to start the networking.<br>
 
<pre>
 
    AT$QCRMCALL=1,1
 
</pre>
 
 
: If have not yet, please use the PPP dial-up connection way to start networking.<br>
 
 
==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.<br>
 
 
==Resources==
 
* [https://github.com/Makerfabs/Maduino-Zero-4G-LTE GitHub]
 
* [https://www.makerfabs.com/wiki/index.php?title=File:SIM7500_SIM7600_Series_AT_Command_Manual_V1.07.pdf AT command manual]
 
* [https://www.makerfabs.com/wiki/index.php?title=File:SIM7600X-Driver.zip SIM7600X-Driver]
 
* [https://www.makerfabs.com/wiki/index.php?title=File:Maduino_Zero_4G_LTE_CAT1_v1.1.pdf Schematic]
 

Latest revision as of 01:35, 20 November 2021