Reply To: Raspberry Pi – couple of questions

#18578
richardp
Participant

Regarding sparkfun’s guide, I think that may be related to the use the LED.

We did test this in the past.. and I just tested now, it does work. The Pi can see the pin go high

On a Pi 4 i connected the TP pin from the SARA-R5 to GPIO21 on the PI.
I created a python script to see when this goes high;

import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(21, GPIO.IN)
while True:
        if GPIO.input(21):
                print (" high!")

I then configured the below commands on the SARA-R5

AT+UTIMEIND=1
AT+UTIME=1,1
AT+UGPS=1,4,67

The python script was able to see the pin go high every second.

Richard --OzzMaker.com --

Blip, blop, bloop…