Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

ASC Build - Another Eye On The Sky


kbrown

Recommended Posts

So here's my take on an all sky camera that I've been wanting to build for a long time. I've finally made a start. It's going to be a Raspberry Pi 3B + Raspberry Pi HQ camera based system with a DIY nichrome wire dew heater. Everything will be powered from a PoE splitter which gives me max 5V / 2.4A.

Here's what I've got so far:

IMG_20230824_201318.thumb.jpg.4abbaaf044a916bd351c4c0e9bf48deb.jpg

RPi 3 and the PoE splitter + a 50g bag of rechargeable silica gel.

 

IMG_20230824_201421.thumb.jpg.7c2fbd1ecd91fcce427b3f63cf556be4.jpg

Camera and lens are attached to the box with an adapter I 3D printed. Around this is a 3D printed bracket that holds the thin nichrome wire dew heater. It's about 20cm long 0.2mm thick and draws about 400mA at 5V. Seems to warm up nicely but not too hot to melt the plastic.

 

IMG_20230824_201805.thumb.jpg.c9ef5d39fc018bce0a63cbfb25ee400c.jpg

I'm using one of these pipe shelf brackets to attach it to my garage wall. It also serves the purpose of the cable entry to the box. The box itself is IP65 rated and I've tried to seal everything up as good as I could with neoprene gaskets and silicone. Also what's not shown in the pictures is one of these pressure compensation valves (IP68) I added to the bottom of the box:

EVPS 12 Polyamide Pressure compensation unit IP68

 

More to come soon...

 

  • Like 2
Link to comment
Share on other sites

Out of curiosity I thought I'd check what the effect of the dew heater would look like on a thermal camera.

Here's before turning it on:

1692913581875_100.thumb.JPG.26f62320e811d182e475652d50eb920c.JPG

 

And here's after about 10-15 minutes of full power:

1692914822203_100.thumb.JPG.250ad2be671c71f268b60c4afc190652.JPG

 

6-7 degrees above ambient. Hoping this will be enough :)

  • Like 2
Link to comment
Share on other sites

Decided to add a DS18B20 temperature sensor inside the dome so I can control the dew heater better as I'm also adding a outside temperature / humidity / pressure sensor:

IMG_20230826_213819.thumb.jpg.6c2d929f11818641a472c6b9ae58b787.jpg

Temperature sensor inside the dome

 

IMG_20230827_172901.thumb.jpg.5749a5dc08d31acf89d016a186a8f06b.jpg

Designed and printed a sensor screen for the temperature / humidity / pressure sensor. Probably an overkill but at least it looks kinda cool :)

 

IMG_20230827_181051.thumb.jpg.0f4444ae6af706645fc796e2c96b6bd3.jpg

It'll be sitting on the bottom of the box like this.

  • Like 2
Link to comment
Share on other sites

Well it's not the prettiest thing I've ever made inside but it does work :)

IMG_20230828_223525.thumb.jpg.541eed30f4e075ac3419283537639e2d.jpg

 

I'm able to read the BMP280 and AHT20 sensors via the i2c interface and the DS18B20 sensor via the 1-Wire interface. I also added an STP55NF06 mosfet in series with the dew heater so I could control it's power with PWM0 (GPIO18). All there's left to do is to write proper software for this. Happy so far :)

 

Edited by kbrown
  • Like 3
Link to comment
Share on other sites

Had to jump through a number of hoops but I now have the first working version of the INDI driver for this:

image.png.6a7b5a704508373ae9ee696aac3c7e1f.png

 

I couldn't find libraries / examples on how to read the sensors connected to the GPIO via C++ so I wrote a python script that uses various python libraries in order to read them. The script dumps all the sensor data into a json file periodically. I've set this to run as a systemd service so it's always running. My INDI driver then reads the json file and updates the UI properties etc. Then in order to control the dew heater with PWM I had to install pigpio and run it as a daemon. The INDI driver connects to it and issues the desired PWM duty cycle commands. Bit clunky but it works :)

 

For the actual all sky camera I'm running this: https://github.com/aaronwmorris/indi-allsky

 

Edited by kbrown
  • Like 1
Link to comment
Share on other sites

Nearly there. Decided to add an external 500GB NVMe storage with a USB adapter to both increase the storage capacity and reduce the I/O on the SD card. I've setup indi-allsky to use this drive for its database and image / timelapse storage. It's not the speediest thing with the USB 2,0 connection of the RPi3 but neither is the SD card.  I had it running for a couple of days on my desk and it all seemed to work okay. Added bonus is that the drive generates a little more heat so maybe the need for the dew heater inside the dome is minimal.

Just need to sort out a few more niggles with the LAN connection to the garage and then I can install this to the final location. Happy days :)

IMG_20230907_013040.thumb.jpg.d067cde6bc384e79d0040a6adf24977c.jpg

Edited by kbrown
  • Like 3
Link to comment
Share on other sites

Houston. We have first light:

firstlight.thumb.jpg.2c35ea99afd52be9777da866bf137aa0.jpg

Temperature reading is not working yet for the image. Not sure why but doesn't matter really as my indi driver does read it correctly...

Here's how it's sitting on the edge of the garage roof:

IMG_20230908_182759.thumb.jpg.458b8739e252dc3a913f35d567bccb22.jpg

 

IMG_20230908_190235.jpg.838a5f82e447af81a3e67210aa726fca.jpg

  • Like 4
Link to comment
Share on other sites

After a bit of tinkering with the config and python scripting, I managed to get all the sensor data embedded into the images:

ccd1_20230911_224106.thumb.jpg.2a1b714d3e4788d6dc5df737b60e9e23.jpg

Got better white balance too for both day and night images which was a bit more complicated than I would have liked :)

The biggest challenge with my setup is the limited ram of the RPi3 (1GB). If I turn on certain functions like detection map or logo overlay, then it'll struggle with memory and start swapping and all goes a bit haywire. I have ordered a 4GB RPi4 but I'm not sure if I will actually use it for this as it would run quite a bit hotter and there's no ventilation in the enclosure. The RPi3 together with the NVMe adapter are already keeping the dome temperature like 10C above the ambient. Yesterday was very hot day and the RPi3 CPU temperatures were close to 85C so it might have already been throttling down the speed to keep things cool...

Edited by kbrown
Link to comment
Share on other sites

  • 2 weeks later...

Been learning and tinkering with InfluxDB time series database and Grafana data visualisation tool. Have both of them running on my NAS in docker containers. Bit of Python and php scripting and I've got a fancy weather dashboard on my website updating every 5-10 minutes:

http://knowhere.myqnapcloud.com/WordPress/weather-dashboard/

Link to comment
Share on other sites

First encounters with the not so nice British weather revealed a few problems. Moisture was getting inside the dome and no amount of heat could get rid of it.

IMG_20230922_125611.thumb.jpg.278595ebdf8d14d7fa209d710801ba70.jpg

 

There was a few places I could identify. First one is visible in the photo above. The neoprene gasket between the box and the dome wasn't working properly as the underside of the dome isn't perfectly flat. Some water might have gone through the screw holes too.

Also I don't think this box was ever meant to be mounted this way as the screws that hold the lid down are in a deep recess that just invites water in.

IMG_20230922_132913.thumb.jpg.a801ac39273107686652e866610dd27e.jpg

To remedy these issues I did a few things. I "glued" the neoprene gasket to the underside of the dome (but not to the box) with some silicone. I added rubber washers to the screws holding the box lid down:

IMG_20230922_175121.thumb.jpg.260b0aac5eaab9027141eff3e5a34c4c.jpg

 

I also added rubber plugs onto the screw recesses. Finally I replaced the dome screws with flanged stainless steel ones to both prevent rust and to increase the surface area pressing down on the rubber washers.

IMG_20230928_145007.thumb.jpg.c1dd2311d31dc8e826c2be76057c9180.jpg

Hoping this will do the trick :)

 

Edited by kbrown
  • Like 1
Link to comment
Share on other sites

If you need to change the enclosure for any reason there are ones like this on Amazon which have non-metal screws that don't intrude into the enclosure and have drain through for the screws.

I did get a little dew (no heating inside) in mine which was due to a loose cable hole/seal. Planning to replace it properly with a split gland but for now used a ton of hot glue gun to seal it which seems to have done the trick.

  • Like 1
Link to comment
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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.