Go to advanced search

by kemnet
Tue May 10, 2016 6:05 am
Forum: Beginners
Topic: clone sd card?
Replies: 27
Views: 51722

Re: clone sd card?

I don't see a clear cut answer...will this work on a seperate PI?
by kemnet
Thu Apr 14, 2016 5:08 pm
Forum: Other projects
Topic: Case for Pi with USB 3G modem.
Replies: 1
Views: 1146

Case for Pi with USB 3G modem.

Greetings I have a pi, with a GPS hat on it connected to a USB 3G modem. I'm wondering if anyone can suggest a case (doesnt have to be a pi case as i dont need access to the monitor,and other ports and only need one usb) where somehow my usb modemm can be on the inside? since I don't want it to get ...
by kemnet
Mon Apr 11, 2016 6:18 pm
Forum: General programming discussion
Topic: Reboot cron job NOT running to start GPS
Replies: 11
Views: 4649

Re: Reboot cron job NOT running to start GPS

Normal users cannot write to /var/log. sudo runs after shell redirections are set up, so it is too late to help with >/var/log/myError.log. If your program really needs root privilege then put it in root's crontab using "sudo crontab -e". Otherwise drop the sudo and put the log file somew...
by kemnet
Mon Apr 11, 2016 5:54 pm
Forum: General programming discussion
Topic: Reboot cron job NOT running to start GPS
Replies: 11
Views: 4649

Re: Reboot cron job NOT running to start GPS

Cron Code @reboot sudo /usr/bin/python /home/pi/lock.py > /var/log/myError.log 2>&1 Lock.py code #!/usr/bin/env python fo = open("open.txt","wb") fo.write("please work") fo.close() Then I run cat /var/log/myError.log At the end of the day, the file isnt created on r...
by kemnet
Mon Apr 11, 2016 3:12 pm
Forum: General programming discussion
Topic: Reboot cron job NOT running to start GPS
Replies: 11
Views: 4649

Re: Reboot cron job NOT running to start GPS

RaTTuS wrote:cron @reboot works fine
^ put full path in that write
/tmp/log.log
expose errors to a known terminal /dev/tty9 ?
Thanks for your assistance however, I'm having a little trouble understanding what you are reffering to, my linux jagon isnt up to par.
by kemnet
Mon Apr 11, 2016 2:50 pm
Forum: General programming discussion
Topic: Reboot cron job NOT running to start GPS
Replies: 11
Views: 4649

Re: Reboot cron job NOT running to start GPS

Logs I write to are showing up blank, system logs have no errors, and the cron reboot doesnt run no matter how simple it is or what ever combination I try.
Have you gotten a reboot working on your pi? cause im seeing other people having these issues.
by kemnet
Mon Apr 11, 2016 2:41 pm
Forum: General programming discussion
Topic: Reboot cron job NOT running to start GPS
Replies: 11
Views: 4649

Re: Reboot cron job NOT running to start GPS

no spaces in the #! line in your script - output to a file /tmp/log or something to see if it works it may be that it is running too soon and something else is not initiated [network ??] put more debugging in your scripts or use systemd and restart it after the system is up I think i debunked the t...
by kemnet
Mon Apr 11, 2016 1:49 pm
Forum: General programming discussion
Topic: Reboot cron job NOT running to start GPS
Replies: 11
Views: 4649

Re: Reboot cron job NOT running to start GPS

... sudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock to run to start the gpsd daemon. so I have placed this in rc.local. [/code] if it is rc.lcoal then you do not need sudo #! /bin/bash import requests if it is python then use the correct #! i.e. #!/bin/python or whereever it is as to why it is not wor...
by kemnet
Mon Apr 11, 2016 10:32 am
Forum: General programming discussion
Topic: Reboot cron job NOT running to start GPS
Replies: 11
Views: 4649

Reboot cron job NOT running to start GPS

