Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO

This topic has been archived. This means that you cannot reply to this topic.
777 replies to this topic

#76 radarboy

radarboy

    Lift Off

  • -----
  • Posts: 2
  • Joined: 30 Jan 2011

Posted 15 August 2013 - 11:27 PM

I finally managed to get lin_guider up and going but it seems to be over agressive in its adjustments - any thoughts on proper settings? I am used to PHd, but linguider seems to run better on the pi. I have oc'd the pi, wondering if its affecting timing, etc.

#77 tango13

tango13

    Vostok 1

  • -----
  • Posts: 130
  • Joined: 16 Mar 2011

Posted 03 September 2013 - 08:36 AM

I finally managed to get lin_guider up and going but it seems to be over agressive in its adjustments

Hi radarboy,
I am experiencing the same over-aggressiveness with lin_guider on my non-oc'd Pi.
Did you progress in any way on this issue?
Thanks.
Piero

#78 benula

benula

    Vostok 1

  • *****
  • Posts: 159
  • Joined: 27 Apr 2011

Posted 16 September 2013 - 10:27 PM

My guess is you should lower the proportional gain in the guider settings menu.
-Ben

#79 BrokenGeiger

BrokenGeiger

    Lift Off

  • -----
  • Posts: 21
  • Joined: 03 Jul 2006

Posted 26 September 2013 - 10:59 AM

I'm curious if you've tried this with a NexImage or Philips spc900nc webcam. If so would a gpusb no longer be needed as I hope the pi or mk808 will replace that module?
I just learned about HitecAstro which prompted to look further into this.

#80 anat

anat

    iAstroHub 3

  • *****
  • Vendors
  • topic starter
  • Posts: 1,113
  • Joined: 03 Jun 2004

Posted 27 September 2013 - 12:37 AM

Philips spc900nc is supported by Linguider and the new version of Linguider (not released yet) also supports the GPUSB adapter. You will need the GPUSB or similar adapter if you use a camera with no autoguiding port.

#81 BrokenGeiger

BrokenGeiger

    Lift Off

  • -----
  • Posts: 21
  • Joined: 03 Jul 2006

Posted 28 September 2013 - 05:50 PM

Thanks, I'm willing to try it out. I'll order my pi soon.

That apparently rules out any camera module if that extra layer needs to be there.
http://m.techcrunch....camera-on-sale/

#82 ccs_hello

ccs_hello

    Voyager 1

  • *****
  • Posts: 10,739
  • Joined: 03 Jul 2004

Posted 29 September 2013 - 05:15 PM

Discussions on that $25 camera module:
http://www.cloudynig.../Number/5668461

Clear Skies!

ccs_hello

#83 anat

anat

    iAstroHub 3

  • *****
  • Vendors
  • topic starter
  • Posts: 1,113
  • Joined: 03 Jun 2004

Posted 30 September 2013 - 08:50 AM

Raspberry Pi is pretty slow. MK808 with the RK3066 dual core 1.2GHz ARM CPU is a much better choice at the moment.
http://www.geekbuyin...Bean-TV-BOX-...

#84 BrokenGeiger

BrokenGeiger

    Lift Off

  • -----
  • Posts: 21
  • Joined: 03 Jul 2006

Posted 30 September 2013 - 05:57 PM

Understood on slow - though based on your prior comment I found a PDF on how to make your own SimpleGpUSB http://www.guywebb.c...SimpleGpUsb.pdf

and since the RaspberryPI has it's own GPIO onboard then this eliminates the requirement for the USB Breakout. Which appears (I'm NOT an EE) that I can go direct to a Darlington Array then RJ12 for the ST-4. Neat. (however I'm not sure where the ASCOM drivers will come into play then - can I use the ASCOM Drivers to own the GPIO's on the RPi?)

I'll check to see if the MK808 has GPIO pins later tonight.

I'll need to reread this thread to see if the RPi was ruled out mainly due to perf as I'd love to see your findings on that. Was it the web page side or the webcam side?

#85 ccs_hello

ccs_hello

    Voyager 1

  • *****
  • Posts: 10,739
  • Joined: 03 Jul 2004

Posted 30 September 2013 - 10:32 PM

AFAIK, those TV dongles (RK3066, RK3188 and friends) do not have exposed GPIO leads (other than Rx Tx, LV version).
For USB-GPIO, this MCP2200 based can be a good solution, so long as astro programs would support the MCP2200 driver:
http://microcontroll...roducts_id=4173

