Power & Source of Big Ideas

NanoPi Duo2 IoT-Box::Problem Working with GSM/GPRS Module

Moderators: chensy, FATechsupport

following the instructions from http://wiki.friendlyarm.com/wiki/index. ... PRS_Module

gives an error importing the serial.
(apparently, pip install --upgrade pip is not a good idea, this will creates a import main issue which many are facing. so i omitted that step and go straight to installing the pyserial)

after trying to change path, include path etc, with no avail, i went on to try to connect to the GSM using minicom with the parameters in the sim800c-test.py
which is /dev/ttyS3 and 115200
after keying in the AT command and enter, nothing happened.

do i need to enable/disable any of the Serial port from npi-config?

my setup :
Power using the IOT-BOX board micro-usb and turning the switch on.
using dbg UART serial TTL to USB
SIM card inserted.
image used was official nanopi-duo2_sd_friendlycore-xenial_4.14_armhf_20190121
found the answer
the modem is switched off by default,
use gpio mode 16 out
gpio write 16 1
to turn it on
and the serial will work fine

Who is online

In total there are 34 users online :: 0 registered, 0 hidden and 34 guests (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 34 guests