I am trying to get a SIM7600E-H-4G-HAT running on my Raspberry Pi 3B+, but it is not working. Here is what I’ve done so far:
- Inserted my SIM-Card, connected the antenna to Main, connected the entire hat via GPIO pins to my Pi without any USB cable connected to that hat. I left the two yellow jumpers factory-default like, centered just as pictured in the manual.
- I booted the raspberry, set via
raspi-config
the serial options as described in the manual (no, then yes). chmod 777
forsim7600_4G_hat_init
and addedsh /home/.../sim7600_4G_hat_init
to rc.local- Rebooted, installed minicom, started
sudo minicom -D /dev/ttyS0
and nothing happens and it does not even react on any keystroke. I even compiled the bcm2835 directory and the phoncecall-demo. When I try tosudo ./Phonecall
it says
Failed to get byte count on serial.
Both LEDs shine red permanently. What am I doing wrong?
How to use the SIM7100 module in Linux V1.0 – Shanghai SimCom 2014dec30
Ubuntu example to compile and install driver GobiSerial.tar.gz
(1) /dev/ttyUSB0-diag port for output developing messages
(2) /dev/ttyUSB1- NMEA port for GPS NMEA data output
(3) /dev/ttyUSB2-AT port for AT commands
(4) /dev/ttyUSB3-Modem port for ppp-dial
(5) /dev/ttyUSB4-audio port
(6) /dev/ttyUSB5-Virtual Net card
Ubuntu example to compile and install driver GobiSerial.tar.gz
lsusb
(1) SIM7100 module will be recognized by Ubuntu via USB interface(vid=1e0e,pid=9001).
(2) Type the command “sudo rmmod usbserial”, some error messages may be prompted, just ignore them.
(5) Copy GobiSerial.tar.gz to home directory and type the command “tar zxvf GobiSerial.tar.gz”
(6) Compile the driver GobiSerial. Type the command “cd GobiSerial && make”,if no error occurs, a file named “GobiSerial.ko” will be generated.
(7) Type the command “sudo modprobe usbserial && sudo insmod GobiSerial.ko” to install the driver.
(8) List the ttyUSBx devices by “ls -l /dev/ttyUSB*”
If /dev/ttyUSB0~5 are available, then device driver is installed successfully!
Notes: there are 6 ports for SIM7100 modules in Linux host.
(2) The USB class ttyUSB2 is the AT-port in SIM7100, so customer should configure the minicom with /dev/ttyUSB2 port.
Categories: Uncategorized
rc.local
if using an operating system withsystemd
like Raspbian or Ubuntu or arch. Please take note that using/etc/rc.local
has limitations due to Compatibility with SysV. We have seen many problems here on this site using it. Following the recommendation of the developers from systemd you should avoid using it. – Ingo Sep 20 ’19 at 22:28