Return to the Cloudy Nights Telescope Reviews home page


Speciality Forums >> Astronomy Software & Computers

Pages: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | >> (show all)
anat
professor emeritus


Reged: 06/03/04

PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO
      #5369851 - 08/15/12 10:31 AM Attachment (234 downloads)

Hello All,

Raspberry Pi is a small low cost platform for my new project - PiAstroHub.

I installed Open-PHD-guiding on the Pi with an assistance from a friend:
http://stargazerslounge.com/topic/158463-open-phd-indi-server-qhy5-on-a-raspberry-pi/

Now I can run PHD guiding on the device from iPad or Android via a X windows program (iSSH for iPad). I am now writing a web application to control a DSLR camera and to view photos taken by the camera via a web browser on the device. And yes, Goto can be commanded from SkySafari

I will keep you updated

Anat

Edited by anat (08/15/12 10:56 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
gonzothegreat
journeyman


Reged: 11/20/11

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5370175 - 08/15/12 01:49 PM

Greetings,

I'm the 'friend'
I'm also behind the following joined project with somebody else: http://code.google.com/p/eq-polar-alignment/

Still have to order my QHy5....


Post Extras: Print Post   Remind Me!   Notify Moderator  
psonice
Pooh-Bah


Reged: 07/24/09

Loc: Warrington, UK
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: gonzothegreat]
      #5370464 - 08/15/12 05:40 PM

Wonderful stuff. First we had the rush of people planning to buy a Pi to use as a regular computer with little IT knowledge, and I was a bit concerned about how it would work out, but now I'm starting to see lots of really cool projects like this

Is it fast enough to handle the guiding software? I know the CPU in it is particularly weak (attempts to run linux with a GUI without GPU acceleration have been very painful!), but it's enough to handle a lot of stuff. And the GPU looks reasonably good, and could definitely take a lot of the load in a guiding app.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: psonice]
      #5370677 - 08/15/12 08:46 PM

I am using a low-quality Class4 SD card to run Raspbian and it takes about 8 sec for a 2sec shot to complete a cycle. I will use a good Class 10 card and expect 2x-2.5x improvement. If I want more improvement, I may switch off image display during guiding in the source code because a graph can show guiding errors.

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5371258 - 08/16/12 09:08 AM

Now, I use a Sandisk 16GB Class 10 Extreme (45MB/s) SD card. I tested cycling shots with an exposure time of 1 sec. The time interval between shots (exposure+download+image display time) is about 3 sec. And for an exposure time of 2 sec, the time interval is about 4 sec.

ADDED NOTE (Aug 19): I could not reproduce the speed achieved above. I need to check!



Edited by anat (08/19/12 12:08 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
gonzothegreat
journeyman


Reged: 11/20/11

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5371285 - 08/16/12 09:26 AM

Anat, ignore my email about the SD card, just noticed that you've posted the answer here.

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: gonzothegreat]
      #5371321 - 08/16/12 09:55 AM

This is the step to install the QHY5 driver and Open-PHD-guiding after making a Raspbian “wheezy” SD card
http://www.raspberrypi.org/downloads

Note:
1. Set Locale to "en_US UTF8" otherwise there will be an error message when open PHDguiding.
2. The working directory is /home/pi/

----------------------------------
sudo apt-get update
sudo apt-get upgrade

# install dependencies
sudo apt-get install subversion
sudo apt-get install cmake
sudo apt-get install libusb-dev
sudo apt-get install cfitsio-dev
sudo apt-get install libnova-dev
sudo apt-get install fxload
sudo apt-get install libwxgtk2.8-dev
sudo apt-get install libv4l-dev

# Install INDI and QHY5 driver
svn co https://indi.svn.sourceforge.net/svnroot/indi/trunk indi
cd indi/libindi
cmake .
make
sudo make install
cd ..
cd 3rdparty/indi-qhy/
cmake .
make
sudo make install
sudo cp /usr/local/lib/libindi* /usr/lib/

# To check if the QHY5 is recognized, type the following command and then plug and unplug QHY5. QHY5 should be listed.

tail -f /var/log/syslog

# Run this command to start the indi server on Raspberry Pi

indiserver indi_qhy_ccd


# install Open-Phd-guiding

cd
svn checkout http://open-phd-guiding.googlecode.com/svn/trunk/ open-phd-guiding-read-only
cd open-phd-guiding-read-only/
cmake .
make
sudo make install

# Open an X terminal and type "PHD" in a command line. PHD will open in an X windows.

--------------------------------------------

Edited by anat (08/17/12 04:00 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
gonzothegreat
journeyman


Reged: 11/20/11

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5371802 - 08/16/12 03:57 PM

Excellent howto

Post Extras: Print Post   Remind Me!   Notify Moderator  
lambermo
professor emeritus


Reged: 07/16/07

Loc: .nl
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: gonzothegreat]
      #5384318 - 08/24/12 10:54 AM

Very cool project. Keep this going !

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: lambermo]
      #5387621 - 08/26/12 09:45 AM Attachment (160 downloads)

I found that INDI drivers and OpenPHD were quite slow and inconsistent. So, I compiled Lin_guider on Raspberry Pi.
http://sourceforge.net/projects/linguider/

Lin_guider is so much faster than OpenPHD+INDI. Images are downloaded almost immediately after capturing The steps to compile Lin_guider are as follows:

---------------------------------------------------------
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libqt4-dev
sudo apt-get install libftdi-dev
sudo apt-get install fxload

>>>> copy lin_guider-26.0_static.tar.bz2 to /home/pi
tar -xvf lin_guider-26.0_static.tar.bz2

cd lin_guider

>>>> copy lin_guider-27.0_sfx.tar.bz2 to /home/pi/lin_guider
tar -xvf lin_guider-27.0_sfx.tar.bz2

sudo ./lin_guider.bin

>>> To install QHY5 firmware
pi@raspberrypi ~/lin_guider/udev/qhy5 $ sudo sh qhy5_lg_install.sh

>>>> To run program
cd /home/pi/lin_guider/lin_guider_pack/lin_guider
./lin_guider
---------------------------------------------------------

I also attach a photo showing how the program looks like on X-server (iSSH) on iPad.

The next step is to make an interface for image capturing and display for DSLR



Edited by anat (08/26/12 08:24 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5388690 - 08/26/12 08:38 PM

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.

Edited by anat (08/27/12 08:42 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5389464 - 08/27/12 10:07 AM

I just added the plate-solving feature using the engine from astrometry.net which was capable to perform blind solving. After getting an image, I use plate-solving to find the exact pointing position and send the RA-DEC values to align a mount. The crosshair in Skysafari is automatically synced to the new position So, Goto can be done from SkySafari with high pointing accuracy.

The steps to compile the Astrometry engine are as follows:

------------------------------------------------

sudo apt-get install libcairo2-dev libnetpbm10-dev netpbm libpng12-dev libjpeg-dev python-numpy zlib1g-dev
wget http://astrometry.net/downloads/astrometry.net-0.38.tar.bz2
tar xjf astrometry.net-0.38.tar.bz2
cd astrometry.net-0.38
make
sudo make install
------------------------------------------------------

Edited by anat (08/27/12 08:45 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
tjay
Carpal Tunnel
*****

Reged: 02/03/07

Loc: just outside of Toronto
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5390699 - 08/28/12 12:09 AM

This thread makes it very tempting to order a Raspberry Pi....

Nice work!


Post Extras: Print Post   Remind Me!   Notify Moderator  
gonzothegreat
journeyman


Reged: 11/20/11

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tjay]
      #5390848 - 08/28/12 04:29 AM

Just a reminder that if you want to use the astrometry tool, you do need to download the INDICES. Do contact the guys from astrometry for them.

Post Extras: Print Post   Remind Me!   Notify Moderator  
gavinm
Carpal Tunnel


Reged: 08/26/05

Loc: Auckland New Zealand
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: gonzothegreat]
      #5392113 - 08/28/12 07:29 PM

You've seen this?

http://www.dpreview.com/news/2012/08/16/Ingenious-photographer-builds-mini-computer-into-battery-grip


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: gavinm]
      #5392492 - 08/29/12 12:16 AM

Hi Gavin,

Yes. We use the same gphoto2 library to control a DSLR. I am making a web application to wrap up all features and will post an update soon.

Edited by anat (08/29/12 12:50 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
PetPirate
member


Reged: 02/23/09

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5400291 - 09/02/12 10:19 PM

This is awesome, thanks so much for doing the legwork.

I've finally got my Pi up and running in wifi master (AP) mode and have ser2net configured. I can't believe it was that easy -- to think I nearly bought a SkyFi for more than twice the price of the Pi!

This will be great for me as I'm usually stuck up on my apartment roof with a netbook. I'm slap bang in the middle of Shanghai and due to poor visibility and blocked view in various directions, I can't always align properly, and used to rely on "syncing" a lot using KStars / INDI, which was painfully slow and cumbersome on a netbook.

I've also been using gphoto2 for a while to control my DSLR, so I'll be doing that too.

I'm interested in the astrometry.net solver too, I wonder how that will work in my orange skies.

For autoguiding, I've added a piggyback mount to my ETX-125 and have a modified webcam, but have never been able to get a decent polar alignment, and the ETX mount isn't great anyway. With all the functionality sitting on the Pi however, it's one less item of faffing around to get set up, so I'm much more likely to try it now and succeed I think.

I wonder how a focuser would integrate into this setup -- I remember LibINDI allowed for controlling focusers. An ideal setup would be taking a few photos with gphoto2, and doing rinse-repeat trial & error autofocusing.

I plan to integrate my Pi in a project box with 12V / 5V PSU so I basically have everything contained in one box with one power plug. The dream setup would be an automated setup as the Autostar is so slow and archaic -- auto align, auto focus, Goto provided by Skysafari.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: PetPirate]
      #5401774 - 09/03/12 08:17 PM

PetPirate,

Glad that you enjoy the Pi

INDI supports some focusers: Robofocus, Meade, and JMI. "Semi-auto" focusing is possible. The focuser movement and camera exposure are done in a series. Then the star images are compared by a user. The focuser is commanded to move to the position of the sharpest star image.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
MikeCMP
super member
*****

Reged: 07/12/11

Loc: Chardon OH
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5403777 - 09/04/12 08:05 PM

I'm impressed, that is pretty cool! Jus the fact it replaces the skyfi is pretty cool by itself.

Is that a starshoot autoguider you have hooked up?

Mike


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: MikeCMP]
      #5404313 - 09/05/12 04:00 AM

Mike,

Yes. I use the Orion Starshoot Autoguider (aka QHY5) for the development.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
MikeCMP
super member
*****

Reged: 07/12/11

Loc: Chardon OH
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5404666 - 09/05/12 10:55 AM

Interesting, I had looked at thee when they came out, but of course they were sold out, now that availability is improving I might have to pick one up.

Are you using a wireless wi-fi adapter to do ad-hoc networking so you can simulate a sky-fi, or is your system hooked up to a hub/router?

Quote:

Mike,

Yes. I use the Orion Starshoot Autoguider (aka QHY5) for the development.

Anat




Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: MikeCMP]
      #5404705 - 09/05/12 11:28 AM

I tried a wifi dongle (Asus N10) and found that it was pretty slow for an adhoc network. I use an Edimax Nano router instead.

http://www.edimax.com/en/produce_detail.php?pd_id=372&pl1_id=24&pl2_id=89


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5422700 - 09/15/12 06:00 PM Attachment (243 downloads)

This is the interface of PiAstroHub. A user can control Linguider and DSLR from a webbrower in a mobile device.

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5422708 - 09/15/12 06:06 PM Attachment (210 downloads)

There is a feature to find a guide star automatically in the new version of Linguider. The feature is incorporated in PiAstroHub. A user can also manually select a guide star by clicking "Tool" in "Guide Star Selection". That will open another window to manually select a guide star.

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5434426 - 09/22/12 01:07 PM

in Action

http://www.youtube.com/embed/ipiDTGgRVd0


Post Extras: Print Post   Remind Me!   Notify Moderator  
gonzothegreat
journeyman


Reged: 11/20/11

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5500466 - 11/02/12 07: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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Telstar69
newbie


Reged: 11/02/12

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5503737 - 11/04/12 11:02 AM

Quote:

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 !!!

Clear Skies!

Tel


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: Telstar69]
      #5504578 - 11/04/12 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


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5534388 - 11/22/12 08:05 PM Attachment (147 downloads)

I finally got Pi to work with both QHY5 and QHY8L

Post Extras: Print Post   Remind Me!   Notify Moderator  
vmsguy
sage


Reged: 01/09/07

Loc: West Virginia
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5553543 - 12/04/12 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


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: vmsguy]
      #5558320 - 12/06/12 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


Post Extras: Print Post   Remind Me!   Notify Moderator  
Watchgear
newbie


Reged: 12/12/12

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5568721 - 12/13/12 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


Post Extras: Print Post   Remind Me!   Notify Moderator  
Watchgear
newbie


Reged: 12/12/12

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: Watchgear]
      #5570879 - 12/14/12 01:42 PM

Got it...

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

Best regards
Klaus


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: Watchgear]
      #5572025 - 12/15/12 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.net/projects/cccd/files/firmware/

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

use lsusb to see if the camera is recognized.


Post Extras: Print Post   Remind Me!   Notify Moderator  
giorgio_ne
member


Reged: 04/22/10

Loc: London, England
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5578601 - 12/19/12 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...


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: giorgio_ne]
      #5600381 - 01/01/13 09:43 PM

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

Post Extras: Print Post   Remind Me!   Notify Moderator  
netwolf
super member
*****

Reged: 09/03/05

Loc: NSW, Australia
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5640171 - 01/24/13 08:20 AM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: netwolf]
      #5641382 - 01/24/13 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


Post Extras: Print Post   Remind Me!   Notify Moderator  
GonZoo
newbie


Reged: 01/15/13

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5701142 - 02/26/13 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...

Edited by GonZoo (02/26/13 08:26 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: GonZoo]
      #5702556 - 02/26/13 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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
bm_too
member


Reged: 05/08/09

Loc: Ontario,Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5745332 - 03/20/13 03:00 PM

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

Cheers,
Barry


Post Extras: Print Post   Remind Me!   Notify Moderator  
patdut63fromFr
member


Reged: 07/31/07

Loc: France
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: bm_too]
      #5754085 - 03/24/13 02: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


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: patdut63fromFr]
      #5774703 - 04/03/13 04: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.net/GoQat/index.html
I successfully compiled GoQat on Raspberry Pi some time ago.

Best regards,
Anat


Edited by anat (04/03/13 04:41 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5778245 - 04/04/13 06: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


Post Extras: Print Post   Remind Me!   Notify Moderator  
patdut63fromFr
member


Reged: 07/31/07

Loc: France
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #5779612 - 04/05/13 01: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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
patdut63fromFr
member


Reged: 07/31/07

Loc: France
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: patdut63fromFr]
      #5779616 - 04/05/13 01:08 PM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #5781266 - 04/06/13 08:27 AM

Ouch, that MK808 has so many cousins:

http://dl.miniand.com/tecknight/RK3066Devices.html

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

Clear Skies!

ccs_hello


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #5781790 - 04/06/13 12:38 PM

808's little brother info MK802

http://en.wikipedia.org/wiki/Android_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


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #5787294 - 04/09/13 02:34 AM

Quote:

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #5787297 - 04/09/13 02:37 AM

Quote:

808's little brother info MK802

http://en.wikipedia.org/wiki/Android_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.geekbuying.com/item/MK808-Dual-Core-Android-4-1-Jelly-Bean-TV-BOX-...

It is the right one.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: patdut63fromFr]
      #5787299 - 04/09/13 02:42 AM

Quote:

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.




Congrats for the Skyfi setup !
Both Raspberry Pi and MK808 works with a powered usb hub. In my setup I use:
QHY6 for autoguiding
QHY8L or DSLR for image capturing
USB-serial adapter for mount control
USB sound adapter
connected to a hub without any problem.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: patdut63fromFr]
      #5787302 - 04/09/13 02:45 AM

Quote:

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




These are steps to compile GoQat:
sudo apt-get install gawk
sudo apt-get install libgtk2.0-dev
sudo apt-get install libgoocanvas-dev
sudo apt-get install libxpa-dev
sudo apt-get install saods9
sudo apt-get install grace
sudo apt-get install libunicap2-dev
sudo apt-get install autoconf

>>> Install GoQat
tar -xvf goqat-0.9.8.tar.gz
cd goqat-0.9.8
./configure
make
sudo make install


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5789596 - 04/10/13 04:16 AM

I am ready to release the source codes. Thank all testers and developers for your support.

https://sourceforge.net/projects/iastrohub/

Now a tablet can control the autoguider, CCD, DSLR, and mount via a tiny hub I recommend MK808 (original with RK901 Wifi chip).

Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
pfile
Post Laureate


Reged: 06/14/09

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5875002 - 05/20/13 11:56 PM

so have you tried openPHD again? it seems like they have made a lot of progress recently.

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pfile]
      #5875159 - 05/21/13 05:14 AM

I have never tried openPHD after using Linguider. Linguider is super fast on Arm devices.

Post Extras: Print Post   Remind Me!   Notify Moderator  
pfile
Post Laureate


Reged: 06/14/09

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5876876 - 05/21/13 08:29 PM

i'll check it out. just browsing thru the files you've uploaded, it seems like mount control is done thru CdC with the INDI interface, is that correct?

Post Extras: Print Post   Remind Me!   Notify Moderator  
Raginar
Postmaster
*****

Reged: 10/19/10

Loc: Rapid CIty, SD
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pfile]
      #5881903 - 05/24/13 10:07 AM

Can it control an SBIG camera?

Post Extras: Print Post   Remind Me!   Notify Moderator  
pfile
Post Laureate


Reged: 06/14/09

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: Raginar]
      #5882328 - 05/24/13 01:28 PM

i have been looking into this - i don't think so. however, hacking in sbig http support might be "easy", but that only works on STT and STX cameras.

i think the main problem is that INDI is way behind ascom. maybe these little single-board computers will change that though.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Raginar
Postmaster
*****

Reged: 10/19/10

Loc: Rapid CIty, SD
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pfile]
      #5883760 - 05/25/13 10:48 AM

Darn. I'm sure hacking in an HTTP server wouldn't be too bad. I just find SBIG's lack of an ASCOM driver to be a real PITA.

Post Extras: Print Post   Remind Me!   Notify Moderator  
pfile
Post Laureate


Reged: 06/14/09

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: Raginar]
      #5884503 - 05/25/13 06:36 PM

well, it's easier because it's an http client. it could probably be done with a perl script, actually.

and libcurl is really good for getting http support into a program... like phd.

what does an ascom driver buy you for a camera? meaning, are there camera control packages out there that only interface with ascom-compatible cameras?


Post Extras: Print Post   Remind Me!   Notify Moderator  
pfile
Post Laureate


Reged: 06/14/09

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pfile]
      #5884506 - 05/25/13 06:36 PM

p.s. what i am hoping is that these cheap, single-board computers will spark new interest in INDI...

Post Extras: Print Post   Remind Me!   Notify Moderator  
Raginar
Postmaster
*****

Reged: 10/19/10

Loc: Rapid CIty, SD
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pfile]
      #5885379 - 05/26/13 10:58 AM

It buys me access to the self-guider . And hopefully would provide me a way around using $500+ software to guide and image.

I wish I could use the Http server with my St-10.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pfile]
      #5886473 - 05/27/13 01:38 AM

Quote:

i'll check it out. just browsing thru the files you've uploaded, it seems like mount control is done thru CdC with the INDI interface, is that correct?




Yes. A mount is controlled via INDI/CdC in the background.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: Raginar]
      #5886475 - 05/27/13 01:40 AM

Quote:

Can it control an SBIG camera?




No because SBIG doesn't release libraries for Arm Linux. QSI can be controlled using QSI open library and GoQat.


Post Extras: Print Post   Remind Me!   Notify Moderator  
smartc
journeyman


Reged: 08/08/10

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5911280 - 06/09/13 01:01 PM

Can anyone confirm Orion SSAG is working with lin_guider? I am trying to implement on my RPi, but can't seem to get lin_guider to recognize the SSAG.

It appears to be recognized in lsusb:

Code:
Bus 001 Device 005: ID 1856:0011



However, I get the following error messages when starting lin_guider:
Code:

[1370797037:231] ERROR: Unable to find config file '/home/pi/.config/GM_software/devconf3.conf'
using defaults
[1370797037:239] lusb::initialize(): Success
[1370797037:249] ERROR: qhy5_core_shared::open_device(): Could not open the QHY5 device
[1370797037:252] ERROR: Error opening device: qhy5: code=1



Just noticed the "config" file error now, so will do some more research, but what settings are you using in lin_guider to get the SSAG working?

Cheers,
Corey


Post Extras: Print Post   Remind Me!   Notify Moderator  
groz
Carpal Tunnel
*****

Reged: 03/14/07

Loc: Campbell River, BC
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: smartc]
      #5911515 - 06/09/13 03:16 PM

ssag and qhy5 have different vid/pid. I dont have notes handy offhand, but, you probably just need to make it search for a different vid/pid.

Post Extras: Print Post   Remind Me!   Notify Moderator  
smartc
journeyman


Reged: 08/08/10

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: groz]
      #5911518 - 06/09/13 03:19 PM

Thanks... That had occurred to me as well, but I'm not sure how to do that... Any ideas where to start?

Post Extras: Print Post   Remind Me!   Notify Moderator  
smartc
journeyman


Reged: 08/08/10

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: smartc]
      #5912207 - 06/09/13 10:38 PM

No dice in getting the SSAG working under Linux. I found one thread on another forum suggesting that you could reflash the EEPROM to make it mimic a QHY5, but that requires (1) Win XP and (2) willingness to mess with the hardware, neither of which are in the cards for me.

Am giving up on this for tonight and will be guiding with PHD on my MacBook for now... Will post an update if I can get it working. Still open to any advice from others who might have got this to work.

Cheers,
Corey


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: smartc]
      #5912450 - 06/10/13 05:18 AM

The SSAG works out of the box for me. Please download firmware from

https://sourceforge.net/projects/cccd/files/firmware/

Then,

sudo dpkg -i firmware-ccd_1.0_all.deb


Post Extras: Print Post   Remind Me!   Notify Moderator  
smartc
journeyman


Reged: 08/08/10

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5913964 - 06/10/13 08:37 PM

Should have let you know that I tried that on the weekend with no luck.

All that being said, I fired things up tonight and everything worked on the first attempt. Although I tried every iteration I could think of earlier (or at least I think I did), it is more or less working tonight. I say more or less because I'm getting the occasional read error message and the Pi seems to lock up after a few minutes. Not sure if the two are connected...

For what it's worth, I made a point of:

(1) Ensuring all peripherals were connected to a powered USB hub, and
(2) Ensuring the SSAG was plugged in before I booted the Pi.

The USB cable has always been a bit loose fitting on my SSAG and I also made triple-sure I had a good connection. (I normally tape the cable in place to prevent it coming loose when it's on the telescope.)

Beyond those things, I can't say I have any sage advice... Just glad it's working so I can move on to the next trouble-shooting activity!

Cheers and thanks to all for the help,
Corey


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: smartc]
      #5914453 - 06/11/13 02:09 AM

Please make use that your powered usb hub is one of those in the working list.
http://elinux.org/RPi_VerifiedPeripherals


Post Extras: Print Post   Remind Me!   Notify Moderator  
Kris Large
newbie


Reged: 10/27/12

Loc: Hermiston, OR, USA
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: smartc]
      #5948704 - 06/30/13 09:17 PM

Quote:

Can anyone confirm Orion SSAG is working with lin_guider? I am trying to implement on my RPi, but can't seem to get lin_guider to recognize the SSAG.

It appears to be recognized in lsusb:

Code:
Bus 001 Device 005: ID 1856:0011



However, I get the following error messages when starting lin_guider:
Code:

[1370797037:231] ERROR: Unable to find config file '/home/pi/.config/GM_software/devconf3.conf'
using defaults
[1370797037:239] lusb::initialize(): Success
[1370797037:249] ERROR: qhy5_core_shared::open_device(): Could not open the QHY5 device
[1370797037:252] ERROR: Error opening device: qhy5: code=1



Just noticed the "config" file error now, so will do some more research, but what settings are you using in lin_guider to get the SSAG working?

Cheers,
Corey




I'm at the same point smartc was as of this post. Using a supported, powered USB hub, installed the ccd firmware package. Any other suggestions?


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: Kris Large]
      #5954050 - 07/03/13 11:38 PM

Please use the command "dmesg" and post here. The camera should be assigned as QHY5 in dmesg logs.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Kris Large
newbie


Reged: 10/27/12

Loc: Hermiston, OR, USA
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #5954962 - 07/04/13 03:58 PM

Thanks for the response. I'm away from my RPi, but the SSAG wasn't recognized as QHY5 in lsusb, just showed up as
"Bus 001 Device 005: ID 1856:0011"

As I played with it, I modified the qhy5 rules from lin_guider 26, changed any vid/pid that said 1618 to 1856 and 0901 to 0011. Then re-ran qhy5_lg_install.sh. After that the device shows up as QHY VOTI in dmesg, QHY5 in /dev and appears to be working nicely. However, I suspect this isn't the best approach.

If you had a clean install of raspbian and installed "firmware-ccd_1.0_all.deb", your SSAG would be detected properly?


Post Extras: Print Post   Remind Me!   Notify Moderator  
groz
Carpal Tunnel
*****

Reged: 03/14/07

Loc: Campbell River, BC
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: Kris Large]
      #5955786 - 07/05/13 10:00 AM

Your approach is ok. The qhy5 and ssag are indeed the same hardware, but, programmed with different vid/pid numbers. If you want your system to correctly recognize either variant, then adding more rules for the alternate id's would be the approach you need.

Post Extras: Print Post   Remind Me!   Notify Moderator  
radarboy
newbie


Reged: 01/30/11

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: groz]
      #6028346 - 08/16/13 12:27 AM

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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: radarboy]
      #6060701 - 09/03/13 09:36 AM

Quote:

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
benula
super member
*****

Reged: 04/27/11

Loc: Stillwater, MN
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6085029 - 09/16/13 11:27 PM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
BrokenGeiger
member


Reged: 07/03/06

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pfile]
      #6102215 - 09/26/13 11: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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: BrokenGeiger]
      #6103415 - 09/27/13 01: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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
BrokenGeiger
member


Reged: 07/03/06

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6106450 - 09/28/13 06: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.com/2013/05/15/pi-camera-on-sale/


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: BrokenGeiger]
      #6107975 - 09/29/13 06:15 PM

Discussions on that $25 camera module:
http://www.cloudynights.com/ubbthreads/showflat.php/Cat/0/Number/5668461

Clear Skies!

ccs_hello


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: BrokenGeiger]
      #6108955 - 09/30/13 09: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.geekbuying.com/item/MK808-Dual-Core-Android-4-1-Jelly-Bean-TV-BOX-...

Edited by anat (09/30/13 09:50 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
BrokenGeiger
member


Reged: 07/03/06

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6109814 - 09/30/13 06: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.co.uk/SimpleGpUsb/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?

Edited by BrokenGeiger (09/30/13 07:12 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: BrokenGeiger]
      #6110325 - 09/30/13 11: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://microcontrollershop.com/product_info.php?products_id=4173

Clear Skies!

ccs_hello


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #6110372 - 09/30/13 11: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


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #6110981 - 10/01/13 11: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.

Edited by anat (10/02/13 06:22 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6112601 - 10/02/13 08: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


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #6114241 - 10/02/13 10: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.com/109451178006683865932/posts/RsSZE4Sd6Ed


Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6114289 - 10/02/13 11: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


Post Extras: Print Post   Remind Me!   Notify Moderator  
patdut63fromFr
member


Reged: 07/31/07

Loc: France
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #6138630 - 10/15/13 09: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


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: patdut63fromFr]
      #6139854 - 10/15/13 09:30 PM Attachment (29 downloads)

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/ccdbbs/index.php?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


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6139859 - 10/15/13 09:37 PM Attachment (50 downloads)

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
patdut63fromFr
member


Reged: 07/31/07

Loc: France
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6140109 - 10/16/13 12:09 AM

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 ?


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: patdut63fromFr]
      #6140136 - 10/16/13 12:38 AM

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.

Edited by anat (10/16/13 01:29 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
patdut63fromFr
member


Reged: 07/31/07

Loc: France
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6140152 - 10/16/13 12:48 AM

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

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: patdut63fromFr]
      #6140179 - 10/16/13 01:26 AM

I write a shell script with gphoto commands. Please grab my source codes from
http://sourceforge.net/projects/iastrohub/files/?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

Edited by anat (10/16/13 01:41 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
patdut63fromFr
member


Reged: 07/31/07

Loc: France
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6140227 - 10/16/13 02: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 ?


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: patdut63fromFr]
      #6140231 - 10/16/13 02: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.

Edited by anat (10/16/13 02:50 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
ninja400
journeyman


Reged: 10/17/13

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6143972 - 10/17/13 11: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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ninja400]
      #6144080 - 10/18/13 12:59 AM

Quote:

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.




Yes. When Linguider 2.9 is released (should be pretty soon), I will add the support for QHY5-ii. I have one on the way too


Post Extras: Print Post   Remind Me!   Notify Moderator  
ninja400
journeyman


Reged: 10/17/13

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6146253 - 10/19/13 09:09 AM

Thank you, anat.
I am looking forward to the release.


Post Extras: Print Post   Remind Me!   Notify Moderator  
chboss
professor emeritus


Reged: 03/24/08

Loc: Zurich Switzerland
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ninja400]
      #6148146 - 10/20/13 10:20 AM

Hello Anat

Thank you for the great project and complete documentation.
I plan on building a "SkyFi" Box to remote control the mount from my mobile phone. That should be simple using an RPi with WiFi dongle.

Autoguiding and AP is not planned at the moment... however your setup including plate solving is impressive!

best regards
Chris


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6149251 - 10/21/13 02:39 AM

Quote:

Quote:

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.




Yes. When Linguider 2.9 is released (should be pretty soon), I will add the support for QHY5-ii. I have one on the way too



Linguider 2.9 was just released !!!
https://sourceforge.net/projects/linguider/


Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6149729 - 10/21/13 11:55 AM

Anat,

Would you be able to place a series of links to the pieces of hardware that are required for this project? I would like to purchase your exact setup to reduce any hardware incompatibility issues etc. It would be awesome if you had a device image with it all configured too - but that might be a bit more difficult I suppose. I am just adding an autoguider to my setup and I haven't purchased anything yet - so I am open to suggestions

thanks,


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6150606 - 10/21/13 09:09 PM

Clark,

Yes. I will post links to components for this project. I will upload the image file soon after making the new package which includes some updates and fixes. Then users will not need to compile anything and they can use VNC to have full access of Linguider to make the initial configuration (camera type, frame size).

A quick update. There is no need to use a serial shutter cable anymore. We can control a Canon DSLR from a single usb cable I compile latest Gphoto which solves the usb timeout and reset issues. So there are three cables to the usb hub: 1) DSLR camera, 2) autoguider, 3) mount. I integrate the plate-solving result to Skysafari to show the scope center and camera orientation in Skysafari

Best regards,
Anat

Edited by anat (10/22/13 04:24 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
tjay
Carpal Tunnel
*****

Reged: 02/03/07

Loc: just outside of Toronto
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6152744 - 10/22/13 11:53 PM

Anat, Great work on all of this.

Does your (or anybody else) know if there is any work in progress to support a Meade DSI as a guiding camera for Linguider? This setup would be perfect for me if these camera were supported..


Post Extras: Print Post   Remind Me!   Notify Moderator  
visaman
member


Reged: 09/10/13

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tjay]
      #6158661 - 10/26/13 05:35 AM

Maybe these threads should be merged ?
http://www.cloudynights.com/ubbthreads/showflat.php/Cat/0/Number/6158261/page...
+
http://www.cloudynights.com/ubbthreads/showflat.php/Cat/0/Number/5969013/page...


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: visaman]
      #6161645 - 10/27/13 11:00 PM

A quick update. QHY5Lii works well at 640x480 resolution in Linguider. Many thanks to Andrew (Linguider) and LZR from QHYCCD. I kept QHY5Lii and MK808 guiding for more than 30 hours! CPU load is only 5% and memory usage is about 2%. Linguider is very well optimized!

Edited by anat (10/27/13 11:07 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tjay]
      #6161659 - 10/27/13 11:13 PM

Quote:

Anat, Great work on all of this.

Does your (or anybody else) know if there is any work in progress to support a Meade DSI as a guiding camera for Linguider? This setup would be perfect for me if these camera were supported..




Tom,

Linguider supports DSI2Pro. The newest version supports GPUSB to sending guiding signals.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: visaman]
      #6161661 - 10/27/13 11:14 PM

Quote:

Maybe these threads should be merged ?
http://www.cloudynights.com/ubbthreads/showflat.php/Cat/0/Number/6158261/page...
+
http://www.cloudynights.com/ubbthreads/showflat.php/Cat/0/Number/5969013/page...




Thanks for the interesting links.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6163532 - 10/28/13 10:38 PM

Now, the plate-solving result can be shown directly on SkySafari!!! Please enjoy.
http://youtu.be/2kYv98nKM8w
Then you can use Skysafari to re-align the mount and control Goto.

Edited by anat (10/29/13 04:58 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
tjay
Carpal Tunnel
*****

Reged: 02/03/07

Loc: just outside of Toronto
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6165470 - 10/29/13 10:08 PM

Quote:

Quote:

Anat, Great work on all of this.

Does your (or anybody else) know if there is any work in progress to support a Meade DSI as a guiding camera for Linguider? This setup would be perfect for me if these camera were supported..




Tom,

Linguider supports DSI2Pro. The newest version supports GPUSB to sending guiding signals.

Anat




I wonder if this will work with an original DSI or DSI II color. I've got both, but no DSI2Pro


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tjay]
      #6165478 - 10/29/13 10:12 PM

I don't think so.

Post Extras: Print Post   Remind Me!   Notify Moderator  
ccs_hello
Postmaster
*****

Reged: 07/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6165893 - 10/30/13 08:30 AM

Tom,

linguider only supports qhy5, qhy5ii, qhy6, dsi2pro, pwc (some Philips webcams), and uvc-class imagers.

BTW, Meade DSI imager family's support in the Linux world has been sketchy.

Clear Skies!

ccs_hello


Post Extras: Print Post   Remind Me!   Notify Moderator  
groz
Carpal Tunnel
*****

Reged: 03/14/07

Loc: Campbell River, BC
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ccs_hello]
      #6168539 - 10/31/13 01:38 PM

Quote:


BTW, Meade DSI imager family's support in the Linux world has been sketchy.





A very long time ago, I sent notes off to meade, asking for spec so I could write linux drivers for my dsi-pro. The response was essentially 'go pound sand'. I never persued it any farther, they days of reverse engineering to try create linux support at long gone, I wont go down that route anymore. When I asked for spec on cameras from Starlight Xpress, documents showed up in my email within an hour, and I've never looked back.


Post Extras: Print Post   Remind Me!   Notify Moderator  
tjay
Carpal Tunnel
*****

Reged: 02/03/07

Loc: just outside of Toronto
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: groz]
      #6173783 - 11/03/13 01:48 PM

I was getting excited about the possibility of using a small board computer to control my DSI as an autoguider and my Canon 450D...

Does anybody know if openphd on linux supports a original Meade DSI or Meade DSI II?

I'm trying to build openphd right now, but it's been a while since I've done any development, so I thought I'd ask.



Edited by tjay (11/03/13 01:58 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tjay]
      #6174784 - 11/04/13 02:00 AM Attachment (33 downloads)

Keep us posted.

iAstroHub passed the field test last weekend. I could control QHY6 for autoguiding, Canon 40D for capturing and previewing images, and my ZEQ25 for re-alignment from plate-solving and goto via Skysafari. Everything was done from my iPad. I really like armchair astrophotography

The first list image is below:


Post Extras: Print Post   Remind Me!   Notify Moderator  
tjay
Carpal Tunnel
*****

Reged: 02/03/07

Loc: just outside of Toronto
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6175081 - 11/04/13 09:39 AM

Nice shot!

Unfortunately, it looks like openphd does not support the Meade cameras. I may get some time to do some work on the Linux DSI stuff that is floating around out there on the net, but it won't be for a few weeks at least.


Post Extras: Print Post   Remind Me!   Notify Moderator  
tjay
Carpal Tunnel
*****

Reged: 02/03/07

Loc: just outside of Toronto
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tjay]
      #6175394 - 11/04/13 12:50 PM

Quote:

Nice shot!

Unfortunately, it looks like openphd does not support the Meade cameras, at least not on Linux. I may get some time to do some work on the Linux DSI stuff that is floating around out there on the net, but it won't be for a few weeks at least.




Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tjay]
      #6176035 - 11/04/13 06:39 PM

Tom,

Even you can get DSI to work, you will need the GPUSB support on OpenPHD. I don't think GPUSB works in OpenPHD.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6176798 - 11/05/13 05:09 AM

Hi Anat.

First of all thank you for your tremendous work.

I've been using your idea for a while now to use my raspberryPi as a sort of standalone guider. Your solution to get it to platesolve etc as well though has made me decide upgrade to a mk808. With these functions its almost a mix of stand alone guider and the new celestron starsense. It will require a little more manual actions while aligning but I can always manage to press ok and align a few times:p

Do you have any estimate as to when you have time to upload a image of your working sdcard?

And do you think it would be posible to use the new ubuntu 12.10 version instead of picuntu or the pre-alpha v0.3 you mention in your install notes?
Ubuntu 12.10


Best regards
Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6176888 - 11/05/13 07:30 AM

Hi Pan,

iAstroHub package was just tested and found to be very stable. I will post the source codes on the SourceForge site by this weekend together with the image. I will need to remove Skychart and a few components to make the image file small enough. So far, I am happy with Skysafari working with iAstroHub.

iAstroHub uses Ubuntu 12.10 (**EDITED**) and it has been tested for several months.

Best regards,
Anat

Edited by anat (11/05/13 09:41 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6176966 - 11/05/13 08:45 AM

ok super:)

Wasn't thinking you had to change it;) just wondered if it would work. Figured i could give installing it a go tonight as there might be clear skies tomorrow. which ubuntu install do you use? i didnt realise picuntu or the pre-alpha was 12.06.

You could also make a gmail/gdrive account for iastrohub and upload the image to a shared folder there if the size limit on sourceforge is to low?

Best regards

Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6176984 - 11/05/13 09:00 AM

Let me correct. It is "Ubuntu 12.10 (GNU/Linux 3.0.8+ armv7l)"

I will try to upload to SF first.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6177015 - 11/05/13 09:25 AM

Amazing work, Anat!
Will your image boot on a RaspberryPi or only on the mk808?

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6178254 - 11/05/13 09:45 PM

Piero,

The image will boot only in MK808 (with RK901 wifi chip). The project started from Raspberry Pi but finally MK808 is the best. Its advantages over Raspberry Pi are:
1) Wifi chip included. The RK901 wifi chip supports the access point mode. So, iOS and Android devices can connect to MK808 directly. You have to make sure that you get the original MK808 (not MK808b or any variant). I can recommend to get one from Geekbuying.
2) Faster (dualcore 1.2GHz vs single core about 800 MHz) and more RAM. I can get the platesolving solution in less than 15 sec (Significantly less than the solving time from AstroTortilla in PC) !
3) Smaller
4) Case included
5) Less warm
6) Cheaper

Best regards,
Anat


Edited by anat (11/05/13 10:16 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
tjay
Carpal Tunnel
*****

Reged: 02/03/07

Loc: just outside of Toronto
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6178364 - 11/05/13 11:00 PM

Quote:

Tom,

Even you can get DSI to work, you will need the GPUSB support on OpenPHD. I don't think GPUSB works in OpenPHD.

Anat




I have had good luck pulse guiding using the regular version of PHD, so I planned on trying that.


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6178577 - 11/06/13 02:32 AM

Thanks for the info Anat, I think I'll go for an mk808 then, to give iAstrohub a try

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6178598 - 11/06/13 02:55 AM

This is the link to MK808
http://www.geekbuying.com/item/MK808-Dual-Core-Android-4-1-Jelly-Bean-TV-BOX-...

It is $39 now.


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6178601 - 11/06/13 03:06 AM

Thanks Anat, my mk808 is on its way now...

Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6180680 - 11/07/13 10:10 AM

Another one is on order. Thanks again Anat.

Quick question. I have an older MK802ii as well which has the Realtek RTL8188CUS wifi in it. I see that the pre-Alpha 0.3 had no internal wifi support at all. Do you happen to know if there would be any chance of me getting that working with this set up?


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6181830 - 11/07/13 08:54 PM

Hi Clark,

I also have an image working with MK802+ with RTL8188CUS (should be the same as your MK802ii). But it supports only Adhoc wifi and infrastructure mode (connecting to another router) and Gphoto2 doesn't work on the device. However, it is good enough for autoguiding and mount wifi control (SkyFi alike). I can also share the image but I think it is more worthwhile to start from MK808.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6181834 - 11/07/13 08:56 PM

For mount control, I found that the PL2303 usb serial converter is very stable on MK808, MK802, and Raspberry Pi. I am using ATEN USB serial adapter available from Ebay. The cheap PL2303HX doesn't work. I will update about this on the SF website this weekend.

The usb serial port should be connected via the OTG port because it is a slow device (USB1.1 / USB2 compatible). Leave the usb host and usb hub for the usb2 hi-speed devices (Guider and CCD/Camera).


Edited by anat (11/07/13 09:02 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6182220 - 11/08/13 03:04 AM

Great! I happen to already have a PL2303 USB-serial converter, so I can't wait to receive my mk808 to start assembling what looks like an extremely interesting project to me.
Congrats on a terrific work, Anat!

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6182232 - 11/08/13 03:22 AM

Thanks for getting on board. Opportunity and risk are ahead

Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6182744 - 11/08/13 11:21 AM

Quote:

Hi Clark,

I also have an image working with MK802+ with RTL8188CUS (should be the same as your MK802ii). But it supports only Adhoc wifi and infrastructure mode (connecting to another router) and Gphoto2 doesn't work on the device. However, it is good enough for autoguiding and mount wifi control (SkyFi alike). I can also share the image but I think it is more worthwhile to start from MK808.

Anat




Well, the device I have is just sitting there doing nothing. I have a friend who could use it for autoguiding. I don't want to take away your time from the other project though - but if it is little trouble I wouldn't mind playing with it while I wait for my MK808 to arrive


Post Extras: Print Post   Remind Me!   Notify Moderator  
groz
Carpal Tunnel
*****

Reged: 03/14/07

Loc: Campbell River, BC
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6183843 - 11/08/13 11:24 PM

I've got an mk802iiis here. Not sure offhand which processor / wifi etc this flavour has, there are so many variants out there, I cant keep them all strait all the time.

Are you compiling your own kernel for these gadgets, or using a pre-build you have downloaded ? I'd like to get a setup in place to compile kernels for mine. I've got both the mk802 and the cubieboard here at present.

For my use, the ultimate goal is an openwrt based linux variant on the gadget(s), which are out at the telescope, connected to our client programs here in the house over a gigabit network run. I've start porting most of the indi stuff into an openwrt package, just have some cleanups left in SX cameras to correctly deal with big/little endian issues.

If I could get to a stable kernel on the mk802iis, with the wifi running, that would be almost ideal for our all-sky setup currently running on an old eeePC 701.


Post Extras: Print Post   Remind Me!   Notify Moderator  
groz
Carpal Tunnel
*****

Reged: 03/14/07

Loc: Campbell River, BC
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6183844 - 11/08/13 11:25 PM

Quote:

Tom,

Even you can get DSI to work, you will need the GPUSB support on OpenPHD. I don't think GPUSB works in OpenPHD.

Anat




GPUSB is supported in the current INDI builds, openphd should be able to work thru that.


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6188535 - 11/11/13 12:38 PM

Noooo
I followed the link which correctly sends you to the item labeled mk808 but my order just arrived and on the box it says it's an mk808B!
As far as I understand this B model is of no big use for iAstrohub, is it?


Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6188850 - 11/11/13 03:20 PM

Quote:

Noooo
I followed the link which correctly sends you to the item labeled mk808 but my order just arrived and on the box it says it's an mk808B!
As far as I understand this B model is of no big use for iAstrohub, is it?




Uh Oh. Does the device itself say MK808B on it or is it just the box? Mine just shipped from Singapore today.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6188899 - 11/11/13 03:51 PM

You may open the device to see if you have the RK901 chip.
http://www.omegamoon.com/blog/static.php?page=mk808_serial_console

Otherwise, they may mistakenly send you the wrong one. You may contact them. The wifi chip in MK808B doesn't work. You will need the ASIX-based usb ethernet to connect to a router.

This also works:
http://www.geekbuying.com/item/US-Plug-Tronsmart-MK808-Google-TV-BOX-Mini-PC-...

Edited by anat (11/11/13 03:58 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6188919 - 11/11/13 04:00 PM

I will post the image in a few days.

Edited by anat (11/14/13 06:08 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6193995 - 11/14/13 05:46 AM

Step-by-step guide to setup and use iAstroHub

1) Download the complete iAstroHub image (3GB) from:
https://drive.google.com/file/d/0B3RSuv91xWggRFZuREx3V0ZfMmc/edit?usp=sharing
and uncompress the file using 7zip.

2) Write the image to a micro SD card (a least 8GB)
For Win: http://sourceforge.net/projects/win32diskimager/

3) Now you need to make the MK808 boot Linux in the micro SD card directly instead of Android. This process is called "Flashing Kernel".
3.1) Download the Linux kernel image from: (Credit to AndrewDB from http://www.slatedroid.com/topic/41654-pre-alpha-03-ubuntu-linux-for-mk802-iii...
https://docs.google.com/file/d/0B-xyWOsjMDJPQS1vTVgwbmNTWXc/edit?pli=1

3.2) Download RKAndroidTools v1.35 and the Finless ROM from:
http://www.freaktab.com/showthread.php?3207-MK808-Finless-1-6-Custom-ROM

