Setting up the Dragonfly

Dragonfly
Dragonfly by Lunaticoastro
Download PDF

1.Introduction

In this guide, we'll be setting up a rather complete observatory, integrating in the Dragonfly all relevant elements:

This should cover most needs, and be clear enough that changes can be easily made.

Also, please note we'll be focusing on the wiring and physical installation details, things not deeply addressed in the user's guide. For software configuration and other topics have the user's guide handy.

Be warned, though, that some of the steps here involve wiring things that will carry mains electricity – if you don't feel 100% comfortable doing so, seek the advice of a qualified electrician.

2.Tooling

We'll be doing very basic operations, and all can be accomplished with just cutting pliers; a cable peeling (stripper) tool will be nice to have, too.

Other than that, just a small flat screwdriver (for the Dragonfly terminal plugs), and whatever you may need for installing the limit switches and distance sensor.

3.Initial steps

First of all, we have to decide where the Dragonfly is going to be installed. There's no need for it to be close to the scope, but to avoid needing very long power cables, a nice place is probably near the scope pier.

All cables are going to converge at this place, from the limit switches, power, network cable, etc.

Before starting installing and wiring all peripherals the Dragonfly will be controlling, connect it to the network and power (12V d.c.), and check you can open and close relays using the software. Please refer to the Dragonfly user's manual if you need advice regarding this.

Roof position sensors (limit switches)

This is very observatory-dependent; we need to have one switch active (closed) when the roof is open, and another switch active when it is closed.

Note

It’s also possible to have your roof open to certain points using macros and more switches, check the macros manual and ask us if you need help!

You can use whichever kind of switch you prefer; we favour the magnetic, contactless ones, but other types will do, too.

This kind of switches (there are many versions) are quite nice as they provide some play and thus don't require exact roof positioning. If you were using this model, connect the wires to the common (C) and normally open (NO) contacts.

Our magnetic switches are supplied standard with a 3 m. cable (you can ask for different lengths to tidy things up).

Install both limit switches, connect the “roof open” switch to “sensor in 1”, “roof closed” to “sensor in 2”. By the way, no polarity, you can connect any switch wire to any of the “+5” or “In” plugs in the Dragonfly.

With the software, confirm that the sensor 1 becomes active when the roof is open (inactive otherwise), and likewise for sensor 2 and the roof closed.

Mount position sensor

Again, you can use any sensor of your preference, for this guide we are going to use the Sharp IR distance sensor.

Find a convenient place for the sensor (in my case, and many others, just checking the mount counterweight position is enough for roof safety, so I placed it in the pier).

Wiring it is really simple; just note the colour near the tip of each cable:

The ground one (green/blue) has to go to one of the 4 ground plugs (placed at the right of the “sensor IN – 8”). The red and white will go to a normal “sensor” - for convenience, it is suggested to use sensor 8. So, red to sensor 8 +5V, white to sensor 8 In, blue to ground.

Now it's time to calibrate the sensor, please refer to the Remote control addenda: “analog sensors” in the Dragonfly user's manual.

At this point we've setup all sensors we're going to use; let's advance into controlling the electrical devices.

Roof motor

Our roof motor should have the option of having a wall mounted switch to manually open and close it – push to activate, it will open or close alternatively each time. Instead of the wall switch (or in addition to it), we'll have the Dragonfly in charge.

Again very simple, both wires from the motor system will go to the “power out”, relay 1 (using COM and NO, again no polarity), in the input side, as we are not powering the roof motor (it is to be powered independently of the Dragonfly), but just activating it, pushing a button, we'll short a terminal plug, as in the following image.

This way, when we close the relay, the circuit will close and the roof will start moving.

With the software, configure this relay as “pulsed”, with any reasonable period (2 seconds, that is, 2000ms works nice).

Other devices

Wiring the rest of items we want to control is pretty much the same for all of them, with a little exception for the observatory lights.

For each of them we'll cut the AC cable and wire it, both sides, to the Dragonfly1.

Once cut, the wires from the plug side will go to the “power in” of the Dragonfly, the other part, attached to the power supply, to the power out.

The cable color codes vary from country to country, but commonly:

Note

In case of doubt, please check https://en.wikipedia.org/wiki/Electrical_wiring

We'll wire neutral to common (COM), phase to IN (input side) and to NO (output side). If there's no ground as in the power supply image, no problem at least one of them should have it, to have the Dragonfly itself grounded.

Do the same for all devices, so the relays are wired:

By the way, for devices with earth / protective ground, to have all 3 wires aligning properly, cut the neutral and phase ones at least 70mm long, and the earth one 15mm shorter.

Relay 4, being the lights, are the exception to the rule, as we want them off while the scope is working, so, instead of wiring the phase wire to NO, just wire it to NC.

Image taken just after wiring the observatory lights – note the COM-NC connection, as opposed to the rest of the relays.

Also notice the grounded (earthed) connection in the power supply at relay 3.

All protective ground inputs and outputs are shared and connected to the box of the Dragonfly.

1 If you don't like the idea of cutting the power supply wires (voiding the warranty in the process), it's easy to make a Dragonfly controlled plug for each device. Check the addenda for detailed instructions.

4.Another way of setting up things

Instead of cutting, etc. the power supplies of the different devices, you may prefer to wire one or several plug / socket pairs to the Dragonfly.

This is more versatile but also means more things around, so I think it's a matter of personal preference. If this is your preferred option, you can find below the steps to follow.

01.-02.-03.-04.-
Final.

5.Final thoughts

I've described how I'd set up an observatory – basically, what I did with mine.

You can opt to group several things in one relay – for instance, the mount and CCD, as they both will be usually powered on and off at the same time.

You could also cut the power supply at the low voltage, DC side – if you feel uncomfortable doing as I proposed, with the danger of handling mains voltage etc, by all means do so. The main drawback of this (cutting at the DC side) is the marginal power consumption of the power supplies even when not powering anything.

I'm publishing a set of scripts to handle this very same configuration, they are available from: http://lunatico.es/dragonfly/DragonflySetupScripts.zip

Download, open the compressed file, and check the “readme” file.

As usual, remember that you can reach out to us at support@lunaticoastro.com with any queries.