MikeDunn
Posts: 83
Joined: Wed Jul 01, 2015 6:58 pm

Re: RaspberryPi Camera for Astrophotography

Tue Sep 29, 2015 9:41 am

@Dougie,

Yes I know; it's on my list of things to get / fix. As it doesn't actually hurt anything (at least, I've not seen anything posted here to the contrary), it's not top of the list; but once I get a camera module a better supply will likely be bought @ the same time.

@Gordon,

Cheers for that; will have a check this morning (if I can) 8-)

Mike

[edit]
Grabbed a few spare minutes, and changing to 192 / 608 did it :D Looks really neat now :P
Kudos !

Now ... which camera to get ... vanilla or NoIR ... decisions decisions !!!

M

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Tue Sep 29, 2015 12:49 pm

Updated version.
By default should fit Pi Screen (800 x480)
You can set 'NoFrame' off / on in Display Setting (default off)
Last edited by gordon77 on Thu Oct 22, 2015 10:57 am, edited 1 time in total.

MikeDunn
Posts: 83
Joined: Wed Jul 01, 2015 6:58 pm

Re: RaspberryPi Camera for Astrophotography

Wed Sep 30, 2015 6:13 pm

Been checking out Jessie; was hoping to deploy the new version on there, but am not quite happy yet. Add on having to head away for a few days, and I won't get around to re-testing until the week-end ...

Mike

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Wed Sep 30, 2015 6:31 pm

MikeDunn wrote:Been checking out Jessie; was hoping to deploy the new version on there, but am not quite happy yet. Add on having to head away for a few days, and I won't get around to re-testing until the week-end ...

Mike
What are you not happy with ? I tried jessie yesterday and saw no issues at least with this program.

Gordon

MikeDunn
Posts: 83
Joined: Wed Jul 01, 2015 6:58 pm

Re: RaspberryPi Camera for Astrophotography

Wed Sep 30, 2015 6:43 pm

Various things ... the long-hold-down on the touchscreen for the right-click no longer works; VNC won't start automatically (although I fixed an error box on a manual start - they've gone & changed the descriptor text :roll: ); various other bits & pieces that I use & require; seems I have intermittent WiFi access as well now :roll: As such, not tried the app yet :( I want to be sure the underlying system is both stable and functional first.

Hopefully, there will be some fixes to these by the week-end.

Mike

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Wed Sep 30, 2015 6:47 pm

OK, l don't use any of those things.
Gordon

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Thu Oct 22, 2015 10:57 am

Updated version 8n

You can resize the buttons (bh and bw). This has meant a lot if re-writing so let me know if any issues.

Exp Modes modifed. You can now use options eg night / nigh2 which will allow you to change ev / Exp Time.

The most sensitive mode appears to be night / nigh2 with ISO in Auto, I think it puts it into ISO 1600. nigh2 will allow you to set the Exp Time.

It does work with Jessie, but my RTC won't work.

Gordon

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Fri Oct 23, 2015 9:45 am

Version n2

After some more testing added 'spor2' Exp Mode which can set ISO 1600 in auto ISO.
Frame now off in default.

Gordon

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Tue Oct 27, 2015 12:02 pm

Version o4

I managed some more testing last night, even if a bit cloudy and a full moon.
Hopefully many bugs fixed.

Regards sensitivity of the camera here's a comparison
Looking at Capella
PiNoir camera, with IR/UV filter, at auto ISO in Night Mode, -ss @ 450mS on a 80mm scope
Canon 7D at 200 ISO, f5.6, 400mm lens, 80 seconds exposure

I was guiding on the star to the right in the Pi image.
Attachments
Canon_7D.jpg
Canon_7D.jpg (26.01 KiB) Viewed 4584 times
Last edited by gordon77 on Sat Nov 14, 2015 10:14 pm, edited 4 times in total.

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Tue Oct 27, 2015 12:05 pm

scr_pic10.jpg
Screenshot
scr_pic10.jpg (30.5 KiB) Viewed 4561 times
RPi_camera.jpg
RPi_camera.jpg (52.04 KiB) Viewed 4569 times
Rpi Camera image

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Tue Nov 10, 2015 11:16 am

r8p

Added a Night / Day Mode, changes the colours to mainly red.
Set Night = 1 in DISPLAY section for Night colours, or press the D or N at bottom right of the keys.

(Not sure when you need a Day Mode, but they were the original colours)

update to r8q, minor bug fixes
screenshot.jpg
Screenshot (testcard) in Night Mode
screenshot.jpg (49.26 KiB) Viewed 4427 times
Last edited by gordon77 on Sat Dec 19, 2015 4:01 pm, edited 3 times in total.

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Fri Dec 18, 2015 5:06 pm

New version.

Can now drive the Seeed Raspberry Pi Relay board v1.0. So you maybe able to interface to some older Scopes.

Set 'use_Seeed = 1', enable your i2c and sudo apt-get install python-smbus. Relay board address left to default of 20, on i2c-1.
Relay 1 = N, Relay2 = S, Relay 3 = E, Relay 4 = W.

Pin26 still available to interface to a dslr etc

All at your own risk ! . Let me know any errrors.

Gordon
Last edited by gordon77 on Mon Dec 28, 2015 1:13 pm, edited 1 time in total.

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Mon Dec 28, 2015 1:11 pm

Update.

I found a couple of issues if using a webcam.

Gordon
Last edited by gordon77 on Tue Jan 26, 2016 10:01 pm, edited 1 time in total.

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Sun Jan 03, 2016 10:59 am

Update, now added support for PiFace Relay Plus board.
This board uses SPI, see within program to install & enable.
set use_PiFaceRP = 1

SPI conflicts with the GPIOs I have used so it needs to move the ext DSLR camera output from pin 26, set AC_OP if using SPI. I have moved it to pin 13 but you could move it where you want it.
Attachments
RelayOP.jpg
RelayOP.jpg (15.79 KiB) Viewed 3958 times
Last edited by gordon77 on Tue Jan 26, 2016 10:01 pm, edited 1 time in total.

MikeDunn
Posts: 83
Joined: Wed Jul 01, 2015 6:58 pm

Re: RaspberryPi Camera for Astrophotography

Sun Jan 03, 2016 8:06 pm

Gordon,

Do you have 2 settings conflicting here ?

Code: Select all

# if using the RPi camera set use_Pi_Cam = 1 , if set to 0 the program will use a USB camera.
use_Pi_Cam = 1

# if using the RPi.GPIO on the Pi set use_RPiGPIO = 1, not required if only using the DSLR GPIO O/P (photoon = 1).
use_RPiGPIO = 1

# to enable GPIO control of DSLR function set photoon = 1
photoon = 1
I couldn't get this to work until I reset

Code: Select all

# to enable GPIO control of DSLR function set photoon = 1
photoon = 0
Your thoughts ?

Mike

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Sun Jan 03, 2016 8:08 pm

Mike,

I haven't seen any. What error did you get?

Gordon

MikeDunn
Posts: 83
Joined: Wed Jul 01, 2015 6:58 pm

Re: RaspberryPi Camera for Astrophotography

Sun Jan 03, 2016 8:13 pm

I didn't get anything ! Just a big black box instead of the interface ...

Hence I had a look at this config & changed that parameter - and bingo :D

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Sun Jan 03, 2016 8:17 pm

Does it repeat if you change photoon back to 1?

Gordon

MikeDunn
Posts: 83
Joined: Wed Jul 01, 2015 6:58 pm

Re: RaspberryPi Camera for Astrophotography

Sun Jan 03, 2016 8:43 pm

Hmmm, no - works fine ...

Strange ... :?:

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Sun Jan 03, 2016 8:46 pm

Thanks Mike,

Let me know if it happens again.

I'll do some testing tomorrow.

Gordon

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Mon Jan 04, 2016 3:24 pm

I've run this most of the day and seen no problems.

Gordon

AndyDane
Posts: 1
Joined: Wed Jan 20, 2016 8:05 pm

Re: RaspberryPi Camera for Astrophotography

Wed Jan 20, 2016 8:08 pm

OK, this might sound really basic but how did you get your camera lined up with the eyepiece?

Ive got gstreamer working nicely but I can't seem to get the camera lined up or mounted so that I get an image out...

I've tried a variety or ways of making it stable but failing...

ta
Andy

Jetstar49
Posts: 2
Joined: Thu Jan 21, 2016 1:19 am

Re: RaspberryPi Camera for Astrophotography

Thu Jan 21, 2016 1:26 am

Hi gordon,

I just received my first raspberry pi 2 and camera board in hopes of making it into an autoguider. I found this thread after doing some searching on google. What you have done so far looks amazing. I am going to try and code the software myself since I know Python and Open CV, but I may switch to yours later on.

Before I jump in and try it I had a question about communication with the mount. I know you have developed yours to work with an LX200. Do you know what I would need to change in order for this to work with a Celestron CGEM with a ST-4 port? Would I need the Arduino board or would the GPIO pins be fine? Sorry if you answered this before. I read through most of the posts and didn't see it.

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Thu Jan 21, 2016 6:29 am

Hi,

This should work with any ST4 port, using the opto relays, opto coupler, seeed relays, piface relay plus or any relay board. I would recommend the opto coupler as the simplest and cheapest.l use It on a neq6 pro mount with the opto coupler.

Gordon
Attachments
ST-4_interface IL74.jpg
Opto coupler
ST-4_interface IL74.jpg (47.95 KiB) Viewed 3636 times
Last edited by gordon77 on Thu Jan 21, 2016 6:34 am, edited 1 time in total.

gordon77
Posts: 4220
Joined: Sun Aug 05, 2012 3:12 pm

Re: RaspberryPi Camera for Astrophotography

Thu Jan 21, 2016 6:32 am

AndyDane wrote:OK, this might sound really basic but how did you get your camera lined up with the eyepiece?

Ive got gstreamer working nicely but I can't seem to get the camera lined up or mounted so that I get an image out...

I've tried a variety or ways of making it stable but failing...

ta
Andy
Hi,

I don't mount it on the eyepiece. Take the eyepiece off the scope and insert the pi camera mounted on a 1.25" adaptor. Ensure you've removed the lens from the pi camera.

I used a mount similar to this which l took from an old Webcam
http://www.m12lenses.com/mobile/Product ... T-LH020RPM
And one of these...

http://www.amazon.com/Adapter-Telescope ... B00T23G3VG

Gordon.
Attachments
PIAG_2.jpg
Pi camera with adaptor
PIAG_2.jpg (56.85 KiB) Viewed 3635 times

Return to “Camera board”