====== Getting started with the outdoor enclosure ====== Vizy's outdoor enclosure does an excellent job of keeping Vizy safe and sound through all weather conditions (it's IP66 rated), and it has integrated IR lighting for nighttime use. ===== Mounting Vizy in the enclosure ===== To install your Vizy in the outdoor enclosure, you will need the following tools: medium phillips screwdriver, Vizy screwdriver (or small phillips and standard screwdriver), needlenose pliers. {{wiki:image_257.jpg?600}} The outdoor enclosure has extra space inside to accommodate a wide range of lens lengths. Depending on the length of the lens, you'll want to mount Vizy in different holes on the mounting bracket. Mounting Vizy as close to the front of the enclosure is preferable to prevent internal reflections from being visible in Vizy's images. Start by finding the M3 fasteners and the 1/16" spacers. {{wiki:image_258.jpg?600}} Take note of the three M3 threaded inserts on the bottom of Vizy. The front-most and rear-most are the inserts we will use to mount Vizy to the mounting bracket. {{wiki:image_260.jpg?600}} ==== Wide-angle lens ==== If you want to use the wide-angle lens (short lens), start by inserting an M3 fastener in the hole as shown -- don't forget to add the spacer. {{wiki:image_262.jpg?600}} Thread the fastener into the front-most threaded insert on the bottom of Vizy, but do not tighten yet. Locate the rear-most threaded insert by sighting through a hole in the bracket to determine which hole to use in the bracket. (Or you can count 11 holes back from the front fastener.) Rotate Vizy to the side and insert an M3 fastener with spacer into the bracket hole. {{wiki:image_264.jpg?600}} Rotate Vizy back and thread the fastener into the rear-most threaded insert. Tighten both fasteners. {{wiki:image_265.jpg?600}} ==== Zoom lens ==== If you want to use the 8-50mm zoom lens, start by inserting an M3 fastener in the 5th hole from the rear of the bracket as shown -- don't forget to add the spacer. {{wiki:image_268.jpg?600}} Thread the fastener into the rear-most threaded insert on the bottom of Vizy, but do not tighten yet. Locate the front-most threaded insert by sighting through a hole in the bracket to determine which hole to use in the bracket. Rotate Vizy to the side and insert an M3 fastener with spacer into the bracket hole. {{wiki:image_270.jpg?600}} Rotate Vizy back and thread the fastener into the threaded insert. Tighten both fasteners. {{wiki:image_271.jpg?600}} ===== Wiring things up ===== Included with your outdoor enclosure is a cable for powering the IR light and a button for powering on/off your Vizy while it's in the enclosure. Start by removing the back cap. Use a medium-sized phillips screwdriver to remove the back cap. {{wiki:image_272.jpg?600}} Remove the hex nut that's threaded onto the button and insert the button into one of the holes of the back cap. Use needlenose pliers to tighten the nut to keep the button secure. {{wiki:image_273.jpg?600}} Insert the wires of the IR light and button into the terminal connector as shown below. {{wiki:image_276.jpg?600}} Note the location of the polarizing "nubs" shown by the arrow. The wires are arranged as follows: * Pin 1: Black wire of both IR and button cables * Pin 2: Yellow wire of IR cable * Pin 3: Red wire of button cable Note also, when using the terminal connector, first loosen the connector's fasteners by turning them counter-clockwise to open the internal clamps. Then insert the wires and tighten by turning the fasteners clockwise. Tug on the wires to make sure they are secure. Your Vizy screwdriver is perfect for this job. :-) ===== Testing ===== Before putting everything back together, let's first test to make sure it's all wired up correctly. - Begin by plugging the IR cable into the IR light in the front cap. \\ {{wiki:image_277.jpg?600}} - Plug the terminal connector into your Vizy. - Plug your Vizy into power. - Power it on using the normal power button (Note, the external button hasn't been configured yet to turn on your Vizy.) - Point your browser to your Vizy. (Please refer to the [[wiki:vizy_getting_started|getting started guide]] if you need help with connecting to your Vizy, etc.) {{wiki:image_278.jpg?600}} ==== Testing the IR light ==== The IR light is software-controlled and normally the pins on Vizy's I/O connector don't supply power until you tell them to do so. The easiest way to enable power (currently) is through Python code, or by bringing up a Python interpreter. To quickly test things out, bring up a Python interpreter by clicking on the ☰ icon in the upper right corner and selecting **Python**. {{wiki:image_249.jpg?250}} This will bring up a Python interpreter. Within the interpreter type in the following: from vizy import VizyPowerBoard pb = VizyPowerBoard() Then to turn on: pb.vcc12(True) To turn off: pb.vcc12(False) You can tell if the IR light is on by noticing that the individual LEDs faintly glow red. Note, this method of turning the IR LED on and off is just for simple testing. Applications will do this in a more automated way. If you suspect the IR LEDs aren't lighting up, be sure to recheck the connections, especially those going into the terminal connector. Note, as long as you have your browser pointed at your Vizy, now is a good time to make sure the Vizy's lens is focused. ==== Testing the external button ==== To test the external button, we first need to enable it. Bring up the **System** menu {{wiki:image_252.jpg?250}} and check the **External button** checkbox and close the dialog. (Note, Vizy will remember this setting even if you turn off and/or unplug Vizy from power.) {{wiki:image_251.jpg?400}} You should notice that the LED on the button turns on when you check the **External button** checkbox. Now try to power down your Vizy with the external button by depressing it for several seconds. If your external button doesn't seem to work, be sure to carefully check the connections, especially those going into the terminal connector. ===== Power over Ethernet ===== If you are using the power over Ethernet splitter, go ahead and follow the installation instructions [[wiki:poe_getting_started|here]]. ===== Final integration ===== - Start by unplugging the IR cable from the front cap. - Slide the bracket with Vizy from the back of the enclosure extrusion. \\ {{wiki:image_279.jpg?600}} - Disconnect power and/or network cable and route through the hole in the back cap. \\ {{wiki:image_280.jpg?600}} - Place power and/or network cable into the wire seal as shown. \\ {{wiki:image_281.jpg?600}} - Pull the wire seal through the hole in the back cap until it snaps into place. Note, this might take sufficient force, especially if you have 2 or more cables. A good technique entails pulling the wire seal where it is split. Once you get part of the seal in place, it's easier to get the rest of the seal in place. Petroleum jelly can make things much easier but requires some clean-up. \\ {{wiki:image_282.jpg?600}} - Connect the network and power cable (if not using power over Ethernet). \\ {{wiki:image_283.jpg?600}} {{wiki:image_285.jpg?600}} - Attach back cap to extrusion and tighten fasteners. \\ {{wiki:image_286.jpg?600}} - Plug in the IR cable into the front cap. \\ {{wiki:image_292.jpg?600}} - Make sure to reinsert the 1/4-20 nuts into the extrusion channel, which may have fallen out, before attaching the front cap. \\ {{wiki:image_293.jpg?600}} - Attach front cap to extrusion. **Note:** if you are using the zoom lens, you may have trouble getting the lens to fit inside the annular (the circular ring) in the front cap. Try pulling Vizy out of the extrusion several inches, fitting the front cap over the lens, and then sliding Vizy back into the extrusion. - Before tightening the screws on the front cap, you might make sure that the lens is focused and the glass in the front cap is clean/free of lint. - Use two or three of the cable ties to cinch the wire seal around the wires. \\ {{wiki:image_288.jpg?600}} {{wiki:image_290.jpg?600}} {{wiki:image_291.jpg?600}} Your Vizy is now snug in its enclosure and safe from the elements. Nice work! :-) You can use the 1/4-20 fastener nut(s) on the bottom of the enclosure to mount your Vizy where/how you would like. {{wiki:image_295.jpg?600}} ===== Simple mounting ideas ===== {{page>wiki:simple_outdoor_enclosure_mounting&noheader}}