Go to advanced search

by quinness
Mon Jun 27, 2016 12:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Please help? USB and connector
Replies: 1
Views: 522

Re: Please help? USB and connector

May it be that there is some ground loop? (if not tested yet?) can you run your Rasp from some power not connected to the car? Like a power bank for mobile phones or similar, not att all in contact with the car, except through the odb.
by quinness
Sun May 29, 2016 2:35 pm
Forum: Raspberry Pi OS
Topic: GPS Hat to talk to the serial port
Replies: 7
Views: 1699

Re: GPS Hat to talk to the serial port

May it be that the GPS is on /dev/ttyUSB0?
by quinness
Fri May 13, 2016 7:28 pm
Forum: Raspberry Pi OS
Topic: reboot failure
Replies: 6
Views: 1038

Re: reboot failure

;) Did you expand the file system? /
by quinness
Thu Apr 14, 2016 9:31 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Trouble in receiving UART data !
Replies: 6
Views: 1650

Re: Trouble in receiving UART data !

Little unsure, in your first post the pattern was repeated every 23 byte, and in replay 3 every 18.
So there are a pattern, but if it is garbage or real data... I don't know
by quinness
Thu Apr 14, 2016 8:53 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Trouble in receiving UART data !
Replies: 6
Views: 1650

Re: Trouble in receiving UART data !

Shall the data from the machine be human readable?

At what speed is the last result from?
by quinness
Thu Apr 14, 2016 8:06 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Trouble in receiving UART data !
Replies: 6
Views: 1650

Re: Trouble in receiving UART data !

Question : Does RPi 3 UART/GPIO handle 5 volt ok? Read somewhere that it might destroy GPIO-ports If your data is inserted in a hex/binary editor you can see that it is much repeated patterns 0 b 01011011 0 b 01011011 0 b 01011011 ... so I would suggest to check the speed of you machine, might be 19...
by quinness
Tue Apr 05, 2016 10:32 am
Forum: Raspberry Pi OS
Topic: Script to auto reboot if no VPN/Internet access
Replies: 1
Views: 1085

Re: Script to auto reboot if no VPN/Internet access

.Might this be a solution? (change 192.168.1.1 to 8.8.8.8 or similar.
http://superuser.com/questions/378549/c ... e-internet
by quinness
Tue Apr 05, 2016 9:24 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Screen rotation using accelerometer
Replies: 3
Views: 1211

Re: Screen rotation using accelerometer

Haven't found any solution on how to rotate on a running system. You have to restart x to make it happen. :|
http://raspberrypi.stackexchange.com/qu ... rry-pi-2-b
I shall see if that is an easy script to write...
by quinness
Sat Mar 26, 2016 12:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C device change address after init
Replies: 1
Views: 498

I2C device change address after init

Hello and happy Easter (to whom it concerns). When my Rasp B+ start, my LIS302DL accelerometer has address 0x40, but one second later when run i2cdetect again, it has the address as stated in data sheet, 0x1c. The other device with 0x48 is a DS1621 with no problem. Have anyone else had similar probl...
by quinness
Sat Mar 12, 2016 1:47 pm
Forum: Raspberry Pi OS
Topic: Running a python script at startup
Replies: 21
Views: 23244

Re: Running a python script at startup

Next suggestion to start it is systemd. make a new file in /etc/init.rd, e.g. MyRoboCoop sudo nano /etc/init.d/MyRoboCoop Paste following in that file, maybe change the location of your RoboCoop.py file. #!/bin/sh # # description: Starts and stops the MyRoboCoop daemon # ### BEGIN INIT INFO # Provid...
by quinness
Sat Mar 12, 2016 11:38 am
Forum: Raspberry Pi OS
Topic: Jessie: How to run a script AFTER boot is done?
Replies: 37
Views: 21519

Re: Jessie: How to run a script AFTER boot is done?

... and have you tested to add su -u pi to gpsd /dev/ttyUSB0 -G -n -F /var/run/gpsd.sock so it looks

Code: Select all

su -u pi gpsd /dev/ttyUSB0 -G -n -F /var/run/gpsd.sock
...?
by quinness
Sat Mar 12, 2016 11:14 am
Forum: Raspberry Pi OS
Topic: Jessie: How to run a script AFTER boot is done?
Replies: 37
Views: 21519

Re: Jessie: How to run a script AFTER boot is done?

Just to clear And it runs on boot too, The script runs but doesn't start gpsd? As I woozy questioned in the other thread, does gpsd starts if you start xgps (or other)? (If you run over ssh, add -X to the parameter list so you can start X application) Have you tested the "new" init script for gpsd i...
by quinness
Sat Mar 12, 2016 8:41 am
Forum: Raspberry Pi OS
Topic: Jessie: How to run a script AFTER boot is done?
Replies: 37
Views: 21519

Re: Jessie: How to run a script AFTER boot is done?

Can you test this sudo nano /etc/init.d/gpsd #!/bin/sh # # description: Starts and stops the GPS daemon # ### BEGIN INIT INFO # Provides: gpsd # Required-Start: $network $syslog $remote_fs # Required-Stop: $network # Default-Start: 2 3 5 # Default-Stop: 0 1 6 # Short-Description: GPS daemon # Descri...
by quinness
Fri Mar 11, 2016 11:18 pm
Forum: Raspberry Pi OS
Topic: Jessie: How to run a script AFTER boot is done?
Replies: 37
Views: 21519

Re: Jessie: How to run a script AFTER boot is done?

Cleaned up script edit your rc-script, in this case __that_software__ sudo nano /etc/init.d/__that_software__ /etc/init.d/__that_software__ #!/bin/sh # # description: Starts and stops the __that_software__ daemon # ### BEGIN INIT INFO # Provides: __that_software__ # Required-Start: $network $syslog ...
by quinness
Fri Mar 11, 2016 10:47 pm
Forum: Raspberry Pi OS
Topic: Jessie: How to run a script AFTER boot is done?
Replies: 37
Views: 21519

Re: Jessie: How to run a script AFTER boot is done?

Sorry for the copy-and-paste of another file (thanks to whoever ) Does vnc be run by a user? in this case 'pi' [sudo -u pi] my file, /etc/init.d/TightVNCServer sudo nano /etc/init.d/TightVNCServer !/bin/sh # # description: Starts and stops the TightVNCServer daemon # ### BEGIN INIT INFO # Provides: ...
by quinness
Thu Mar 10, 2016 9:39 pm
Forum: Raspberry Pi OS
Topic: Running script to start daemon at boot on Jessie
Replies: 3
Views: 1831

Re: Running script to start daemon at boot on Jessie

Hallo again. Have you tested just to start a software that need gpsd ? pi@raspberrypi:~ $ ps -aux | head -1 ; ps -aux | grep gps | grep -v grep USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND pi@raspberrypi:~ $ xgps pi@raspberrypi:~ $ ps -aux | head -1 ; ps -aux | grep gps | grep -v grep USER...
by quinness
Thu Mar 10, 2016 1:13 pm
Forum: Raspberry Pi OS
Topic: Running script to start daemon at boot on Jessie
Replies: 3
Views: 1831

Re: Running script to start daemon at boot on Jessie

Same here. Setup systemv root@raspberrypi:~# systemctl status gpsd ● gpsd.service - GPS (Global Positioning System) Daemon Loaded: loaded (/lib/systemd/system/gpsd.service; static) Active: inactive (dead) root@raspberrypi:~# systemctl enable gpsd Synchronizing state for gpsd.service with sysvinit us...

Go to advanced search