Home › Forums › Forums › Technical Support for the OzzMaker SARA-R5 LTE-M GPS + 10DOF › Raspberry Pi – couple of questions › Reply To: Raspberry Pi – couple of questions
September 25, 2023 at 6:31 pm #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 --