Username:

Password:

Altair AstroDIO DehumidifiersAtik CamerasModern AstronomyDavid HindsNe3 Filters

Author Topic: INDI and Raspberry Pi 3  (Read 2001 times)

0 Members and 1 Guest are viewing this topic.

Offline chris.bailey

  • Administrator
  • Galactic Poster
  • *****
  • Posts: 9557
  • If at last you do succeed, don't try again
    • Rosemount Observatory
Re: INDI and Raspberry Pi 3
« Reply #15 on: 14:48:30, 24 January, 2017 »
..I believe if you set the snoop device for the mount to be GPSD, it should pick up the coords..

 :thumbup:

Indeed it does. I have had to disable the gpsd daemon and start it manually to work with Indi so just need to play around with a config file or two and that is time and location dealt with. Full observatory control in a pocket sized device is pretty amazing.
LX200|ZS70|FSQ85|FLT110|Altair DF250RC|EQ6 Pro(Rowan Belt Mod)|ParamountMX
ATIK383L+/EFW2/OAG|Lodestar|Baader 36mm LRGBHaSIIOIII
Starlight Express SXVRH16/ONAG/FW|Lodestar X2|Baader 2" Filters
Starlight Express SXVRH814/ONAG/FW|LodestarX2|Baader 2" Filters
Lunt LS60PTBF1200|DMK41|Quark Chromo
Samyang 135mm f1.8

Offline psjshep

  • Phil, who still has a job
  • Administrator
  • Galactic Poster
  • *****
  • Posts: 10062
  • Dark nights are back again....
    • Some astro Pics
Re: INDI and Raspberry Pi 3
« Reply #16 on: 15:10:02, 24 January, 2017 »
it is astronishing, yeah.... AND with the ability to make changes if you want to the code! 

Phil
--------------------------------------------------------------------------
Web Images

Offline psjshep

  • Phil, who still has a job
  • Administrator
  • Galactic Poster
  • *****
  • Posts: 10062
  • Dark nights are back again....
    • Some astro Pics
Re: INDI and Raspberry Pi 3
« Reply #17 on: 15:11:10, 24 January, 2017 »
I just wish I had DAYS to play with this all.... and nights to test it :laugh:

I did just get PHD2 all compiled recently.... am dying to try it running on the PI... the CPU hardly seems to be ticking over!

Phil
--------------------------------------------------------------------------
Web Images

Offline chris.bailey

  • Administrator
  • Galactic Poster
  • *****
  • Posts: 9557
  • If at last you do succeed, don't try again
    • Rosemount Observatory
Re: INDI and Raspberry Pi 3
« Reply #18 on: 15:33:58, 24 January, 2017 »
The other trick to get gpsd and Indi running nicely together at start up is to sudo nano /etc/default/gpsd to include

START_DAEMON='true"
USBAUTO="true"
DEVICES="/dev/ttyUSB0" (assuming a USB dongle device on USB0)
GPSD_OPTIONS="/dev/ttyUSB0"
GPSD_SOCKET="/var/run/gpsd.sock"

Its now happily updating locations in Indi and EQMod on the Pi.

Yes Phil - I read lots of horror stories of PHD2 on a Pi but it runs very smoothly even downloading images from the Lodestar while Imaging with an Atik460 and controlling EQMod. The only thing which shows the lack of oomph is Astrometry.net and I have that down to around 10-12 seconds per solve by a careful choice of Index Files.
LX200|ZS70|FSQ85|FLT110|Altair DF250RC|EQ6 Pro(Rowan Belt Mod)|ParamountMX
ATIK383L+/EFW2/OAG|Lodestar|Baader 36mm LRGBHaSIIOIII
Starlight Express SXVRH16/ONAG/FW|Lodestar X2|Baader 2" Filters
Starlight Express SXVRH814/ONAG/FW|LodestarX2|Baader 2" Filters
Lunt LS60PTBF1200|DMK41|Quark Chromo
Samyang 135mm f1.8

Offline psjshep

  • Phil, who still has a job
  • Administrator
  • Galactic Poster
  • *****
  • Posts: 10062
  • Dark nights are back again....
    • Some astro Pics
Re: INDI and Raspberry Pi 3
« Reply #19 on: 15:53:03, 24 January, 2017 »
Yeah... the /etc/default/gpsd caught me out at first.....  (along with the BAUD rate of my cheap dongle - it will only run @ 38,400.. so I have to do that stty thang to set it)

Also, I managed to tie down the diferences between the 2 x prolific USB connectors (The GPS is prolific)  - now one creates /dev/gps & the other creates /dev/lakeside.... so it doesn't matter which USB port I use.... Simples!

As you say, the only stickler is the astrometry thing..... but hay ho....

Still... all VERY impressive!

Phil
--------------------------------------------------------------------------
Web Images

Offline chris.bailey

  • Administrator
  • Galactic Poster
  • *****
  • Posts: 9557
  • If at last you do succeed, don't try again
    • Rosemount Observatory
Re: INDI and Raspberry Pi 3
« Reply #20 on: 22:21:00, 25 January, 2017 »
Correction to the above, it should be

GPSD_OPTIONS="-n"

This is necessary to get gpsd running without an explicit call to it though xgps or cgps. This then enables hacking into the GPS stream for time setting. A couple of lines in ntp.conf and sure enough the Pi starts relying on GPS for time data. Its not brilliantly accurate (nearest second) and has a bit of jitter but perfectly adequate for the task and only comes into play when there is not internet access.
LX200|ZS70|FSQ85|FLT110|Altair DF250RC|EQ6 Pro(Rowan Belt Mod)|ParamountMX
ATIK383L+/EFW2/OAG|Lodestar|Baader 36mm LRGBHaSIIOIII
Starlight Express SXVRH16/ONAG/FW|Lodestar X2|Baader 2" Filters
Starlight Express SXVRH814/ONAG/FW|LodestarX2|Baader 2" Filters
Lunt LS60PTBF1200|DMK41|Quark Chromo
Samyang 135mm f1.8

Offline psjshep

  • Phil, who still has a job
  • Administrator
  • Galactic Poster
  • *****
  • Posts: 10062
  • Dark nights are back again....
    • Some astro Pics
Re: INDI and Raspberry Pi 3
« Reply #21 on: 17:36:37, 27 January, 2017 »



Dear Phil,

Hi - great to hear you are making progress, on both the driver and in using the Pi - I talked with Peter on Friday and he mentioned that someone was developing an Indi driver (I was talking to him about possibly writing an X2 driver...). I am looking to get something mobile, so needs to run just on the Pi - though interesting to hear that Kstars works better on Windows.


Will look forward to hearing how you get on, and I if I ever crack how to compile an X2 driver (trying to write one for an HEQ5 to avoid the need for lots of extra cables), I'll pick your brains about the Lakeside Indi driver.


Ahh... so... you know Peter... nice!  He's been extremely helpful by giving me proprietary information... and general ideas every so often...  so glad to help you with stuff assuming Peter is good with that....   I started with a copy of the Moonlite code, but tbh so much has changed, there's not much likeness now.

Phil
--------------------------------------------------------------------------
Web Images

 

ukbuysellRemote Imaging from AustraliaSharpSkyblank APTUKAI on Facebook
Powered by SMF 2.0.13 | SMF © 2006, Simple Machines LLC
DarkBreak by DzinerStudio. Theme modified by The UKAI Team

Page created in 0.248 seconds with 33 queries.
TinyPortal © 2005-2012