3.3) Unzip the Finless ROM and follow the instruction to install the device driver and flash the Finless ROM.
After flashing the new ROM, the MK808 will boot to new Android ROM. This step is to make sure that you understand how to flash the MK808.

3.4) But we don't want Android to boot. Now flash the kernel by selecting the downloaded Linux kernel image in Step 3.1) instead of the default Android kernel image. Then flash the MK808.

3.5) After flashing, you will see the penguins on the screen.

3.6) Unplug the device.

4) Insert the micro SD card and supply the power. The device will boot to Linux. And iAstroHub is available for you.

5) MK808 can be accessed from Wifi. You will see iAstroHub as an access point. The password is "1234512345123"
You can change the name and password by editing the file:
/etc/hostapd/hostapd.conf

6) Open a web browser and go to http://10.0.0.1/. You will see the iAstroHub web interface.
Click "Start Autoguiding App" and play with it for a while before proceeding to the following steps to customize your setup. The simulation mode runs in Linguider. You can see the star images and be a able to select the star and start guiding.



7) Configure Linguider
7.1) Click "Admin" on the main page and Click "Start Autoguiding App" on the Admin page.
7.2) Click "Start VNC Server"
7.3) Use a VNC client program (for example tightvnc client) on your PC to connect to iAstroHub at 10.0.0.1 Port 5900. You will see Linguider interface.
7.4) Setup your autoguider device and guider scope.
Setup > Guider Setup > Device
Setup > Guider Setup > Frame
Setup > Guider Setup > Focal length. (If you prefer the unit of the guiding error as Pixel instead of Arcsec, input the focal length = pixel size (um) x 206.27)
Setup > Drive Setup > Device
Setup > Settings > Check "drift data" (Make sure that it is checked)
Processing > Calibration > Check "two axis" and "auto mode" (Make sure that it is checked)
7.5) Exit Linguider in order to save the configuration file.
7.6) Click "Start Autoguiding App". You will see that Linguider connects to your autoguider.
7.7) The configuration for Linguider is completed. You do not have to do this configuration again.

8) Upload plate solving index files
8.1) Index files are needed to use the plate-solving feature. Download the index files from:
http://data.astrometry.net/4200/
You need only some of them. Read the instruction in
http://astrometry.net/doc/readme.html
From my experience, if the image scale is above 40-50 arcmins, I can get the solution within 30 sec when using the files: 4206 - 4209.

8.2) Upload the index files to iAstroHub using an SFTP client. I recommend the SSH, SFTP and X client program called MobaXterm from http://mobaxterm.mobatek.net/
Use the command: ssh -l root 10.0.0.1

The username is "root"
and the password is "ubuntu"

Upload FITS files to /usr/local/astrometry/data/

8.3) You can speed up the computation by specify "scale-low" in /home/pi/www/AM_start.php
The default scale-low is 1 deg at the moment.


9) Customize the skyset file for SkySafari.
Plate-solving results can be shown on Skysafari. iAstroHub automatically "cooks" your SkySafari setting file (.skyset).
9.1) Save and email the Skysafari setting file to your email. And download it to your PC.
9.2) Rename the skyset file as "setting.skyset"
9.3) Upload the file to /home/pi/www/
9.4) Skysafari can connect to the device at 10.0.0.1 Port 3300 to control the mount.
This video shows how iAstroHub works with Skysafari. I hope you like it:
http://www.youtube.com/watch?v=2kYv98nKM8w


10) You can shutdown iAstroHub from the Admin page.


********************************************

Now, iAstroHub is ready to control astrophotography devices from your tablet.
Next time you boot MK808, just click "Start Autoguiding App" to start using it.

To connect to the mount, I recommend the PL2303 based usb-serial adapter. I use the ATEN UC232A usb serial adapter:
http://www.aten.com/products/productItem.php?model_no=UC232A

iAstroHub can control the shutter and download image from the Canon DSLR since 40D and 450D.

Please see how to use iAstroHub from
http://www.youtube.com/watch?v=Sncd3j8ipBQ
I think you understand how the interface works. The detailed instruction will come soon.

Edited by anat (11/16/13 02:47 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6194003 - 11/14/13 06:07 AM

I have updated the project website:
https://sourceforge.net/projects/iastrohub/
You can grab new source codes from there.

Requirements and supported devices.
1. Autoguider: Orion Starshoot autoguider, Orion StarShoot All-In-One, QHY5, QHY5-II, QHY5L-II, QHY6
2. CCD: QHY8L
3. DSLR: Canon DSLR
4. USB serial adapter (PL2303-based) for controlling a mount via a serial port
5. Power USB hub: I use Belkin Ultra Slim Hub (4 ports)
6. MK808 (original with RK901 wifi, no bluetooth)
7. Class-10 micro SD card with a capacity not less than 8GB.


Edited by anat (11/15/13 08:47 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6194121 - 11/14/13 08:36 AM

Awesome Anat. Hopefully my device will arrive from geekbuying soon. In the meantime I will play with the MK802 device and see how that works for autoguiding purposes. Have you heard what happened with tango13 yet? (if his device is actually the correct one or not) If not then maybe we will have to find another resource for purchasing - or perhaps the people can purchase the google tv box instead. (I wonder if they ran out of the original MK808 at geekbuying and tried to "upgrade" the purchase for free thinking that it was "better" for the customer or if it was just a simple mistake.) It would be nice to know as I'm still awaiting mine.

Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6194196 - 11/14/13 09:28 AM

Hi Clark,

I'm in touch with the aftersale service at geekbuying, it seems like they acknowledged the mistake, I sent them a couple of pictures of the box and I'm waiting for a reply.
So I'm afraid my iAstrohub has to wait a little bit more, I'd be willing to order another one, but I'd like to be sure and avoid another mistake...

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6194199 - 11/14/13 09:29 AM

Oh and by the way, fantastic work Anat!!!!!!!
Thank you, can't wait to assemble it.


Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6194215 - 11/14/13 09:39 AM

Quote:

Hi Clark,

I'm in touch with the aftersale service at geekbuying, it seems like they acknowledged the mistake, I sent them a couple of pictures of the box and I'm waiting for a reply.
So I'm afraid my iAstrohub has to wait a little bit more, I'd be willing to order another one, but I'd like to be sure and avoid another mistake...

Ciao,
Piero




Thanks for the update Piero. I think mine is in Canada now so it should only be a little while until I see if it is the correct device or not. Hopefully things will work out speedily for you and you can have your hub working in short order.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6195033 - 11/14/13 05:18 PM

Good to hear that you get the response from Geekbuying. Tronsmart MK808 would also work.
http://www.geekbuying.com/item/US-Plug-Tronsmart-MK808-Google-TV-BOX-Mini-PC-...

The RK901 wifi chip is clearly stated in the specification. There should be no mistake.

I have just ordered one to make sure


Edited by anat (11/14/13 05:24 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6195992 - 11/15/13 06:23 AM

Hi Clark,

I send you the link to download the image for MK802 via PM.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6199911 - 11/17/13 01:05 PM

Hi Anat

Thanks for the image:)
I seem to have som problems with it though.. If I connect a screen with hdmi it hangs at startup and lightdm won't start and I get no gui. I can use crtl+alt+F1 to get a command line but the bottom of the display is way outside the actual display.

The website does work however and I can start vnc but as I cant se any form of controles/icons/menues in there other than linguider its hard to do anything in there to install the last parts. Pretty hard anyway as its on its own network with no internet access.

Could you please tell me what I'm doing wrong? its kinda strange as it seems to work for you..

Best regards
Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6200479 - 11/17/13 06:35 PM

Pan,

Thank you for the feedback.

> I seem to have some problems with it though.. If I connect a screen with hdmi it hangs at startup and lightdm won't start and I get no gui. I can use crtl+alt+F1 to get a command line but the bottom of the display is way outside the actual display.

1) What do you mean by "it hangs at startup"? Lightdm will not start and you will see only the boot message on the screen. You need to start the desktop manager manually. This will minimize the CPU and memory use. For the screen display, it depends on how monitor deals with the resolution. You may select "Just Scan" or fullscreen on your TV monitor.

I usually connect to the device by ssh. (ssh -l root 10.0.0.1)

> The website does work however and I can start vnc but as I cant se any form of controles/icons/menues in there other than linguider

2) It is good that you connect to the website and VNC. That is right. The vnc will only show Linguider to configure the initial parameters. I use a virtual memory buffer to show Linguider. It is intended for configuring Linguider only.

Now, you can autoguider, control a DSLR, perform plate solving, showing results in Skysafari, and use Skysafari to control your mount. Let me know if they work.

> It's hard to do anything in there to install the last parts. Pretty hard anyway as its on its own network with no internet access.

3) The image is sufficient for all works without Cartes Du Ciel. CDC takes a lot of space to build the package. If you want to customize and add more packages. You will need an ASIX-based usb-ethernet adapter. Connect it to the router and SSH to the device.

Anat

Edited by anat (11/17/13 08:50 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6201022 - 11/18/13 02:12 AM

Quote:

Good to hear that you get the response from Geekbuying. Tronsmart MK808 would also work.
http://www.geekbuying.com/item/US-Plug-Tronsmart-MK808-Google-TV-BOX-Mini-PC-...

The RK901 wifi chip is clearly stated in the specification. There should be no mistake.

I have just ordered one to make sure





Things with geekbuying aftersale service are getting longer than expected.
I think I'll keep the 808b for the kids
I just ordered the tronsmart, let's hope it's the right one.

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6201029 - 11/18/13 02:17 AM

Quote:

Quote:

Good to hear that you get the response from Geekbuying. Tronsmart MK808 would also work.
http://www.geekbuying.com/item/US-Plug-Tronsmart-MK808-Google-TV-BOX-Mini-PC-...

The RK901 wifi chip is clearly stated in the specification. There should be no mistake.

I have just ordered one to make sure





Things with geekbuying aftersale service are getting longer than expected.
I think I'll keep the 808b for the kids
I just ordered the tronsmart, let's hope it's the right one.

Ciao,
Piero




Mine was just shipped. Wish me luck!

You can install the package in MK808b. But you need a usb-ethernet adapter (ASIX-based in the best) to connect.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6201054 - 11/18/13 03:46 AM

Hi Anat

aha well that certainly explains a bit;) from the pre-alpha instructions I was expecting to get to the login screen. but if its not supposed to get there thats ok:) How do I start it manually? it could be practical to have the option while setting it up.

I'll test the other things tonight.

I've been installing it on a separate card with a different ubuntu. There I seem to get a problem when running make on indi. it stopps with a uncompress error. any idea what that could be? am I missing a package?


Oh and one more question. Will (/ is it possible?)iAstrohub make Skysafari show the correct field of view and rotation for the camera? or is that only possible to set in the setting of skysafari?

Best regards

pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6201070 - 11/18/13 04:04 AM

Pan,

> How do I start it manually? it could be practical to have the option while setting it up.

I don't think a user will need to do extra setup Do you want to get CDC working? CDC is quite large and slow in MK808. So, I didn't add it in the package. Honestly. I have never used the desktop manager and HDMI on the device Mobaxterm will open X windows on your PC.

> I'll test the other things tonight.

Thank you. What devices do you use for your setup?

> I've been installing it on a separate card with a different ubuntu. There I seem to get a problem when running make on indi. it stopps with a uncompress error. any idea what that could be? am I missing a package?

I haven't not compiled INDI for a long time. I am not sure the newer version needs extra packages. The error message will tell you the missing dependency. You can post it here.

> Oh and one more question. Will (/ is it possible?)iAstrohub make Skysafari show the correct field of view and rotation for the camera? or is that only possible to set in the setting of skysafari?

Skysafari does shows the correct frame orientation and size from plate-solving. Just download and open .skyset file on Skysafari. You will need Dolphin or Atomic browsers that can download files. See this video
http://www.youtube.com/watch?v=2kYv98nKM8w
and compare the image in the beginning of the video and the frame coverage in Skysafari in the last part of the video. You don't need to set anything in Skysafari.


Anat

Edited by anat (11/18/13 06:20 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6202037 - 11/18/13 04:26 PM

Hi again Anat

Doing chmod 777 /var/lib/lightdm -R will suffice to make lightdm run it seems, I'll have a run at making it start only when manually started though. As you say it does take a bit of cpu and memory.

My astronomy setup is the following:
Mount: Celestron CGEM
Guidecam: QHY5
Imagecam: Canon EOS 1100D /550D
I'll be controlling them from a Samsung Galaxy Note 10.1

I've done a few more test now and it seems linguider connects nicely to my QHY5 but i cant seem to make skysafari connect to the cgem. ser2net config seems correct as its the same as on the raspberry as far as i can see atleast.
skysafari claims it can contact the mount but it gets no reply. Is the indi driver for the CGEM installed?

I also seem to have found a bug in skysafari on android. if I save the settingfile and load it into skysafari all text (excluding star etc names) are complete garbage. exiting and restarting skysafari fixes it temorarily. Oh by the way do you save the settingfile to a skysafari folder or do you open the file with skysafari?

Would it be possible to have a button under admin that makes the iAstroHub switch between adhoc and wifi adapter mode (with either input boxes for ssid and password or a file that we set up via ssh for our home network)? that would make installing and updating it a bit easier;) seems none of my usb wifi adapters are compatible. I'm pretty new at linux though so I'm not sure it would be possible though...

Sorry for being such a difficult customer.
And again thanks for all your splendid work:) This will make my astro setup quite a bit easier and hopefull a bit more wirefree:)

Best regards

Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6202077 - 11/18/13 04:52 PM

found it.. to make lightdm start only when manually started use the following commands: (first for permissions so it can run and the second to put it in manual mode)

sudo chmod 777 /var/lib/lightdm -R
sudo echo "manual" >> /etc/init/lightdm.override

Best regards

Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6202211 - 11/18/13 06:05 PM

Hi Pan,

> Doing chmod 777 /var/lib/lightdm -R will suffice to make lightdm run it seems.

Thanks.

> skysafari claims it can contact the mount but it gets no reply. Is the indi driver for the CGEM installed?

INDI is not needed. INDI is only used with CDC to control a mount from CDC. Could you share the Skysafari log file? It shows the communication messages between the mount and Skysafari. Make sure you set the mount protocol correctly, IP address 10.0.0.1 Port 3300. Turn off updating time/location and set the readout rate to 1 per sec.

One possible reason may be your USB-serial adapter. The FTDI-based usb-serial adapter is not recommended. It is better to use the PL2303 usb-serial adapter seperately connected to the OTG port. I am using the ATEN usb-serial adapter.

> I also seem to have found a bug in skysafari on android. if I save the settingfile and load it into skysafari all text (excluding star etc names) are complete garbage. exiting and restarting skysafari fixes it temorarily.

I don't have the problem in Nexus 7. I am using Skysafari 1.8.2. Make sure that you upload your own .skyset file to /home/pi/www/.

> Oh by the way do you save the settingfile to a skysafari folder or do you open the file with skysafari?

I have to save the file first to its folder and then open the file from skysafari. In Android, it takes more steps than iOS.

> Would it be possible to have a button under admin that makes the iAstroHub switch between adhoc and wifi adapter mode?

I don't recommend you use the Infrastructure mode. The wifi chip is not stable in that mode you will always get dropped connection. But it is very stable in the access point mode. So, the AX88772 usb-ethernet adapter is needed to do any advanced work.

> Sorry for being such a difficult customer.
And again thanks for all your splendid work:) This will make my astro setup quite a bit easier and hopefull a bit more wirefree:)

Thanks for all your comments

Best regards,
Anat

Edited by anat (11/18/13 06:25 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6203014 - 11/19/13 04:36 AM

Anat,

The serial adapter i use is a pl2303 based one and it works on the raspberryPi but i think i remember having seen this error before so I'll investigate it abit. Can it be the usb hub that's the problem?

It seems copying the file to skysafari's settings folder and opening it from the settings menu works fine. using a file browser and selecting open with skysafari gives the bug. (and doesn't properly open the file so it basically doesn't work;) ) unfortunately as it would have been a slightly faster way to do it. oh well;)

Best regards
Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6203117 - 11/19/13 07:41 AM

Pan,

> The serial adapter i use is a pl2303 based one and it works on the raspberryPi but i think i remember having seen this error before so I'll investigate it abit. Can it be the usb hub that's the problem?

1) Please connect the usb-serial adapter to the OTG port. Don't mix it with the autoguider and DSLR on the usb hub. Check dmesg to see if it is assigned as ttyUSB0.

> It seems copying the file to skysafari's settings folder and opening it from the settings menu works fine.

2) In some web browsers, you can set the default path to download files. Then you can open Skysafari and the setting file. The "Align" button works only for the LX200 compatible mount. For your CGEM, the steps are
- Open Skysafari
- Connect the mount. The cross hair will show at the original position
- Open the setting file
- Sky map will center at the correct position from plate solving. The CCD frame will show at the mount center. The difference is the offset.
- Select a star near the center and click Align.

I requested the Skysafari developers to add "Align to chart center". They already have "Goto chart center" I hope that they will implement it in the next version.

BTW, what is your experience with the autoguider and DSLR control?

Best regards,
Anat

Edited by anat (11/19/13 07:44 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6203309 - 11/19/13 09:35 AM

Anat,

Ok so the serial adapter has to go in the OTG port? ill have to se if i can find a mini USB -> female usb adapter then.

I havent been able to try it out properly yet. the skies have been pretty gray so far. I've used lin_guider on a raspberry for a while though and it's delivered flawelessly for me so far. My imaging scope is only a 600mm focal length refractor though so guiding it is fairly easy compared to the real focal length monsters out there;)
The weather is said to be better to night and the next few days so i have hopes to try it out tonight. Theres a pretty full moon too so its perfect test equipment weather;)

Ill have a look at the align button then. I assume you've just compiled the align.c file and run it when the button is pushed? I'm a computer engineer so i might take a little look at making it work for my mount as well;) it should only be to send the propper commands for my mount i suppose. Do you sync to the platesolved position or do you just tell the mount that its actually pointing at the platesolved position?

Best regards

Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6203384 - 11/19/13 10:12 AM

Hi Pan,

> Ok so the serial adapter has to go in the OTG port? ill have to se if i can find a mini USB -> female usb adapter then.

1) You can also use the USB host port but you should not have other hi-speed devices in the usb hub.

> I havent been able to try it out properly yet. the skies have been pretty gray so far.

2) You may test if the autoguiding interface on the web browser, the dslr control, image preview , plate solving work properly. You can do those indoors

Ill have a look at the align button then. I assume you've just compiled the align.c file and run it when the button is pushed?

3) Yes.

> Do you sync to the platesolved position or do you just tell the mount that its actually pointing at the platesolved position?

4) The latter. The mount is told that it is currently pointing to the plate-solved position.

Best regards,
Anat

Edited by anat (11/19/13 10:17 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6205045 - 11/20/13 01:55 AM

Morning Anat,

I haven't been able to test everything yet as I've been trying to make skysafari able to talk to my mount. I dont really understand whats wrong with it. it wont work no matter which port it it connected to. Ubuntu claims it has found and recognized a pl2303 device on ttyUSB0 so that should be ok and working..

The guiding interface seems to work though I don't know if it actually manages to transmit the adjustments to the mount. but I assume it does since that goes through the camera and it can connect to the camera without problems.

I'll try to test some more tonight.

Best regards

Pan

Edited by pan (11/20/13 03:44 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6205163 - 11/20/13 06:50 AM

Pan,

You can grab the communication from/to Port 3300 using
ngrep -W byline -d any port 3300 -q -t -n 1

You can also save log files in Skysafari and review what happens.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6210838 - 11/23/13 08:25 AM

Hi Anat

Still cant make the pl2303 work:\ do you know if you have the old 2303 or the newer 2303x?

Skysafari only logs sending V# and recieving error -13

ngrep isnt installed and I havent gotten my ethernet adapter yet so can't install anything. (any way to temporarily switch to infrastructure mode to install it? )

It seems running lsusb -v and finding the line: bmaxpacketsize0 64
means I've got the 2303x which had a bug in the older drivers. it should have been fixed in newer kernals and drivers though so im not sure if its to blame or what is..

Best regards
Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6210872 - 11/23/13 09:06 AM

Pan,

Please download the CheckChipVersion Tool (windows) from
http://prolificusa.com/pl-2303hx-drivers/

My ATEN UC232A usb-serial adapter is reported as
PL2303 XA / HXA chip. This cable works flawlessly.

What is the dmesg log when plugging in the PL2302 cable.

Edited by anat (11/23/13 09:10 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6211575 - 11/23/13 02:48 PM

Hi Anat

Chip check reports PL-2303 XA / HXA Chip.

dmesg shows:
usb1-1: new full speed USB device number 3 using usb20_otg
option1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0

lsusb gives me:
Bus 001 Device 001: ID 1d6b:002 Linux foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:002 Linux foundation 2.0 root hub
Bus 001 Device 003: ID 067b:2302 Prolific Technology, Inc. PL2303 Serial Port

it seems the pl2303 and ftdi_sio modules doesn't start automatically. lsmod after boot does not list them but modprobing them doenst seem to help either though so (well they appear in the lsmod but i still cannot connect to the telescope


Any other output you need just let me know and ill try to provide them:) thanks for your help:)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6211620 - 11/23/13 03:13 PM

hmm now found this one. https://www.miniand.com/forums/forums/picuntu-linux/topics/prolific-usb-seria...

seems i plug it in too soon.
if i reboot manually start pl2303 and ftdi_sio and wait a little while then plug it in i get the following dmesg:
usb1-1: new full speed USB device number 4 using usb20_otg
option 1-1:1.0 pl2303 converter detected
usb 1-1: pl2303 converter now attached to ttyUSB0

i still cant connect but atleast its now detected as a pl2303

ill redownload and reflash the kernel to see if it might have been corrupt on some stage.


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6211790 - 11/23/13 05:18 PM

reflashed the kernal and no change.

ive added pl2303 and ftdi_sio to the /etc/modules.conf file so they get started at bootup. This helps a little as it now detects the pl2303 correctly everytime i plug it in:) But only after it has finished the bootup. If i connect it before it will fail.
Skysafari now connects but it seems a little unstable. might have been a freak acciden though. ill test it out for a while.

Does yours work if you have the 2303 connected while booting up?

Best regards

Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212044 - 11/23/13 07:23 PM

Pan,

I have one of these PL2303 adapters which is recognized as a GSM modem. It doesn't work! It is better to grab the ATEN UC232S adapter from Ebay.

All cabled can be connected before booting.

Best regards,
Anat

Edited by anat (11/23/13 07:26 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6212609 - 11/24/13 04:40 AM

have you got pl2303 in your /etc/modules file? or does the kernel load them? If the kernel does something is wrong with mine.. Ive now found that if plugged in during boot the devices are discovered before the drivers for them are loaded.
If plugged in after boot now though guiding and usb2serial seems to work nicely. Ill fiddle a bit more with it later to se if i can make it work from boot but ill move on to testing camera controll now:)

Best regards

Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212624 - 11/24/13 05:05 AM

one thing i suddenly became abit uncertain about. Do i have to install anything to control my dslr? or is everything installed in the image?

ps. if everything is plugged in after boot is done it seems to work perfectly. the instability must have been a fluke or something.

best regards

Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212640 - 11/24/13 05:28 AM

seems somethings missing to use my dslr. when trying to use it nothing happens. its registerd as a canon camera in lsusb. but when pressing start in the control page nothing happens. from your code i figured it should print "Image sequence Started"?

also it seems libusb-1.0.a is missing when trying to build the dlsrdashboard server so apt-geting that should be in the install guide i suppose;)

best regards


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212682 - 11/24/13 06:38 AM

Quote:

have you got pl2303 in your /etc/modules file? or does the kernel load them? If the kernel does something is wrong with mine.. Ive now found that if plugged in during boot the devices are discovered before the drivers for them are loaded.
If plugged in after boot now though guiding and usb2serial seems to work nicely. Ill fiddle a bit more with it later to se if i can make it work from boot but ill move on to testing camera controll now:)

Best regards

Pan




I didn't put pl2303 in the modules. It loads properly in my case. If you put it in /etc/modules, it should load properly during booting. The module is not in the kernel.

Anat

Edited by anat (11/24/13 06:50 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212685 - 11/24/13 06:41 AM

Quote:

one thing i suddenly became abit uncertain about. Do i have to install anything to control my dslr? or is everything installed in the image?

ps. if everything is plugged in after boot is done it seems to work perfectly. the instability must have been a fluke or something.

best regards

Pan




Pan,

Everything is already installed. You can just control the camera from the interface.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212690 - 11/24/13 06:44 AM

Quote:

seems somethings missing to use my dslr. when trying to use it nothing happens. its registerd as a canon camera in lsusb. but when pressing start in the control page nothing happens. from your code i figured it should print "Image sequence Started"?

also it seems libusb-1.0.a is missing when trying to build the dlsrdashboard server so apt-geting that should be in the install guide i suppose;)

best regards




Make sure that you didn't comment this line in /etc/rc.local
sudo /home/pi/www/./monitor_camera > /dev/null 2>&1 &

Check if monitor_camera is running by:
ps axw

Try running dslr from the command line. Let me know the output from these commands:

cat dslr_nf.txt
cat dslr_ex.txt
cat dslr_de.txt
/home/pi/www/./dslr


And try some basic gphoto2 commands:
sudo gphoto2 --set-config capturetarget=1
sudo gphoto2 -B60 -F1 --capture-image




