Difference between revisions of "SIM7600E-H 4G HAT"
m (Text replace - "Service00" to "Service02") |
|||
Line 54: | Line 54: | ||
*[[:File:SIM7600 3D Drawing.zip|3D Drawing]] | *[[:File:SIM7600 3D Drawing.zip|3D Drawing]] | ||
− | == | + | == Comparison == |
[[File:cat4-comparison.png|800px]] | [[File:cat4-comparison.png|800px]] | ||
Revision as of 01:24, 10 May 2022
| ||
| ||
| ||
| ||
| ||
Introduction
4G/3G/2G/GSM/GPRS/GNSS HAT for Raspberry Pi, Based on SIM7600X-H
More |
Features
- 40PIN GPIO extension header for connecting Jetson Nano
- Supports dial-up, telephone call, SMS, mail, TCP, UDP, DTMF, HTTP, FTP, etc.
- Supports GPS, BeiDou, Glonass, LBS base station positioning
- Onboard USB interface, to test AT Commands, get GPS positioning data, and so on
- Breakout UART control pins, to connect with host boards like Arduino/STM32
- SIM card slot, supports 1.8V/3V SIM card
- Onboard 3.5mm audio jack with earphone and mic support, for making telephone calls
- 2x LED indicators, easy to monitor the working status
- Onboard voltage translator, the operating voltage can be configured to 3.3V or 5V via jumper
- Baudrate: 300bps ~ 4Mbps (default: 115200bps)
- Autobauding baudrate: 9600bps ~ 115200bps
- Control via AT commands (3GPP TS 27.007, 27.005, and V.25TER command set)
- Supports SIM application toolkit: SAT Class 3, GSM 11.14 Release 99, USAT
Testing
- Insert the SIM card and earphone to the SIM7600X board, if you want to test the TF card slot, you can also insert a TF card to the card slot.
- Connect the USB interface of SIM7600X board to PC.
- The PWR indicator turns on after connecting
- Long-press the PWR button for 1, the NET LED turns on and became flashing after 10s. (If the NET indicator keeps solid, please check if the SIM card is workable)
- Check the Device Manager of PC, the several COM ports will be recognized:
- If the COM ports are recognized with an exclamation symbol, you should install the driver manually.
- Connect the DONGLE to Windows PC (Hereafter we use Windows 10 PC as example))
- Open Device Manager—>Other Devices—>“SimTech, Incorporated”—>Update driver—>Browse my compute for driver software—>Choose the driver according to your OS—>Install it
- After installation, all the devices should be recognized normally as below:
【Note】If you want to let the module power on automatically after booting, you can just connect PWR pin to GND and connect P7 pin to GND.
【Note】Reference of indicators
AT commands for testing
AT Command | Description | Return |
---|---|---|
ATE | ATE1: Echo mode on ATE0: Echo mode off |
OK |
AT+CGMI | Request manufacturer indentification | OK |
AT+CGMM | Request model indentification | OK |
AT+CGSN | Request product serial number identification | OK |
AT+CSUB | Request porduct version | OK |
AT+CGMR | Request firmware version | OK |
AT+IPREX | Configure buad rate of model | +IPREX:OK |
AT+CRESET | Reset model | OK |
AT+CSQ | Query signal quality | OK |
AT+CPIN? | Query SIM card status | +CPIN:RRADY |
AT+COPS? | Query provider information | +COPS:OK |
AT+CREG? | Query network registation status | +CREG: OK |
AT+CPSI? | Query UE system information | |
AT+CNMP | Select Network Mode: 2: Automatic |
OK |
For more information about the AT command, you can refer to AT command manual
Make calls and answer
- Insert the SIM card, connect the LTE antenna and connect the USB interface of SIM7600E-H 4G HAT to PC, Then press the PWRKEY to power on the boardl
- Check whether the indicators blink correctly (PWR's and NET's flashes)
- Send AT commands as bellow:
Commands | Description | Return |
---|---|---|
AT+CNUM | Phone number (only supported by some SIM cards) | +CNUM OK |
AT+CSDVC | AT+CSDVC=1: Handset output AT+CSDVC=3: Speaker output |
OK |
AT+CLVL=? | Check volume level | OK |
AT+CLVL=2 | Volume level set to 2 | OK |
ATD<phone_number>; | Make calls | OK |
AT+CHUP | Hang up call | OK |
AT+CLIP=1 | Phone ring | OK |
ATA | Answer call | OK |
Hardware Configration of the New Version
In the second half of 2021, the SIM7600 series boards will be switched to new versions for shipment. The old and new versions can be used normally and stably.Compared with the old version, the new version has the following changes:
- 1) Newly added 330uF electrolytic capacitor (Stronger voltage stabilization ability)
- 2) Newly added PWR and Flightmode pin jumpers (Automatic power-on function can be set, and the IO port can be customized to control the switch and Flight mode)
- 3) Add solderable pads for VCCIO.(when used with Raspberry Pi, the SIM7600X 4G HAT is soldered at 3.3V working level by default; if you need to use 5V working-level MCU, you can change it to 5V by yourself)
- 4) Add solderable pads for the module USB. (if you don’t want to use a USB adapter cable, you can solder them to the corresponding USB solder joints at the bottom of the Raspberry Pi through some flying cables. This operation should be used with caution by non-professionals)
- 5) The power management IC was changed from MP1482 to SPX29302
- 6) The silkscreen naming is changed from "WPI naming" to "BCM naming"
- 7) Fine-tuning the layout
- 8) Add new solder joints for module Boot to burn the firmware forcibly. Short-circuit the two pads can enter the forced firmware burning mode. (Only used when the firmware cannot be burned normally)
Description of turning on/off the HAT for New Version
- In the new version, PWR and 3V3 are short-circuited by default, so the HAT turned on automatically after connecting to the power supply.
- If you need to use the PWRKEY button to turn on/off the HAT, please remove the jumper cap between PWR and 3V3:
- If you want to use the Raspberry Pi to turn on/off, please set the jumper cap between PWR and D6:
Flight mode description of the New Version
- The new version of the HAT doesn't turn on the Flight mode by default:
- If you need to control the Flight mode through the Raspberry Pi pins, set the jumper cap between Flight and D4:
UART configuration of Raspberry Pi
Since the Raspberry Pi UART serial port is used for terminal debugging by default, if you need to use the serial port, you need to modify the Raspberry Pi settings. Execute the following command to enter the Raspberry Pi configuration:
sudo raspi-config
Choose Interfacing Options -> Serial -> no -> yes to disable Linux's use of console UART:
Open /boot/config.txt file, and find the below statement. If there is no line, you can directly add it at the end of the file.
enable_uart=1
And then reboot the system.
Minicom for UART debugging on Raspberry Pi
1. Insert the module into the Raspberry Pi.
2. Install minicom, minicom is a text-based modem control and terminal emulation program for Linux:
sudo apt-get install minicom
3. Execute command: minicom -D /dev/ttyS0(ttyS0 is the UART of Raspberry Pi 3B)
- Baud rate is 115200 by default. If you need to change the baud rate, for example, 9600, you can add the parameter -b 9600.
- The user UART device of Raspberry Pi 2B/Zero is ttyAMA0, and ttyS0 of Raspberry Pi 3B.
4. Take the AT synchronization test as an example, and send related commands, as shown in the picture below:
Minicom can enter the setting mode by pressing Ctrl+A then pressing Z, and selecting X to exit.
Download the demo
1. Insert the module into the Raspberry Pi
2. Download the demo to /home/pi/ directory:
wget https://files.waveshare.com/upload/2/29/SIM7600X-4G-HAT-Demo.7z sudo apt-get install p7zip-full 7z x SIM7600X-4G-HAT-Demo.7z -r -o/home/pi sudo chmod 777 -R /home/pi/SIM7600X-4G-HAT-Demo
3. Enter the bcm2835 directory, compile and install the BCM2835 library:
chmod +x configure && ./configure && sudo make && sudo make install
4. Enter to the corresponding demo directory, compile and run the demo, here we take PhoneCall demo as an example:
sudo make clean //Clear the original execution file sudo make //recompile sudo ./PhoneCall //Run the program
Combination command:
sudo make clean && sudo make && sudo ./PhoneCall
PHONECALL demo
SMS message sending and receiving demo
GPS positioning
TCP network communication demo
FTP download and upload demo
Resources
- Manual
- SIM7600X 4G HAT Schematic
- SIM7600X 4G for Jetson Nano Schematic
- Source code
- SIM7600 Driver
- Dimensions
- 3D Drawing
Comparison
Related Instruction
- Raspberry Pi networked via RNDIS
- Raspberry Pi networked via NDIS
- SIM868 PPP Dail-up Networking
- gprs
- GPS positioning under Raspberry Pi
Tools
SIM7600 Related
Datasheets
- SIM7600X-H SPEC
- SIM7600G-H SPEC
- AT Command Manual_V1.08
- SIM7500_SIM7600 Series_AT Command Manual_V1.12
Application Note
- SIM7X00 Series_GPIO_Application Note
- SIM7X00 Series_SAT_Application Note
- SIM7X00 Series_SMS_Application Note
- SMS Application notes
- SIM7X00 Series_TCPIP_Application Note
- SIM7600 Series_HTTP_AT Command Manual
- SIM7600 Series_SSL_AT Command Manual
- SIM7X00 Series_UART_Application Note
- SIM7X00 Series_GPS_Application Note
- SIM7600 Series_MQTT_ATC
- SIM7X00_Audio_Application_Note
- SIM7600_Sleep Mode_Application Note
- SIM7600 Series_LBS_Application Note
- SIM7600 Series_USB AUDIO_Application Note
- SIM7600 Series_UIM HOT SWAP_Application Note
- SIM7600M22 Series_TTS_Application Note
- SIM7600 Series_HSIC_LAN_Application_Note
- SIM7600 Series Hardware Design
- SIM7600G-H Hardware Design
FAQ
In this case, it may be that you have not successfully connected to the network, you can follow the steps below to troubleshoot:
1. First check the hardware connection:
- Check if the MAIN antenna is well connected;
- Whether the connected SIM card can call and surf the Internet normally on mobile phones and other devices:
- If the Raspberry Pi is connected, whether the module enters airplane mode;
2. After confirming that there is no problem with the hardware, the software can use these instructions:
- Check whether the sim card is in good contact: AT+CPIN?
- Check if the network mode setting is correct: AT+CNMP?
- Check the signal quality of the current environment: AT+CSQ
- Check the operator's access situation: AT+COPS?
- Check the connection status: AT+CPSI?
- Check whether it is successfully registered to the network: AT+CGREG?
This problem is generally caused by poor contact between the SIM card and the SIM card socket of the module.
It may be that the APN has not been obtained. Generally, the APN can be obtained automatically. In some areas (IoT card), it needs to be obtained manually. For example, it can be set by the following instructions:
AT+CGDCONT=1,"IP","CMNET" //CMNET is the apn of China Mobile, which is different for different operators
- Under normal circumstances, SIM7600X has been automatically dialed after receiving the Windows system, and there is no need to repeat dialing. Repeated dialing will return NO CARRIER
- If you still can't dial-up Internet access, please use the following command to change to Windows default dial-up Internet access mode
AT+CUSBPIDSWITCH=9001,1,1
- The display is turned off, the mobile network is not enabled, you can ignore it and go online directly;
- You can also install the driver SIM7600X dial-up Driver to update the network card
- The network card display is enabled after installing the driver
- Generally, the default configuration of SIM7600 is to automatically select the network standard, and it is likely to choose 2G Internet access; if you need to force the use of 4G mode, you need to enter the following AT command configuration:
AT+CNMP=38 //Fixed 4G LTE, if there is no local 4G coverage, you may not be able to register to the network
- If 4G has been fixed, the speed is still not ideal, it may be a frequency band problem;
AT+CNBP? //Back up the current frequency band (the returned frequency band information can be copied to notepad, etc.)
AT+CNBP=0x0002000000400183,0x000001E000000000,0x0000000000000021 //After returning OK, measure the speed
AT+CNBP=0x0002000004400180,0x000001E000000000,0x000000000000003F //If the speed does not improve, try this
1. Pay attention to check the device manager, the new device will be prompted during the upgrade process, and there will be no device driver during the first upgrade;
2. Pay attention to the USB cable. The speed of the USB cable is higher during the upgrade process. You need to choose a better quality USB cable to avoid poor contact.
3. You need to run the upgrade tool with administrator privileges (SIM7500_SIM7600_QDL V1.41 only for Update)
4. Uninstall and reinstall the upgrade tool (SIM7500_SIM7600_QDL V1.41 only for Update)
5. For more operation details, please refer to this video: https://www.waveshare.net/wiki/SIM7600-Firmware-upgrade-Video
1. SIM7600E does not support 4G voice call (VOLTE), 2. Take the network operator on the Chinese side as an example: SIM7600E cannot make calls using China Telecom's SIM card, the reason is that telecom's 2G and 3G are all withdrawn from the network, and 4G uses the VOLTE channel; SIM7600E does not support VOLTE, so it uses telecom The card does not support calls and text messages; but using China Mobile (3G and 2G are reserved) or China Unicom's SIM card (3G is reserved) can be used to call and text messages normally 3. So you can choose to keep the 2G or 3G operator's SIM card to connect to SIM7600E to realize the call function
If the short message is stored in the SIM card, usually 50 is the upper limit. You can use the command: AT+CPMS? Make a query
Using USB 5V power supply, after successful networking, the current is generally in the range of 50~300mA, with an average of about 150mA (for reference only, it depends on the network environment and the working status of the network.
Turn on at the same time, average value: 110~170mA
- Frequency: 700m 800m 900m 1710-1920M 2010-2100M 2300-2400M 2500-2690M-5800MHZ
- Gain: 9dbi ± 0.7dbi
Question:NDIS dial-up of SIM7600X module fails and the driver cannot be installed, what should I do?
- Make sure your system kernel is above 5.4. Do not use sudo update to upgrade the Raspberry Pi to the latest version. This will upgrade the kernel version to a version higher than the current firmware and it will not be recognized.
- It is recommended to use the more convenient RNDIS dial
- Can burn the latest Raspberry Pi Raspbian system, reconfigure NDIS dial