What I am trying to accomplish Good day all. I am working on a project where when I my PI sends GPS coordinates received to a webservice. If the PI is rebooted, a cron runs and calls my python script to start the gpsd service and start sending my coordinates to my server again. What I have done so ...
by kemnet
Sun Mar 27, 2016 5:02 pm
Forum: Automation, sensing and robotics
Topic: GPS Unit that can be powered just from the PI?
Replies: 8
Views: 1918

Re: GPS Unit that can be powered just from the PI?

if you need a simpler gps unit, there is a gps hat by adafruit with full tutorials. https://learn.adafruit.com/adafruit-ultimate-gps-hat-for-raspberry-pi/overview its low power and supports an external arial how well does it work indoors? it's exactly what I want but if it's cant work indoors or in...
by kemnet
Sat Mar 26, 2016 2:17 pm
Forum: Automation, sensing and robotics
Topic: GPS Unit that can be powered just from the PI?
Replies: 8
Views: 1918

Re: GPS Unit that can be powered just from the PI?

jrbail01 wrote:Check out this project and see if it helps get you started faster: https://github.com/InitialState/rpi-gps/wiki
Thanks for that link
by kemnet
Sat Mar 26, 2016 2:13 pm
Forum: Automation, sensing and robotics
Topic: GPS Unit that can be powered just from the PI?
Replies: 8
Views: 1918

Re: GPS Unit that can be powered just from the PI?

I would go with the GlobalSat. You might also be interested in the Earth Mate by Delorme the GPS LT20. It is similar to the GlobalSat... is a very small package, high sensitivity, takes its power from the usb, and has a cable that gets the receiver up away from the rest of your gear for good recept...
by kemnet
Sat Mar 26, 2016 12:08 am
Forum: Automation, sensing and robotics
Topic: GPS Unit that can be powered just from the PI?
Replies: 8
Views: 1918

GPS Unit that can be powered just from the PI?

Greetings I am trying to construct a product where I can track my PI remotely. I will be able to power my PI with the 5v 2amp that it needs, however what I am trying to do is find a GPS unit that can draw it's power directly from the Pi and I wont have to somehow get a second power for the GPS unit....
by kemnet
Fri Mar 18, 2016 2:11 pm
Forum: Automation, sensing and robotics
Topic: Extracting data from GPS device to Python
Replies: 3
Views: 13460

Re: Extracting data from GPS device to Python

Seems perfect,
Just hope GPSd will work with this device (will be wiring it to USB)

http://www.amazon.com/gp/product/B01BVZ ... ge_o00_s00
by kemnet
Fri Mar 18, 2016 1:36 am
Forum: Automation, sensing and robotics
Topic: Extracting data from GPS device to Python
Replies: 3
Views: 13460

Extracting data from GPS device to Python

I have purchased this GPS device GPS Receiver - GP-735 (56 Channel) along with another device needed to connect to is VIA USB. My ultimate goal is to get latitude and longitude information FROM the device (or any other information I would like) from the device and place it in a python script, Or bas...
by kemnet
Thu Mar 10, 2016 7:34 am
Forum: Automation, sensing and robotics
Topic: Connecting GPS Breakout to Pi
Replies: 1
Views: 554

Connecting GPS Breakout to Pi

Good day While looking for the smallest possible GPS solution for a Raspberry PI 2 searching has brought me to these solutions. - https://www.sparkfun.com/products/13670 - https://www.sparkfun.com/products/11818 I am thinking of getting those two, but being more of a programmer than an hardware pers...
by kemnet
Thu Feb 25, 2016 3:19 pm
Forum: Networking and servers
Topic: USB 3G Dongle VS GPS Addon
Replies: 10
Views: 2759

Re: USB 3G Dongle VS GPS Addon

