Thursday, February 6, 2014

Quadcopter: Learning Phase


I have decided to build a Quadcopter. Of course i will just be interested in the core electronics part of it and very less in the mechanical part of it so don't expect my project to be a help. Although i do plan to add a lot of features to it to make it more useful when it is in the air. In the mean time i purchased some components that will be rehired to build it and decided to write what learnt from them.

I got the following component 
1)MPU6050 Gyroscope and accelerometer. It is a nifty device and very cheap. 
2)RF 433Mhz transmitter receiver pair.

Interfaced a MPU6050 sensor to an Arduino over I2C and obtained its raw readings. These readings were then used to change frequency of blinking of 4 LEDs dependent on boards alignment. This was done as a prototype to test a stabilization algorithm for a quadcopter. Further an ultrasonic distance sensor was connected to the board and the distance on the sensor was used to further vary LED blink pattern. The ultrasonic sensor adds another dimension to the stabilization algorithm by given the altitude of the quadcopter. This project was essential in understanding various key skills like I2C protocol, sensor fusion algorithms, and sensor interfacing. 
For the Rf module i also used two ATtiny25's and decided to do a micro project.

A RF link was setup between two ATtiny25 micro-controllers, using a 433 MHz transmitter receiver pair. The micro-controllers were programmed, using an AVR Dragon via ISP,  they were programmed so that a switch on the transmitting side turned on and off the LED at receiving end. This project was done to understand radio communication and further develop into a universal remote for home appliances, with the help of relays. 

No comments:

Post a Comment