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

From MakerFabsWiki
Jump to: navigation, search
(Hardware connecttion)
(Blanked the page)
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Maduino Zero 4G LTE CAT1 integrated two types of the 4G LTE module SIM7600A or SIM7600E, SIM7600A/SIM7600E is a complete multi-band LTE-FDD/LTE-TDD/HSPA+/UMTS/EDGE/GPRS/GSM module solution in LCC type which supports LTE CAT1 up to 10Mbps for downlink and 5Mbps for uplink data transfer, much faster and popular than 2G.
[[File:Maduino Zero 4G LTE CAT 116.jpg]]<br>
'''Frequency bands'''<br>
[[File:Maduino Zero 4G LTE CAT 117.jpg|500px]]<br>
:''Data comes from [https://en.wikipedia.org/wiki/LTE_frequency_bands wiki]''
'''Specifications for Data transfer'''<br>
{| cellspacing="0" cellpadding="5" border="1"
| align="center" width="150" | ''' '''
| align="center" width="150" | '''Uplink'''
| align="center" width="150" | '''Downlink'''
|- style="font-size: 90%"
| align="center" | LTE CAT1
| align="center" | 5Mbps
| align="center" | 10Mbps
|- style="font-size: 90%"
| align="center" | HSPA+
| align="center" | 5.76 Mbps
| align="center" | 42 Mbps
|- style="font-size: 90%"
| align="center" | UMTS
| align="center" | 384Kbps
| align="center" | 384Kbps
|- style="font-size: 90%"
| align="center" | EDGE
| align="center" | 236.8Kbps
| align="center" | 236.8Kbps
|- style="font-size: 90%"
| align="center" | GPRS
| align="center" | 85.6Kbps
| align="center" | 85.6Kbps
'''[https://www.makerfabs.com/ Maduino Zero 4G LTE CAT]'''<br>
[[File:Maduino Zero 4G LTE CAT 101.jpg|500px]]<br>
*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
[[File:Maduino Zero 4G LTE CAT 102.jpg|500px]]<br>
[[File:Maduino Zero 4G LTE CAT 103.jpg|500px]]<br>
'''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 STA LED(blue) will turn on.<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 [https://github.com/Makerfabs/Maduino-Zero-4G-LTE/tree/main/example/4G_SD_AT_Commands_V1.0 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>
    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
: [[File:Maduino Zero 4G LTE CAT 106.jpg|500px]]<br>
    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
: [[File:Maduino Zero 4G LTE CAT 107.jpg|500px]]<br>
    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
: [[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.
    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 your 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>
    AT+CMGR=3        // Read message
    AT+CMGD=3        // Delete message
: [[File:Maduino Zero 4G LTE CAT 110.jpg|500px]]<br>
:*'''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
: [[File:Maduino Zero 4G LTE CAT 111.jpg|500px]]<br>
    ATDxxxxx;        // Call to xxxxx
    AT+CHUP          // Hang up the call
: [[File:Maduino Zero 4G LTE CAT 112.jpg|500px]]<br>
    AT+CLIP=1    // Calling line identification presentation
    ATA        // Call answer
: [[File:Maduino Zero 4G LTE CAT 113.jpg|500px]]<br>
:*'''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)
: [[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>
    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 [https://www.makerfabs.com/wiki/index.php?title=File:SIM7500_SIM7600_Series_AT_Command_Manual_V1.07.pdf here]'''
===Test microSD card of MCU===
When you have plugged the microSD card into the microSD card slot of MCU, it can not use the AT commands to read or write. There is a demo shows how to read and write the microSD card for MCU.<br>
* It is required to upload a sketch to the board. The sketch is available on [https://github.com/Makerfabs/Maduino-Zero-4G-LTE/tree/main/example/SD_MCU_Test_V1.0 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 message of the SD writing and reading.<br>
[[File:Maduino Zero 4G LTE CAT 115.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(USB-LTE) and PC, note plug the cable into the USB of MCU.<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 drivers' 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>
: If have not yet, please use the PPP dial-up connection way to start networking.<br>
===Transmit T&H to Thingspeak===
This demo will show you use this device to transmit the temperature and humidity to Thingspeak that the T&H CAN be checked everywhere.<br>
* Prepare a [https://www.makerfabs.com/mabee-dht11.html DHT11 module] for detecting the temperature and humidity.<br>
* Follow the wiring to connect the DHT11 module and the board.<br>
{| cellspacing="0" cellpadding="5" border="1"
| align="center" width="150" | '''DHT11'''
| align="center" width="150" | '''Maduino Zero 4G LTE CAT1'''
|- style="font-size: 90%"
| align="center" | VCC
| align="center" | 3V3
|- style="font-size: 90%"
| align="center" | GND
| align="center" | GND
|- style="font-size: 90%"
| align="center" | DATA
| align="center" | D3
[[File:Maduino Zero 4G LTE CAT 118.jpg|500px]]<br>
* The sketch for this demo is available on [https://github.com/Makerfabs/Maduino-Zero-4G-LTE/tree/main/example/4G_HTTP_DHT11_V1.0 Github].<br>
* To transmit the data to your Thingspeak channel, it has to create a new channel and get the APIKEY information. Then replace the APIKEY in the code with yours.<br>
[[File:Maduino Zero 4G LTE CAT 119.jpg|300px]]<br>
* Open the sketch by Arduino IDE.<br>
* After connect the antenna and SIM card, plug the cable into the USB-MCU interface and connect with the PC.<br>
* Select "Tool --> Board --> Arduino Zero" and the port.<br>
* Install the library for DHT11 module.<br>
[[File:Maduino Zero 4G LTE CAT 120.jpg|500px]]<br>
* Upload the sketch to the board.<br>
* The device will transmit the data to the internet every 5 seconds, you can check the temperature and humidity on the Thingspeak channel.<br>
[[File:Maduino Zero 4G LTE CAT 121.jpg|500px]]<br>
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>
* [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