Clear Skies!

ccs_hello

#86 ccs_hello

ccs_hello

    Voyager 1

  • *****
  • Posts: 10,739
  • Joined: 03 Jul 2004

Posted 30 September 2013 - 10:51 PM

If choosing RK3066 (MK808) or RK3188 route, I personally would choose 3188. It runs cooler, easily over-clocked, 2GB/8GB RAM/flash, consumes 0.2-0.4A less under the same test condition, and costs $25 more.
I will definitely put a real heatsink and active-fan to cool it. Little or no heatsink on them, IMO, is a joke.

Clear Skies!

ccs_hello

#87 anat

anat

    iAstroHub 3

  • *****
  • Vendors
  • topic starter
  • Posts: 1,113
  • Joined: 03 Jun 2004

Posted 01 October 2013 - 10:03 AM

I have tested several RK3188 mini PCs. Unfortunately the current models no longer use the RTL8188eu wifi chip. The wifi chip was in MK802iv and several other brands before July 2013. The wifi chip supported the wifi AP mode so iOS or Android devices can directly connect to the device. I could not make the AP6330 and AP6210 wifi chips work in the AP mode.

So, MK808 with the original wifi (RK901) is the only one that would work as an access point. For the speed, the difference between RK3066 and RK3188 is not much. The plate-solving time is about 12 sec (RK3188) vs 15 sec (RK3066) while it takes more than 3 mins in Raspberry Pi.

#88 ccs_hello

ccs_hello

    Voyager 1

  • *****
  • Posts: 10,739
  • Joined: 03 Jul 2004

Posted 02 October 2013 - 07:14 AM

"Linpack for Android" multithreaded benchmark scores:
MK808 (RK3066 dual-core) 91667
CX919 II (RK3188 quad-core) 161713

Both overclocked.


Re: use TV stick's WiFi in AP mode

Good point.
Nowadays, most of them are using Broadcom based chipset (thus no AP, unless using an external WiFi USB dongle).

Clear Skies!

ccs_hello

#89 anat

anat

    iAstroHub 3

  • *****
  • Vendors
  • topic starter
  • Posts: 1,113
  • Joined: 03 Jun 2004

Posted 02 October 2013 - 09:41 PM

The benchmark score includes several functions of CPU and GPU. For certain applications in Linux, we don't see much difference between the two Rockchip CPUs. Please see this:
https://plus.google....sts/RsSZE4Sd6Ed

#90 ccs_hello

ccs_hello

    Voyager 1

  • *****
  • Posts: 10,739
  • Joined: 03 Jul 2004

Posted 02 October 2013 - 10:06 PM

Anat,

I believe Linpack only exercise the CPU portion of the RK3000 series SoC devcie, never exercise the GPU. Thus the result is in MFLOPS.

See http://en.wikipedia.org/wiki/LINPACK

Of course, it's just a raw estimate of CPU capability when the program is assumed to be designed as multi-threaded and efficiently using the multi-core CPU. It does not consider memory optimization etc. in real-life calculation.

But since Linpack is for linear algebra, I think it could be a close approximation on RK3000 SoC's potential.


BTW, I've only tested the RK3066 Linux once but never on RK3188's. Don't know if the kernel has been optimized for its 4-core CPU.


BTW2: Antutu (most recent version) for Android benchmark score:
RK3066: (2x 1416MHz CPU): 13027
RK3188: (4x 1600MHz CPU): 18698

Clear Skies!

ccs_hello

#91 patdut63fromFr

patdut63fromFr

    Explorer 1

  • -----
  • Posts: 99
  • Joined: 31 Jul 2007

Posted 15 October 2013 - 08:37 AM

Hello Anat,
Can you tell us what is the minimum setup which is necessary to be able to auto-guide with a modified SPC900 webcam ?
And can you tell us why the new devices with RK3188 and new wifi chips can't create a reachable ad'hoc network ?
Is the problem on the linux side or the android (or IOS) side ?
Clear skies
Pat

#92 anat

anat

    iAstroHub 3

  • *****
  • Vendors
  • topic starter
  • Posts: 1,113
  • Joined: 03 Jun 2004

Posted 15 October 2013 - 08:30 PM

Hello Pat,

To autoguide with a webcam, you will need
1) An Arm linux device (Raspberry Pi, MK808, ...)
2) Webcam
3) GPUSB to send the correction signal
4) Linguider 2.9 which should be released soon.
http://qhyccd.com/cc...hp?topic=4026.0
I will need to slightly modify my codes to work with this new version. This version will support QHY5L-ii and GPUSB.

