Home Page Forums Raspberry Pi Shields Cellular IoT App board – multiple issues with sample apps

This topic contains 4 replies, has 3 voices, and was last updated by  ensar 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38958

    stephen.doyle
    Participant

    Hi,

    Could it be possible a Cellular IoT App board for the PI has been shipped without firmware?

    I followed the instructions, trying on two separate PI 3Bs,

    # python3 sensor_test.py
    Sixfab Raspberry Pi Cellular IoT Application Shield Class initialized!
    BG96 module disabled!
    BG96 module enabled!
    Traceback (most recent call last):
    File “sensor_test.py”, line 17, in <module>
    print(“Acceleration: “+str(node.readAccel()))
    File “/usr/local/lib/python3.7/dist-packages/sixfab_cellulariot-1.2.0-py3.7.egg/cellulariot/cellulariot.py”, line 696, in readAccel
    File “/usr/local/lib/python3.7/dist-packages/sixfab_cellulariot-1.2.0-py3.7.egg/cellulariot/MMA8452Q.py”, line 37, in __init__
    OSError: [Errno 5] Input/output error

    And the modem isn’t seeming to respond (ctrl-c hit to terminate)

    # python3
    Python 3.7.3 (default, Apr 3 2019, 05:39:12)
    [GCC 8.2.0] on linux
    Type “help”, “copyright”, “credits” or “license” for more information.
    >>> from cellulariot import cellulariot
    >>> node=cellulariot.CellularIoTApp()
    Sixfab Raspberry Pi Cellular IoT Application Shield Class initialized!
    >>> node.getFirmwareInfo()
    AT+CGMR
    AT+CGMR
    AT+CGMR
    AT+CGMR
    ^CTraceback (most recent call last):
    File “<stdin>”, line 1, in <module>
    File “/usr/local/lib/python3.7/dist-packages/sixfab_cellulariot-1.2.0-py3.7.egg/cellulariot/cellulariot.py”, line 239, in getFirmwareInfo
    File “/usr/local/lib/python3.7/dist-packages/sixfab_cellulariot-1.2.0-py3.7.egg/cellulariot/cellulariot.py”, line 209, in sendATComm
    File “/usr/lib/python3/dist-packages/serial/serialutil.py”, line 590, in inWaiting
    return self.in_waiting
    File “/usr/lib/python3/dist-packages/serial/serialposix.py”, line 467, in in_waiting
    s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
    KeyboardInterrupt

    The only sample I can get working is the button press one.

    Is it worth trying a firmware update?

    #38961

    jichen
    Participant

    I never have this IoT App board before but I work a lot with BG96 before.
    I believe you can connection your App Board to your windows machine, download the FTDI driver, then if you use win10, just go to the internet setting and see if you can connect to the cellular network with windows. This will give your an ideal if you have a working BG96.

    #38981

    stephen.doyle
    Participant

    Thanks for the suggestion, I installed the FTDI drivers for Windows 10 but when I connect the shield there’s nothing listed in device manager either in the USB drivers, network adapters or unlisted sections. It’s definitely looking like dead hardware unfortunately.

    #38984

    jichen
    Participant

    Did you check the COM ports, do you have something like Quectel USB AT Port in Com Ports?

    #51292

    ensar
    Moderator

    Enable serial connection.

    sudo raspi-config
    Select option 5, Interfacing options,
    then option P6, Serial,
    Select No to Serial Console
    Select Yes to Serial Port.
    Reboot.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.