I am participate in a competition. We have to send the data(GPS) from the Navio2 which I use with a Raspberry Pi 3 to an Arduino with TXRX (uart). I am an amateur and I really dont have an idea how I can do this. So can u help me out?
Or give it any other way to communicate between them?
I just tried to run GPS.py but it does not display any data. I have added few ‘prints’ for debug, however there is nothing returned from “msg = ubl.receive_message()”.
It hands there forever.
Could you give me some tips if this could be hardware or software related.
I use RPI3B+ and Navio2 board.
Thanks in advance
Can I ask you to share photos of your hardware setup? Have you tested this indoors or outdoors?
The board is outside, I have tried different setups and locations.
Attached image of the running code (hanging for hours) and the setup image.
I have also run it through command line and from python IDE.
I have checked if the SPI and the other is running.
I checked python version, tried with both 2.7 and 3.7.
I’ve noticed that there is no GNSS antenna attached to the Navio2 board. Have you connected it during your tests?
Yes, antenna is connected and it doesn’t work.
Any ideas what else I could check?
Is there any chance you have another antenna to test it with Navio2? It’ll help to understand whether its antenna-related issue or not.
I am not so proficient in python but I tried other scripts and there were more issues, however one have worked. The Temperature and pressure.
What is funny that temperature and pressure grows constantly (I kept it running another minute or two and values ended at:
Temperature©: 45.752696 Pressure(millibar): 1003.366506
Temperature©: 45.748630 Pressure(millibar): 1003.363831
Could it be some other issue that other scripts are not working as expected?
Sorry it took so long to get back to you.
Have you tested it on our latest Raspbian image?
Has Navio2 been behaving that way from the beginning?
May I ask you to post the output of the
sudo emlidtool test command?