Jump to content

Stargazers Lounge Uses Cookies

Like most websites, SGL uses cookies in order to deliver a secure, personalised service, to provide social media functions and to analyse our traffic. Continued use of SGL indicates your acceptance of our cookie policy.

sgl_imaging_challenge_banner_globular_clusters.thumb.jpg.b518052b915c2cf31f5f12e33ce0e9d2.jpg

OlegKutkov

Autonomous Allsky camera with Raspberry PI.

Recommended Posts

Allsky camera and weather station is very important parts of the modern observatory.
Here I wanna describe project that I build for my observatory.
I started a new topic because I believe that this project is unique and I hope this description may be useful because project is open source/open hardware.
This device contains two cameras, one is for beautiful daytime shots (over the horizon) and second for useful night shots. Also there is a lot of sensors: clouds, ir, light, temperature and humidity.
Heart of the device is Raspberry PI 2 microcomputer.

Everything is built in waterproof electrical box which can be found in hardware stores.
Yep this exterior is not very nice looking due to silicone sealant. But nice looking is not most important part, especially when mounting device somewhere on a roof :)

Acrylic dome is from CCTV camera.

Inside the box I glued a thermal insulation and copper foil which acts like a EMI shield. This foil is connected to the building grounding circuits.

All devices inside the box:
- Raspberry PI 2
- internal temperature/humidity sensor
- powering system (+3.3, +5, +12 volts)
- ethernet lightning protection
- tsl2561 ir/luminosity sensor
- mlx90614 cloud sensor
- cooling system
- rtc with a back-up baterry

External temperature/humidity sensor is mounted in separate aluminium can.

Cameras module is mounted on the bronze pcb stands and will be described below.

Raspberry PI runs all device software except database and long-time storage of the images.
Camera can be accessed through simple web interface which running on nginx server.
All data collecting and generation software is wrote on C, Python and Bash.
All processes is starting by the CRON.

Database is working on the remote server with reliable storage system and can be accessed through network. I'm using Mysql in this project.
I found that this solution is more reliable and convenient rather than local storage on the SD card.

All images are postprocessed by the software. Dark frames is extracted (only for night camera) and generated some text information on the bottom of the image.

allsky_overview_with_labels.jpg

cam_internals_with_labels.JPG

IMG_0647.JPG

2018.05.06T00.51.jpg

2018.05.07T01.21.jpg

2018.05.07T01.19.jpg

2018.05.05T12.12.jpg

2018.05.06T07.42.jpg

  • Like 3

Share this post


Link to post
Share on other sites

Cameras module is placed under the dome.
You can see mechanical construction on the photo below.

Vertical camera is allsky. This is a popular and cheap QHY5-IIM astrocam. Lens is also CCTV, Сomputar 1.8-3.6mm 1.6
This lens contains iris motor which is used to close the camera in a day time to prevent damage of the image sensor.

Second horizontal camera is a Raspberry camera module, first version. This module is also equipped with CCTV lens using handmade adapter.

QHY camera is accessed with my custom software.
RPI cam module is working with standard raspistill utility.

cam_modules.png

IMG_0663.JPG

  • Like 1

Share this post


Link to post
Share on other sites

On the image below you can see all logical connection between device modules.
Most of the sensors is accessed by the I2C bus which is very convenient.

internal_schematic.JPG

  • Like 1

Share this post


Link to post
Share on other sites

This device requires only one external cable which is used as 100mb ethernet and for powering by the free pairs (variant of PoE).

I'm using black outdoor ethernet cable.

On the both sides of the cable I've mounted protection circuits.
Schematics is attached.

IMG_0665.JPG

poe.png

ligth_protection_circuit.png

in_cam_prot.jpg

IMG_0636.JPG

Share this post


Link to post
Share on other sites

Camera down-converter is used to deliver 3.3 volts for the sensors, 5 volts for the Raspberry and QHY and 12 volts for the FANs and IRIS motor.

This is two impulse converters and one linear. Also on this board I placed simple FAN driver.

downconv_shcm.png

downconv_pcb_bottom.png

downconv_pcb_top.png

pwr2.jpg

  • Like 2

Share this post


Link to post
Share on other sites

Here is web interface. Powered by Bootstrap with additional Javascript code and custom styles.
All graphs is generating by the Python matplotlib. Text messages is also generated by the Python code with some Bash wrappings.
Every images and text data is reloading automatically every 40 seconds.

Fire_Shot_Capture_005_All_Sky_camera_web_interface_http_azt8_craocrimea_ru_9180_index_html.png

FireShot Capture 019 - AllSky camera web interface - http___azt8.craocrimea.ru_9180_index.html.png

Fire_Shot_Capture_006_All_Sky_camera_web_interface_http_azt8_craocrimea_ru_9180_sensors_html.png

Fire_Shot_Capture_007_All_Sky_camera_web_interface_S_http_azt8_craocrimea_ru_9180_system_html.png

  • Like 3

Share this post


Link to post
Share on other sites

Impressive work done - well done

  • Like 1

Share this post


Link to post
Share on other sites

That's clever stuff, great project.

Share this post


Link to post
Share on other sites

Veeery nice! I've been working on something similar but got stuck on the iris thing. Do you happen to have the model number for your Computar lens?

Share this post


Link to post
Share on other sites
Posted (edited)
On 15.05.2018 at 13:25, gentlebear76 said:

Veeery nice! I've been working on something similar but got stuck on the iris thing. Do you happen to have the model number for your Computar lens?

Hi!

My lens is Computar 1.8-3.6mm 1:1.6 1/3 CS.

To be able to control iris I made a little changes to the lens electronics.
Discovering board I found operational amplifier which controls output motor driver. Pulling down one of the amplifier inputs causes closing the iris.
I added little npn transistor key (you can see on attached photo). Base of this transistor is connected to the Raspberry GPIO pin through 1k resistor.
So when GPIO is high - transistor is opened and amplifier pin is pulled to the ground, iris closed.

iris_motor_mod.jpg

Edited by OlegKutkov
typo fix

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Adreneline
      Hi Everyone,
      With March about to pass without a single image being taken my mind has turned to wire reduction and being able to move the OTA and mount further away from the house tethered only by a network cable and mains supply. Because I have a Raspberry Pi3 Model B+ to hand I thought I would try Virtualhere - just to see how far I can get to realising my goal without too much extra spend.
      The Virtual Client installed fine on the NUC and I have been able to install the basic usb-server (vhusbdarm) code on the Pi3B+; you can install the specific usb-server code without a licence although when I tried I got an illegal instruction command from the Pi. Nevertheless I persevered with the basic usb-server, connected successfully to the NUC and could see the Atik428ex connected to the Pi. I was all the more encouraged to see that Artemis could also see and use the camera. The resulting image was not so encouraging and I wonder if anyone can tell me the likely cause of the banding on the image. This is a 0.2s exposure using an L filter. The pylon is not that black but the sky colur is pretty accurate!

      I did not go so far as to try the mount connection (NEQ6) or guide camera (ASI120MM-S).
      Thanks in anticipation of any help.
      Adrian
       
    • By steve astromag
      I am sure I am missing a trick here but thought I would ask here anyway. I have the QHY5-II MONO and a meteor lens to use as a kind of allsky cam. However, I want to mount the CCD to a mount in the garden but do not want to collect the data with a laptop. Is there anything I can use to collect the data but a little mre mobile than a laptop?
       
      TIA

      Steve
    • By kbrown
      Got tired of the mess of cables and loose devices I had to always put together and dismantle after each astrophotography session so I figured I'd do something about it. This tray will sit nicely under the tripod and provide a hub for everything including Fused Power, Raspberry Pi, USB Hub, GPS, Dew Heaters, Long Range WiFi etc...
      First version will be really crude as I need to have this working in less than a week as I'm going on a holiday taking my astro gear with me.
       






    • By AngryDonkey
      Hello,
      Last year I developed an 'all sky' imaging application to run my Starlight Xpress Oculus camera (for Oculus owners you can find out more here: https://groups.yahoo.com/neo/groups/allskeye/info). I have recently added 'experimental' ASCOM support for it but don't have any other cameras to really test in on. If anyone is looking for this kind of software and would be happy to carry out some beta testing please let me know. Please bear in mind:
      The software is really designed for traditional astronomical cameras using longer exposure lengths i.e. not video astronomy and am not sure how well it will work with faster CMOS cameras The software is mono only, no colour images can be processed (although it might be possible to use a colour camera to produce mono images - something I would like to test) It has been running for a while so is reasonably stable but please bear in mind that this will be a beta test so do expect problems! :-) Oh and sorry but it will only work on Windows computers from Vista onwards (no XP) Thanks,
      Mike
    • By PESKYWAABBIT
      Hey there,
      Curious about which CCD's you have been or are using successfully with auto guiding on a rpi2 or even a rpi3?
      lin_guider seems to support a bunch of manufacturers but a list of what models are proven to work with the Raspberry pi's will surely help my quest!
      Cheers for the help!
×

Important Information

By using this site, you agree to our Terms of Use.