[{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/000/921/original/IMG_2071.jpeg?1717805099","metadata":{"caption":""}},{"element_type":"text","content":"\n        \u003cp\u003eThe solar-powered security light spent many years in the sun, charging its batteries to protect from the darkness. It is highly valued for its reliable and selfless vigilance. The unit is completely self-contained and requires no electrical wiring. It was perfect for temporarily replacing wired security lights when they were disconnected during a recent house remodeling project. The solar light also spent time strapped to a tree to surprise nocturnal raiders in the garden.\u003c/p\u003e\n\u003cp\u003eOf course, to work at its peak, the solar charger needs at least 6 hours of direct sunlight to prepare for the next nighttime watch. But after 15 or more years in the sun, the plastic enclosure became yellowed by UV light. That should be an easy fix: apply some masking tape to the passive infrared (PIR) detector lens, LED flood array, and solar cell, then spray on a couple of coats of glossy white paint. All went well until the PIR detector lens was touched. It was very brittle and disintegrated into Fresnel dust.\u003c/p\u003e\n\u003cp\u003eSadly, I figured that the lens was unique and manufactured specifically for the PIR detector enclosure of that old light and couldn't be replaced. Oh well, since it was working before, the unit could at least be kept for spare parts.\u003c/p\u003e\n      ","metadata":{}},{"element_type":"text","content":"\n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n        \u003ch2\u003eThe Lens is Indeed Unique\u003c/h2\u003e\n\u003cp\u003eThe usually flexible frosted plastic detector lens is pretty special. It doesn't just protect the electronics and optics from the weather, it also concentrates and directs IR energy onto the internal thermopile sensor using a custom pattern of refracting grooves (a Fresnel pattern) molded onto one side of the thin plastic. The lens pattern provides greater sensitivity for detecting movement than would be possible through a clear window, increasing the range from 1 meter to almost 15 meters. The lens also concentrates the field-of-view to approximately 120 degrees.\u003c/p\u003e\n      \n\n\n\n\n\n\n\n\n\n\n\n\n","metadata":{}},{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/000/918/original/Screenshot_2024-06-07_at_4.29.21%E2%80%AFPM.png?1717803203","metadata":{"caption":""}},{"element_type":"text","content":"\n  \n  \n  \n  \n        \u003ch2\u003eCue \u003cem\u003eThe Great Search\u003c/em\u003e Music\u003c/h2\u003e\n\u003cp\u003eOn a whim, I searched DigiKey for\u0026nbsp;\u003ccode\u003eIR lens\u003c/code\u003e and found a section for \u003cem\u003eSensor, Transducer Accessories\u003c/em\u003e with a \u003ccode\u003ePIR Lens\u003c/code\u003e\u0026nbsp;\u003cem\u003eAccessory Type\u003c/em\u003e. That was welcome news. We now have 68 round, rectangular, white, and black lenses to choose from.\u003c/p\u003e\n      \n\n\n\n","metadata":{}},{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/000/919/original/Screenshot_2024-06-07_at_4.45.37%E2%80%AFPM.png?1717803970","metadata":{"caption":""}},{"element_type":"text","content":"\n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n        \u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eAnd there it is! Thin, flexible, and size compatible for less than $3.00. I bought two.\u003c/p\u003e\n      \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","metadata":{}},{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/000/920/original/Screenshot_2024-06-07_at_4.48.35%E2%80%AFPM.png?1717804146","metadata":{"caption":""}},{"element_type":"text","content":"\n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n        \u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n      \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","metadata":{}},{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/000/922/original/IMG_2094.jpeg?1717805200","metadata":{"caption":""}},{"element_type":"text","content":"\n  \n        \u003ch2\u003eE6000 to the Rescue\u003c/h2\u003e\n\u003cp\u003eFrom my arsenal of sticky stuff, the best adhesive for the job was \u003cem\u003eE6000\u003c/em\u003e, the arts and crafts relative of \u003cem\u003eShoe Goo\u003c/em\u003e. Not only did it bond perfectly with the slippery lens plastic, it also provided a water-tight seal around the edge. A toothpick worked nicely as an applicator. I started by attaching the left edge, securing it with a small clamp. After the glue cured, I attached the center followed by the right edge, after allowing the glue to cure for each step in the process. Afterwards, a bead of \u003cem\u003eE6000\u003c/em\u003e was added to the inside edges to reinforce the attachment and to seal the lens window.\u003c/p\u003e\n      \n","metadata":{}},{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/000/923/original/IMG_2091.jpeg?1717805316","metadata":{"caption":"The first attempt with super glue. Quickly switched to E6000 and a more capable clamp."}},{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/000/924/original/IMG_2092.jpeg?1717805333","metadata":{"caption":"Securing the right-hand edge."}},{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/000/925/original/IMG_2093.jpeg?1717805356","metadata":{"caption":"After applying the final bead of E6000."}},{"element_type":"text","content":"\n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n        \u003ch2\u003eDid it Work?\u003c/h2\u003e\n\u003cp\u003eYes! Blindingly so.\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n      \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","metadata":{}},{"element_type":"embed","content":"https://youtu.be/OR-o-Dnx2KE"}]