About the wifi connection, I tested only the AP mode (not the adhoc mode) because most of Android devices cannot make an adhoc connection with the stock ROM. So far, MK802iv (older version which uses RTL8188 wifi chip) works nicely but the wifi chip was changed to AP6210 after July 2013. I am not sure if AP6210 works in the adhoc mode or not.

The AP6210 hardware supports the AP mode because we can create a hotspot when the RK3188 device runs Android. It is definitely about the driver. So far, the source code for the wifi chip is not available.

I attach the photo showing my complete field setup.

Best regards,
Anat

Attached Thumbnails

  • 6139854-0426893929 .JPG


#93 anat

anat

    iAstroHub 3

  • *****
  • Vendors
  • topic starter
  • Posts: 1,113
  • Joined: 03 Jun 2004

Posted 15 October 2013 - 08:37 PM

This shows how devices are connected to MK808.
You see the USB hub under the MK808. 4 USB cables are
1) Usb serial cable + serial cable to the mount
2) Cable to QHY6 for autoguiding
3) DSLR usb cable to download images
4) DSLR bulb shutter cable
The MK808 also works as the access point to accept connection from a mobile device. Then, an iOS or Android tablet can control all devices from a web browser. It is that simple :)

Attached Thumbnails

  • 6139859-0426894637 .JPG


#94 patdut63fromFr

patdut63fromFr

    Explorer 1

  • -----
  • Posts: 99
  • Joined: 31 Jul 2007

Posted 15 October 2013 - 11:09 PM

Thank you anat for your answer. But there is something that surprise me. You download the dslr pics on the mk808 ?
Ils there enougth debit on the unique USB socket for all the signals ?

#95 anat

anat

    iAstroHub 3

  • *****
  • Vendors
  • topic starter
  • Posts: 1,113
  • Joined: 03 Jun 2004

Posted 15 October 2013 - 11:38 PM

Yes. There is no problem in downloading DSLR images while autoguiding. 1GB RAM is more than enough for all works. Actually 256MB RAM in RPi is also sufficient for autoguiding and downloading images.

#96 patdut63fromFr

patdut63fromFr

    Explorer 1

  • -----
  • Posts: 99
  • Joined: 31 Jul 2007

Posted 15 October 2013 - 11:48 PM

And what is the software that download the pics from the dslr under linux ?

#97 anat

anat

    iAstroHub 3

  • *****
  • Vendors
  • topic starter
  • Posts: 1,113
  • Joined: 03 Jun 2004

Posted 16 October 2013 - 12:26 AM

I write a shell script with gphoto commands. Please grab my source codes from
http://sourceforge.n.../?source=navbar
Look for the file dslr_getphoto.sh in www.zip

You can put the upzipped folder as /home/pi/www. You will see the interface if opening the html file.
Anat

#98 patdut63fromFr

patdut63fromFr

    Explorer 1

  • -----
  • Posts: 99
  • Joined: 31 Jul 2007

Posted 16 October 2013 - 01:33 AM

Thanks Anat,
But you take only jpeg photos and not raw ones ?
Is the www folder content a server to run on raspberry or MK808 ?

#99 anat

anat

    iAstroHub 3

  • *****
  • Vendors
  • topic starter
  • Posts: 1,113
  • Joined: 03 Jun 2004

Posted 16 October 2013 - 01:44 AM

It will download only JPG images for reviewing only. So you may set RAW+Jpg (small) in your camera. Original files are safely kept on the camera SD card. If you don't want to preview images, just unplug the usb cable. It will not download images. You can clear the preview images on MK808 in the admin page.

You will need to follow the installation process in Readme. You can start with steps 1-7 if you want to use only the DSLR. Please recompile all .c files if you run it on RPi:
gcc xxx.c -o xxx
All C binaries were compiled for RK3066.

#100 ninja400

ninja400

    Lift Off

  • -----
  • Posts: 5
  • Joined: 17 Oct 2013

Posted 17 October 2013 - 10:29 PM

Hello anat,
I am very impressed with your project.
I definitely would like to try iAstrohub but in my country, QHY5 and 6 are not available anymore. I understood I need new version of lin guider for QHY5-II. Do you have plan to release new version including new version of lin guider?
Thanks.


CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.


Recent Topics






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics