Difference between revisions of "Template:SIM7600G-H 4G for Jetson Nano User Manual"

From Waveshare Wiki
Jump to: navigation, search
Line 88: Line 88:
 
<pre>
 
<pre>
 
mkdir -p ~/Documents/SIM7600X_4G_for_JETSON_NANO
 
mkdir -p ~/Documents/SIM7600X_4G_for_JETSON_NANO
wget -P ~/Documents/SIM7600X_4G_for_JETSON_NANO/ http://www.waveshare.net/w/upload/2/29/SIM7600X_4G_for_JETSON_NANO.7z
+
wget -P ~/Documents/SIM7600X_4G_for_JETSON_NANO/ https://www.waveshare.com/wiki/File:SIM7600X_4G_for_JETSON_NANO.7z
 
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/
 
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/
 
sudo p7zip --uncompress SIM7600X_4G_for_JETSON_NANO.7z
 
sudo p7zip --uncompress SIM7600X_4G_for_JETSON_NANO.7z
Line 97: Line 97:
 
</pre>
 
</pre>
 
'''Note: you should replace your_user_name with the actual user name.'''
 
'''Note: you should replace your_user_name with the actual user name.'''
 +
 
==Testing==
 
==Testing==
 
===Testing with minicom===
 
===Testing with minicom===

Revision as of 09:02, 30 April 2020

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

Specifications

Communications

LTE WCDMA/TD-SCDMA/CDMA 2000 EDGE GSM/GPRS
Band LTE-TDD B34/B38/B39/B40/B41
LTE-FDD B1/B2/B3/B4/B5/B7/B8/B12/B13/B18/B19/B20/B25/B26/B28/B66
UMTS/HSDPA/HSPA+ B1/B2/B4/B5/B6/B8/B19 GSM/GPRS/EDGE 850/900/1800/1900MH
Emitting power 0.25W 0.5W@EGSM900
0.4W@DCS1800
2W@GSM900
1W@DCS1800
Data Speed LTE CAT 4
Uplink≤50 Mbps
Downlink≤150 Mbps
UMTS
Uplink≤384Kbps
Downlink≤384Kbps

HSPA+
Uplink≤5.76Mbps
Downlink≤42Mbps

TD-SCDMA
Uplink≤128Kbps
Downlink≤384Kbps

TD-HSDPA/HSUPA
Uplink≤2.2Mbps
Downlink≤2.8Mbps

CDMA2000/EVDO
Uplink≤1.8Mbps
Downlink≤3.1Mbps
EDGE
Uplink≤236.8kbps
Downlink≤236.8kbps
GPRS
Uplink≤85.6kbps
Downlink≤85.6kbps
SIM Card Normal SIM (Not Included)
Application Region Global 4G/3G/2G

GNSS

  • Receiver type
    • 16-channel
    • C/A code
  • Sensitivity
    • Tracking: -159 dBm (GPS) / -158 dBm (GLONASS) / TBD (BD)
    • Cold starts: -148 dBm
  • Time-To-First-Fix (open air)
    • Cold starts: <35s
    • Hot starts: <1s
  • Accuracy
    • Position: <2.5m CEP

SMS and Audio

  • SMS
      • Supported types: MT, MO, CB, Text, PDU
    • Storage: USIM card and ME (default)
  • Audio feature
    • Supports echo cancellation
    • Supports noise reduction

Others

  • Power supply: 5V
  • Operating voltage: 5V/3.3V (configured via jumper)
  • Operating temperature: -30°C ~ 80°C
  • Storage temperature: -45°C ~ 90°C

Hardware connection

  • Attach the SIM7600G-H 4G for Jetson Nano (SIM7600 hereafter) on 40PIN GPIO of Jetson Nano.
  • Inset the USB connector, connect the micro USB interface of SIM7600 to Jetson Nano
    • If you want to communicate SIM7600 via Serial port, you can also turn the DIP switcher into ON
  • Connect MAIN antenna and the GPS antenna
SIM7600G-H-4G-for-Jetson-Nano-7.jpg

Software setup

  • Open a terminal and install libraries by the following commands
sudo apt-get update
sudo apt-get python3-pip
sudo pip3 install pyserial
sudo apt-get install p7zip
  • Download demo codes
mkdir -p ~/Documents/SIM7600X_4G_for_JETSON_NANO
wget -P ~/Documents/SIM7600X_4G_for_JETSON_NANO/ https://www.waveshare.com/wiki/File:SIM7600X_4G_for_JETSON_NANO.7z
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/
sudo p7zip --uncompress SIM7600X_4G_for_JETSON_NANO.7z
sudo pip3 install Jetson.GPIO
sudo groupadd -f -r gpio
sudo usermod -a -G gpio your_user_name
sudo apt-get install minicom -y

Note: you should replace your_user_name with the actual user name.

Testing

Testing with minicom

Before you test the SIM7600, you need to intail it with the following commands
echo 200 > /sys/class/gpio/export
echo out > /sys/class/gpio200/direction
echo 1 > /sys/class/gpio200/value
echo 0 > /sys/class/gpio200/value
Make sure that the NET is blinking normally.
Run minicom and type AT commands to test
sudo minicom -D /dev/ttyTHS1 -b 115200
If you cannot get response, please check if you have set the DIP switch into ON

Python examples

  • Make sure that all the hardware are connected properly. Start Jetson Nano and open a terminal
  • AT examples
    • You should run the following commands to run the codes and type AT commands for testing
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/AT/
sudo python3 AT.py
  • GPS examples
    • Connect the GPS antenna and set the receiver at open place.
    • You should run the following commands to run the codes to test GPS.
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/GPS/
sudo python3 GPS.py
  • PhoneCall examples
    • Modify the PhoneCall.py file, change the phone number to yours by vi tool and save
    • Finally use the following command to run the code
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/PhoneCall/
vi PhoneCall.py #modify the phone number
sudo python3 PhoneCall.py
  • SMS example
    • Run the following commands
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/SMS/
sudo python3 SMS.py
  • TCP example
    • Run the following commands
cd ~/Documents/SIM7600X_4G_for_JETSON_NANO/TCP/
sudo python3 TCP.py

4G connecting

...