diy smart follow me drone with camera arduino based - smart-ITATOUCH-img
loading

diy smart follow me drone with camera (arduino based) - smart

by:ITATOUCH     2019-08-05
diy smart follow me drone with camera (arduino based)  -  smart
Drones are now very popular toys and tools.
You can find professional, even beginner drones and flying gadgets in the market.
I have four drones.
Four shots and six shots)
Since I love everything about flying, but 200 flights are not fun and start boring, I decided to build my own drone with some extra flights.
I love Programming Arduino, designing circuits and gadgets so I started building it.
I used the MultiWii flight controller based on the same ATMega328 chip used in Arduino UNO, so programming is very simple.
This drone can be connected to an Android smartphone that sends GPS data to the drone, compares it to its own GPS signal, and then starts tracking the phone, so if I'm walking down the street, the drone will follow me.
Of course, I still have a lot of drawbacks because I can't make professional drone shots, but I 've been following my phone, making videos, and also equipped with an ultrasonic distance sensor to avoid obstacles in the air.
I think this is a feature of a self-made drone.
I will upload a video about the flight as soon as possible, but it is difficult to make a high quality record with a drone that always moves.
The drone is almost entirely automatic and you don't have to control it because the ultrasonic sensors help to bypass the trees and follow your usual mobile phones, buildings and other obstacles on your bike, GPS provides very accurate location data, but let's see what we have in total: So this is what the first version can do, and of course, I want to develop it.
In the summer I want to hack my bigger drone with this software.
When I was under the drone, I let two of my good friends walk in front of the drone and save it if they fall.
But the test was successful, and as you can see, the drone is still not very stable, but works fine.
The man on the left wearing a yellow T-shirt
The shirt holds the phone that transmits GPS data.
The video quality of this camera is not the best, but I did not find a 1080 p camera with a low weight.
You need some new and unusual parts for this project.
In order to reduce the cost, I successfully obtained very good frame material with low weight and recycled parts design.
But let's see what we need!
I purchased the Crius brand of flight controllers from Amazon.
Com and workedI purchased these brackets with motors from Amazon.
Com costs $18 and they are spare parts for Syma s5 x drones but they seem to be useful so I ordered them and it works fine.
All you need to do is put the motor into the hole and attach the props to the gear.
When working, be sure to pay attention to the mode and the connection.
Now you have to weld all the cables from the motor to the L293D motor driver IC.
Take a look at these pictures and they say more, you have to connect the Black and Blue wires to the GND and the front wires to the output 1-Like me.
L293D can drive these motors, but I recommend using some power transistors as this chip cannot handle all four motors at high power (
More than 2).
After cutting 15 cm straws, these will keep the position of the motor.
I used a powerful straw in the local bakery and cafe.
Gently place these straws on the gear of the motor.
Please note on the second picture that this picture shows the equipment of the prop teacher.
Use some hot glue and super glue to fit all four propellers and check the connection.
It is very important that the supports keep the same distance from each other.
Four women.
Female jumper and cut it in half.
Then weld them to the remaining pins of the IC.
This will help connect the pins to the I/O pins of the Arduino.
Now is the time to build the circuit.
All modules are included in the flight controller suite I submitted, so all you need to do is connect them together.
Bluetooth first enters the serial port, and GPS first enters the I2C converter and then the I2C port.
Now you can equip it on the drone.
Use some double sided tape and add GPS first. This sponge-
Tape holds everything in place, so glue each module one by one on plastic pieces.
If you have finished, you can connect the pins of the motor drive to the MultiWii.
The input pins are connected to D3, D9, D10, D11 and other pins should be connected to VCC and GND-pins.
Schemantic will upload to tomorrow.
I fixed my battery to the bottom of the drone with some rubber bands and very firmly there.
I plugged in to work as I expected.
The sonar sensor is fixed on the drone with rubber bands and is connected to the D7 and d4 pins of the MultiWii controller.
You have to program the chip using the serial FTDI module.
The suite also includes programmer modules.
Global Positioning System (GPS)is a space-
Based on the navigation system, in all weather conditions, four or more GPS satellites have unobstructed sight on Earth or anywhere near the Earth, providing location and time information
The system provides critical capabilities for military, civilian and commercial users around the world.
The US government created the system and maintained it so that anyone with a GPS receiver can have free access to the system.
The GPS module usually publishes a series of standard information under the organization known as the National Ocean Electronics Association (NMEA)protocol.
More information about NMEA standard data strings can be found on this website.
For more information on programming, please read the following: I don't know if the software has been uploaded to the chip, but here I will explain what to do.
First download the official MultiWii library to your computer. Extraxt the .
Zip file and then open it in MultiWii. ino file.
Select "Arduino/Genuino UNO" and upload it to the motherboard.
Now your micro controller has all the features pre-installed.
Gyro, lamp, Bluetooth or even small LCD (
Not used in this project)
The uploaded code is being processed.
However, this code can only be used for testing if the module works perfectly or is not perfect.
Try to tilt the drone and you will see that the motor will rotate due to the gyro sensor.
In order to track the phone, we have to modify the code of the controller.
After that, if you can program Arduino or follow my instructions and make it a "follow me" drone, you can make your own hack drone.
GitHub link to the software: For more details about the software, please visit the official website: the code of the sensor and the code of the controller must be modified, which will prompt ATMega328, but now the Bluetooth module gives three GPS coordinates, according to the movement of the drone, so, if the x and y coordinates of my phone are 46 44 '31' and 65 ^ 24' 13 ', the coordinates of the drone are 46 ^ 14' and 65 ^ 24' moving in one direction until the phone is reached.
I used the sensooth app to download from here to your smartphone: connect to the drone via Bluetooth and then turn on GPS TX and data recording.
Now the mobile app is ready.
I bought a very cheap Chinese 720 p keychain camera with good quality.
I put it on the bottom of the drone with double sided tape.
This camera has been used in many of my projects, it is always good to use it, the weight is 15g and can make very good videos.
The drone is still unusable because it is not a professional project, but works fine.
I am very satisfied with the results.
The connection distance is about 8 m, which is enough for a drone like this.
I hope you will enjoy this video.
It's not a driverless car, but it's also fast.
I also have a bigger drone and if I can correct the error in the code I want to use it with that drone via the WiFi connection of the ESP8266 module.
It has a bigger rotor and can even lift the GoPro, unlike the first version.
This drone can be a useful tool when riding a bike, driving, skiing, swimming or sports, and he always tracks you.
I really hope you like my instutable, if so, please give me a friendly vote in the "let it fly" contest.
You can ask if you have any questions.
Don't forget to share and give if you think it's worth it.
Thanks again for watching!
Custom message
Chat Online
Chat Online
Leave Your Message inputting...
Hi, Nice to meet you! I am temporarilly away a momnet, Please can you talk with me by Whatsapp: +86 13582949978 / Skype: eliahe123? Email: info@itatouch.com Thank you in advance! Sincerely, ITATOUCH Sales {{"url":"/about us","text":"Welcome to visit us!"}} Welcome! What can I do for you?
Sign in with: