Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Sun Jan 26, 2014 8:38 pm

Hi,
As it is daylight, I am getting familiar with running the program. The autoguider is on my EQ3-2 mount.

I have an artificial star and aimed the auto guider at it while the mount was tracking( moving past the stationary star).
Initially, I used the Window (N,S,E,W) controlles to move the window(containing the red cross and the red X) over the star. Then I zoomed in on the star to about level 4. Then I turned on A-Win and A-Thes. Finally, I turned on Autoguide. The X moved over the star in the window and turned green.
As my mount continued to move, the star moved out of the window and the X turned Red and was centered in the window.

Should I do anything differently?

Daniel

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

Re: RaspberryPi Camera for Astrophotography

Sun Jan 26, 2014 8:49 pm

Hummer wrote:Hi,
As it is daylight, I am getting familiar with running the program. The autoguider is on my EQ3-2 mount.

I have an artificial star and aimed the auto guider at it while the mount was tracking( moving past the stationary star).
Initially, I used the Window (N,S,E,W) controlles to move the window(containing the red cross and the red X) over the star. Then I zoomed in on the star to about level 4. Then I turned on A-Win and A-Thes. Finally, I turned on Autoguide. The X moved over the star in the window and turned green.
As my mount continued to move, the star moved out of the window and the X turned Red and was centered in the window.

Should I do anything differently?

Daniel
The problem is probably that you cant just use a 'fixed' star. The scope will move, without the guiding, as it would normally to track but the autoguider will not be able to stop it. Moving east/west with an autoguider is achieved by either stopping or speeding up the motor from its normal speed momentarily not driving it backwards / forwards. With my eq6 l found that you cant move it east / west even if you turn off the tracking. You should be able to move it north/south. You need a real star to work properly.

Gordon
Last edited by gordon77 on Sun Jan 26, 2014 9:30 pm, edited 2 times in total.

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Sun Jan 26, 2014 9:27 pm

Thanks for the reply.

Hopefully, we should get a clear night soon and I can give it a try.

Daniel

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

Re: RaspberryPi Camera for Astrophotography

Mon Jan 27, 2014 5:52 am

Hummer wrote:Thanks for the reply.

Hopefully, we should get a clear night soon and I can give it a try.

Daniel
Depedent on how noisy your mount drive is you maybe able to hear the motor changing as you send the NSEW commands. North and South you should hear the dec motor run, West the RA motor will stop , or slow down, for a second and East the RA motor should speed up for second.

Gordon

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

Re: RaspberryPi Camera for Astrophotography

Mon Jan 27, 2014 4:23 pm

If you'd like to try it here's the latest version in BETA. I haven't had chance to fully test it as the weather here has been bad and it's forecast for the week !

-Layout tided
-Intervals are now frames not seconds as this should improve timing
-A-Int improved
-I'm trying a feature I've called CLS to try and keep the scope with some sort of guiding if it loses the guide star for a short period, eg clouds. It simply calculates an average from the last 10 corrections and sends this if the star disappears. May not work as expected as it may correct for constant drift but not other errors !. If you see the CLS flashing it means it hasn't had its 10 samples.

You can compare it to the version you have.

Gordon77
Last edited by gordon77 on Thu Jan 22, 2015 11:07 am, edited 1 time in total.

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Tue Jan 28, 2014 10:48 am

Hi,
Thanks for posting the Beta Version. I will give it a try.

Daniel

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

Re: RaspberryPi Camera for Astrophotography

Tue Jan 28, 2014 7:06 pm

Hummer wrote:Hi,
Thanks for posting the Beta Version. I will give it a try.

Daniel
I just spotted one change you'll need to make

Change

#SETUP GPIO
N_OP = 16
S_OP = 13
E_OP = 11
W_OP = 18
#N_OP = 22
#S_OP = 18
#E_OP = 24
#W_OP = 16

To

#SETUP GPIO
#N_OP = 16
#S_OP = 13
#E_OP = 11
#W_OP = 18
N_OP = 22
S_OP = 18
E_OP = 24
W_OP = 16

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Tue Jan 28, 2014 8:02 pm

Thanks. I will make the adjustment.

Daniel

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Tue Feb 04, 2014 1:39 am

Hi All,
I am attaching the RPi to my mount. The GPIO for my RPi is shown in the attached image. I do not see GPIO 16.
My understanding is to use GPIO 16, GPIO 18, GPIO 22 and GPIO 24.
Please, help with my problem.

Regards,
Daniel
Attachments
GPIOs.png
GPIOs.png (37.9 KiB) Viewed 3632 times

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

Re: RaspberryPi Camera for Astrophotography

Tue Feb 04, 2014 2:59 am

Hummer wrote:Hi All,
I am attaching the RPi to my mount. The GPIO for my RPi is shown in the attached image. I do not see GPIO 16.
My understanding is to use GPIO 16, GPIO 18, GPIO 22 and GPIO 24.
Please, help with my problem.

Regards,
Daniel
You need to use PINS 16,18,22 & 24 NOT GPIOs.

These are GPIOs 23, 24, 25 & 8

(Assuming you corrected the program as l mentioned earlier)

See picture ST-4_interface.jpg

Gordon
Last edited by gordon77 on Tue Feb 04, 2014 3:26 am, edited 1 time in total.

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Tue Feb 04, 2014 3:16 am

Hi,
Now it makes sense to me.

Daniel

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Mon Feb 10, 2014 3:30 am

Hi All,

Finally got the Autoguider outside to test.
Once I had a star in view, I did the following:
1) Clicked A-Win
2) Clicked A-Thr
3) Clicked EWI
4) moved the window over the star
3)Clicked Autoguide

I watched as the star drifted upwords. I clicked on North in the Window Move Box and the window moved up over the star again As I continued to watch the star drifted up, on the Telescope Move Box, the North button was turning green and the size of the window slowly grew. Finally the window shrink back and the star had moved up out of the box.
Am I doing something wrong?

Daniel

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

Re: RaspberryPi Camera for Astrophotography

Mon Feb 10, 2014 5:56 am

Hummer wrote:Hi All,

Finally got the Autoguider outside to test.
Once I had a star in view, I did the following:
1) Clicked A-Win
2) Clicked A-Thr
3) Clicked EWI
4) moved the window over the star
3)Clicked Autoguide

I watched as the star drifted upwords. I clicked on North in the Window Move Box and the window moved up over the star again As I continued to watch the star drifted up, on the Telescope Move Box, the North button was turning green and the size of the window slowly grew. Finally the window shrink back and the star had moved up out of the box.
Am I doing something wrong?

Daniel
Sounds like the software is working correctly.

Did you make the correction l posted earlier, if not then it will be using the wrong gpio outputs?

Have you proved you have the interface connections working Ok?. Can you ensure it is controlling the scope?
If you press the Telescope north / south does the scope move, note it maybe only very slightly.

Can you upload any photos of the interface and connections to see if l can spot any issues?

Are you sure the camera is aligned on the scope such that north is north? If you move the scope Dec adjustment the star should move north/south on the screen

Why did you click EWI,? Are you sure you needed to?

I've just googled and found your mount doesn't have an autoguider port, is this the mod you have done?

http://www.12dstring.me.uk/eq3-2autoguiding.htm

If so you could be trying to cascade two interfaces which wont work.

If you have used the ULN2003A then you maybe able to wire the Pi straight to that BUT I cant guarantee it as I've never connected one to a Pi, others maybe able to advise. Note it wont be optically isolated. The ULN2003A has been used here, so the Pi can drive it

http://www.scraptopower.co.uk/Raspberry ... spberry-pi

datasheet http://www.farnell.com/datasheets/1690348.pdf

or remove the ULN2003a and use the interface with the opto-relays I showed

Gordon

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Mon Feb 10, 2014 11:48 am

Hi,
For the interface, I used the Digital Relays as you suggested. I also have done the modification to add the ST-4 port. I tested the port with your software (clicking on North and South) and I could feel the stepper motor respond.

Photos of my setup are attached.

Thanks for having a look.

Daniel
Attachments
Feb10_3.jpg
Feb10_3.jpg (27.83 KiB) Viewed 3475 times
Feb10_2.jpg
Feb10_2.jpg (49.44 KiB) Viewed 3475 times
feb10_1.jpg
feb10_1.jpg (32.94 KiB) Viewed 3475 times

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

Re: RaspberryPi Camera for Astrophotography

Mon Feb 10, 2014 12:56 pm

Hummer wrote:Hi,
For the interface, I used the Digital Relays as you suggested. I also have done the modification to add the ST-4 port. I tested the port with your software (clicking on North and South) and I could feel the stepper motor respond.

Photos of my setup are attached.

Thanks for having a look.

Daniel
Hi ,

Can you send details of the ST-4 addition mod

Gordon

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

Re: RaspberryPi Camera for Astrophotography

Mon Feb 10, 2014 1:06 pm

This pics look OK as far as I can tell.

If you short the points shown with the colored dots, eg yellow to yellow, green to green etc, one at a time, does the scope move accordingly ?

Gordon
Attachments
Feb10_3.jpg
Feb10_3.jpg (51.85 KiB) Viewed 3451 times

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Mon Feb 10, 2014 2:00 pm

Hi,
For the ST-4 port, I just followed the PDF from the Shoestring Astronomy site titled,
"Modification of EQ-style Dual Axis Controller".

Seemed straight forwards.

Daniel

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

Re: RaspberryPi Camera for Astrophotography

Mon Feb 10, 2014 3:07 pm

Hummer wrote:Hi,
For the ST-4 port, I just followed the PDF from the Shoestring Astronomy site titled,
"Modification of EQ-style Dual Axis Controller".

Seemed straight forwards.

Daniel
Hi,

Read that and it looks simple enough and no added chips in there !.
So the interface should drive it OK.
Let me know how the 'shorting tests' go.
The next step is do we have the correct GPIOs wired, I am sure you will have, and the correct outputs are driving the correct scope direction inputs eg N is N.
Then is the camera aligned correctly so North is North. The camera should be parallel to the DEC axis, so when you move the scope the star on the screen goes the same way. I hope the photo below may help.

Gordon
Attachments
cam_align.jpg
Note N isnt polar north, just camera north
cam_align.jpg (60.8 KiB) Viewed 3333 times
Last edited by gordon77 on Tue Feb 11, 2014 9:08 am, edited 2 times in total.

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Mon Feb 10, 2014 4:57 pm

Hi,
Should have time tonight to test the setup and do the "short test".
Which rate switch should I use 2x, 4x or 8x on the telescope mount controller?

Hoping to get this running soon.

Daniel

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

Re: RaspberryPi Camera for Astrophotography

Tue Feb 11, 2014 3:58 am

Hummer wrote:Hi,
Should have time tonight to test the setup and do the "short test".
Which rate switch should I use 2x, 4x or 8x on the telescope mount controller?

Hoping to get this running soon.

Daniel
In normal use l would use 2X but during this testing the others may help to exagerate the movements.


Gordon

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

Re: RaspberryPi Camera for Astrophotography

Tue Feb 11, 2014 11:29 am

You maybe able to do some testing with your 'fixed' star to save getting the scope outside every time.

If you hold down the left/west button on the EQ3-2 handcontroller does it stop the scope RA moving ?

If it does then do that and try using the software TELESCOPE N or S, does that move the scope up and down ?
You may need to press N or S a few times to see it moving on the screen.

Then releasing the EQ3-2 handcontroller left / W key the star should start to move, pressing the software TELESCOPE E or W should momentarily stop it or speed it up.

Gordon

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Tue Feb 11, 2014 2:36 pm

HI,
Spent last night testing the setup.The result seems to be that when I activiate the EQ3-2 handcontroller Dec positive or Dec negative, the stepper motor rotates the same direction. If I activate RA+ or RA-, the motor stops.
I openedup the box to check the sodder joints and redid any that looked suspect. No Improvement.
I do not know if this is a known bug with the handcontroller.

Daniel

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

Re: RaspberryPi Camera for Astrophotography

Tue Feb 11, 2014 2:57 pm

Hummer wrote:HI,
Spent last night testing the setup.The result seems to be that when I activiate the EQ3-2 handcontroller Dec positive or Dec negative, the stepper motor rotates the same direction. If I activate RA+ or RA-, the motor stops.
I openedup the box to check the sodder joints and redid any that looked suspect. No Improvement.
I do not know if this is a known bug with the handcontroller.

Daniel
Thats a pity, sounds like a handcontroller problem. Did it work OK before you did the ST-4 mod ?

Gordon

Hummer
Posts: 40
Joined: Thu Jan 09, 2014 9:55 pm

Re: RaspberryPi Camera for Astrophotography

Thu Feb 13, 2014 5:36 pm

Hi,
New handcontroller is ordered. Hopefully, it should be here this weekend. I should have time to do the ST-4 modification so with a clear sky, I may be back to testing the autoguider shortly.


Daniel

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

Re: RaspberryPi Camera for Astrophotography

Fri Feb 14, 2014 11:05 am

Hummer wrote:Hi,
New handcontroller is ordered. Hopefully, it should be here this weekend. I should have time to do the ST-4 modification so with a clear sky, I may be back to testing the autoguider shortly.


Daniel
Could you test the interface first, not that l believe it will be any risk to the controller, maybe just use a multimeter, on ohms, between each output, and switch them from the software.
Gordon

Return to “Camera board”