Securing The Future Bit By Bit

Showing posts with label Quadcopter. Show all posts
Showing posts with label Quadcopter. Show all posts

Thursday, July 18, 2019

How to make a quadcopter using esp8266 and controlled it by your smart phone.

In this blog, I will explained you how to build esp8266 based quadcopter using Arduino Uno and controlled it by smart phone.


Components Required

1. Arduino uno
2. ESP-01/ESP-12
3. MPU6050
4. ESC(Electronic Speed Controller)
5. Brushless DC motors
6. Breadboard
7. Jumper Wires
8. Quadcopter Frame
9. FTDI or TTL

Procedure to make WIFI Quadcopter

Step1-make a connection of esp01 as given.


Step2- Open the wifippm code
         -->If you are using esp8266(esp-12) set GPIO5 pin as PPM output pin and GPIO4                pin as debug pin.
         -->If you are using esp8266(esp-01) set GPIO2 pin as PPM output pin and GPIO3                pin as debug pin.

Step3- upload the wifippm code to esp01 with the help ttl or ftdi.


Step4- After upload the code remove the Rx Tx GPIO0 and CH_pd pins.If a hotspot is              created named wifippm then everythings is alright.

            If hotspot is not created then connect Ch_pd pin to 3.3v and reset the                            esp01(means off and again on).


Step5- Now place all the components on the frame and make a connection as shown              in figure

Circuit Diagram



 Step6- open multiwii.ino firmware go to config.h and uncomment the following                   lines.
             The type of multicopter----------> #define QUADX 
             Combined IMU Boards-------------> #define GY_521 
             PPM Sum Reciver ------------------> #defineSERIAL_SUM_PPM(PITCH,ROLL,THROTTLE,YAW)      

Step7- upload the code in arduino uno board.

Step8- open the multiwii gui select the board and click the start button. Move your                   quadcopter and you can seen the reading of gyroscope and acclerometer.                 
Step9- connect your phone with wifipmm hotspot and open any browser and type                    192.168.4.1




Step10- move the joystic in browser and you can see the changes in multiwii gui.

My Github link-https://github.com/amanjaiswal210



Download wifi_ppm code here
Download Multiwii firmwar from here

Media Gallary



Share:

Thursday, July 11, 2019

How to make DIY quadcopter using Arduino Uno.

In this blog, I will explained you how to build your own quadcopter using Arduino Uno.


Components Required

1. Arduino Uno
2. Quadcopter Frame typeX
3. Flysky Receiver
4. 6 Channel Transmitter
5. 4 ESC 30A
6. MPU6050
7. 4 Brushless DC Motor

About Quadcopter

Quadcopters generally use two pairs of identical fixed pitched propellers; two clockwise (CW) and two counterclockwise (CCW). These use independent variation of the speed of each rotor to achieve control. By changing the speed of each rotor it is possible to specifically generate a desired total thrust.Each rotor produces a thrust and a torque about its center of rotation and these forces are used to fly and move quadcopter. Two rotors mounted on opposite arms of quadcopter are set into clockwise and another two anticlockwise direction of motion. These position of motors and their direction of rotation cancels all the torque generated given the speed of the motors are same.

Circuit Diagram

Design by Aman Jaiswal


Why Arduino as a flight controller ?

There are lots of flight controller available in Market like
1.Naze32 Flight Controller
2.OpenPilot CC3D Flight Controller
3.EagleTree Vector Flight Controller
4.Hobbyking KK2.1 Flight Controller
5.ArduPilot Mega APM 2.5Flight Controller
But i chosed Arduino Uno because it cheap and easy availabe in market.
Arduino uno work on Atmega328p microcontroller which is 8 bit microcontroller have enough processing speed and Clock Speed 16 MHz, Can provide 8-bit PWM output with the analogWrite() function.

About Transmitter and Receiver

