Jump to content


Photo

PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO

  • Please log in to reply
511 replies to this topic

#26 gonzothegreat

gonzothegreat

    Lift Off

  • -----
  • Posts: 9
  • Joined: 20 Nov 2011

Posted 02 November 2012 - 06:05 AM

I have now installed the PiAstroHub on my Raspberry Pi. It's using Nginx and php5-fpm for the webserver.
My QHY5 should arrive today or Saturday.... will report on how it performs late on.

#27 Telstar69

Telstar69

    Lift Off

  • -----
  • Posts: 1
  • Joined: 02 Nov 2012

Posted 04 November 2012 - 11:02 AM

To use PiAstroHub as SkyFi to connect between SkySafari and a mount, follow these steps:

-------------------------------------------------
sudo apt-get install ser2net
sudo sed -i '$ a\5555:raw:0:/dev/ttyUSB0:9600 NONE 1STOPBIT 8DATABITS' /etc/ser2net.conf
sudo /etc/init.d/ser2net restart
-------------------------------------------------

It is that simple :) Now all tcp communications via Port 5555 will be redirected to a serial port. I recommend using a PL2303-based usb-serial adapter.

Then set Port as 5555 in SkySafari. Done! PiAstroHub will function like SkyFi.


Hi there,

First post here, but been reading loads! Thanks for a great post on integrating the Pi with a scope!

I have a Skywatcher 130p AZ Goto with the latest synscan firmware. I am quite IT literate (I'm an IT consultant!), so I do understand all wonderful the things you are doing. I am mainly a Windows consultant, but do come across Linux and use it daily so I am quite comfortable at the command line. I have tried the above on my Pi, but Sky Safari will connect briefly, then ALL tcp communications stop until I reboot the Pi!

I have tried changing a few things inthe ser2net.conf file such as prefixing it with 192.168.0.114,5555 that should only use my WiFi adapter and keep the LAN connected. One thing though, I do have the WiFi connected to my LAN and not in an adhoc network...is this the issue?

Would love to hear from someone, as it's been driving me mad all weekend :confused:!!!

Clear Skies!

Tel :ooo:

#28 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 04 November 2012 - 09:12 PM

Hi Tel,

I didn't have the issue. I mainly use Ethernet connection. I also tried Wifi connection using an Asus N10 USB adapter once without any problem but it was a bit slow.

Is your Wifi adapter connected to a powered hub? It is recommended to use a powered hub because the power from Pi is not sufficient.

Anat

#29 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 22 November 2012 - 08:05 PM

I finally got Pi to work with both QHY5 and QHY8L :)

Attached Files



#30 vmsguy

vmsguy

    Mariner 2

  • -----
  • Posts: 243
  • Joined: 09 Jan 2007
  • Loc: West Virginia

Posted 04 December 2012 - 08:35 AM

Nice work Anat.

I have the 256MB version of the RaspberryPi. Are you using the 256 or 512MB version?

Also, are you overclocking the processor any?

This is going to be my next project.

Thanks,
Brent

#31 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 06 December 2012 - 09:28 PM

Hi Brent,

I am using the 256MB version. It is sufficient for controlling both QHY5 and QHY8L. I overclocked it to 900MHz :)

#32 Watchgear

Watchgear

    Lift Off

  • -----
  • Posts: 2
  • Joined: 12 Dec 2012

Posted 13 December 2012 - 06:39 AM

Hi Everybody...

My name is Klaus and I am new to this forum, but familiar to many kinds of guiders and also a bit to Linux.
I have bought a RaspberryPi (Rev. B) and installed the actual 2012-10-28-wheezy-raspbian.img. Then I followed the instructions from Anat's post from 08/26/12 to install Lin_Guider and the QHY5 driver.

Everything went well with no errors at all. When I connect the QHY5, I can see, that it is recognized by the OS (looking at /var/log/messages). I started Lin_Guider and configured it to "QHY5".

But now - whatever I do - the QHY5 is not recognized by Lin_Guider. "Cannot open device QHY5"...

Any idea for me?


And beyond that - a few questions about the project:

Is there a chance or are there any plans to enable binning on the QHY5?

And what about dithering - has anybody thought about that?

I am really exited waiting for your answers;-)

Best regards
Klaus

#33 Watchgear

Watchgear

    Lift Off

  • -----
  • Posts: 2
  • Joined: 12 Dec 2012

Posted 14 December 2012 - 01:42 PM

Got it...

I also installed indi & PHD - after that, Lin_Guider worked!

Best regards
Klaus

#34 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 15 December 2012 - 05:12 AM

Hi Klaus,

I think that the camera firmware is not properly loaded. You don't need to have INDI and PHD. Download the firmware from
http://sourceforge.n...files/firmware/

And use the command
sudo dpkg -i firmware-ccd_1.0_all.deb

use lsusb to see if the camera is recognized.

#35 giorgio_ne

giorgio_ne

    Lift Off

  • -----
  • Posts: 17
  • Joined: 22 Apr 2010
  • Loc: London, England

Posted 19 December 2012 - 09:14 AM

Great work Anat!!

Since the Rasberry Pi seems to have a MIPI CSI-2 camera connector, do you think it would be possible to connect a daughter board with a CCD fitted on it one day?

I'm just thinking of new ways to play with this cute piece of hardware...

#36 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 01 January 2013 - 09:43 PM

I think the CSI-2 interface may work only for webcams.

#37 netwolf

netwolf

    Vostok 1

  • *****
  • Posts: 167
  • Joined: 03 Sep 2005
  • Loc: NSW, Australia

Posted 24 January 2013 - 08:20 AM

Anat great work, would this work using the odroid boards.
http://www.hardkerne...l_2011/main.php
Also what application are you using to capture from and control the qhy8l? Could this work with other dedicated ccd imagers.

#38 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 24 January 2013 - 08:10 PM

I think this would work with odroid. I am now using MK808 (Dual core Rockchip). It is small and fast. I am using a modified CCD program
http://sourceforge.net/projects/cccd/
to control QHY8L

#39 GonZoo

GonZoo

    Lift Off

  • -----
  • Posts: 1
  • Joined: 15 Jan 2013

Posted 26 February 2013 - 08:22 AM

Congratulations for this project! I'm truly interested on it!

Have you done any field tests? I'm mainly interested on autoguiding. Shutting my DSLR is just a secondary objective.

Just to clarify, I think almost prepared to run it: I have a QHY5 with a guider scope, a Raspberry PI with a USB WIFI dongle, a GC5-GT mount, experience with linux...

#40 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 26 February 2013 - 09:48 PM

Hi GonZoo,

It is not tested in the field yet. Please send me your email address. I can send you the code for beta-testing.

#41 bm_too

bm_too

    Lift Off

  • -----
  • Posts: 12
  • Joined: 08 May 2009
  • Loc: Ontario,Canada

Posted 20 March 2013 - 02:00 PM

Interesting project. I am not much of a web programmer, do you have your webinterface control code posted somewhere ?

Cheers,
Barry

#42 patdut63fromFr

patdut63fromFr

    Lift Off

  • -----
  • Posts: 14
  • Joined: 31 Jul 2007
  • Loc: France

Posted 24 March 2013 - 01:01 PM

Hello Anat and everybody,
I am very interested in this project and follow for 3weeks.
I just ordered a raspberry pi.
I'd like to know if it is possible to connect a DMK cam on the raspberry pi. Would there be any power issue with the cam ?
kind regards
Pat

#43 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 03 April 2013 - 03:39 AM

Hello,

I will release the codes soon after some tests from beta testers. Recently, I use the MK808 dual core Android TV stick for this project because it is much faster, smaller and cheaper overall. I am not sure about DMK cameras. To use it for autoguiding, you may need to look at GoQat which supports the camera.
http://canburytech.n...oQat/index.html
I successfully compiled GoQat on Raspberry Pi some time ago.

Best regards,
Anat


#44 ccs_hello

ccs_hello

    Fly Me to the Moon

  • *****
  • Posts: 6620
  • Joined: 03 Jul 2004

Posted 04 April 2013 - 05:08 PM

Anat,

