Go Back   IceInSpace > Equipment > ATM and DIY Projects

Reply
 
Thread Tools Rate Thread
  #21  
Old 03-11-2019, 03:23 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
Quote:
Originally Posted by RobF View Post
Mon dieu! How coud he leave out such a thing!
That's an enhancement for the "Astrofest Special Edition" version.
Reply With Quote
  #22  
Old 03-11-2019, 07:23 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
It's been a big weekend learning how to build a PC GUI and then to tidy up my code in the Arduino. I've now moved all the calculations into the PC code so the Arduino is just exporting the sensor values. That makes it easier to tweak the cloud detection calculation and also provides visibility of all of the raw data for debugging and configuration. I've spent quite a lot of time trying to get my GUI to plot a time series of cloud and light. I've still got a bug in the display however this is cosmetic.
Attached Thumbnails
Click for full-size image (Dashboard191103.JPG)
79.3 KB17 views
Reply With Quote
  #23  
Old 03-11-2019, 07:50 PM
h0ughy's Avatar
h0ughy (David)
DOGHOUSE REBORN

h0ughy is offline
 
Join Date: Apr 2005
Location: NEWCASTLE NSW Australia
Posts: 30,673
What a fantastic project Peter. You're a very clever bloke, and I think the astrofest version will be world's away from this version.
Reply With Quote
  #24  
Old 03-11-2019, 08:09 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
Thanks Dave. It has been a lot of fun and quite satisfying to get the computer to draw a GUI. I've always wondered how that happens and now I'm a small step closer to understanding how you do that.

I've wanted some real time feedback on cloud status since building the obs and now monitoring things from inside. There have been quite a few occasions where clouds have rolled in and I've been oblivious to what is happening. The next project is to write an ascom driver so I can suspend imaging automatically but that will involve some more significant C# programming.
Reply With Quote
  #25  
Old 05-11-2019, 06:14 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
Got my display bug sorted this evening and have been playing with the cloud model the last few nights. I think I'm getting quite a good fit now so I've built a compiled version to test tonight. So far so good
Attached Thumbnails
Click for full-size image (20191105_compiled.JPG)
79.4 KB19 views
Reply With Quote
  #26  
Old 05-11-2019, 06:28 PM
RobF's Avatar
RobF (Rob)
Mostly harmless...

RobF is offline
 
Join Date: Jul 2008
Location: Brisbane, Australia
Posts: 5,510
Any way you could record the data every few mins along with a webcam feed of the sky conditions perhaps Peter? Guess its hard to beat the Mark I eyeball in the end though....
Reply With Quote
  #27  
Old 05-11-2019, 07:34 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
Quote:
Originally Posted by RobF View Post
Any way you could record the data every few mins along with a webcam feed of the sky conditions perhaps Peter? Guess its hard to beat the Mark I eyeball in the end though....
That's pretty much what I'm doing in a spreadsheet. The % cloud gets a bit subjective once it is dark though - especially for high cloud like last night. I'm comparing my estimate to what CFN is predicting as a bit of a sense check.
Reply With Quote
  #28  
Old 09-11-2019, 07:09 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
Spent a bit of time today on the next steps. Objectives are:
1. Add wind speed sensor
2. Improve light measurement at low light levels
3. Maybe improve accuracy of humidity measurement

I've settled on the DFRobot SEN0170 Anemometer Kit for wind speed and I'm thinking the Adafruit TSL2591 High Dynamic Range Digital Light Sensor will do the trick for more accurate light measurement. I'm also toying with the Adafruit HTU21D-F Temperature & Humidity Sensor Breakout Board for better humidity measurement that the DHT11 I'm currently using.


Does anyone have experience with any of these?
Reply With Quote
  #29  
Old 11-11-2019, 08:18 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
More fun with coding and some more progress this weekend. I've now worked out how to build a digital panel to display the data instead of the meter library I used in my first GUI. This makes the data panel a lot smaller. I've also got it changing the background colour in the box to highlight cloud and light.
Attached Thumbnails
Click for full-size image (WeatherBox1.JPG)
31.4 KB19 views
Reply With Quote
  #30  
Old 11-11-2019, 09:35 PM
RobF's Avatar
RobF (Rob)
Mostly harmless...

RobF is offline
 
Join Date: Jul 2008
Location: Brisbane, Australia
Posts: 5,510
Thanks for the updates Peter. Keep 'em coming
Reply With Quote
  #31  
Old 12-11-2019, 09:19 AM
troypiggo's Avatar
troypiggo (Troy)
Bust Duster

troypiggo is offline
 
Join Date: Nov 2008
Location: Brisbane, Australia
Posts: 4,830
Instead of "Weatherbox", how about calling it "SkyNews"
Reply With Quote
  #32  
Old 12-11-2019, 08:18 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
Very clever Troy. Althoigh your time in the technical department was short lived, perhaps theres a place for you in the marketing department.
Reply With Quote
  #33  
Old 12-11-2019, 09:02 PM
RobF's Avatar
RobF (Rob)
Mostly harmless...

RobF is offline
 
Join Date: Jul 2008
Location: Brisbane, Australia
Posts: 5,510
If you end up living in paradise AND making megabucks from this thing - then.....then...don't expect open slather from the mini B next year dammit!
Reply With Quote
  #34  
Old 12-11-2019, 09:33 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
Rob. I'm tipping MBs will follow a similar trendline that DTs did over the past 10 years. One day you'll look back and say..."I created that"
Reply With Quote
  #35  
Old 15-11-2019, 08:48 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
A bit more progress this week. My extra parts arrived and I've assembled the light sensor (MKII). This one uses an Adafruit TSL2591 high dynamic range digital light sensor which, according to the specs can measure between 0.000118 to 88,000 Lux. It also breaks out IR, full spectrum and visible light readings.

The original LDR sensor I purchased was ok at distinguishing daylight from twilight, however it was not sensitive enough between twilight and full on darkness.

I'm also going to locate the new sensor remote to the rest of the project in a separate box and this has necessitated use of differential I2C bus extenders for that sensor. That part of the project is all wired up and I've tested the Arduino code to check it is all working (which it is). Don't look too closely at the soldering

Tomorrow I will be making openings in the two enclosures for the cat5 cable connectors and a bit of soldering to include the new sensor in the original project.
Attached Thumbnails
Click for full-size image (20191115_204323_resized.jpg)
103.6 KB15 views

Last edited by peter_4059; 15-11-2019 at 09:14 PM.
Reply With Quote
  #36  
Old 15-11-2019, 10:01 PM
RobF's Avatar
RobF (Rob)
Mostly harmless...

RobF is offline
 
Join Date: Jul 2008
Location: Brisbane, Australia
Posts: 5,510
Impressive going Peter

If you get around to including aural warnings, JJJ might still have a recording of Cleeuuood Diiissaapppear somewhere.....
Reply With Quote
  #37  
Old 15-11-2019, 10:08 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
Quote:
Originally Posted by RobF View Post
Impressive going Peter

If you get around to including aural warnings, JJJ might still have a recording of Cleeuuood Diiissaapppear somewhere.....
Rob,

I'm sure that is do-able and now you have got me thinking about a proximity sensor addition coupled with cat sounds. Might have to upgrade the Uno to a Mega.
Reply With Quote
  #38  
Old 15-11-2019, 10:14 PM
RobF's Avatar
RobF (Rob)
Mostly harmless...

RobF is offline
 
Join Date: Jul 2008
Location: Brisbane, Australia
Posts: 5,510
Reply With Quote
  #39  
Old 16-11-2019, 08:29 PM
CalvinKlein's Avatar
CalvinKlein (Kelvin)
Registered User

CalvinKlein is offline
 
Join Date: Aug 2018
Location: Cudgen NSW
Posts: 104
Quote:
Originally Posted by peter_4059 View Post
A bit more progress this week. My extra parts arrived and I've assembled the light sensor (MKII). This one uses an Adafruit TSL2591 high dynamic range digital light sensor which, according to the specs can measure between 0.000118 to 88,000 Lux. It also breaks out IR, full spectrum and visible light readings.

The original LDR sensor I purchased was ok at distinguishing daylight from twilight, however it was not sensitive enough between twilight and full on darkness.

I'm also going to locate the new sensor remote to the rest of the project in a separate box and this has necessitated use of differential I2C bus extenders for that sensor. That part of the project is all wired up and I've tested the Arduino code to check it is all working (which it is). Don't look too closely at the soldering

Tomorrow I will be making openings in the two enclosures for the cat5 cable connectors and a bit of soldering to include the new sensor in the original project.
I'm following with interest. I've recently starting doing some Arduino work after a couple of years break. Also have an ROR observatory slowly in the making and I'll be wanting cloud detection (as much electronics will be DIY as possible)
Reply With Quote
  #40  
Old 16-11-2019, 08:43 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: Brisbane
Posts: 4,049
Managed to get the new Lux sensor incorporated today and have been playing with the code this evening.

The TSL2591 has variable gain and exposure parameters so there has been a bit of experimentation to find the sweet spot between sensitivity and saturation. I've been testing things by switching on various lights in the house to see how it responds and so far it is doing what I had hoped. This is evident in the steps in the light plot on the right.

Next step is further refinement of the cloud model as I build a bigger database of observations and model input data.

I've also purchased an anemometer however that has been put away for Christmas.
Attached Thumbnails
Click for full-size image (WeatherBox2.JPG)
31.5 KB8 views

Last edited by peter_4059; 16-11-2019 at 08:56 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 02:28 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Advertisement
Celestron Australia
Advertisement
OzScopes Authorised Dealer
Advertisement
Bintel
Advertisement
Meade Australia
Advertisement
NexDome Observatories
Advertisement
SkyWatcher Australia
Advertisement
Lunatico Astronomical
Advertisement
Astronomy and Electronics Centre
Advertisement