RS232 /dev/ttyACM0 and serial GPS

If you're having trouble with your LattePanda Alpha & Delta, here's the place to get help.
Forum rules
If you have not found a solution, post a new issue. To speed up the process please let us know:
- Have you tried the solutions listed above?
- What board are you using? Standard (2GB RAM/32GB eMMC) or Enhanced (4GB RAM/64GB eMMC)?
- Have you tried any other solutions?
- How long have you had your board for?
- When did you first boot your board?
- Did it work ok before the issue occurred or has the issue always been there?
- Use images and videos to help us understand the issue where possible

If you are seeking RMA:
- Please open a new topic rather than hijacking someone else's thread
- Mark RMA posts with [DEFECTIVE] + <helpful description of issue>. We can then approve/disapprove each request
- Completed RMA cases will be marked with [CLOSED]
You can find the RMA guide [here]

Resolved Issues
- If you manage to fix an issue, please share your solution for the good of the community. It could help someone else in future.
- If an issue is resolved the thread should be marked as [RESOLVED]. We can then sticky the thread to help people in future.
Post Reply
User avatar
dablitz1
Posts: 9
Joined: Mon Oct 21, 2019 5:03 pm

Mon Jun 15, 2020 6:36 pm

I have a BN-880q gps module that requires ttl/RS232. I am attempting to use gpsd in linux. the pinout is as such

BN-880Q GPS integrated module

Pins of the module:
1. SDA.
2. GND, ground.
3. TX, the data output of the module.
4. RX, the data input of the module.
5. VCC, 3.0V--5.5V.
6. SCL.

I have all pins connected as require but not being able to recieve and GPS data. I have several gps unit here and all give me the same issue. can someone assist me on this

User avatar
ccs_hello
Posts: 623
Joined: Sat Oct 13, 2018 9:16 pm

Mon Jun 15, 2020 11:42 pm

Your GPS module is taking TTL level serial signal. <-- It should have never be called RS232
LattePanda Alpha/Delta x86 side's RS232 serial pins (in its diagram, shown as Blue-colored pins, under the orange dotted-line) are real RS232 signals.

You can use a RS232 to TTL level converter module to convert the signals to the correct level.

User avatar
dablitz1
Posts: 9
Joined: Mon Oct 21, 2019 5:03 pm

Tue Aug 18, 2020 11:33 am

ok I have swapped out my GPS with a BS-357B RS-232 model to avoid the need for a ttl-rs232 converter. that being said I have tried several times to get them ttyAMC0 to communicate with the GPS. I am using gpsd and testing with gpdx. I was wondering if someone could give me a hand with ttyACM0

User avatar
ccs_hello
Posts: 623
Joined: Sat Oct 13, 2018 9:16 pm

Tue Aug 18, 2020 3:47 pm

First, test if you are reaching the correct port, since there are other serial ports (such as the one reaching Arduino.)

See https://www.lattepanda.com/topic-p26003.html#p26003

Best way is test it without GPS module, just connect Rx-Tx pair, and open that port (using a communication program) to type in.
If you see characters echoed back, then you have the right port number.

User avatar
LattePanda
Site Admin
Posts: 2642
Joined: Wed Jan 20, 2016 9:09 am

Wed Aug 19, 2020 5:59 am

With linux,make sure the port is recongnized as COM port correctly. If no., install xr21v1410 driver for it.
BTW,which version of LP you used?Check the opereation voltage follow http://docs.lattepanda.com/content/alph ... ayability/
Enjoy Tinkering with LattePanda ! :lol:

User avatar
dablitz1
Posts: 9
Joined: Mon Oct 21, 2019 5:03 pm

Fri Aug 21, 2020 11:23 am

LattePanda wrote:
Wed Aug 19, 2020 5:59 am
With linux,make sure the port is recongnized as COM port correctly. If no., install xr21v1410 driver for it.
BTW,which version of LP you used?Check the opereation voltage follow http://docs.lattepanda.com/content/alph ... ayability/
I am using a delta.

I have both an RS232 gps and a TTL gps. I have tried both on /dev/ttyACM0 and /dev/ttyXUSB0. any assistance would be great

Post Reply