Edited by anat (11/24/13 07:00 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6212693 - 11/24/13 06:46 AM

dlsrdashboard server was updated recently. Please follow the instruction from:
https://github.com/hubaiz/DslrDashboardServer

Read this topic
Compile DslrDashboard Server on Raspberry Pi


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6212759 - 11/24/13 08:30 AM

output:
cat dlsr_nf.txt: 1
cat dslr_ex.txt: 10
cat dslr_de.txt: 16

the /home/pi/www/./dslr gives:
there is no file in folder '/store_00020001/misc'.SC'.
then it lists all the images i have on my camera before
there are 59 files in folder '/store_00020001/DCIM/100CANON'.
ON'.
there is no file in folder '/store_00020001/DCIM'.
IM'
there is no file in folder '/store_00020001'.
01'.
there is n o file in folder '/'.
'/'.

other then that no activity on the camera.

gphoto2 gives after the last command:
***error***
The Bulb widget is not configurable.
ERROR:Could not set bulb capture, result -2.
***Error (-2: 'Bad parameters') ***


Yeah i saw it was new and adjusted the build command as instructed but it still wants the libusb-1.0.a that is not installed. I'll have to wait for my usb-ethernet adapter to arrive then before i get any further with the DslrDashboard.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212762 - 11/24/13 08:34 AM

Make sure that the camera is in the manual/bulb mode.

Let me know the output from the command
sudo gphoto2 --auto-detect
sudo gphoto2 -B60 -F1 --capture-image

What camera do you use? Do you test on both 1100D and 550D?
I have tested only on 40D.

Edited by anat (11/24/13 09:00 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6212781 - 11/24/13 08:43 AM

Also try this:

gphoto2 --set-config bulb=1

wait for 60 sec, then issue this command:

gphoto2 --set-config bulb=0


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6212798 - 11/24/13 08:59 AM

i use a modified 1100d. i can also try on my 550d.

gphoto2 -L:
pretty much the same as the last ./dslr
no file in folder '/'. '/store_00020001'. '/store_00020001/DCIM'. and then 59 files in folder '/store_00020001/DCIM/100CANON'

sudo gphoto2 -B60 -F1 --capture-imagethe output is the same as i wrote in my last post with the bulb widget error

the same error comes after the set-config bulb=1

ill try it on the 550d as well now.


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212803 - 11/24/13 09:03 AM

the 550d gets the same errors.
after the --set-config capturetarget=1 the screen turns off like when half pressing the shutterbutton. then the next command -B60 -F1 --capture-image results in the error (and screen turns off if run alone)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212810 - 11/24/13 09:07 AM

sorry overlooked one of the commands you wanted output from.
The gphoto2 --auto-detect:'
Model Port
----------------------------------------------
Canon EOS 1100d usb:002,021


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212811 - 11/24/13 09:08 AM

So far I have tested on 40D. I will find a 450D/1100D and later to test.

Is your camera in the manual/bulb mode and the lens in MF?

I am sorry for the problem.

Anat

Edited by anat (11/24/13 09:10 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212825 - 11/24/13 09:16 AM Attachment (33 downloads)

ive run the command with debug enabled so here is the debug log for the 1100D

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212829 - 11/24/13 09:25 AM

Please also try this command:
gphoto2 -B 10 -F 2 -I 15 --capture-image


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6212844 - 11/24/13 09:32 AM

timelapse mode enabled intercal 15s
bulb-mode enabled exposure time 10s
capturing frame #1/2...

***Error***

The bulb widget is not configurable.
Error could not set bulb capture, result -2
etc etc etc


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6212845 - 11/24/13 09:32 AM

Please attach the output from
gphoto2 --list-all-config


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212846 - 11/24/13 09:33 AM

camera is in manual focus and Manual/bulb mode.

Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212850 - 11/24/13 09:34 AM

gphoto2 --capture-image takes an image so it seems its only the bulb part that has the issue

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212857 - 11/24/13 09:40 AM

Yes. It is the bulb exposure that causes the problem.
The worst scenario is that I have to revert to the previous version which requires the serial bulb control cable


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212859 - 11/24/13 09:40 AM Attachment (37 downloads)

list-all-config output attached

Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212860 - 11/24/13 09:42 AM

hmm odd... it should be possible to use usb bulb as windows software can easily do that with these cameras.

one option could be to have a config option for it for people with unsupported cameras but id rather wait until i get the dslr dashboard up and running then. dont want another cable:p


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212864 - 11/24/13 09:44 AM

i see on gphoto2 site that 450d works in ptp mode while its not mentioned for 1100d or 550d might that affect anything?

Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212877 - 11/24/13 09:54 AM

http://www.gphoto.org/doc/remote/ claims bulb should be possible with the comment: Use libgphoto2 2.4.14

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212881 - 11/24/13 09:55 AM

It was the known problem that gphoto2 didn't work in the bulb mode on ARM devices. I found and thought that it worked in v2.5.2 because it worked on my 40D. In 2.4.xx, several problems when running gphoto2 on ARM devices.

Anat

Edited by anat (11/24/13 09:56 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212883 - 11/24/13 09:56 AM

and For Bulb mode: Switch dial to 'M'anual mode, gphoto2 --set-config shutterspeed=bulb , and run something like: gphoto2 --wait-event=2s --set-config eosremoterelease=Immediate --wait-event=5s --set-config eosremoterelease=Off --wait-event-and-download=5s

Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212888 - 11/24/13 09:59 AM

ah that works

Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212891 - 11/24/13 10:01 AM

seems 1100d and 550d might have different bulb triggers..
ill fix it in the scripts and have another go:)

Thanks again for your help:)


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212899 - 11/24/13 10:05 AM

well still some error messages but atleast it triggered a 5sec exsposure in bulb mode. it didnt end the exposure borefe 4 more seconds had passed though so still need some tweaking.

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6212905 - 11/24/13 10:08 AM

Glad to hear that. Please keep me posted
I also post this issue on the gphoto2 user group.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6212923 - 11/24/13 10:20 AM

You may try:

gphoto2 --set-config eosremoterelease=Immediate &

wait x sec

gphoto2 --set-config eosremoterelease=Off


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6213004 - 11/24/13 11:07 AM

thats the one that works:) well i have to replace off with 0 to make it end the exposure but other than that it works fine:)

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6213053 - 11/24/13 11:34 AM

Could you summarize the commands that works on your 1100D/550D?

Shutter up:

Shutter down:

Then I will update my program and send the patch to you. So there are differences in commands for xxD models and xxxD models.

Edited by anat (11/24/13 11:38 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6213071 - 11/24/13 11:41 AM

Please make sure that it works for long exposure. Try say... 300 sec.

Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6213119 - 11/24/13 12:05 PM

dont need to send me the patch;) ive changed line 5 in shutter.sh to:
sudo gphoto2 --wait-event=$1s --set-config eosremoterelease=Immediate --wait-event=$3s --set-config eosremoterelease=0 --wait-event=2s > /home/pi/www/gphoto_log.txt 2>&1

it seems opening the shutter is fast but closing is a second late at a 10s exposure. ill try a few more and se if we have to subract a second to make it get the exposure it should.

got 2x300s going now


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6213145 - 11/24/13 12:14 PM

Great. Thanks.

Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6213154 - 11/24/13 12:17 PM

2x 300 sec exposures works:) it gets a 301s exposure so ill subtract 1s from exposure time.

to get a preview i have to use raw+jpeg will it remove the jpeg version from the camera sdcard when iastrohub has downloaded it?


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6213174 - 11/24/13 12:25 PM

Yes, you need to choose RAW + JPG. The JPG files are still there in the SD card.

Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6213634 - 11/24/13 05:10 PM

Hi Anat

Well it now works like a charm. Ill have to look into the bootorder for driver loading and making my mount align but thats all:)

Truely a great piece of kit Anat:)
Thanks:)

Ive now tried it out in the field for a few hours and it performs quite impressively.

I find the platesolving takes about 46 sec if i use the 8x option. Any suggestions to make it faster?

Great work:)

Best regards
Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6213832 - 11/24/13 06:45 PM

Hi Pan,

Thank you for the field test. Glad that it works nicely now.

1) Can you also stop the camera without any problem? You may need to change this line in kill_dslr.sh

sudo gphoto2 --set-config bulb=0

to

gphoto2 --set-config eosremoterelease=0
or
# sudo gphoto2 --set-config bulb=0

2) Could you please share files that you modified to get it work?

3) For plate solving, you can speed it up in a few ways. Please also paste the platesolving log here.

3.1) Set scale-low to match your setup. Edit the value in "AM_start.php" It is now 1 degree. And you can also try removing some index files. You need only a few index files what cover your plate scale.

3.2) I am not sure if you can set the lower resolution for the JPG file. I see that your camera have only "RAW+Large JPG". It would help if you use RAW+Small JPG. It is like the downsample. Otherwise, you can change the downsample value in index.html to a higher value (x12 or x16).

The number of sources for plate solving should be around a few hundreds.

3.3) I have a few sample images there. Let me know the computation time for various downsample values. I am thinking that the index catalog also affects the time. I am using 20X-series index files developed from another catalog. It is the index files originally used for online platesolving on the astrometry.net web-site. You can have it but you need to get a permission to download it.

4) For the usbserial adapter, my advice is to grab a new ATEN UC232a adapter But if your cable works, let me know how to make it work

5) A Skysafari developer confirms to me that he will include the "Align to chart center" in Safari 4 to be released soon . You align your celestron mount from Skysafari. Note that Celestron/skywatcher/orion mounts don't accept the align command directly. What people do is to make an offset value in the software (software alignement) and apply the RA and DEC offset to the RA and DEC request before sending to the mount.

6) Any comment/problem on the autoguider control??

Best regards,
Anat

Edited by anat (11/24/13 08:40 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6214027 - 11/24/13 08:47 PM

Pan
You can start Dslrdashborad server by doing the following steps:

1) Get ddserver from
https://drive.google.com/file/d/0B3RSuv91xWggdzBySzVOb2VoajQ/edit?usp=sharing

2) Put ddserver in /usr/local/bin/

3) chmod 777 /usr/local/bin/ddserver

4) edit admin.php

from
<!--
<input type="button" value="Start DslrDashboard Server" onClick="javascript: startddserver();" style="background-color:#000000; color:#FF0000">
<input type="button" value="Stop DslrDashboard Server" onClick="javascript: stopddserver();" style="background-color:#000000; color:#FF0000">
<p>
-->


to

<input type="button" value="Start DslrDashboard Server" onClick="javascript: startddserver();" style="background-color:#000000; color:#FF0000">
<input type="button" value="Stop DslrDashboard Server" onClick="javascript: stopddserver();" style="background-color:#000000; color:#FF0000">
<p>


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6214453 - 11/25/13 04:30 AM

Hi Anat,

Thanks I'll download it and test it when i get home.

I think the kill button worked "as is" but I'll test it again to make sure. It seemed to work last night but it was getting late an I was less than attentive to what exactly happend to the last picture;)

My cable works fine, it just has to be plugged in after the device has booted up. also had to change the /etc/modules file to include ftdi_sio and pl2303 so they load on boot. I put them before the wifi driver to make them load as soon as possible but it seems it not soon enough. ill have a few more tries at it to se if i can get them to load earlier. (preferably before device detection to make my cable work from boot) i suppose compiling my own kernel with the drivers included would be possible but its a hassle id rather avoid if possible;)

I'll round up the files ive modified and post them tonight. if i remember correctly its only index.html and shutter.sh to make the camera work. then the module file mentioned above. Ill try to make a list of all the changes I've made to the device.

Oh one thing. Would having parted/gparted installed on the image be a good idea? would make resizing the partition on the sdcard easier for those who haven't got any other linux installs available, and who has a sdcard larger than the image.

I have those index files already;) hmm well somewhere... just need to find them hehe
Are they faster than the new ones?

I've added plate solving files for all my setups to make it as "user friendly" as possible (ie. I'm lazy and didn't want to have to figure out which files to use for each setup every time i go out;) ) I might have a look at removing a few i might not need though. As I'll always downscale i should be able to remove quite a few of the most detailed indexes. Does it start with the most detailed ones when platesolving? if it is is it possible to make it work its way from the other end?

As for Guiding interface it works quite good. the only change id see a use for would maybe be to start the vnc + autoguider at boot (it might have a few side effects if the guider isn't plugged in at the time though so it might not be an option) as I'd always use them anyway. This is a change i can make / try out on mine though as i cant see everyone wanting this feature.
That said id also like if the vnc window was large enough so the guiding window didn't block the liveview from the guide camera. I can't seem to be able to reposition any of the windows either? Do you know of any way to set the position of the windows from the code? would be handy if the screen is large enough to have the guider video on one side and the guiding interface on the other. Easier to use for guiding error hunting when something has gone terribly wrong;) like it did when i flipped the dec bits the wrong way hehe

I did note one strange artifact last night but I'm not sure what causes it or if it was a random occurrence. The guiding seemed to halt while downloading the dslr image. the guiding graphs flattened out. I wasn't attentive enough to see if it happened every time though so it might have been a one time thing and the events might not even have been related to each other other than happening at the same time. At the moment it might even have been a freak occurence of "no guiding corrections needed" but I'll watch a bit more carefully tonight if i get the chance. Even with this "artifact" guiding seemed flawless to it didnt impact guider effectiveness. After all it wasnt capturing image data at the time anyway and the 16 second wait between every image should be enough for the guider to catch up;)

Best regards
Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6214455 - 11/25/13 04:33 AM

oh on other thing. the gain inputs you have for the guider. im not familiar enough with lin_guider to know what they are? ive always just used default settings as its worked for me. ie. the RA/Dec Gains and alert threshold? i suppose the alert threshold is just the guiding error before it should alert the user?


Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6214511 - 11/25/13 06:45 AM

Quote:

oh on other thing. the gain inputs you have for the guider. im not familiar enough with lin_guider to know what they are? ive always just used default settings as its worked for me. ie. the RA/Dec Gains and alert threshold? i suppose the alert threshold is just the guiding error before it should alert the user?
Pan




The RA/DEC gains are the aggressiveness values (0 - infinity). If it is zero, there will be no correction. The higher the value, the larger correction will be made. But there is the limit by the maximum pulse length in the guider menu. You can play with the value. A good start is 10-100.

For alert values, it is the threshold for the device to remind you. If you click View Alert. It will list the time when the error is larger than the threshold. If you use the speaker and install some packages as in the readme file, it will speak the direction of guiding errors.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6214525 - 11/25/13 07:13 AM

ah ok. As it seems to work with the current values since i'm getting round stars i'll leave it for now but it seems to be over correcting at times so i might play with it abit later when i start getting restless and need something new to tinker with;)

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6214764 - 11/25/13 10:10 AM

Hi Pan,

> Oh one thing. Would having parted/gparted installed on the image be a good idea?

1) Thank for the suggestion. Yes, Gparted is useful to expand the partition. I will add it in the next update.

> I have those index files already;) hmm well somewhere... just need to find them hehe
Are they faster than the new ones?

2) I suspect that the 20x files give faster solution. We need to test.

> Does it start with the most detailed ones when platesolving? if it is is it possible to make it work its way from the other end?

3) It will start from the bigger area first. Look at the 2nd or 3rd line. It tells you the number of sources found. You should downsample until you get around 100 - 400 source.

> As for Guiding interface it works quite good. the only change id see a use for would maybe be to start the vnc + autoguider at boot

4) So look at startapp.sh and vnc.sh to see the commands. Then add the command in /etc/rc.local

> That said id also like if the vnc window was large enough so the guiding window didn't block the liveview from the guide camera.

5) Look at /etc/rc.local and the command xvfb. It sets the frame buffer size. You may try various resolutions. But it will use more memory.

> I can't seem to be able to reposition any of the windows either? Do you know of any way to set the position of the windows from the code? would be handy if the screen is large enough to have the guider video on one side and the guiding interface on the other.


6) I suggest you use Mobaxterm to run linguider. It will open X windows automatically on Windows.

Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6215213 - 11/25/13 02:03 PM Attachment (13 downloads)

Hi Anat

For now i have changed theese files:
Index.html -- added downsample 10,12 and 14. as well as subtract one second from exposure time to make it correct on camera. Ill have to read more of your code to find a better way to do it / a way to compansate for the exposure time in the gui that now gets the same subtraction.

shutter.sh --changed the shutter commands to match 1100D by using eosremoterelease command instead of bulb command.

/etc/modules --added pl2303 and ftdi_sio to make them load on boot.

ive also attached a text file with the result from running astrometry in all modes from 2-14.

Best regards

Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6215725 - 11/25/13 05:32 PM

Pan,

Thank you very much. I think

sudo gphoto2 --wait-event=$1s--set-config eosremoterelease=Immediate --wait-event=$3s --set-config eosremoterelease=0 --wait-event=2s > /home/pi/www/gphoto_log.txt 2>&1

should be

sudo gphoto2 --wait-event=1s --set-config eosremoterelease=Immediate --wait-event=$3s --set-config eosremoterelease=0 --wait-event=2s > /home/pi/www/gphoto_log.txt 2>&1

And the correction on the exposure time should be done above the command. Not in index.html.

Looking at your platesolving log, it will be faster if you remove 4203 - 4205

Best regards,

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6216492 - 11/26/13 03:33 AM

Anat,

You are right;) I just added the delay there to give the telescope + guiding time to settle before the first frame as well. I assume you've added both delay before and between images someplace else so it might even be removed completely. It also gathered all the variables except number of frames in one command;)

and yeah time correction should as you say be done here as well. for some reason didn't occur to me to put it here but it would be the best place for it.

best regards
Pan


Post Extras: Print Post   Remind Me!   Notify Moderator  
pan
member


Reged: 10/08/08

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6218595 - 11/27/13 03:34 AM

changing the the shutter.sh to have the following lines instead of the one above seems to do the trick
(oddly enough i couldnt get neither built in bash nor expr to work but let did so.. )

let Exp = $3-1
Sec = "s"
sudo gphoto2 --set-config eosremoterelease=Immediate --wait-event=$Exp$Sec --set-config eosremoterelease=0 --wait-event=2s > /home/pi/www/gphoto_log.txt 2>&1

If anyone knows of a better way to add the "s" after $Exp without a space between let me know;)

Pan

Edited by pan (11/27/13 04:58 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6218643 - 11/27/13 05:44 AM

Hi Pan,

Thanks! Anything that works is great

Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
ninja400
journeyman


Reged: 10/17/13

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6222648 - 11/29/13 12:51 AM

Hi Anat,

Let me ask a basic question.
Is iAstrohub designed to work on any mounts which Skysafari supports?
For example, such as Takahashi's Temma, Vixen's star book or Celetron's AVX.
Thanks.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ninja400]
      #6222665 - 11/29/13 01:03 AM

Yes. iAstroHub will relay the wifi communication to the mount serial port like SkyFi.

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6224626 - 11/30/13 05:25 AM Attachment (13 downloads)

I have just received the Tronsmart MK808 mini PC from Geekbuying. I remove its case and confirm that it has the RK901 wifi chip we need. See the photo.

Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6224627 - 11/30/13 05:27 AM

This is the link to Tronsmart MK808

http://www.geekbuying.com/item/US-Plug-Tronsmart-MK808-Google-TV-BOX-Mini-PC-...


Post Extras: Print Post   Remind Me!   Notify Moderator  
ninja400
journeyman


Reged: 10/17/13

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6224632 - 11/30/13 05:49 AM

Hi Amati
Thank you for your reply.
I am going to buy one of those mounts.
Best regards,


Post Extras: Print Post   Remind Me!   Notify Moderator  
ninja400
journeyman


Reged: 10/17/13

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ninja400]
      #6224651 - 11/30/13 06:38 AM

sorry, anat
Somehow, I miss typed your name.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: ninja400]
      #6224654 - 11/30/13 06:43 AM

No problem

Please note that Vixen Starbook is different. It needs the ethernet for communication. So Starbook is not supported.


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: pan]
      #6230805 - 12/03/13 05:49 AM

Quote:

If anyone knows of a better way to add the "s" after $Exp without a space between let me know;)



As long as it works I think there's no better or worse way but how about ${Exp}s ?

Finally I received my Tronsmart dongle and it seems to be the correct one, pure MK808, no B!
As soon as I have some time I'll work on it.
Oh by the way Anat, did you update the image with the latest modifications I saw in previous posts? Are they really needed or can we live with the image presently online?

Thanks a lot.
Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6235069 - 12/05/13 10:24 AM

Anat, I have a few questions about flashing the kernel with linux.

When I used the Finless tool there were 7 items selected - Loader, parameter, misc, kernel, boot, recovery, and system (backup was not checked). It was clear not to check or uncheck anything else and leave it the way the finless tool was pre-configured. In your notes you say

"Now flash the kernel by selecting the downloaded Linux kernel image in Step 3.1) instead of the default Android kernel image. Then flash the MK808. "

Questions:

1) Should we leave all the others still checked even though this was for an Android install?

2) The finless notes said that we needed to

"1) Press the button in the flash tool "Erase NAND (IDB)". Let it finish.
YOU MUST DO THIS OR THE FLASH WILL NOT WORK!!!!!"


Should we also do this again before we Flash the kernel or is it sufficient that it was done once before?

3) I am assuming that we do NOT need to Erase the NAND and that the tool should look like this before flashing the kernel.




Edited by CMacD (12/05/13 11:08 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6235239 - 12/05/13 11:50 AM

Quote:

Quote:

If anyone knows of a better way to add the "s" after $Exp without a space between let me know;)



As long as it works I think there's no better or worse way but how about ${Exp}s ?

Finally I received my Tronsmart dongle and it seems to be the correct one, pure MK808, no B!
As soon as I have some time I'll work on it.
Oh by the way Anat, did you update the image with the latest modifications I saw in previous posts? Are they really needed or can we live with the image presently online?

Thanks a lot.
Ciao,
Piero




Hi Piero,

Glad to hear that you get the right one!

The image in SF still doesn't include what Pan modified. If you use xx0D or 1X00D camera, you will need to modify shutter.sh in /home/pi/www. I will release a patch this weekend to switch between two types of the cameras.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6235282 - 12/05/13 12:03 PM

Clark:

3.3) Unzip the Finless ROM and follow the instruction to install the device driver and flash the Finless ROM.
After flashing the new ROM, the MK808 will boot to new Android ROM. This step is to make sure that you understand how to flash the MK808.

> In this step, you need to erase the NAND first and flash the ROM using the pre-configured files (all files are checked).

3.4) But we don't want Android to boot. Now flash the kernel by selecting the downloaded Linux kernel image in Step 3.1) instead of the default Android kernel image. Then flash the MK808.

> In this step, don't erase the NAND. Just browse the kernel file. And check only the kernel file before pressing Flash.

Questions:

1) Should we leave all the others still checked even though this was for an Android install?

> See my notes above.

2) The finless notes said that we needed to

"1) Press the button in the flash tool "Erase NAND (IDB)". Let it finish.
YOU MUST DO THIS OR THE FLASH WILL NOT WORK!!!!!"

Should we also do this again before we Flash the kernel or is it sufficient that it was done once before?

> Don't erase NAND before flashing the linux kernel.

3) I am assuming that we do NOT need to Erase the NAND and that the tool should look like this before flashing.

> Yes. it is correct.

Best regards,
Anat

