<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by aditi on Medium]]></title>
        <description><![CDATA[Stories by aditi on Medium]]></description>
        <link>https://medium.com/@aditiponugoti?source=rss-51b487f9fe07------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*knm2iuaKw-FCoCH_</url>
            <title>Stories by aditi on Medium</title>
            <link>https://medium.com/@aditiponugoti?source=rss-51b487f9fe07------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:28:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aditiponugoti/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Light Detection and Automatic Glowlight System for a Pluto Drone]]></title>
            <link>https://medium.com/@aditiponugoti/light-detection-and-automatic-glowlight-system-for-a-pluto-drone-0608806b905b?source=rss-51b487f9fe07------2</link>
            <guid isPermaLink="false">https://medium.com/p/0608806b905b</guid>
            <category><![CDATA[pluto-drone]]></category>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[drone-technology]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[ldr]]></category>
            <dc:creator><![CDATA[aditi]]></dc:creator>
            <pubDate>Sun, 02 Aug 2026 11:37:05 GMT</pubDate>
            <atom:updated>2026-08-02T11:37:05.955Z</atom:updated>
            <content:encoded><![CDATA[<p>Military drones, surveillance drones, and many other drones require a well-lit area for a smooth and easy flight. Otherwise, with low visibility, the pilot won’t be able to see the drone or oncoming obstacles, so what happens at night when the drone is surrounded by nothing but darkness?</p><p>Flying in darkness isn’t safe due to the risk of collisions or damage to the drone. However, military drones or surveillance drones can’t just stop flying at night, so pilots mount flashlights on them. Although this works well, when the drone flies into a well-lit area, its flashlight remains on, wasting battery and making it inefficient for long flight journeys. That is why I created a project to solve this problem. A project that turns the glowlight on when it is dark and turns it off again when it is light, which not only allows safe flying and improved visibility, but also conserves battery power when there is sufficient light.</p><p><strong>S</strong>olution: The solution is to use an LDR (Light-Dependent Resistor) sensor with a glowlight so that when the LDR detects darkness, the glowlight turns on. The LDR is connected to the ADC pin and the glowlight is connected to the GPIO pin. This is because the LDR is an analogue sensor: it can have numerous values. Using Pluto Blocks, I programmed the drone so that when the darkness value reached above a chosen number, the glowlight connected to the GPIO pin would turn on. When sufficient light was detected, the glowlight would turn off, conserving battery power.</p><p>I began by attaching the LDR sensor to my drone using the ADC pin on the drone’s flight controller. I tested the sensor and adjusted it using the adjuster to my preferred light level at which darkness would be detected, and flew the drone in both darkness and light to ensure it worked successfully. Moreover, I monitored the sensor values on my laptop and observed the different darkness levels. The lower the value, the less darkness was detected.</p><p><strong>LDR Sensor: </strong>An LDR (Light-Dependent Resistor) is an analogue input sensor that detects the amount of light in the surrounding environment. Since it is an analogue sensor, it produces a range of values that are read by the flight controller through the ADC pin. The LDR changes its resistance depending on the amount of light detected. In my setup, a lighter environment produces a lower value, while a darker environment produces a higher value. The detection value can be adjusted using the sensor’s adjuster, and the values can be monitored on a laptop to understand and adjust the light levels being detected.</p><p><strong>Glowlight: </strong>The glowlight is an output device that produces a bright light when instructed to. It is similar to an LED but produces a stronger light, making it more visible from a distance. It can be switched between low (off) and high (on) using the GPIO pin and can be used with input sensors to indicate or respond to different conditions. In this project, the glowlight acts as an automatic lighting system. Whenever the LDR sensor detects darkness, the glowlight switches on, improving visibility around the drone. When the LDR detects sufficient light, the glowlight turns off, conserving battery.</p><p><strong>Code(on PlutoBlocks):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PgcE6VQDRCJLawJM_4ce8Q.png" /></figure><p><strong>How it works:</strong></p><ol><li>The drone flies normally.</li><li>The LDR continuously measures the amount of light in the environment and sends this value to the flight controller.</li><li>When the darkness value rises above a chosen level, the glowlight turns on, making the surroundings more visible.</li><li>However, when the drone enters a well-lit area and the darkness value falls below the chosen value, the glowlight automatically turns off, conserving battery power and making the system more efficient for longer flights.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NspS6PC2ry866G5p9f88Jg.png" /></figure><p><strong>Challenges:</strong></p><ul><li><strong>Adjusting the detection value:</strong> Finding the correct value at which the glowlight should tˀurn on was challenging because I had to turn the lights off in the room, check the values detected by the LDR sensor, and find the lowest value during which the light is off, otherwise, the light may be off, but the glowlight wouldn’t turn on.</li><li><strong>Using the wrong pin type:</strong> Initially, I did not understand the difference between analogue and digital sensors, so I connected the LDR sensor to the wrong pin. After understanding that the LDR produces multiple values and needs an ADC pin, I connected it correctly, and the sensor worked successfully.</li></ul><p><strong>Key learnings:</strong></p><ul><li>How analogue input sensors work and how they produce a range of values depending on the input detected.</li><li>The difference between ADC and GPIO pins and when to use each type of pin.</li><li>How to connect input and output devices correctly using the flight controller.</li><li>The importance of testing and adjusting sensor values when working with sensors.</li></ul><p><strong>Tips:</strong></p><ul><li>Test both the LDR sensor and glowlight individually beforehand to ensure they work properly</li><li>Monitor the LDR values on the computer(or have a friend do it) to understand what happens to the values when the light turns on and off</li><li>Ensure all connections are secure before flying the drone.</li><li>When connecting the LDR and glowlight to the flight controller, ensure the LDR is connected to an ADC pin and the glowlight is connected to a GPIO pin.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0608806b905b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automatic Landing System Using an LDR Sensor for a Pluto Drone]]></title>
            <link>https://medium.com/@aditiponugoti/automatic-landing-system-using-an-ldr-sensor-for-a-pluto-drone-a73de5bb58d6?source=rss-51b487f9fe07------2</link>
            <guid isPermaLink="false">https://medium.com/p/a73de5bb58d6</guid>
            <category><![CDATA[drones-technology]]></category>
            <category><![CDATA[ldr]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[drones]]></category>
            <dc:creator><![CDATA[aditi]]></dc:creator>
            <pubDate>Sun, 02 Aug 2026 11:36:51 GMT</pubDate>
            <atom:updated>2026-08-02T11:36:55.638Z</atom:updated>
            <content:encoded><![CDATA[<p>Intro: While flying drones, if the lights turn off or the drone enters an area with little to no light, it becomes unsafe to continue flying due to the increased risk of damage to the drone or collisions with people and objects. Even with flashlights or glowlights, objects moving at high speeds may collide with the drone because the pilot may not be able to see them from a distance and avoid them in time. Therefore, I created a project that would ensure that, in the case of the absence of light, a drone would land safely and not risk damaging the drone itself, surrounding objects, or people.</p><p>The solution is to use an LDR (Light-Dependent Resistor) sensor so that when the sensor detects darkness, the drone will land safely. The LDR is connected to the ADC pin because it’s an analogue sensor: it can have numerous values. Using Pluto Blocks, I programmed the drone using logic blocks so that when the darkness value reached above a chosen number, the drone would land safely on the ground. When sufficient light was detected, the drone would continue flying normally.</p><p>I began by attaching the LDR sensor to my drone using the ADC pin on the drone’s flight controller. I tested the sensor and adjusted it using the adjuster to my preferred light level at which the drone would begin landing, and flew the drone in both darkness and light to ensure it worked successfully. Moreover, I monitored the sensor values on my laptop and observed the different darkness levels. The lower the value, the less darkness was detected.</p><p><strong>LDR Sensor: </strong>An LDR (Light-Dependent Resistor) is an analogue input sensor that detects the amount of light in the surrounding environment. Since it is an analogue sensor, it produces a range of values that are read by the flight controller through the ADC pin. The LDR changes its resistance depending on the amount of light detected. In my setup, a lighter environment produces a lower value, while a darker environment produces a higher value. The detection value can be adjusted using the sensor’s adjuster, and the values can be monitored on a laptop to understand and adjust the light levels being detected.</p><p><strong>Code(on PlutoBlocks):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uwpI7GpGLuz6p0dVRXx-DQ.png" /></figure><p><strong>How it works:</strong></p><ul><li>The drone flies normally.</li><li>The LDR continuously measures the amount of light in the surrounding environment and sends this value to the flight controller.</li><li>When the darkness value rises above a chosen value, the drone automatically begins landing at a safe speed.</li><li>If the environment remains well-lit, the drone continues flying normally.</li><li>The landing process helps prevent the drone from continuing to fly in unsafe lighting conditions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FWuXUBiYxFHeEPl5sMM4xw.png" /></figure><p><strong>Challenges:</strong></p><ul><li><strong>Adjusting the detection value:</strong> Finding the correct value at which the drone should begin landing was challenging because I had to turn the lights off in the room, check the values detected by the LDR sensor, and find the lowest value at which the drone should begin landing. Otherwise, the environment may be dark, but the drone may not detect it and continue flying.</li><li><strong>Using the wrong pin type:</strong> Initially, I did not understand the difference between analogue and digital sensors, so I connected the LDR sensor to the wrong pin. After understanding that the LDR produces multiple values and needs an ADC pin, I connected it correctly, and the sensor worked successfully.</li></ul><p><strong>Key Learnings:</strong></p><ul><li>How analogue input sensors work and how they produce a range of values depending on the input detected.</li><li>The difference between ADC and GPIO pins and when to use each type of pin.</li><li>How sensor values can be used to automate actions using logic conditions in Pluto Blocks.</li><li>The importance of testing and adjusting sensor values when working with sensors.</li></ul><p><strong>Tips:</strong></p><ul><li>Test the LDR sensor individually before programming the landing function.</li><li>Monitor the LDR values on the computer (or have a friend do it) to understand how the values change in different lighting conditions.</li><li>Ensure the LDR is connected to the ADC pin before testing the project.</li><li>Fly the drone in a safe, open area when testing the automatic landing function.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a73de5bb58d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Obstacle Detection and Warning System for a Pluto Drone]]></title>
            <link>https://medium.com/@aditiponugoti/obstacle-detection-and-warning-system-for-a-pluto-drone-3dfe2f2e78a7?source=rss-51b487f9fe07------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dfe2f2e78a7</guid>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[pluto-drone]]></category>
            <category><![CDATA[drone-technology]]></category>
            <category><![CDATA[ir-sensor]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[aditi]]></dc:creator>
            <pubDate>Sat, 01 Aug 2026 07:09:10 GMT</pubDate>
            <atom:updated>2026-08-01T07:09:10.927Z</atom:updated>
            <content:encoded><![CDATA[<p>When flying a drone as a beginner, or even in a large open space where the drone is far away, it’s difficult to detect obstacles in the drone&#39;s path. Colliding with these obstacles could not only cause damage to the drone but would also damage the objects that the drone flew into. To solve this, I created a project that would significantly improve the safety of a drone by alerting the pilot when an object is too close to the drone and allowing them to redirect to a safer route.</p><p>The solution is to alert the pilot when an obstacle is nearby by using both a sensor and an output signal. I began by attaching an IR sensor to my drone using the GPIO_2 pin on the drone&#39;s flight controller. I tested the sensor and adjusted the distance using the adjuster on the sensor to my preferred distance at which an object would be detected and flew the drone to ensure it worked successfully. Moreover, I monitored the sensor on my laptop and was able to see whether an object was detected (value = 0) or not (value = 1).</p><p>After this, I required an output signal. At first, I thought LEDs would be sufficient, as they can flash various colour combinations on the drone, which would indicate when an object was near the drone. However, upon testing, I learned that LEDs are small and not entirely visible from afar, which would make the signal small and not identifiable. Therefore, I chose to use a hooter, which produces a loud beeping sound that is easy to hear even when the drone is far away. The hooter was connected to the GPIO_1 pin on the flight controller. Using Pluto Blocks, I programmed the drone so that whenever the IR sensor detected an obstacle, the hooter would sound continuously until the drone moved back to a safe distance.</p><p>This system provides the pilot with an immediate warning, allowing them to identify when an object is too close and safely change the drone’s direction.</p><p><strong>IR Sensor: </strong>An IR sensor is an infrared sensor; it is a distance detector between an obstacle or object and the drone. It is a digital input sensor, which means it only has two possible outcomes, which can be monitored on a computer: 0 and 1, which mean an object is detected, and the pathway is clear, respectively. The IR sensor has a manual adjuster which can be adjusted (using a screwdriver) and can change the range at that objects are being detected. It detects objects by continuously emitting beams of infrared light. When the drone flies near an obstacle like a wall, this invisible light hits the surface and bounces back toward a receiver on the drone, which allows the sensor to detect an object nearby.</p><p><strong>Hooter: </strong>The hooter is an output device that produces a loud beeping sound when instructed to. It can be turned to low(off) or high(on) and can be used with input signals to indicate or verify various things. In this project, the hooter acts as a warning system. Whenever the IR sensor detects an obstacle (value = 0), the hooter switches on and continues beeping until the obstacle is no longer detected. This alerts the pilot that the drone is too close to an object and needs to change direction immediately.</p><p><strong>CODE (on Plutoblocks):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*or8ZDf7INf-QSRXffe47TA.png" /></figure><p><strong>How it works:</strong></p><ol><li>The drone flies normally.</li><li>The IR sensor continuously checks for obstacles in front of the drone.</li><li>If no obstacle is detected (IR = 1), the hooter remains OFF.</li><li>However, if an obstacle is detected (IR = 0), the hooter immediately turns on and starts beeping.</li><li>The hooter continues beeping while the obstacle remains within the range of the IR detection.</li><li>Once the drone moves back to a safe distance, the IR value changes back to 1, and the hooter turns off.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*kLogeqHy2eaP2dJlSP7LUA.png" /></figure><p><strong>Challenges:</strong></p><ul><li><strong>Using LEDs instead of a Hooter: </strong>Initially, I used LEDs as the warning device; however, they weren’t bright enough and didn’t emit any sound, making them unreliable. Replacing them with a hooter made the alert much more noticeable.</li><li><strong>Incorrect pin connections: </strong>I connected the attachments to the wrong pins on the flight controller, which prevented the project from working.</li><li><strong>Using wrong coding blocks: </strong>At first, I tried to read the IR sensor using an ADC block because I didn’t understand the difference between digital and analogue. After changing it to a GPIO because the IR sensor is digital, the project worked successfully.</li></ul><p><strong>Key learnings:</strong></p><ul><li>Digital input sensors and analogue input sensors are read using different pins</li><li>How to connect components correctly using the GPIO pins on the drone’s flight controller.</li><li>How to program logical conditions using if-else statements in Pluto Blocks.</li><li>The importance of testing and improving a design when the first solution is not working properly.</li></ul><p><strong>Tips:</strong></p><ol><li>When connecting the IR and Hooter to the Flight Controller, use the GPIO pins (1&amp;2), and when coding on Plutoblocks, ensure that the IR and Hooter pins correspond to which ones they were connected to.</li><li>Test the sensors individually with the drone before using them together.</li><li>Ensure the sensors are fully connected to the FC</li><li>Monitor the IR sensor on the laptop.</li><li>Ensure you have practised flying the drone before flying it among obstacles.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3dfe2f2e78a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Obstacle Avoidance System Using an IR Sensor for a Pluto Drone]]></title>
            <link>https://medium.com/@aditiponugoti/obstacle-avoidance-system-using-an-ir-sensor-for-a-pluto-drone-464d1319f129?source=rss-51b487f9fe07------2</link>
            <guid isPermaLink="false">https://medium.com/p/464d1319f129</guid>
            <category><![CDATA[pluto-drone]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[drones-technology]]></category>
            <category><![CDATA[ir-sensor]]></category>
            <dc:creator><![CDATA[aditi]]></dc:creator>
            <pubDate>Sat, 01 Aug 2026 07:08:19 GMT</pubDate>
            <atom:updated>2026-08-01T07:08:19.671Z</atom:updated>
            <content:encoded><![CDATA[<p>This project uses an IR Sensor and Pitch commands to move the drone backwards when an obstacle is detected.</p><p>When flying a drone as a beginner, or even flying in a large space where the drone is far away, it can be difficult to detect obstacles in the drone’s path. Colliding with these obstacles could not only cause damage to the drone itself, but would also damage the objects that the drone may have flown into. This problem results in an inefficient use of a drone, as constant damage would require high maintenance and be more expensive. Therefore, a solution that redirects the drone around obstacles in its path is required to increase safety and maintain efficient operation.</p><p>The solution is to use an IR sensor with Pluto Blocks to move the drone away from nearby obstacles automatically. The IR sensor is connected to the GPIO pin on the drone’s flight controller because it is a digital sensor with only two possible values. Using logic blocks in Pluto Blocks, I programmed the drone so that when the IR sensor detects an obstacle (value = 0), the drone automatically pitches backwards and moves away from the obstacle. On the other hand, when no obstacle is detected (value = 1), the drone continues flying normally. This solution is especially beneficial to beginner pilots who still may be learning how to fly a drone, and instead of panicking when the drone is near an object, the pilot would be assured that nothing will damage the drone and fly with their mind at ease, rest assured that their drone will be able to avoid obstacles.</p><p>I began by attaching the IR sensor to my drone using the GPIO pin on the drone’s flight controller. I tested the sensor and adjusted the detection distance to my preferred range. Moreover, I monitored the sensor values on my laptop and observed whether an object was detected (value = 0) or whether the pathway was clear (value = 1).</p><p><strong>IR Sensor: </strong>An IR sensor is an infrared sensor: it is a distance detector between an obstacle and the drone. It is a digital input sensor: it only has two possible outcomes that can be monitored on a computer: 0 and 1, meaning an object is detected or the pathway is clear, respectively. The IR sensor has a manual adjuster that can be adjusted (using a screwdriver) and can change the range at which objects are being detected. It detects objects by continuously emitting beams of infrared light into the. When the drone flies near an obstacle like a wall, this invisible light hits the surface and bounces back toward a receiver on the drone, which allows the sensor to detect an object nearby. thi</p><figure><img alt="The IR Sensor" src="https://cdn-images-1.medium.com/max/746/1*CcCcJz0NfzL89L6AVCoJrg.png" /><figcaption>IR Sensor</figcaption></figure><p>Since the IR sensor is connected to a logic block, when the sensor detects an object, it sends a signal to the receiver, which then pitches the drone backwards, away from any harm, allowing the pilot to rest assured that no damage will come to the drone</p><p><strong>Code (PlutoBlocks):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LdOJoYHZGIFzRkDkjp3mbQ.png" /><figcaption>Code on pluto blocks using IR sensor and pitch movements</figcaption></figure><p><strong>How it works:</strong></p><ul><li>The drone flies normally</li><li>The IR sensor continuously checks for obstacles in front of the drone</li><li>If no obstacle is detected (IR = 1), the drone continues flying normally</li><li>If an obstacle is detected (IR = 0), the drone automatically pitches backwards and moves away from the obstacle</li><li>This allows the drone to avoid collisions and gives the pilot more time to control the drone safely</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wXRGLrwSD3GJIRwWvhL_A.png" /><figcaption>IR Sensor Attached to the Drone</figcaption></figure><p><strong>Challenges:</strong></p><ul><li><strong>Adjusting the detection distance:</strong> Finding the correct distance at which the drone should react was challenging because the sensor needed to detect obstacles early enough to avoid collisions, but not so far away that it would unnecessarily move backwards. To solve this, I tested various ranges and adjusted the sensor until the drone responded correctly.</li><li><strong>Understanding the drone movement blocks:</strong> Initially, understanding which movement blocks were required to make the drone pitch backwards was challenging due to the fact that there were many related to the pitch of the drone, including RC Pitch, Set Pitch and Desired Pitch. After testing different blocks and values, I was able to program the drone to move in the required direction when an object was detected.</li><li><strong>Incorrect sensor connections:</strong> At first, the IR sensor was not connected correctly to the flight controller(as it was connected to an ADC pin instead of a GPIO one), preventing the drone from detecting obstacles. After checking the pins and plugging them into the correct pins, the sensor worked successfully.</li></ul><p><strong>Key Learnings:</strong></p><ul><li>Digital input sensors and how they provide two possible values.</li><li>Monitoring values on a laptop during flight</li><li>Difference between GPIO pins and ADC ones</li><li>How to use GPIO pins to connect sensors to the flight controller.</li><li>How logic conditions can be used to make drones automatically respond to inputs.</li><li>Program drone movements using Pluto Blocks.</li></ul><p><strong>Tips:</strong></p><ul><li>Test the IR sensor individually before programming the rest of the code.</li><li>Monitor the IR values on the laptop to understand when obstacles are detected.</li><li>Adjust the sensor range depending on the area and obstacles where the drone is flying.</li><li>Ensure the drone has enough space to move backwards safely when testing.</li><li>Ensure you have practised flying the drone before flying it among obstacles.</li><li>Ensure all GPIO connections are secure before flying the drone.</li><li>Test the drone’s motors and whether it can fly before using this program.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=464d1319f129" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>