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.

michaelmorris

Any programmers out there?

Recommended Posts

I have two video cameras for detecting meteors, each sending it's signal into a separate PC via a USB video grabber.  Each PC runs a copy of the brilliant but completely inappropriately-named 'UFO Capture' software.  The UFO Capture software automatically calculates local sunrise and sunset and you can configure the software start up and shut down at user-set intervals before and after subset/sunrise.

The power supply to each camera is via a 12v transformer plugged into to a simple plug-in timer.  Every month I have to remember to re-programme these timers.  The LCD screens on these timers is very difficult to read and on several occasions I have programmed them incorrectly.

What would be neat would be a small piece of software running on the PC that operates a relay that automatically turned the cameras on and off at user-set intervals before and after subset/sunrise, with the software automatically calculating local sunset/sunrise times.

There are loads of cheap USB powered 12v relays available on EBay ( http://www.ebay.co.uk/itm/5V-USB-Relay-1-Channel-Programmable-Computer-Control-For-Smart-Home-CF-/272041590503 ), but I can't find any software to make it work as a sunset/sunrise timer.

My programming skills are non-existent.  I know it's a long shot, but are there any  programmers out there who could write a simple programme to do this?

Share this post


Link to post
Share on other sites

Its nice to go the DIY route, but there are now available IoT remote controlled sockets, e.g. http://www.ebay.co.uk/itm/ORVIBO-Wireless-WiFi-2-3G-4G-Phone-Remote-Control-Smart-Plug-Power-Switch-Socket-/131392441087?hash=item1e97998aff:g:S7wAAOSwNSxVOe5~

I've not used one, so can't say how good\bad they may be, but maybe worth a look ??

 

Share this post


Link to post
Share on other sites

Hi Michael.  I've just replied to your ad on the uk astro buy sell site.  I meandered onto SGL in search of similar goodies and guess who I found while searching for a widefield scope?  It just happens that I'm a programmer as well (the out of work kind at the moment).

Give me a shout and we can have a chat - I sent my mobile number in my reply to your ad.  Meteor tracking is also an interest of mine and something I've worked on programs to do previously as well.  As you say, the UFO Capture is the way to go from my limited exposure to the available 'off-the-shelf' packages.   I wonder if there isn't an easier way to accomplish what you require.

Are you going to AstroFest at all?  I'm sure we have met in a previous lifetime - at a star party maybe?  Salisbury, IoW or Herstmonceux perhaps?

Cheers

Iain

Share this post


Link to post
Share on other sites
On 04/02/2016 at 00:50, mwayne said:

'Kinda pricey' is putting it mildly! And I'm going to need at least two timers as well.

 

Share this post


Link to post
Share on other sites
On 01/02/2016 at 08:52, Dr_Ju_ju said:

Its nice to go the DIY route, but there are now available IoT remote controlled sockets, e.g. http://www.ebay.co.uk/itm/ORVIBO-Wireless-WiFi-2-3G-4G-Phone-Remote-Control-Smart-Plug-Power-Switch-Socket-/131392441087?hash=item1e97998aff:g:S7wAAOSwNSxVOe5~

I've not used one, so can't say how good\bad they may be, but maybe worth a look ??

 

Thanks. They are certainly one idea. With four timers needed (two cameras and two heaters) this might be a bit more than I wanted to spend but might be a compromise solution. However, I still prefer the 'set and forget' solution of a timer that automatically calculates local sunrise and sunset.

Share this post


Link to post
Share on other sites
On 03/02/2016 at 21:46, Ruud said:

Might a light sensor switch also work? If it did, you wouldn't need to have a computer running full time.

Thanks Ruud

Light detecting switches would be problematic in my situation and are not really a sensible option.  They would have to be mounted high up on the house making maintenance and cleaning a real pain. The computer runs 24/7 anyway to run the video capture software.

Share this post


Link to post
Share on other sites
On 03/02/2016 at 21:30, Mel said:

Hi Michael.  I've just replied to your ad on the uk astro buy sell site.  I meandered onto SGL in search of similar goodies and guess who I found while searching for a widefield scope?  It just happens that I'm a programmer as well (the out of work kind at the moment).

Give me a shout and we can have a chat - I sent my mobile number in my reply to your ad.  Meteor tracking is also an interest of mine and something I've worked on programs to do previously as well.  As you say, the UFO Capture is the way to go from my limited exposure to the available 'off-the-shelf' packages.   I wonder if there isn't an easier way to accomplish what you require.

Are you going to AstroFest at all?  I'm sure we have met in a previous lifetime - at a star party maybe?  Salisbury, IoW or Herstmonceux perhaps?

Cheers

Iain

Hi Ian

Great to bump into you at Astrofest. We may have met and a Salisbury star party a few years ago.

Share this post


Link to post
Share on other sites

Or a raspberry Pi (even a Pi zero) and use the pyephem python libraries to work out sunrise sunset and then control relays via the GPIO pins/transistor switches or a relay add on board.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

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