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