RC India
Welcome Guest, please login or register.
 
Pages: [1] 2  All   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« on: October 14, 2014, 12:26:34 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN




Atmega328+MPU6050+FTDI232RL  With Multiwii F/W

           There are a wide range of multicopter flight controllers available nowadays, from as cheap as 1K to High ends which cost up to 10k.  However beginners like me who are just getting in to the rc hobby may find it little difficult to invest on Items like flight controllers, Radio systems Etc..(the later burns holes in the pocket!!!). As a beginner I searched for the cheapest components through the internet. How ever i couldn't compromise on quality and usability. Things like Radio, and Flight controller are not that easy to get cheap. (Those are cheap, are found to be worth the money!! I mean worth what we payed!!!.)

            So I came to the choice of making my own flight controller, And these are the Immediate problems struck me.
  • Which micro controller
  • Which sensor
  • which firmware or program
  • Is it worth DIYing?

             I have found solutions for these by going through RC forums and blogs And came to these conclusions.
  • Arduino as micro controller platform
  • any cheap ACC. GYRO. combo chips (like MPU6050)
  • Miltiwii , as it has support for all the features of an elite Flight controller  
  • This is cheaper than Buying a FCboard and is worth investing, as its features can be extended

             Still i found one more problem, the arduino board costs around 25$(cheap Chinese clones are available for 7$!), If i go on using an arduino uno, there is no worth DIYing as the total cost is concerned. The other choice is to use an Atmega328 with arduino boot loader, this costs only 2$ and I will have a complete DIY FC board So I chose to Go on with it.

             Now I a have ordered my parts From Ebay and waiting for these to arrive,

          
  • Atmega328P with arduino boot loader $1.5
  • MPU 6050 breakout board                $4
  • PL 2303 USB to TTL RS232               $1.5  (cheaper than FT232RL)
  • HC-05 Bluetooth wireless serial         $5    (This is optional, for connecting FCB wirelessely to PC)
  • Logic Level converter                      $1
  • 16MHz crystal, 2x22pF ceramic capacitors, LM7805 etc...(These items are found in the junk box of any electronics hobbyist however costs only up to 30Rs.)
             So far total Budget is around 1K, !! For a Wireless connectivity dual sensor (Accelerometer and Gyro) Flight control Board!!!!!!!!!.   The Bluetooth module is optional, So with out that , cost reduces to around 700Rs.

              The future mods I have planned are , MPU9150(has built in compass) instead of MPU6050+Barometric pressure sensor+GPS module, And Atmega2560 instead of  Atmega328P  . Guess what? That would have Features of APM !! , For a too low price.

              Currently I am waiting for my parts to Arrive (And my 5th sem exams to end!!) Will Update with Build details Once I get my parts, Keep your Fingers crossed for a Cheap, Yet Highly powerful DIY Flight controller                               Hats Off
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #1 on: October 14, 2014, 12:46:33 PM »
shijin ps
Plane Lover
Senior Member

***

Reputation Power: 3 
shijin ps has no influence.
Offline Offline

City: kollam
State: Kerala
RC Skills: Intermediate
Posts: 184
Join Date: Jun, 2013



Wish you all the best dear friend. Thumbs Up Thumbs Up
Logged

Spektrum dx9,Turnigy 9x,walkera,HK t6, Skysurfer v3,yak 54 3d,custom made Tricopter,HK Parafoil,Hausler 450 heli,hiller hover 450 heli,Ornithopter,
 

Read
« Reply #2 on: October 14, 2014, 12:53:50 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



@ Shijin,  Thanks
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #3 on: October 14, 2014, 01:07:42 PM »
sndipz
Heli Lover
Active Member
**

Reputation Power: 1 
sndipz has no influence.
Offline Offline

City: Hyderabad
State: Andhra Pradesh
RC Skills: Beginner
Posts: 5
Join Date: Oct, 2014



All the best !!
Logged
 

Read
« Reply #4 on: October 14, 2014, 01:20:56 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



Thanks , Sandipz.
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #5 on: October 14, 2014, 01:57:29 PM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



I think you can jump to second stage directly because the costs matters.

and i already done this with atmega2560 , gy80 , ublox neo 6m , 3dr telemetry and multiwii had great success.
Logged
 

Read
« Reply #6 on: October 14, 2014, 02:26:13 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



Cost difference in moving to second step, Atmega2560 will cost 5$ and MPU9150+BMP085+GPS will cost around 30$, Nothing else to change . Currently Designing the PCB , in 50mm x 50mm.
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #7 on: October 14, 2014, 02:28:31 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



@akhilzid , gy80? the Chinese breakout board?, I had no faith on it!!. In fact I am not Planning to use break outboards, 'm designing my own PCB
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #8 on: October 14, 2014, 03:08:33 PM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



pin layout and pcb design will not much differ while MPU9150 and gy80 breakout,

gy80 is chinese but flying more than one year with that. and also tried have MPU6050 make any diffrence.
Logged
 

Read
« Reply #9 on: October 14, 2014, 05:19:27 PM »
AnjanBabu
Aj Creations
Plane Lover
Forum Hero

*****

Reputation Power: 9 
AnjanBabu has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 576
Join Date: Jan, 2012



MPU 6050 breakout (GY-521, I think)-- 200/-
Arduino Pro Mini (16MHz/5V)-- 160/-
5x5 perf-board-- 15/-
A few headers and a couple of jumpers, of course. ~10/-

>500/- in cost.

I didn't go as far as flying with it, I am always paranoid of fly-aways so just did some tethered hovering to check stability, the 6050 breakout was affected by the vibrations a bit, but it wasn't bad at all for an evening's work.


IMG_20140705_191906.jpg
Re: DIY-Multiwii Flight control board for 1K
* IMG_20140705_191906.jpg (92.62 KB, 592x800 - viewed 3538 times.)
This post has 3 more images(s)/attachment(s). Please login or register to view them.
Logged

Mechatronics engineer . Hopeless realist

anjanbabu.wordpress.com
 

Read
« Reply #10 on: October 14, 2014, 05:39:23 PM »
AnjanBabu
Aj Creations
Plane Lover
Forum Hero

*****

Reputation Power: 9 
AnjanBabu has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 576
Join Date: Jan, 2012



Atmega2560 will cost 5$

$5 excluding shipping or free shipping?
Logged

Mechatronics engineer . Hopeless realist

anjanbabu.wordpress.com
 

Read
« Reply #11 on: October 14, 2014, 06:01:11 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



pin layout and pcb design will not much differ while MPU9150 and gy80 breakout,

gy80 is chinese but flying more than one year with that. and also tried have MPU6050 make any diffrence.
Akhil, MPU6050 and 9150 are Single chip Motion sensors, gy80 is a breakout board with separate 3axis aa. +3axis gyro +baro +compass. As i am making a custom PCB decided to go with MPU9150+BMP085 everything in two chips !
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #12 on: October 14, 2014, 06:03:02 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



MPU 6050 breakout (GY-521, I think)-- 200/-
Arduino Pro Mini (16MHz/5V)-- 160/-
5x5 perf-board-- 15/-
A few headers and a couple of jumpers, of course. ~10/-

>500/- in cost.

I didn't go as far as flying with it, I am always paranoid of fly-aways so just did some tethered hovering to check stability, the 6050 breakout was affected by the vibrations a bit, but it wasn't bad at all for an evening's work.


Gr8, Why not flying with it? It's as reliable (or more than that) as KK or HK fCboards.
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #13 on: October 14, 2014, 06:05:18 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



Atmega2560 will cost 5$

$5 excluding shipping or free shipping?

That's from ebay, ofcourse it's freeshipping. (But it is the IC only not Arduino Mega)
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #14 on: October 14, 2014, 06:23:36 PM »
AnjanBabu
Aj Creations
Plane Lover
Forum Hero

*****

Reputation Power: 9 
AnjanBabu has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 576
Join Date: Jan, 2012



As i am making a custom PCB decided to go with MPU9150+BMP085 everything in two chips !
MultiWii does not support the 9150/9250 as of yet, you need to mod the compass code. I think the MWC boards mostly come with HMC5883L 3-axis compass.



Logged

Mechatronics engineer . Hopeless realist

anjanbabu.wordpress.com
 

Read
« Reply #15 on: October 14, 2014, 07:14:17 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



MPU 9150 is Simply, The MPU6050 +magnetometer AK8975 .
The Implementation is quite simple...
Just define MPU6050 and define AK8975 in multiwii code, it should work. The sensor orientation may need to be to be modified.
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #16 on: October 14, 2014, 07:46:44 PM »
AnjanBabu
Aj Creations
Plane Lover
Forum Hero

*****

Reputation Power: 9 
AnjanBabu has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 576
Join Date: Jan, 2012



The MPU's DMP is used to processing sensor data on MWC before it goes to the microcontroller, so I'm guessing the compass data also goes though the DMP, in that case it can't be as straight forward as you mention. Also, the compass I2C address might need a check.
Logged

Mechatronics engineer . Hopeless realist

anjanbabu.wordpress.com
 

Read
« Reply #17 on: October 14, 2014, 07:49:04 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



i found that it is Directly working, On multiwii forum, however will give it a try As MPU9150 is cheap!!
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #18 on: October 15, 2014, 07:55:19 AM »
sachin_k5
Car Lover
Active Member
**

Reputation Power: 1 
sachin_k5 has no influence.
Offline Offline

City: Mumbai
State: Maharashtra
RC Skills: Beginner
Posts: 62
Join Date: Aug, 2014


Re:

Hi sooraj , which software will you use to simulate the circuit ?
Logged
 

Read
« Reply #19 on: October 15, 2014, 03:19:41 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



There is no need to simulate the circuit, As multiwii is a tested and trusted program by so many RC enthusiasts around the world.
For designning the PCB I will be using DIPTRACE.
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #20 on: October 24, 2014, 08:55:44 AM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



after about a month wait, I finally got the sensor breakout boards , USB to UART TTL converter and Logic Level Converter delivered. Now waiting for my 5th sem Exams to end  Sad
« Last Edit: October 24, 2014, 09:39:56 AM by sooraj.palakkad » Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #21 on: October 28, 2014, 09:48:44 AM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



another sleepless night, brought an arduino UNO from a friend Bootloaded my new Atmega 328P. Actually, on the Ebay listing , it was said it comes preloaded with optiboot bootloader, but mine was not so when arrived- But no problem, I don't mind whether it's bootloaded or not, for a 60Rs. IC (local electronic shops sell it for 180Rs here !).
           uploaded multiwii firmware to it and connected mpu6050, to check if the multiwii GUI detects it- Success- So everything is still on the breadboard, time to bake a new PCB.
                But now I am confused whether to solder the sensor and bluetooth breakout boards directly or De solder the breakout board and use the IC's only , the latter makes the size of final Flight control board smaller, and will give the feel of an Of the shelf board.      Any suggestions?
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #22 on: October 28, 2014, 01:09:11 PM »
Dharmik
Heli Lover
Forum Hero

*****

Reputation Power: 13 
Dharmik has no influence.
Offline Offline

City: Bharuch
State: Gujarat
RC Skills: Beginner
Posts: 1097
Join Date: Sep, 2011



Really nice job. Looks interesting. Keep it up.
Logged
 

Read
« Reply #23 on: October 28, 2014, 01:56:46 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



@Dharmik, thanks.
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #24 on: November 09, 2014, 10:13:18 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



Was trying my luck with some KK5.5 and hobbyking v2 boards, for set it up and learn some flying skills with the multirotor.

Now I gave up, as these boards are giving new problems after solving one another  Bang Head

So Today I decided to set up this multywii FCB on a perf board (general purpose dotted PCB) . I was not at all interested to do this, Was planning to make this FCB after getting my SMD PCB design etched. but have no time to etch a PCB right now.. And I wanna fly.

So it happened today..... took an old 328P , a gy-521 breakout (MPU6050), and started soldering...
though it is not a clean build , It should work.
So I call this Mymultiwii V 1.0  Grin

and guess what, I maintained the size of FCB to be less than 50*50mm even in a perfboard with all DIP components and a sensor break outboard  !!!

But couldn't test it today, because my USB to UART (PL2102) breakout is not functioning  Bang Head

Will do the testing and hopefully flying with this 'not so clean' board with in two days.
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Pages: [1] 2  All   Go Up
Jump to: