5/1/2023 0 Comments Raspberry pi ambient light![]() While the all-white intros and endings were shorter, they were still present. ![]() As before, a fair amount of ambient light is still present in the atmosphere even at first and last light. In order to try and eliminate the unnecessary frames, the script was updated to utilize the times of first and last light as reported by the API. As a result, the time lapse videos produced had lovely all-white intros that faded to black and all-white endings that got progressively brighter as sunrise approached. Unfortunately, ambient light is still present well before and after sunrise and sunset. Specifically, the API returned a time for sunset and sunrise that was used to set a flag that controlled image capture. As a result, the script called an external API in order to determine nighttime. In spite of only being open for six seconds, the image sensor is easily overwhelmed by the smallest amount of ambient light and produces a white image. The V1 camera module is limited to a maximum exposure of six seconds. The first iteration of the flowerpot used a V1 Raspberry Pi camera module to capture images. The files for this project are located here: Ambient light challenges: The modules can be installed with the following command: sudo pip3 install paho.mqtt picamera pytz requests pillow –upgrade Astrophotography Software and STL Downloads ![]() The flowerpot is controlled by a Python 3 script and relies upon the following modules: Silicon caulk was applied to the mounting plate and acrylic dome to weatherproof the hardware.The mounting plate gently rotated as it was lowered into the flowerpot to allow the USB cable to wrap below the Raspberry Pi.The right-angle USB-C cable was plugged into the Raspberry Pi and the right-angle USB adapter.The ribbon cable was fished through the plate and connected to the camera and Raspberry Pi.The Raspberry Pi was mounted below the mounting plate using brass fasteners.The camera module was mounted on top of the mounting plate using nylon fasteners.The right-angle USB adapter was plugged into the extension cord inside the base of the flowerpot.įigure 4: Extension cord and right angle USB adapter.The cut end of the extension cord was fished through the grommet from inside the flowerpot until only the female end of the extension cord remained in the flowerpot.įigure 3: Extension cord and seated rubber grommet.The grommet was seated into place on the flowerpot.The diameter of the outer wall of the grommet was measured and a hole was drilled into the flowerpot close to the bottom of the flowerpot.The appropriately sized grommet was identified based on the diameter of the cord.The male end of the extension cord was lopped off and the diameter of the cord was measured.3D-printed mounting plate – STL File –.As a result, the mounting plate could not have a diameter greater than 150mm so the flowerpot couldn’t be much more than 6.5” in diameter assuming the flowerpot was tapered. The printing volume of my 3D printer is 150mm x 150mm x 150mm. The size of the flowerpot used was intentional. ![]() Parts design and sourcing began.įigure 2: 3D-printed hardware mounting plate After a short meeting with my daughters, I received approval from management on my proposed design. Likely due to the prevalence of indoor and outdoor potted plants in our home, a flowerpot popped into my head. The last requirement for the design was a container my daughters could decorate. As always, efficient use of space was key. The design requirements were simple: a mounting plate to support the camera module, Raspberry Pi, and the acrylic dome. It didn’t take long before I stumbled upon the acrylic dome used in the project.Īfter I found the dome, I moved on to designing a 3D-printed part to hold the hardware. In particular, I was most interested in finding some type of cover that would protect the camera from the elements. Like all projects, I utilized the Internet to show me what others had done before. The plan that formed in my mind had some pretty simple requirements: use a Raspberry Pi and Raspberry Pi camera module to take still images of the night sky and combine the images into a time-lapse video in the morning. What does astrophotography have to do with the new WeatherRack2 from SwitchDoc Labs? Let me explain.įigure 1: The PiNightSky Astrophotography Design I remembered how much my kids love the time-lapse videos produced by our SkyWeather2 kit so astrophotography popped into my head. I wondered how I could nurture that fascination. Over the summer of 2020, my eight years old daughters developed a fascination with space. Editors Note: Thank you Guest Blogger Jason Chalmers! This is a great tutorial on how to build a simple Astrophotography with the Raspberry Pi using sensor input from the WeatherRack2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |