Skip to content

Makerfabs/Maduino-Zero-4G-LTE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maduino Zero 4G LTE

/*
Version:		V1.1
Author:			Vincent
Create Date:	2021/11/5
Note:
	2022/12/30	V1.1:	Change Wiki link.
*/

main

[toc]

Makerfabs

Makerfabs home page

Makerfabs Wiki

Maduino Zero 4G LTE

Intruduce

Product Link :Maduino Zero 4G LTE(SIM7600X)

Wiki Link : Maduino Zero 4G LTE

Maduino Zero 4G LTE integrated two types of the 4G LTE CAT4 module SIM7600A-H or SIM7600E-H, SIM7600A-H/SIM7600E-H is a complete multi-band LTE-FDD/LTE-TDD/HSPA+/UMTS/EDGE/GPRS/GSM module solution in LCC type which supports LTE CAT4 up to 150Mbps for downlink and 50Mbps for uplink data transfer, much faster and popular than 2G/3G.

Module Type

type

Feature

  • 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

Front:

front

Back:

back

Frequency bands

type

Transfer Speed

type

Usage (Arduino)

Equipment list

  • Maduino Zero 4G (With GPS antenna and two 4G-GSM antennas)
  • SIM card

Ensure that SIM7600 requirements are met and that the system can communicate with local carriers. We used China Mobile's 4G card for testing.

Compiler Options

If you have any questions,such as how to install the development board, how to download the code, how to install the library. Please refer to :Makerfabs_FAQ

  • Connect all antennas
  • Insert a SIM card
  • Connect USB for MCU to PC

  • Upload codes, select "Arduino Zero" and "Native USB"

Example List

AT_command_demo

Input AT commands via serial monitor to learn how to use 4G module. This version is modify for SIM7600.

If define MODE_1A, when "1A" or "1A" is entered, 0x1A is sent to the module.

When sending SNS information, you need to send 0x1A to end the input.

at_demo

4G_HTTP_DHT11_V1.0

Air temperature and humidity information detected by the DHT11 module is sent to ThingSpeak using a cellular network.

AT Command Explain

AT commands test

Refer to the official AT manual of SIM7600 for detailed return values.

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

Get the GNSS location

GPS signal acquisition speed depends on signal strength, please wait patiently in an open place.

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

Send and receive SMS

Please consult the operator for the phone number of the SMS center. The number "+8613800755500" in Shenzhen was used in the test.

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

"AT+CMGS" sets the phone number of the receiver and returns ' >' . Send desired content, such as "Send Massage Test!".After editing a short message, send it in hexadecimal format 1A Send a message.

The Arduino IDE cannot send hexadecimal, you can use other software. In the example code, entering 1A or 1A will send 0x1A to the module.

Usage (Raspberry Pi)

Equipment list

  • Maduino Zero 4G (With GPS antenna and two 4G-GSM antennas)
  • SIM card

Ensure that SIM7600 requirements are met and that the system can communicate with local carriers. We used China Mobile's 4G card for testing.

  • Connect all antennas
  • Insert a SIM card
  • Connect USB for MCU to Raspberry Pi USB

Used as a 4G network adapter

Hardware Check

  • Log in to the root account and perform all subsequent operations as the root account.
sudo su
  • Install the Minicom serial port tool.
apt-get install minicom
  • To view the serial port device, AT command serial port: "/dev/ttyUSB2"
ls /dev/ttyUSB*

  • Open the serial port with Minicom
minicom -D /dev/ttyUSB2
  • Enter the AT command in minicom
# Forcibly set the Internet access to 4G
AT+CNMP=38
# Querying network Quality
AT+CSQ
# Query the network registry
AT+CREG?
# Querying Network Carrier Information
AT+COPS?
# Querying network band
AT+CPSI?

  • - Press Ctrl + A, then X to exit Minicom

At this point, the hardware and network connections between SIM7600CE and Raspberry Pi are normal. This case uses the 4G card of China Mobile. If you cannot use the other areas, please ask SIMCOM.

Driver Install

By default, Raspbian is installed with Qualcomm driver files for the wwan0 network port. For Raspberry Pi, you need to uninstall the driver first (otherwise it will conflict with the new driver), and then install the Simcom's driver for wwan0.

  • Check system drivers
lsmod

  • Uninstalling an existing driver
rmmod qmi_wwan
  • Install the raspberry PI kernel header file
apt install raspberrypi-kernel-headers
  • Download the official driver program provided by SIMCOM
wget https://www.waveshare.net/w/upload/0/00/SIM7600_NDIS.7z
  • Install the decompression tool and decompress it
apt-get install p7zip-full
7z x SIM7600_NDIS.7z -r -o ./SIM7600_NDIS
  • Go to the driver folder and compile
cd SIM7600_NDIS
make clean
make
ls
  • Install the driver module file
insmod simcom_wwan.ko
  • Check whether the installation is successful
lsmod

Assign IP addresses

  • In this case, the wwan0 network port is displayed
ifconfig -a
  • However, no IP address is assigned to the network port. To assign an IP address, enable the network port first
ifconfig wwan0 up
  • Then, through Minicom, enter the AT command to start dialing
minicom -D /dev/ttyUSB2
AT$QCRMCALL=1,1
  • Finally, exit Minicom and assign IP
apt-get install udhcpc
udhcpc -i wwan0
  • Run the Ping command to check whether the network adapter is connected
ping -I wwan0 www.baidu.com

Usage (Windows)

  • Connect one end of USB cable to USB interface of PC and the other end to USB_LTE interface of Maduino Zero 4G LTE.

  • Open the device manager and you can see these COM ports.

  • If the COM port is identified in the figure above, but an exclamation mark appears, it indicates that the driver is not installed.
  • Driver is in "Maduino-Zero-4G-LTE\win_driver\SIM7600X-Driver.7z"
  • Open Device Manager - > Other equipment - >“SimTech,Incorporated”- > Update the driver - > Browse my computer to find driver files - > Select a path for saving the driver file based on the system- >The installation is complete.

  • Install the driver for each exclamation point
  • The network icon will then appear as a cellular network.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages