Jump to content

Banner.jpg.b89429c566825f6ab32bcafbada449c9.jpg

Gina's Observatory Roll-Off-Roof Automation


Gina

Recommended Posts

13 minutes ago, Dr_Ju_ju said:

Just don't wear yourself out, lugging all that heavy gear around....

I won't!  It's only my medium sized bench PSU at just 30v 5A jobby and not heavy - 4-5Kg.

Edited by Gina
Link to comment
Share on other sites

Test completed and that will probably all I do today regarding physical effort.

Opening roof/window between 1.2A and 2A, closing up to around 3A.  Fully open or closed stall current 4.8A.  Motor drive with chain and pulleys etc. produced a certain of grumbling and groaning but operated fine.  I think the chain may want lubricating - some of it is quite rusty.

Motor current ranges and conclusions :-

  1. > 1A - OFF or clutch disengaged
  2. 1-4A - Normal operation
  3. > 4A - motor stalled - roof fully open or closed or obstructed.
Link to comment
Share on other sites

Left to do on this project :-

  1. Sort out limit switches
  2. Position rain sensor
  3. Design circuit board layout for the electronics
  4. Design and print case for the electronics and local control push buttons
  5. Build electronics unit
  6. Sort out how to start the window opening when it's upright and balanced closed
Edited by Gina
Forgot the rain sensor
Link to comment
Share on other sites

This screenshot shows the connections of the dual motor driver when not used as an Arduino Shield.  I only have one motor so will be using the top half only.

1607082873_Screenshotfrom2019-08-0122-25-54.thumb.png.2fe5fdaecc04a7c9d901347a0012d26b.png

M1EN/DIAG and M1PWM will be connected to +5v.  Arduino outputs will connect to M1INA and M1INB to control motor power and direction.  M1CS will go to an analog input to sense motor current.

Here is a diagram of the Arduino Nano pin connections.  Analog pins except for A6 and A7 can be used as digital, adding up to 6 extra digital I/O lines on top of the 12 standard digital pins.

988847592_Screenshotfrom2019-08-0122-37-07.png.1161ecef0cb0cefa1ec3f7c2031f52e8.png

Link to comment
Share on other sites

I shall put the control box on the wall in the warm room.  That will keep it free from the dew that often descends in the scope room.  The RPi will probably go in a separate box high up in the warm room to get the best WiFi signal.  The optocouplers can go on an RPi HAT together with a buck converter to provide the 5v supply for the RPi.  That will keep all RPi stuff separate from the Arduino.

Link to comment
Share on other sites

Before deciding on where the rain sensor will go I need to check that the rain here is sufficiently polluted to trigger the rain sensor - I expect it is.

Link to comment
Share on other sites

Been out to the observatory and playing with the motorised opening and closing of roof and window.  The chain was tending to ride up on the outer cheek of the small pulley.  Cured with a nail that limited the sideways movement of the chain.  I can replace this with a 3D printed guide for a more free-running chain.

The limit switch for the closed position will need to be quite accurate.  There is very little between not closed enough and motor stalling.  The open position is much less critical - it doesn't matter if the roof is a few millimetres short of fully open.  It does matter if the roof is a few mm from fully closed as the weather strip will have a gap and not work.  One possible solution to this is an extension spring on the end of the chain.

Link to comment
Share on other sites

Too hot to work in the observatory at present.  From my earlier visit I decided the control box can go high up on the partition wall in the warm room.  In which case one box could contain both local controls and the RPi for remote control.  That would save the interconnecting cable and some work.  Since I plan to have remote control eventually, I might as well allow for it.

Link to comment
Share on other sites

These are the digital input lines for the Arduino :-

  1. OPEN - Push button
  2. CLOSE - Push button
  3. ABORT - Push button
  4. Rain Sensor (relay)
  5. OPEN limit switch
  6. CLOSED limit switch
  7. RPi Open
  8. RPi Close
  9. RPi Abort

Digital output lines :-

  1. M1INA - Motor control
  2. M1INB - Motor control
  3. CSD0 - Current Sense D0 to RPi
  4. CSD1 - Current Sense D1 to RPi

Analog input :-

  1. CS - Current Sense voltage

Total I/O lines = 14.  This is well within the capabilities of the Arduino Nano.

There is another input that might be advisable which I discovered whilst testing the motor drive and that's the ROR lock down latches.  There's also the tower bolts on the window.  I could just provide an OFF switch on the control unit but I couldn't trust myself to switch OFF when the roof is locked down.  "Locked down" is another signal that could be sent to the RPi for display indoors.

Link to comment
Share on other sites

If I install the gate hangers as a ring and pin system to prevent the roof lifting off in a storm I may not need the lock-down latches.  The motor drive will prevent the roof opening as long as the clutch is engaged (if not engaged the roof could be blown open!).  I'm going to have to think hard about this. 

First, I thought I could detect if the latches were locked down by checking for an electrical circuit between the two halves but then I realised that the roof opens and the top halves move.  I could run a wire between the two top pieces up under the roof and down the other side but this would only close the circuit if both latches were locked.

Edited by Gina
Link to comment
Share on other sites

I have a linear actuator that I could use instead of the latches to hold the roof closed.  This could be remote controlled.  It has it's own built-in limit switches.  The ring and pin roof holding system on all four corners in combination with a motorised bolt to hold the roof closed, should be just as strong as the farm trailer latches I'm using ATM.  As for the bolts that hold the window closed, these are probably not necessary - certainly not on the north side as the cord and pulley system holds the window closed.  I could use a solenoid operated latch on the south side.

Link to comment
Share on other sites

This is looking like failing the KISS principle.  Getting complicated.  OTOH stalling the motor trying to open the roof when it's locked down is not really recommended!

Link to comment
Share on other sites

The springs have arrived and the biggest one seems fine - I have it fitted.  Here's a photo.

1814880354_ChainDrive07.JPG.5ec1d72dcc3f14780e247bff36e7dfaa.JPG

Edited by Gina
Photo added
Link to comment
Share on other sites

Drilled the pin plates for the roof frame bolts so that the plates can go in the right position and attached them to the roof framework.  They will be held level by wood screws on some of the countersunk holes.  I shall need to shorten the coach bolts to clear the hook plates with a hacksaw.

2085709804_SERoofLock03.JPG.d1f3d939987eff3a97921578535897dc.JPG

896654136_NERoofLock02.JPG.30a945a15f2cc7736081fe353e1434b6.JPG

Edited by Gina
Link to comment
Share on other sites

I think that will be all I'm doing today.  The limit switches and coloured push buttons are due to arrive tomorrow.  The hook/loop parts of the storm roof lift prevention system have one square hole and two countersunk holes.  I already have coach bolts that fit the square holes and the others will have wood screws to hold the hooks straight.  I shall probably fit those tomorrow too.

Link to comment
Share on other sites

This quote shows what I'm talking about though this shows the anti-lift fittings higher up than I want.  With it lower down, the square hole will be in the middle of the top rail of the observatory fixed framework.  The coach bolt will go through that top rail and, with the wood screws, provide a very solid fixing.

On 16/02/2019 at 09:31, Gina said:

Here's a photo of the SE corner roof retention system roughly fastened in position.  This is one possible position, it could go lower if I were to add a block to widen the vertical frame member and move it away from the corner a couple of inches.

2108374817_SERoofLock02.JPG.9980edc104ee9760f2a55576473b82b1.JPG

 

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.