Edited by anat (12/05/13 12:05 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6235589 - 12/05/13 02:54 PM

Thanks Anat - worked like a charm.

I finally got connectivity over wifi with iAstroHub. My windows box seemed to have issues with allowing 2 wireless networks at the same time. Not sure this is normal but when I disconnected my other wifi and connected only to the iAstroHub it worked.

Edited by CMacD (12/05/13 03:07 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6235957 - 12/05/13 06:27 PM

Great to hear that. If your PC has one wireless network card, it can establish only one connection. What is your equipment for using iAstroHub?

Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6236343 - 12/05/13 10:21 PM

Well right now I have a couple of systems that I am working with. I have a Blackberry Z10 and Playbook that I will be accessing the hub with when out in the field. The imaging setup is an AT65EDQ scope with a modified Canon 400D camera. The mount is currently a Super Polaris wanna-be with a homemade stepper mount for the dec axis and I have a friend's QHY5 autoguider that I am connecting (I will be purchasing one when I confirm the system works well together). I am moving towards a ZEQ25 in the next year or so ultimately.

The other system that I have is comprised of a Celestron C14 with a Meade 16 fork mount that I am placing in a trailer for remote control. I had originally been considering a couple or Raspberry Pi's to do some of the automation but now the MK808's have sparked my interest. The iAstroHub project is a cutting of the teeth so to speak for getting multiple packages working together and checking out this platform. You can read about it here.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6236390 - 12/05/13 11:08 PM

Nice setup

Please note that I dropped the support for cameras before 40D/450D because the cameras need another serial shutter cable. If you need to use 400D, you will have to use the previous version.

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6236867 - 12/06/13 09:07 AM

Quote:

Please note that I dropped the support for cameras before 40D/450D because the cameras need another serial shutter cable. If you need to use 400D, you will have to use the previous version.

Anat




Ah. Well my camera's shutter cable is pouched at the moment as the head of the small connector snapped off inside the camera. I have been using the CHDK firmware hack that provides an internal intervalometer for imaging. The thing I could use on the iAstroHub would be downloading of a short exposure to use for focusing. Its difficult to get exact focusing from the small camera display.


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6238505 - 12/07/13 04:46 AM Attachment (16 downloads)

Please get the patch from:

https://sourceforge.net/projects/iastrohub/files/

Change Logs
7 Dec 2013:
Add support for Canon 550D/1100D or similar
Add DslrDashboard Server (Android only)


Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6239567 - 12/07/13 05:51 PM

Quote:

Please get the patch from:
...
Add support for Canon 550D/1100D or similar
Add DslrDashboard Server (Android only)





So what does this do that the previous version would not do? I found the gphoto2 commands seemed to work well enough and put in some simple commands to take pictures with the camera and zoom them up on the fly for a focusing aid etc. I am a complete hack when it comes to javascript so its not like anything that anyone else would want - but as I mentioned before my camera's shutter cable is not really repairable outside of taking the camera all apart again - and that was hard enough on the nerves


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6239697 - 12/07/13 06:57 PM

Clark,

Glad to hear that you can "hack" the code The update is to add the commands to control 550D/1100D cameras and to add "dslrdashboard server" to control the camera from an Android Tablet so that you can liveview from the android tablet. The changes were made in shutter.sh and kill_dslr.sh.

If you want to modify the camera-related features, please look into dslr.c, shutter.sh, and dslr_getphoto.sh

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
CMacD
super member


Reged: 01/23/12

Loc: Ontario, Canada
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6240961 - 12/08/13 02:43 PM

You have done a great job setting this up Anat. I work for a living as a software tester so I can say that with no reservations. The linux image set up in no time at all following your instructions, the qhy5 camera connected first time without a hitch, the wifi works as described and a simple web browser is all that is required to control it. I can't speak for the sky safari as I don't have that but the canon 400D camera control was easy enough for me to modify myself. A job well done - you should be proud of what you have accomplished. I thank you. This is going to make astrophotography more enjoyable for me and others I am sure.

P.S. (Because I don't have long exposure control of the camera directly from the hub I made sure last night that I can turn on the CHDK intervalometer on the camera itself and download images over the iastrohub at the same time. And it works. So now I can check on all aspects of the system while it is doing multiple hour long runs of deep sky exposures from the comfort of wherever.)

Thanks again - this is great!


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: CMacD]
      #6241994 - 12/09/13 03:10 AM

Anat, I fully agree with Clark!
I just installed iAstroHub on my system so I haven't played with it at all and I can't say anything particular or detailed yet but the very first impression is WOW!
You've done a really impressive job, installation is simple and at the end you have a carefully thought and nicely configured system.
I still have to attach all of my stuff to it and test it under the stars (can't wait) but for now I just wanted to send you a huge thank you and all my congratulations on this wonderful result.

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6244488 - 12/10/13 10:48 AM

Hi Clark and Piero,

Thank you for the compliment
If you have any suggestion while using it, please feel free to tell me.

Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6244699 - 12/10/13 12:42 PM

Hi Anat,

just out of curiosity, is there any particular reason for using wep instead of wpa2 for wifi ap?

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6245508 - 12/10/13 06:56 PM

Hi Piero,

Nothing particular. I haven't looked into the setting for wpa2. I may test it soon.

Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6250413 - 12/13/13 08:02 AM

Hi Anat,

yesterday I played a little bit with iAH and noticed with great pleasure that my guide camera (a clone of the QHY5) has been correctly recognized.
I started some applications and pushed a few buttons and the first overall impression continues to be extremely positive.
However, at a certain point I encountered something that could have ruined my night under the stars.
Specifically, when I start linguider and VNC and then connect through VNC to iAH, I see linguider's window and all its dialog windows without the border, thus without the close button (the "X") in the top right corner.
When I tried to start the calibration process, I pushed the calibration button and the calibration window opened but then... I couldn't close it!
I had to kill linguider, no problem, but this behavior prevents me from calibrating the mount and thus from guiding at all.
The calibration window does not have a "close" button inside the form (by design, AFAIK) so on other platforms I normally use the X in the top right corner of the window to close it, but as I said the window on my iAH is borderless.
Am I doing something wrong or is this something specific to my setup?

Thank you.
Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6250664 - 12/13/13 10:44 AM

Hi Piero,

Just put the mouse cursor on the window and press "ESC"

You can calibrate using the button on your web browser. While opening VNC, you will see that when pressing the calibration button on the web browser, you will see the activities on VNC. It is how buttons on the web browser work. The button simulates the keypress on Linguider in the virtual frame buffer. You don't need VNC for it to work. VNC is used only for configuring your autoguider initially.


Best regards,
Anat

Edited by anat (12/13/13 10:59 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6251486 - 12/13/13 06:32 PM

Anat, thanks for the explanation, i'm still very new to iAH and still need to get accustomed to it
The more i know iAH the more i like it. Fantastic work!

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6252099 - 12/14/13 04:14 AM

Hi again Anat,
I'm thinking about making a few modifications to iAH, specifically something that could allow me to use my DSLR, a Pentax K-5, which AFAIK is not supported by iAH as of now.
What I'd like to do is using a tool which works very well with my camera and that I've already successfully used on my Raspberry, a tool that is called pktriggercord.
I've already compiled it on iAH and that's ok so far.
However, my K-5 needs the sg.ko kernel module that is not present on the system.
Since setting things up for kernel cross-compilation is a time consuming task (i've already done it for my Raspberry on a different kernel version), before doing all that work I'd like to ask you if you compiled yourself the kernel for iAH.
If yes, would it be possible for you to include in the compilation the sg module and possibily send me the sg.ko file?

Thank you very much.
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6252203 - 12/14/13 07:35 AM

Hi Piero,

What is the kernel config option shown in menuconfig to get sg.ko? BTW what is sg.ko?

I compile the additional modules (PL2303, FTDI, and Wifi) for MK808. I may be able to compile it for you but I need the information above.

Best regards,
Anat

Edited by anat (12/14/13 07:41 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6252207 - 12/14/13 07:37 AM

I summarize the step to compile the additional modules here
http://www.slatedroid.com/topic/41654-pre-alpha-03-ubuntu-linux-for-mk802-iii...


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6253175 - 12/14/13 06:38 PM

Quote:

What is the kernel config option shown in menuconfig to get sg.ko? BTW what is sg.ko?



sg is the scsi generic driver and its config option should be CONFIG_CHR_DEV_SG found in the scsi support type section.
You can safely build it as a module.

Thank you,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6253179 - 12/14/13 06:40 PM

Quote:

I summarize the step to compile the additional modules here



Unfrtunately I don't have any kernel source code in /home/ubuntu/rk3066-kernel on my system


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6253242 - 12/14/13 07:15 PM

Hi Piero,

I made the module sg.ko for you. Please download from
https://drive.google.com/file/d/0B3RSuv91xWggVVY0Qkl3OFRNQlE/edit?usp=sharing
Put the file in /lib/modules/3.0.8+/kernel/drivers/scsi/ and then....
depmod -a
modprobe sg

Let me know the result. You will need to edit these files to customize the dslr control:
dslr.c (build by.... gcc dslr.c -o dslr)
shutter.sh
dslr_getphoto.sh
kill_dslr.sh


Best regards,
Anat

Edited by anat (12/15/13 01:47 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6253249 - 12/14/13 07:18 PM

Quote:

Quote:

I summarize the step to compile the additional modules here



Unfrtunately I don't have any kernel source code in /home/ubuntu/rk3066-kernel on my system




For your information, the kernel source must be taken from Prealpha 0.2
http://www.slatedroid.com/topic/41453-pre-alpha-02-ubuntu-linux-for-mk802-iii...


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6253835 - 12/15/13 04:26 AM Attachment (8 downloads)

Anat, thank you so much!!! It works like a charm.
I've added "sg" to /etc/modules so as to have the module loaded at boot time.
I've also added the proper udev rules and the K-5 is correctly recognized and hooked to /dev/sg0.
pktriggercord works great from the command line so I'm starting to modify some code here and there, please take a look at the screenshot
I'll keep you posted on any development.

Thanks once more!
Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6253845 - 12/15/13 04:40 AM

Hi Piero,

Great! You are welcome
Keep us posted. If you don't mind, please share your tested code so that Pentaxian can use it Credits will go to you. Thanks.

Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6253863 - 12/15/13 05:11 AM

Quote:

If you don't mind, please share your tested code so that Pentaxian can use it



Sure I will
As soon as I have some tested and reliable code I'll send you all the modified files so that you can insert them into the project, if you want.
Thanks.

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6253926 - 12/15/13 06:56 AM

Many thanks! It will keep you busy for a while

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6255616 - 12/16/13 02:39 AM

Hi Anat,

yesterday I had the chance to spend a little time to adapt iAH to my setup.
I already have a system working beautifully with my Pentax K-5 and things look extremely promising and usable (all credits to you for iAH, of course ).
However, since the interface to pktriggercord/Pentax is completely different from gphoto2/Canon, my hacks to the code have necessarily been a little "brutal" until now and my system works great with my setup but probably wouldn't work as great with a Canon
I didn't have enough time yesterday to seamlessly integrate my code with yours, I hope I'll have the time to do that in the next days before sending you the code.

I've also added a few more options for camera shooting, like ISO setting and basename for the output image file.

I'll keep you updated.

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6255630 - 12/16/13 03:00 AM

Oh and next step will be, together with code cleaning , implementing electric focuser control in iAH through an Arduino board.

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6255677 - 12/16/13 05:05 AM

Hi Piero,

Glad to hear that you can implement the Pentax control in iAH. Can you also download images and preview images on the web browser?

Wow, the focus control is the part that is lacking. Is there any reference related to your arduino focuser project?

FYI, there is the autofocus routine in GoQat. It may be worth a look.

Thanks for trying to arrange the code for me

Best regards,
Anat

Edited by anat (12/16/13 05:10 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6255859 - 12/16/13 09:14 AM

Quote:

Can you also download images and preview images on the web browser?



Of course, I struggled to maintain this, which I think is one of the many great features of iAH.

Quote:

Is there any reference related to your arduino focuser project?



Not yet, it's in my mind
Well, actually it's already implemented in another control box which I built around a RaspberryPi, which drives my focuser through its native board.
What I'd like to try is to have arduino directly drive the focuser through proper PWM, without the focuser's native board.

We'll see...

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6260467 - 12/18/13 04:33 PM

Hi Anat,

I'm cleaning the code a bit and proceeding with more options, particularly I'm trying to interface the mk808 with arduino.
To this goal, I'm sorry to bother you again but there seems to be another module missing, needed for the communication with arduino.
The module is named cdc_acm and is configured in the "USB Device Class drivers" kernel section, the config parameter is CONFIG_USB_ACM.
Would you please be so kind to compile this module too and send me the cdc_acm.ko file?
I hope I won't have to bother you again...
Thank you very much.

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6261358 - 12/19/13 06:52 AM

Hi Piero,

Here you are
https://drive.google.com/file/d/0B3RSuv91xWggOGJXejNwOWxGRmM/edit?usp=sharing

Please feel free to ask for any module I am happy to help you.

Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6263318 - 12/20/13 09:57 AM

Thank you very much Anat, that's very kind of you!
I'll test it as soon as I can and keep you posted.

Ciao,
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
chboss
professor emeritus


Reged: 03/24/08

Loc: Zurich Switzerland
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6265708 - 12/21/13 05:15 PM

Hello Anat

After building a SkyFi replacement box with an RPI, I finally got myself an MK808.
I followed your instruction to get the kernel and image installed and all seems to work out of the box. Great work!

If the weather cooperates I will try to operate iAstroHub with a QHY5ii and a Canon 40D. I will let you know how it goes.

best regards
Chris


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: chboss]
      #6265772 - 12/21/13 05:44 PM

Chris,

Thanks for your input. Please keep me posted

I will add the support for SkySafari 4 soon. Then one can align any mount using the plate-solving result because SS4 has the feature to "Align to Chart Center" now

Best regards,
Anat

Edited by anat (12/21/13 05:49 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
telfish
sage
*****

Reged: 11/17/10

Loc: Adirondack Mountains NY
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6266541 - 12/22/13 09:06 AM

Quote:

Chris,

Thanks for your input. Please keep me posted

I will add the support for SkySafari 4 soon. Then one can align any mount using the plate-solving result because SS4 has the feature to "Align to Chart Center" now

Best regards,
Anat




That would be awesome, can you include SS 3?


Terry.


Post Extras: Print Post   Remind Me!   Notify Moderator  
chboss
professor emeritus


Reged: 03/24/08

Loc: Zurich Switzerland
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: telfish]
      #6266609 - 12/22/13 10:20 AM

Hi Terry

SkySafari 3 works already with the current version.

best regards
Chris


Post Extras: Print Post   Remind Me!   Notify Moderator  
chboss
professor emeritus


Reged: 03/24/08

Loc: Zurich Switzerland
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: chboss]
      #6266612 - 12/22/13 10:22 AM

Anat,

Installation and configuration worked as described.
Now after testing with the Canon 40D and the 6D I found that it is not starting to expose with both cameras.

What are the important points to connect a Canon DSLR?
Are there any setup steps that are necessary?
I did connect both cameras over the USB hub and then switched them on.

best regards
Chris


Post Extras: Print Post   Remind Me!   Notify Moderator  
telfish
sage
*****

Reged: 11/17/10

Loc: Adirondack Mountains NY
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: chboss]
      #6267376 - 12/22/13 06:32 PM

Quote:

Hi Terry

SkySafari 3 works already with the current version.

best regards
Chris




Great!

I am awaiting my device to get started.

Terry


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: telfish]
      #6267927 - 12/23/13 04:22 AM

I'm not really accustomed with platesolving, controlling the mount through PC/tablet etc. so I'd like to ask some noob's questions...
Is Skychart/cartes du ciel still usable on iAH?
Can it control the mount?
How is platesolving related to controlling the mount?
What are the main differences/advantages between CdC and SkySafari?

Thanks
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: chboss]
      #6270222 - 12/24/13 09:37 AM

Chris:

> What are the important points to connect a Canon DSLR?
Are there any setup steps that are necessary?

Please set your camera as follows:
1) Turn the Dial to M (manual)
2) Set the exposure time to Bulb
That is all. You may try connecting the camera directly to MK808 without the hub.

Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6270240 - 12/24/13 09:47 AM

Hi Piero

> Is Skychart/cartes du ciel still usable on iAH?

Yes. But you need to compile it using the instruction in Readme. I removed it because the package was huge. You need to modify admin.php to uncomment some CDC-related buttons which were disabled.

> Can it control the mount?

Yes but it uses the INDI driver. The mount support is limited. ZEQ25 is not supported

> How is platesolving related to controlling the mount?

Plate-solving is the approach to find the coordiate of the center of the image taken from a camera. The coordiate is the actual pointing position of the mount. The output from plate-solving are the RA and DEC values.

If we use the RA and DEC values to align the mount, we can precisely center the mount to any object near-by.

> What are the main differences/advantages between CdC and SkySafari?

Skysafari runs on the iOS and Android devices. So it is very responsive and a lot of mounts can be controlled by Skysafari. MK808 will work as Skyfi to relay information betweeen the mount and Skysafari.

CDC is free and it runs on MK808. So, you don't need any app on your mobile device except a web browser.


Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
tango13
member


Reged: 03/16/11

Loc: Rome, Italy
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6271684 - 12/25/13 03:57 AM

Hi Anat and thanks for the detailed reply.
So, as I understand our ZEQ mount cannot be controlled by CdC whereas with Skysafari it can, right?

Thank you.
Piero


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: tango13]
      #6271687 - 12/25/13 03:59 AM

Hi Piero,

Yes

Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
chboss
professor emeritus


Reged: 03/24/08

Loc: Zurich Switzerland
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6271754 - 12/25/13 06:41 AM

Hello Anat

Thank you for your reply.
I will try again using the settings you recommended.

best regards
Chris


Post Extras: Print Post   Remind Me!   Notify Moderator  
chboss
professor emeritus


Reged: 03/24/08

Loc: Zurich Switzerland
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: chboss]
      #6271846 - 12/25/13 08:58 AM

Update:

Checked again with Canon 40D set to Manual and Bulb.
Works! Either connected to the MK808 directly or over my USB3 hub.
So no problems there.

The Canon 6D does not work at all it seems impossible that the MK808 connects to the camera...

best regards
Chris


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: chboss]
      #6272773 - 12/25/13 09:27 PM Attachment (11 downloads)

Hi Chris,

Canon 6D uses a different camera protocol as stated in
http://www.gphoto.org/doc/remote/

I have just added the support for 1000D or silimar cameras. Please download the patch from:
https://sourceforge.net/projects/iastrohub/files/patch20131226.zip/download

Unzip the file and copy all files to /home/pi/www
Then select 1000D in Admin page. I hope the 1000D protocol works for Canon 6D. Let me know the result.

Best regards,
Anat


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6272780 - 12/25/13 09:31 PM

If it doesn't work, please send me the output log when running this command:

gphoto2 --auto-detect

and

gphoto2 --list-config


Post Extras: Print Post   Remind Me!   Notify Moderator  
chboss
professor emeritus


Reged: 03/24/08

Loc: Zurich Switzerland
Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: anat]
      #6273187 - 12/26/13 07:37 AM

Hello Anat

I am just testing after installing the patch.

The 6D does not work with the 1000D setting or the 40D setting.
However it seems to work with the 550D/1100D setting. Does this make sense?

The 40D works with the 40D setting and the 1000D setting but does not work with the 550D/1100D setting.

Output:
root@rk3066dev:~# gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Canon EOS 6D usb:002,006

And:

root@rk3066dev:~# gphoto2 --list-config
/main/actions/uilock
/main/actions/syncdatetime
/main/actions/autofocusdrive
/main/actions/manualfocusdrive
/main/actions/eoszoom
/main/actions/eoszoomposition
/main/actions/eosviewfinder
/main/actions/eosremoterelease
/main/settings/datetime
/main/settings/reviewtime
/main/settings/output
/main/settings/movierecord
/main/settings/evfmode
/main/settings/ownername
/main/settings/artist
/main/settings/copyright
/main/settings/customfuncex
/main/settings/autopoweroff
/main/settings/capturetarget
/main/settings/capture
/main/status/serialnumber
/main/status/manufacturer
/main/status/cameramodel
/main/status/deviceversion
/main/status/vendorextension
/main/status/model
/main/status/ptpversion
/main/status/batterylevel
/main/status/lensname
/main/status/eosserialnumber
/main/status/shuttercounter
/main/status/availableshots
/main/imgsettings/imageformat
/main/imgsettings/imageformatsd
/main/imgsettings/imageformatcf
/main/imgsettings/iso
/main/imgsettings/whitebalance
/main/imgsettings/colortemperature
/main/imgsettings/whitebalanceadjusta
/main/imgsettings/whitebalanceadjustb
/main/imgsettings/whitebalancexa
/main/imgsettings/whitebalancexb
/main/imgsettings/colorspace
/main/capturesettings/focusmode
/main/capturesettings/autoexposuremode
/main/capturesettings/drivemode
/main/capturesettings/picturestyle
/main/capturesettings/meteringmode
/main/capturesettings/bracketmode
/main/other/d049
/main/other/d402
/main/other/d407
/main/other/d406
/main/other/d303
/main/other/5001

I hope this helps.

best regards
Chris


Post Extras: Print Post   Remind Me!   Notify Moderator  
anat
professor emeritus


Reged: 06/03/04

Re: PiAstroHub: RaspberryPi for Autoguiding+DSLR+GOTO new [Re: