RC India
Welcome Guest, please login or register.
 
Pages: [1]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« on: May 03, 2012, 11:01:00 PM »
jaspreet.guitar
Heli Lover
Senior Member
***

Reputation Power: 4 
jaspreet.guitar has no influence.
Offline Offline

City: Noida
State: Uttar Pradesh
RC Skills: Beginner
Posts: 177
Join Date: Feb, 2012




Hey!
There is a problem that I'm facing with my quadrotor. It just refuses to lift-off!! Tried a lot of things and suggestions, but no success till now!

Im using..
Hextronic DT700 motors
Turnigy Plush 30A ESC
Turnigy 2200mah 25C LiPo
Sparkfun 9 dof IMU

Someone please help!? Sad
Logged
 

Read
« Reply #1 on: May 03, 2012, 11:09:03 PM »
jaspreet.guitar
Heli Lover
Senior Member
***

Reputation Power: 4 
jaspreet.guitar has no influence.
Offline Offline

City: Noida
State: Uttar Pradesh
RC Skills: Beginner
Posts: 177
Join Date: Feb, 2012



Sorry forgot to mention! Im using 10x4.5 counter-rotating propellers from RCDhamaka...
12x4.5 ordered today, would be arriving here soon!

And the total weight inclusive of the battery is around 1250-1300 gms!
Logged
 

Read
« Reply #2 on: May 03, 2012, 11:47:44 PM »
hyd_quads
Plane Lover
Forum Hero
*****

Reputation Power: 9 
hyd_quads has no influence.
Offline Offline

City: Hyderabad
State: Andhra Pradesh
RC Skills: Beginner
Posts: 761
Join Date: Sep, 2011



If you received a FTDI basic breakout (A programmer for the 9dof FC), then, plug it into your Flight controller, buy a mini-USB cable and connect it to your PC. Download and install the FTDI drivers. Download and install the arduino software onto your PC. (v1.0 is the latest, but I like v0.23)

You should see several files that are pre-flashed on the board (like a firmware). I expect to see some .pde files. Open them. (Simply double-click and windows asks you to select a program and select "arduino" from the list) In any ONE file, you see something like MAXTHROTTLE (or an equivalent verbatim) defined. (For eg, in MultiWii, it's MAXTHROTTLE). Set it to the MAXIMUM possible value. (I guess it's 2000). This "MAXTHROTTLE" value is the throttle input given to the ESCs when Maximum throttle is received by the Flight controller from the Rx.
This increases the throttle given to ESCs and the thrust goes up!

BTW, your quad's weight is on the higher side. Sure, it falls in the acceptable range, but reduce it. My MultiWii quad also uses dt700s and it weighs 1190g. After lots of trouble, it's now hovering! I am now switching to a smaller LiPo and simplifying the frame so as to reach my target of 1000g.

Also, download a GUI to modify settings of your FC. I searched and found them here. (download the 1st file on the list) http://code.google.com/p/sf9domahrs/downloads/list

Also check the sensor-axis orientations. They might be reversed. You'll have more trouble then! Read more on programming the Flight controller.

Reduce the weight and I guess all the hardware setup is fine! (let seniors comment on that) It has to fly for sure. (again, I am a beginner, too)
PS: Some points might be specific to MultiWii, sorry for that, but I am sure there's an equivalent version for your FC too!

Vineet
Logged
 

Read
« Reply #3 on: May 04, 2012, 01:13:39 AM »
AyushGupta
Plane Lover
Active Member
**

Reputation Power: 2 
AyushGupta has no influence.
Offline Offline

City: Dehradun
State: Uttarakhand
RC Skills: Intermediate
Posts: 86
Join Date: May, 2010



Jaspreet, may i ask how have you connected your ESCs to the controller board ?? because the output the AHRS code provides is just the euler angles (Roll, Pitch, Yaw) on the serial port.

You require a secondary micro-controller that understands the Radio inputs (PWM from Receiver) and then using the AHRS data from 9 DoF on Serial port and implementing a PI or PID control feedback loop and finally send instructions(PWM) to the ESC.

