Skip to content

Circuitpython example with the Lora E5 Chassis #1

@KenSamson

Description

@KenSamson

This is not truly an issue with this repository, though it is a request to be able to submit Circuitpython code as an example for others to see, along side of your other examples.

I have an example that I would very much like to submit to your collection:

On the WIO terminal, I'm trying to define the two pins for the UART so I can receive information from the GPS on the LoraWan module also sold on SEEED's website.

So to be clear, I have one of these:

https://www.seeedstudio.com/Wio-Terminal-p-4509.html

plugged into one of these:

https://www.seeedstudio.com/Wio-Terminal-Chassis-LoRa-E5-and-GNSS-p-5053.html

To talk with the E5 Lora module, it's very simple in circuitpython... you define a UART like this:

uart = busio.UART(board.RX, board.TX, baudrate=9600)

And then you can send and receive to that uart.. and it works great! I have code that does this, and can put those messages onto the screen of the Wio terminal.

Now, for the GPS:

I have no idea of how to define the two pins for the GPS hardware connection. Looking at the source code for this project:
https://www.seeedstudio.com/WioField-Tester-Kit-p-5282.html (from github)

So I look at that code, I check out the schematic for the Lora chassis, I check out the schematic fo the WIO Terminal... and nothing seems to match up.

I have tried every combination of pins in circuitpython that are even remotely possible to see if I can find the GPS, but nothing seems to work!

I've posted on the forum.. I've posted on the Discord server.

I'm not asking anyone to write my code for rme... just help me with the uart statement to be able to talk with the GPS module.

I've been working on this for well over a month, and I do not seem to be getting anywhere with it.

Ken

I was trying here to define microcontroller pins to see if I could see any of the GPS output sentences... but I have not yet been successful.

import time
import board
import busio
import microcontroller
uart = busio.UART(microcontroller.pin.PB02, microcontroller.pin.PB00, baudrate=9600)
uart.write(output1)
time.sleep(.5)
print(uart.readline())
time.sleep(.5)
print(uart.readline())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions