Go to advanced search

by profeciak
Wed May 10, 2017 7:40 am
Forum: Other projects
Topic: Connecting GPS to RPI
Replies: 46
Views: 2578

Re: Connecting GPS to RPI

Hi,
I've upgraded my Rpi to the latest version and still I have a problem with GPS read, after some time cat command stops working, and the gpsmon returns Read error from device. Could someone help me? Edit: Also now when i try to use cat i got "cat: /dev/serial0: Input/output error"
by profeciak
Tue May 09, 2017 9:45 am
Forum: Troubleshooting
Topic: Problem with GPS
Replies: 2
Views: 185

Re: Problem with GPS

Could it be that the GPS module has gone to sleep ? see 1.14.3: https://www.u-blox.com/sites/default/files/products/documents/NEO-6_DataSheet_(GPS.G6-HW-09005).pdf I don't think so, because then it will go to sleep also when connected to the computer. When I check syslog I can see serial service ho...
by profeciak
Tue May 09, 2017 9:36 am
Forum: Add-ons
Topic: GPS error
Replies: 20
Views: 834

Re: GPS error

Martyparty wrote:It works now! Thank you so much!!

Do you know any simple way to get the information into a coordinate system? And how can I get the positions without being logged on the Raspberry, but see it online on a computer? :)
And how exactly You made it works? I still cannot make it run
by profeciak
Tue May 09, 2017 8:40 am
Forum: Troubleshooting
Topic: Problem with GPS
Replies: 2
Views: 185

Problem with GPS

Hi all, I've connected my GPS via UART port to the Raspberry, after I use sudo cat /dev/serial0 then for some period of time I got the coordinates and all that stuff, but after few minutes it suddenly stops working. Also when I use sude gpsmon /dev/serial0 then for some period of time it works prope...
by profeciak
Mon May 08, 2017 6:31 am
Forum: Troubleshooting
Topic: problem with using UART on raspberry pi ZERO
Replies: 11
Views: 762

Re: problem with using UART on raspberry pi ZERO

Also when I use sudo cat /dev/serial0 after some time it stops working sometimes after few seconds, sometimes after few minutes. I don't know what can be the cause of this.
by profeciak
Wed Apr 26, 2017 7:36 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: UART GPS Device
Replies: 38
Views: 29936

Re: UART GPS Device

I have gps working but every time I reboot I have to run sudo gpsd /dev/ttyS0 -F /var/run/gpsd.sock to get cgps -s to show the info Is there a way to make it run automatically? Thanks Yeah, I think you can make it run during the boot of the system. I've done the same with changind the baud rate not...
by profeciak
Wed Apr 26, 2017 6:26 am
Forum: Troubleshooting
Topic: problem with using UART on raspberry pi ZERO
Replies: 11
Views: 762

Re: problem with using UART on raspberry pi ZERO

Thanks bensimmo for reply. So I had the console turned off and the serial port enabled all the time. Also I did that from raspi-config. I'm using GPS module from pixhawk - NEO 6M from what I can see. Unfortunately after I upgraded my Jessie to the latest release (before I had only one option to Disa...
by profeciak
Tue Apr 25, 2017 8:53 am
Forum: Troubleshooting
Topic: problem with using UART on raspberry pi ZERO
Replies: 11
Views: 762

Re: problem with using UART on raspberry pi ZERO

3.3 V I checked that in the datasheet of the GPS module before making connections
by profeciak
Tue Apr 25, 2017 8:04 am
Forum: Troubleshooting
Topic: problem with using UART on raspberry pi ZERO
Replies: 11
Views: 762

Re: problem with using UART on raspberry pi ZERO

Before the fun with the UART port, I got it working on USB, then decided to change it to work on UART. Also how to turn console off? I'm working using desktop autologin boot option.
by profeciak
Tue Apr 25, 2017 6:38 am
Forum: Troubleshooting
Topic: problem with using UART on raspberry pi ZERO
Replies: 11
Views: 762

Re: problem with using UART on raspberry pi ZERO

Thanks for replies. Yes I have enable_uart = 1 in the config.txt. Moreover I can see the output from gps using cat /dev/ttyAMA0, but there is still a problem while I try to use gpsmon or cgps. When I try to use sudo gpsmon /dev/ttyAMA0 I got "gpsmon: ERROR: /dev/ttyAMA0 already opened by another pro...
by profeciak
Mon Apr 24, 2017 9:23 am
Forum: Troubleshooting
Topic: problem with using UART on raspberry pi ZERO
Replies: 11
Views: 762

problem with using UART on raspberry pi ZERO

Hi all, as in the topic I can't get my UART port to work. I've disable the serial using raspi-config. Now when i type ls/dev there is no ttyAMA0, so when I try to use for example cat </dev/ttyAMA0 there is a message that there is no such file. I'm trying to connect GPS to my Pi via UART port. I've m...
by profeciak
Tue Aug 30, 2016 6:57 am
Forum: Troubleshooting
Topic: CGPS not working Raspberry Pi Zero
Replies: 3
Views: 680

CGPS not working Raspberry Pi Zero

Hi, I've got a problem after I have connected my gps to the RPi. After installation od all necessary packages like sudo apt-get install python gpsd gpsd-clients when I type cgps in terminal I've got none reading and after few seconds a communicate "GPS timeout, but when I type gpsmon I've got readin...
by profeciak
Wed Aug 17, 2016 11:57 am
Forum: Beginners
Topic: Program that starts when power is on, and stops when off
Replies: 2
Views: 339

Re: Program that starts when power is on, and stops when off

Thanks fot Your reply it helped. :)
by profeciak
Tue Aug 16, 2016 1:37 pm
Forum: Beginners
Topic: making a joystick visible
Replies: 0
Views: 135

making a joystick visible

Hi, I've made 2 joystick work with my Raspberry Pi 3, like on that site: http://www.raspberrypi-spy.co.uk/2014/04/using-a-joystick-on-the-raspberry-pi-using-an-mcp3008/#comment-190957 I've managed to do one of them acts al a mouse. The other one should be recognizable as a joystick in the linux. I'm...
by profeciak
Mon Aug 08, 2016 8:30 am
Forum: Advanced users
Topic: RB Pi 3 fail to load SPI1
Replies: 7
Views: 3903

Re: RB Pi 3 fail to load SPI1

Hi all,

I've been doing just as you say, but still I don't have SPI1 enabled on my device
by profeciak
Mon Aug 08, 2016 8:27 am
Forum: Beginners
Topic: Program that starts when power is on, and stops when off
Replies: 2
Views: 339

Program that starts when power is on, and stops when off

Hi, I'm a beginner in programming on raspberry pi. I would like to know is there is any easy way to make a python script that will run my main program when the raspberry pi is on. Also I would like to make this program stop with the moment when the power is off. I have to save my measure data to the...

Go to advanced search