Home Page Forums Raspberry Pi Shields GSM/GPRS Shield / Raspberry Pi 4 / Raspbian

Tagged: 

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40779

    martti
    Participant

    Hi,
    Has anybody used in Pi 4 / Raspbian kernel 4.19.58?
    Pi 4 does not recognize that shield.

    ERROR | Write timeout |
    ___FATAL-ERROR____ GSM shield (Serial ttyAMA0) not answering

    We have used that shield without problems in Pi 3

    #48520

    ensar
    Moderator

    Where exactly do you get this error?

    #49374

    martti
    Participant

    We tried this:
    import serial
    import sys
    import time

    SERIAL_PORT = “/dev/ttyAMA0”

    ser = serial.Serial(SERIAL_PORT, baudrate = 9600, timeout = 5, write_timeout = 5)
    print(‘Wait, will send – Reset+disable Autoanswer :’)
    try:
    ser.write(b’ATZ\rATS0=0\r’) #
    print(‘OK’)
    time.sleep(3)
    reply = ser.read(ser.inWaiting())
    print(reply)
    except:
    print(‘ERROR |’, sys.exc_info()[1], ‘|’)
    print(‘___FATAL-ERROR____ GSM shield (Serial ttyAMA0) not answering ‘)

    #50091

    ensar
    Moderator

    Have you made a PPP connection?

    https://sixfab.com/ppp-installer-for-sixfab-shield/

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

You must be logged in to reply to this topic.