Comments (4)
Please keep in mind that the PIs UART pins aren't known to be the most reliable things in the world, but what you can try is change the port configuration.
If you search in gps.go for UBX-CFG-MSG, you will find a nice table with configurations for each port.
And you will see that UART1 and USB are configured equally. I assume you are connecting to UART2 of the GPS. Feel free to add the respective 0x05, 0x01, etc. values there.
That, together with your symlink, should do the job.
You can also make sure that symlink is created automatically via udev configuration (but don't ask me how to do that exactly).
Or you just put it in rc.local or something.
from stratux.
I am not sure if I really use UART2 becouse changing baudrate via u-center for UART1 results in unreadable stuff.
The integration manual
https://www.u-blox.com/sites/default/files/NEO-M9N_Integrationmanual_%28UBX-19014286%29.pdf
on page 23 says: "The NEO-M9N includes two UART serial ports. UART1 can be used as a host interface forconfiguration, monitoring and control."
You mentioned that I am maybe using UART2. I know that u-center has the possibility to configure this UART. But looking at the pinout of the module I can't find any second UART. No other u-block document seems to refer to any UART2. The only information that I could found is the the point that there is a second UART. Thats it! :-(
Do you have any informations how to connect to UART2? Or is the second UART connected internally to the USB so that UART2 = USB?
What do you mean exactly with "Please keep in mind that the PIs UART pins aren't known to be the most reliable things in the world..." Does the UART hang after a while or what happens ?
from stratux.
Hmm, not sure what exactly the state of M9N and UART is. Might actually be the case that one of them is only used internally for USB. Not sure actually.
However, Stratux does configure UART1 and USB identically, so if you are using UART1, your symlink approach should work just fine.
You can actually confirm all that in U-Center:
Connect your UART Pins to the PI and monitor output. Start up U-Center and go to UBX->CFG->MSG. Select one of the options (e.g. PUBX0 or something) and check/uncheck the checkboxes while monitoring the output to see which output actually gives you what you want.
If it is UART1, everything should work already from what I can see. If it's UART2, you will have to make sure that UART2 is also configured like UART1 and USB.
"What do you mean exactly with "Please keep in mind that the PIs UART pins aren't known to be the most reliable things in the world..." Does the UART hang after a while or what happens ?"
Can't really tell you much more, this is only anecdotal knowledge. Heard of a few people that had problems with noise on the serial line, leading to lots of checksum errors, occasional disconnects. Could be that a ferrite around the cables would solve that, or that you don't have a problem at all. I really don't know and have not experimented with it myself. Feel free to try it, but maybe look out for problems related to that.
from stratux.
Closed due to no further response.
from stratux.
Related Issues (20)
- no FLARM traffic on ForeFlight HOT 4
- No network on LAN when using AP+Client settings HOT 4
- Feature Request - ICARUS protocol HOT 6
- Support of BMP390 pressure sensor HOT 7
- dump1090 not using dev branch
- uAvionix Ping USB support HOT 2
- Unable to find documentation for AHRS Report (4c:45:01) message HOT 1
- configuring serial ( /dev/ttyAMA0 ) gps device HOT 5
- Customizing raspberry to output audio
- Run SoftRf on the raspi as a stratux child process (feature proposal) HOT 4
- Serial interfaces not recognized
- Feature Add: Set ADSB Antenna Gain HOT 1
- Add u-blox M7 Power mode setting UBX_CFG_PMS HOT 4
- Support for OGN-Tracker on T-BEAM with AXP2101 PMC HOT 2
- Change OGN Tracker settings not possible HOT 20
- Major problem with T-Motion and GDL90 HOT 3
- No USB devices recognized on Rasberry Pi 3B HOT 3
- No WLAN when setting a secure (password protected) WLAN network in AP+Client mode HOT 2
- Cannot get BMP388 / ICM20948 sensors to work HOT 4
- Incomplete RF spectrogram
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stratux.