Well What I am attempting is to make my own pet tracker. Using a Raspberry Pi, with a 3G usb and a powersource. Ill then be able to log into my web and look for said device plotted on the map. So I can search by pet name / device name. Yes this can be done...log your data from GPS into a web and us...
by kemnet
Thu Feb 25, 2016 3:19 pm
Forum: Networking and servers
Topic: USB 3G Dongle VS GPS Addon
Replies: 10
Views: 2759

Re: USB 3G Dongle VS GPS Addon

Both GPS and 3G-Modem can come as a USB-device or as a "add-on" board that can talk "serial" or "spi" or "i2c". The simplest are usually a USB solution ( IMHO ). There also exists a few 3G-Modems that also contain a GPS. You are absolutely right topguy. Sugge...
by kemnet
Thu Feb 25, 2016 3:06 pm
Forum: Networking and servers
Topic: USB 3G Dongle VS GPS Addon
Replies: 10
Views: 2759

Re: USB 3G Dongle VS GPS Addon

Well What I am attempting is to make my own pet tracker. Using a Raspberry Pi, with a 3G usb and a powersource. Ill then be able to log into my web and look for said device plotted on the map. So I can search by pet name / device name.
by kemnet
Thu Feb 25, 2016 2:09 pm
Forum: Networking and servers
Topic: USB 3G Dongle VS GPS Addon
Replies: 10
Views: 2759

Re: USB 3G Dongle VS GPS Addon

100-150. Thanks, well I will try with just the 3G modem see how that goes, and work to adding GPS unto it.
Thanks for the talk.

Do you have any resources that will assist me in this venture? tutorials you may have written, tips and the like?
by kemnet
Thu Feb 25, 2016 1:47 pm
Forum: Networking and servers
Topic: USB 3G Dongle VS GPS Addon
Replies: 10
Views: 2759

Re: USB 3G Dongle VS GPS Addon

> However, some links that I am looking at gives instructions using a GPS receiver to do this (Link at the end) What is "this" ? You have two "problems": - A: getting the geopraphical location. - B: transferring this information to another machine. Solutions: A: You need a GPS, ...
by kemnet
Wed Feb 24, 2016 7:37 pm
Forum: Networking and servers
Topic: USB 3G Dongle VS GPS Addon
Replies: 10
Views: 2759

USB 3G Dongle VS GPS Addon

Good Day all I'm interested in working on an application where a device can be tracked and it's latitude and longitude be saved in a database. I know that one can get a USB 3G dongle with a sim card and connect it to the raspberry Pi. However, some links that I am looking at gives instructions using...
by kemnet
Fri Nov 20, 2015 7:54 pm
Forum: Automation, sensing and robotics
Topic: Sensors for rasberry
Replies: 1
Views: 740

Sensors for rasberry

Greetings all, I have been thinking of a project where i would need the ability to test chemicals. (might be a stretch) Apart from this link of sensors (http://www.raspberrypi-spy.co.uk/category/hardware/sensors/). I was wondering if I could be directed to a list that shows me what input I can hope ...
by kemnet
Sat Aug 10, 2013 10:32 am
Forum: Troubleshooting
Topic: Powering up monitor and keyboard on pi
Replies: 2
Views: 636

Re: Powering up monitor and keyboard on pi

hello, thanks for the quick respond. If u remember when u run noob for the first time u get a list of operating systems u can select,i can only cycle thru them using my keyboard when the moonitor is unplugged.i hav edited the config fiile accordiing to this link http://www.makeuseof.com/tag/three-wa...
by kemnet
Sat Aug 10, 2013 1:07 am
Forum: Troubleshooting
Topic: Powering up monitor and keyboard on pi
Replies: 2
Views: 636

Powering up monitor and keyboard on pi

Hello All I'm a beginner trying to set up my raspberry pi. It boots fine i believe (im using NOOBS) however, my keyboard does not work if the monitor is plugged in. If i unplug the monitor and press the arrow keys it works. But if i plug back the monitor...keyboard is dead again. I am trying to wond...

Go to advanced search