For my quadcopter I used FlySky CT6B 2.4Ghz 6CH Transmitter with FS-R6B Receiver is the popular 6 Channel Radio CT6B manufactured by FlySky.CT6B FLYSKY 2.4GHZ 6CH TRANSMITTER radio is a value for money, entry level 6 channel transmitter, ideal for quadcopters and multicopters that require the 6ch operation.CT6B FLYSKY 2.4GHZ 6CH TRANSMITTER is an entry-level 2.4 GHz radio system offering the reliability of 2.4 GHz signal technology and a receiver with 6 channels. It can be powered by 8 x AA Size Batteries or a 12V Power Supply. It comes with a trainer port to help beginners learn flying.It can be configured by connecting it to the computer. Use the T6config software to configure your radio on a computer.


About Electronic Speed Controller

I used 30A BLDC ESC ELECTRONIC SPEED CONTROLLER can drive motors which consume up to 30A current. It works on 2S-3S LiPo batteries. It has an onboard BEC which provides regulated 5V(2A max draw) to power the flight controller and other onboard modules. It can be used to control our brushless motors with a 2S-3S LiPo (make sure motor doesn’t draw more than 30A).30A BLDC ESC Electronic Speed Controller is specifically made for quadcopters and multi-rotors and provides faster and better motor speed control giving better flight performance compared to other available ESCs.


How to configure your Quadcopter
Step1 Download and compile setup code. 
Step2 Download and compile ESC calibration code.
Step3 Finally download and compile Flight code.

How to control your quadcopter

Controlling a quadcopter is alway risky make sure all four propellers are tightly screwed .Don't try this at home.For Arming the quadcopter put throttle down and put yaw left now slowly move the throttlr up. For Disarming the quadcopter put the throttle down and put the yaw right.
via research gate
Credit 

Media Gallary










Share:

Saturday, July 6, 2019

How to make mini and cheap quadcoptor using eachine flight controller.

In this blog,I will explain you how to make cheap and mini quadcopter using eachine flight controller.


Components Required

1. Four Coreless Dc motors(8520)
2. Quadcopter FrameQ100 TypeX
3. Eachine flight controller
4. 2.4GHz Transmitter.
5. Two 65 mm Propellers(CW)
6. Two 65 mm propellers(CCW)

Why Q100  Frame?

The Q100 is a mini-size smallest frame among the quadcopter frame class.This is ready-2-fly quadcopter frame requires only basic installation. You can enjoy the versatility of the Q100 racing drone by practicing your flying, racing, or aerial acrobatic drone skills either indoors when it’s raining, or outdoors when it’s sunny.The arms of the frame are attached permanently to the frame and can’t be removed. The upper colored cap at the front of the frame can be attached and detached while assembling.

Why Eachine h8 Flight Controller?

Basically It is receiver board Compatible with: JJRC H8 Mini QuadcopterItem dimension: 4.3 * 4.2 * 0.2cm .Its weight is only 3g. In this board we can connect four coreless DC motors. This board is highly stable as compared to other boards at this price. It works on 2.4ghz radio frequency. It is compatible with any transmitter which work on 2.4GHz.

Why 8520 coreless motor?

This 8520 Magnetic Micro Coreless Motor is very compact and lightweight DC motor nicely crafted for perfectly matching with your small 100mm like multirotor frames.These lightweight brushed DC coreless motors are the best choice for your small drone, offering you an excellent affordable price when compared with costly BLDC motors.They are rated at 39000 RPM which is more than needed to lift and push your drone to the target. These are less noisy with low resistance. The only drawback of using coreless is the amount of torque they provide, as they are High Speed and Low Torque motors.

Why 2.4GHz Transmitter? 

2.4GHz system is an entry level transmitter offering the reliability of 2.4GHz signal technology and a twin receiver antenna and with 6 channels.This transmitter requires 8 AA batteries.Easy to use control for basic models.We can use this for all sorts of projects including (but not limited to) tanks, airplanes, helicopters, scale models of the Weinermobile.This radio has very lightweight and handy design with two retract switches and proportional flap dials in easy reach for channels 5 and 6.
Credits

Media Gallary






Share:

ElectrocoreDIY.com

Search This Blog

Blog Archive

Powered by Blogger.

Privacy Policy