Difference between revisions of "Template:Quick Test"

From Waveshare Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 31: Line 31:
 
:[[File:SIM7600X_Power.png|800px]]
 
:[[File:SIM7600X_Power.png|800px]]
  
**The old version is manually switched on and off by default. If you need to set it to power on automatically, you need to short the PWR and GND pins together through the DuPont wire as shown below:
+
*The old version is manually switched on and off by default. If you need to set it to power on automatically, you need to short the PWR and GND pins together through the DuPont wire as shown below:
 
[[File:SIM7600X Quick Test02.png]]<br/>
 
[[File:SIM7600X Quick Test02.png]]<br/>
 
*Manual power on/off: Support the "PWRKEY button" or "Raspberry Pi D6 pin" to control the power on/off.
 
*Manual power on/off: Support the "PWRKEY button" or "Raspberry Pi D6 pin" to control the power on/off.
 
**"PWRKEY button": Press the PWRKEY button for about 1 second, wait for about 10 seconds, and see the NET light start to blink once every second, then the module starts to work; if you want to shut down, press and hold PWRKEY button for 3~5s to shut down, and the NET light will be off.
 
**"PWRKEY button": Press the PWRKEY button for about 1 second, wait for about 10 seconds, and see the NET light start to blink once every second, then the module starts to work; if you want to shut down, press and hold PWRKEY button for 3~5s to shut down, and the NET light will be off.
**"Raspberry Pi D6 pin" control switch: you need to control the D6 pin output high and low level through the code to achieve the switch.
+
**"Raspberry Pi D6 pin" control switch: you need to control the D6 pin output high and low levels through the code to achieve the switch.
 
*Power on automatically: After the module is connected to the device, it will automatically power on.
 
*Power on automatically: After the module is connected to the device, it will automatically power on.
 
**This method can not be turned off, if you need to reduce power consumption, you can turn off the RF or enter the flight mode.
 
**This method can not be turned off, if you need to reduce power consumption, you can turn off the RF or enter the flight mode.
Line 73: Line 73:
 
2. Insert the 4G HAT into the Windows computer as shown in the hardware connection diagram above (the Windows 10 operating system is used as an example below)
 
2. Insert the 4G HAT into the Windows computer as shown in the hardware connection diagram above (the Windows 10 operating system is used as an example below)
 
3. Make sure the module has been powered on normally: refer to the previous chapter "Switching on and off the module" <br/>
 
3. Make sure the module has been powered on normally: refer to the previous chapter "Switching on and off the module" <br/>
4. Open Device Manager—>Other Devices—>“SimTech, Incorporated”—>Update driver—>Browse my compute for driver software—>Choose the driver according to your OS—>Install it<br />
+
4. Open Device Manager —> Other Devices —> "SimTech, Incorporated" —> Update driver —> Browse my compute for driver software —> Choose the driver according to your OS —> Install it<br />
  
 
<gallery>
 
<gallery>
Line 124: Line 124:
 
| AT+CPSI? || Query UE system information ||  
 
| AT+CPSI? || Query UE system information ||  
 
|-
 
|-
|AT+CNMP? || Network mode selection command:<br />2: Automatic<br />13: GSM only<br />38: LTE only<br />48: Any modes but LTE<br />... .... ||  OK
+
|AT+CNMP? || Network mode selection command: <br />2: Automatic<br />13: GSM only<br />38: LTE only<br />48: Any modes but LTE<br />... .... ||  OK
 
|}
 
|}
  

Latest revision as of 06:13, 18 March 2024

Quick Test

Hardware Preparation

  • In addition to the micro USB cable, LTE antenna, and GPS antenna, users need to prepare the following items before using the module:
A 4G SIM card (no downtime and GPRS enabled);
A headphone cable with a microphone (optional);
A TF card (optional);

Hardware Connection

  • When powering off, insert the activated 4G SIM card, and TF card (optional), insert the headphone cable with microphone (optional), and then connect the USB cable to the computer.
  • Hardware connection diagram:

Hardware connection-4g.png

  • Back Connection Diagram:

Back-connection.png

Hardware Configuration 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:
SIM7600 NEW old-V2.jpg

  • 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 a 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 the 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 the New Version

  • In the new version, PWR and 3V3 are short-circuited by default, so the HAT is 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:
SIM7600X Power.png
  • The old version is manually switched on and off by default. If you need to set it to power on automatically, you need to short the PWR and GND pins together through the DuPont wire as shown below:

SIM7600X Quick Test02.png

  • Manual power on/off: Support the "PWRKEY button" or "Raspberry Pi D6 pin" to control the power on/off.
    • "PWRKEY button": Press the PWRKEY button for about 1 second, wait for about 10 seconds, and see the NET light start to blink once every second, then the module starts to work; if you want to shut down, press and hold PWRKEY button for 3~5s to shut down, and the NET light will be off.
    • "Raspberry Pi D6 pin" control switch: you need to control the D6 pin output high and low levels through the code to achieve the switch.
  • Power on automatically: After the module is connected to the device, it will automatically power on.
    • This method can not be turned off, if you need to reduce power consumption, you can turn off the RF or enter the flight mode.

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:
SIM7600X Flight.png

Net Indicator Working Status

NETLIGHT.png

Software Envirnment

Install Driver

1. Download Driver: SIM7600X driver
2. Insert the 4G HAT into the Windows computer as shown in the hardware connection diagram above (the Windows 10 operating system is used as an example below).
3. Make sure the module has been powered on normally: refer to the previous chapter "Switching on and off the module".
4. Unzip the driver file --> Double-click the exe driver file with the left mouse button --> Select the installation path --> NEXT --> Wait for the installation to complete --> Restart the computer --> Complete the driver installation.

  • After installation, all the devices should be recognized normally as below:

SIM7600X-Driver- (6).png

  • After installation, all the devices should be recognized normally as below:

SIM7600X-Driver-8.jpg

Common AT Command

  • SIM7600X module supports AT command control, some basic AT commands are shown in the table below:
    (For the complete AT command set, please refer to: For more AT commands, please refer to: SIM7600X series AT command set)
Command Description Return
AT AT Test Command OK
ATE ATE1 set echo
ATE0 close echo
OK
AT+CGMI Query module manufacturer OK
AT+CGMM Query module model OK
AT+CGSN Query product serial number OK
AT+CSUB Query module version and chip OK
AT+CGMR Query the firmware version serial number OK
AT+IPREX Set the module hardware serial port baud rate +IPREX:
OK
AT+CRESET Reset module OK
AT+CSQ Network signal quality query, return signal value +CSQ: 17,99
OK
AT+CPIN? Query the status of the SIM card and return READY, indicating that the SIM card can be recognized normally +CPIN: READY
AT+COPS? Query the current operator, the operator information will be returned after normal networking +COPS:
OK
AT+CREG? Query network registration status +CREG:
OK
AT+CPSI? Query UE system information
AT+CNMP? Network mode selection command:
2: Automatic
13: GSM only
38: LTE only
48: Any modes but LTE
... ....
OK

AT command sending and receiving test

  1. Download serial debugging assistant: SIM7600 serial debugging assistant
  2. Open the device manager, find the port number corresponding to AT Port; then open the sscom software, select the corresponding port and baud rate, check "Add carriage return and line feed"; click the sscom "Extension" button and pull out the preset It is best to open the serial port and send the corresponding AT command to test. The test screenshot is shown below:
Sim7600CE-4.png