Normally we see drones controlled using an RF remote, or for autopilot using a GPS module to control it automatic by giving proper direction by it. But in my project, I have gone about things in another way using an Arduino Uno.
The main objective of this project is to collect data and 2D video information from a particular known area. In order to get the information, we must to assign the values of length and width that the drone can travel using Arduino programming.
As its name suggests, autopilot means that the drone will be handled by itself, while controlling action of the drone will be handled by a flight controller that has built-in sensors to balance the drone. An Arduino Uno is the brain of the system, which gives the proper signal to flight controller. To maintain stability and sustained operation, I used an OpenPilot CC3D microcontroller (or any flight controller), along with a camera to capture live data with weather monitoring sensors. Finally, the system includes a Bluetooth module to turn the dronon/off and display the live data using a Android mobile device.
ARDUINO UNOas we know the arduino Uno is a Atmega Micro controller. here i generated PWM signals to control the Drone.
as we seen in above fig shows the a flight controller which having inbuilt gyro and accelerator controller and auto leveling features.
But these micro controllers company provides its own software to program it, and its is user friendly to use.
these micro controller needs a PWM signals for input to control the individual BLDC motors. these signals will be generated by arduino uno.
TYPES OF DRONE DESIGNSas you see above there are two types of drone designs available for quad format drones, depending upon what direction you place the flight controller you can chose the quad format
the direction indication will be printed with respect chosen flight controllers, with respect to the chosen format the propeller direction also most important, CW (clock wise) and CCW (counter clock wise).
ESC CONNECTIONCLOCK WISE
Clock wise we need to connect the wires as shown above
COUNTER CLOCK WISEfor Counter Clock wise we need to interchange any two wires so that phase of an voltage apply to motor will so it changes the motor direction
MOTOR-ESC-FLIGHT CONTROLLER CONNECTIONESC also having a 3 wires with 2 power cables,
these 3 wires having VCC, GROUND and INPUT SIGNAL pin which takes data from FLIGHT CONTROLLER to spin the BLDC Motors.
other 2 Wires are power cables rated for higher current so use thicker wires, and these cables are common with the battery.
FINAL WIRING DIAGRAM WITH ARDUINO UNOhere i used a UART protocal but no data is converted parallel to serial. direct PWM signals are applied from arduino to CC3d with respect to delay.
MOBILE APPthe above snap show the android application which is build using an open source website which mentioned below. using this app we can turn on and turn off the drone. and having another feature which makes we can get the sensor data in the serial window, that is a mobile phone.
buttons
start : this button will boots up the micro controller (CC3D flight controller)
mov : this makes drone to fly and does its operation which is programmed inside the arduino Uno
stop : it is a emergency stop button to turn off the drone (due to auto pilot drone no remote controller is present so provided extra button)
start sensor : when it pressed it displays the sensors data on a white screen which is shown below figure
we can see in that figure the temperature and humidity of values will be displayed when start sensor button is pressed.
Comments