Hope you were able to follow all the mumbo jumbo  Wink
Logged
 

Read
« Reply #4 on: November 26, 2012, 11:37:20 AM »
bhaumik
Plane Lover
Active Member
**

Reputation Power: 1 
bhaumik has no influence.
Offline Offline

City: Gandhinagar
State: Gujarat
RC Skills: Beginner
Posts: 16
Join Date: Jul, 2012



Hey Fellas,

Right now I am struck with a problem building my quadrotor..
My Quadrotor configurations are Arduino UNO+ZigBee+9DOF IMU
The problem is such that,
Arduino UNO has got only single Serial UART and I have two ZigBee and 9DOF both are giving me outputs in serial. So, how to overcome this problem..? Is there anything logically I have to resolve or are there hardwares available that allows two UARTs connections with single microcontroller..??

Guyz, please do reply.!!

Regards,
 Bhaumik
Logged
 

Read
« Reply #5 on: November 26, 2012, 04:12:02 PM »
jaspreet.guitar
Heli Lover
Senior Member
***

Reputation Power: 4 
jaspreet.guitar has no influence.
Offline Offline

City: Noida
State: Uttar Pradesh
RC Skills: Beginner
Posts: 177
Join Date: Feb, 2012



Bhaumik, what you can do is connect your 9DOF IMU to the hardware serial pins (Pin 0 and Pin 1).

And then for the Zigbee you can use a software serial port. There's an included library for this in most of the recent ARDUINO versions.

There's plenty of material available for the software serial library. I'll still give you a basic example for your understanding.

#include <SoftwareSerial.h>

SoftwareSerial mySerial(2, 3); //Pin 2 - RX, Pin 3 - TX; You can use any two digital pins.

void setup() 
{
  mySerial.begin(4800);  // You can set the baud rate for the software serial here. Avoid using anything more than 4800.
}

void loop() // run over and over
{
  if (mySerial.available())  //To check if any data is available on the RX
    int value = mySerial.read();  //To read the value on RX into a variable.
 
  mySerial.write(value);  //To write the read value on TX
}

Another thing that you need to informed about is that software serial library is memory intensive and also slows down your loop rate. This means that the frequency at which a loop of your code gets executed would be reduced. Again, this is not something that you should be overly concerned about at this stage.

You would also need to disconnect your IMU from pins 0 and 1 when you upload a code or communicate serially with the computer.
Logged
 

Read
« Reply #6 on: November 26, 2012, 05:17:56 PM »
bhaumik
Plane Lover
Active Member
**

Reputation Power: 1 
bhaumik has no influence.
Offline Offline

City: Gandhinagar
State: Gujarat
RC Skills: Beginner
Posts: 16
Join Date: Jul, 2012



Thanx Jaspreet,
Software Serial is a good alternative.
Recently I tried that library and successfully communicated between two ZigBee. The read operation on receiver side went very well. But, not happy with the write operation from receiver arduino. Coz it is getting some delay in writing the data back from the arduino.

And another thing is that I am not able to specify baud rate of ZigBee less than 9600. So, I am still using baudrate 9600 on Softwarely declared serial pins...

Regards,
Bhaumik Khamar
Logged
 

Pages: [1]   Go Up
Jump to:  

Related Topics
Subject Started by Replies Views Last post
A solar quad rotor
Self-designed, DIY and College Projects
anwar 4 5918 Last post January 12, 2010, 05:36:34 PM
by vinay
Quad Rotor
Self-designed, DIY and College Projects
madhavan 6 7010 Last post August 27, 2010, 04:49:41 PM
by vulture
ArduPilot for Quad rotor
Self-designed, DIY and College Projects
Acronics 0 3937 Last post November 10, 2010, 12:17:25 PM
by Acronics
quad rotor for sale
For Sale
sbajare 0 2713 Last post April 02, 2012, 10:11:07 PM
by sbajare
self designed h frame quad rotor and quad cum plane
Multirotors
sbajare 7 8371 Last post July 18, 2014, 09:51:20 AM
by jj4u