Are you running MK808 on Linux or Android?

I am assuming for this project, you are fork-lifting the whole thing to make it Linux for easier to support??

BTW, if it ends up to be not the optimal solution, one can always change it back to XBMC video player :).
On that front, will RaspberryPi or MK808 be a better dual-use solution?

Clear Skies!

ccs_hello

#45 patdut63fromFr

patdut63fromFr

    Lift Off

  • -----
  • Posts: 14
  • Joined: 31 Jul 2007
  • Loc: France

Posted 05 April 2013 - 12:05 PM

Hello all,

I have tested my all new raspberrypi to drive my orion atlas mount using skysafari. It works very fine. But the 2 usb ports are occupied one by the usb wifi dongle the other by the Raspberry which handle the mount. To answer a question I have seen somewhere: the handle is needed to make it works.
So there is no other room to connect a cam.
The amount of the installation to drive an Orion Atlas mount is as follow:
raspberry B 42€
box for rpi 10€
wifi dongle 10€
usb/RS232 14€

for a total of 76€ (100$) which is the half price of the skyfi orion device (in Europe).

Unfortunately I have read somewhere that the usb inteface is unique and the 2 plugs share the same interface. So there is nothing to wait in term of performance. But maybe it is sufficient for autoguiding.

Anat you are true, the MK808 looks to be a better alternative, wifi, bluetooth are included in device. But unfortunately there is only one usb plug. It would have been fun to make acquisition with the same device as the one that autoguide and drive the mount. But it seems not to be done even with the MK808.

#46 patdut63fromFr

patdut63fromFr

    Lift Off

  • -----
  • Posts: 14
  • Joined: 31 Jul 2007
  • Loc: France

Posted 05 April 2013 - 12:08 PM

Anat, I have a question for you, what you done to successfully compile GoQat on the raspberry.
Thanks for your answer.

#47 ccs_hello

ccs_hello

    Fly Me to the Moon

  • *****
  • Posts: 6620
  • Joined: 03 Jul 2004

Posted 06 April 2013 - 07:27 AM

Ouch, that MK808 has so many cousins:

http://dl.miniand.co...066Devices.html

Buying the right type (for picuntu) would be quite a challenge.

Clear Skies!

ccs_hello

#48 ccs_hello

ccs_hello

    Fly Me to the Moon

  • *****
  • Posts: 6620
  • Joined: 03 Jul 2004

Posted 06 April 2013 - 11:38 AM

808's little brother info MK802

http://en.wikipedia....d_Mini_PC_MK802

Anyway, $40-ish price tag (808 cloned version) for a 1.5GHz A9 quad core, 1GB RAM, 8GB NAND flash, HDMI out, USB, USB OTG, WiFi, and Bluetooth all included is not bad. Not bad at all.

Clear Skies!

ccs_hello

#49 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 09 April 2013 - 01:34 AM

Anat,

Are you running MK808 on Linux or Android?

I am assuming for this project, you are fork-lifting the whole thing to make it Linux for easier to support??

BTW, if it ends up to be not the optimal solution, one can always change it back to XBMC video player :).
On that front, will RaspberryPi or MK808 be a better dual-use solution?

Clear Skies!

ccs_hello


Yes. I run Ubuntu (PreAlpha 0.3) on MK808. It is very stable. MK808 is a better solution.

#50 anat

anat

    Viking 1

  • -----
  • Posts: 717
  • Joined: 03 Jun 2004

Posted 09 April 2013 - 01:37 AM

808's little brother info MK802

http://en.wikipedia....d_Mini_PC_MK802

Anyway, $40-ish price tag (808 cloned version) for a 1.5GHz A9 quad core, 1GB RAM, 8GB NAND flash, HDMI out, USB, USB OTG, WiFi, and Bluetooth all included is not bad. Not bad at all.

Clear Skies!

ccs_hello


The best RK3066 module in my opinion is the original MK808 with the RK901 wifi chip. The wifi chip works in linux for client, access point, and adhoc modes. I got several MK808 sticks from
http://www.geekbuyin...Bean-TV-BOX-...

It is the right one.






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics