7600X connect Arduino
From Waveshare Wiki
Arduino Demo
1 Mainly make the following adjustments, change the program baud rate to 115200, the original program baud rate is 9600, the default baud rate of SIM7600 is 9600, which does not match.
2 Change the wiring, remove the PWR switch control line, the new version of SIM7600 is powered on by default, this function is not used.
3 Please confirm that the TTL level of Arduino is 3.3V, and the default level of SIM7600 is 3.3V
Hardware Connection
SIM7600X 4G HAT connects to development board UNO PLUS / Arduino UNO:
SIM7600X 4G HAT | UNO PLUS / Arduino UNO |
---|---|
5V | 5V |
GND | GND |
TXD | 0 (RX) |
RXD | 1 (TX) |
Demo code
Waveshare_SIM7600X_Arduino_Library.zip
Install Arduino library
Download the decompression sample program,
Copy the Waveshare_SIM7600X_Arduino_Library folder to the Library directory under the Arduino IDE installation path
Open Arduino IDE --> File -->Examples -->Waveshare SIM7600X, and then choose to run the corresponding example program:
Sample Program
GPS Positioning demo
1 Please confirm that the TTL level of Arduino is 3.3V, and the default level of SIM7600 is 3.3V
2 Please confirm the baud rate. The default baud rate of the program is 9600, and the default baud rate of the SIM7600 is 115200