Posts

Showing posts from April, 2023

Project - anti-collision strobe

Image
  The ultimate purpose of this project is to make more people fly at night with strobe. People should be aware that there is a drone around them, and they will assume how far it is from the strobe light. So, the strobe light will prevent collision ultimately. Even though there are already a lot of anticollision lights for DJI drones, I will deliver a product that is more affordable and easier to approach if clients are interested in Arduino. I hope more clients will fly at night without hesitation with this product. ​ First of all, I thought about how to attach the strobe light to Mavic 2 pro properly, it should not be detached during the flight so I had to think about the best way to attach the strobe light and I also thought lights are supposed to go at the top of the drone is so that they are visible to any manned aircraft flying overhead and then I thought how often should I blink the strobe light by using Arduino programming to make people be aware of strobe lights. after that I t

Aerial photos(TURF Farm)

Image
 

LAB 12 Arduino programming part 2

Image
  In this lab, I read about the photo register and wrote a program that read values. This lab was also hard so I needed extra time to figure out all the lab questions besides lab time. I connected the 10k register between the ground and one end of the photo register. I used 330ohm, and 10kohm in this circuit, the minimum and maximum range of values was 50~610 when I turned on the flash. I used the map function that I learned in the lecture to complete this task, the minimum and maximum range of values was 50~610, and I used the map function to turn that into 0~100. photo register code and circuit After that, I wired the piezo buzzer and tested the code that was given and finally, I combined the photo register and piezo buzzer and created a single program. I had to use if statements to figure out this question(if it is dark or a button is pressed, turn on the LED AND play a tune. Else, turn the LED off) I had to define if is dark in Arduino, I set up the value of darkness 200. It means

LAB 11 introduction to Arduino

Image
  In this lab, I learned overall Arduino to write simple code to connect analog user input to digital user output. I've never had a chance to learn to code something, so it was first learning coding. I wanted to learn coding because I need to deal with in the future anyway. I was glad to learn this in the lab. The thing is it was way harder than I thought. The first two parts were easy, all I had to do was to print out hello world. In the first part, I just needed to print out hello world once, so I put code in the void setup and I had to print out multiple times so I put code in the void loop. so far so good ​ The next thing to do was to blink the LED with Arduino and two analog parts using a potentiometer. This part was so hard for me. I had to work on this the other time as well as the lab time. Now that I think about it, it's not a big deal but it was hard for me at that moment. I made a blink LED circuit with a breadboard and put a delay code to blink the LED. I also had t

LAB 9 SKYDIO SKILLS FLIGHT

Image
  It was my first time dealing with skydio drone. I was excited to fly this drone, but the weather was not good to fly this last week. Actually, we went to the turf farm three times to do this lab. when we checked out the weather, it was fine, so we decided to go out but when we started to fly, it started raining out of the blue so we had to pack up and reschedule our flight, unfortunately, It happened the other day. We were able to fly it finally yesterday. Pre-flight ​ 1. download the turf farm map in advance 2. verify the latest firmware 3. clean the camera lenses 4. identify potential hazards ​ wind(18mph) -max wind resistance is 25mph but we need to care tree, especially branches- skydio can identify the obstacles but it can't identify small objects such as nets and branches, we need to be aware of that and don't need to fly around the tree ​ 5. set flight boundary and height ​ Flight Maneuvers I can choose two options when I do RTH. one is absolute height behavior, the ot