Espritmodel.com Telemetry Radio
Reply
Thread Tools
Old Nov 20, 2010, 10:52 AM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
Discussion
MultiWiiCopter (Arduino), Analog Gyro & Other Senors

I was tinkering around at my workstation with a MMA7260 Accelerometer and an Arduino 328. Totally fascinating stuff how advanced this technology has become. I begun to question, why it is in the existing flight control systems, have both Gyros and an accelerator are required to maintain control of the aircraft. Upon talking to Jim, the question came up if the Flymentor has both Gyros and accelerators, not knowing the answer and having an adventurous quest to know, a disassembled one of my Flymentor. I was very surprised at what I found. In general, it has three gyros arranged in a X,Y,Z formation and all of the controlling chips had their identification markings removed. It appears to be very Simplistic in nature and has some type logarithm that locks the leveling information into memory at power up. It also appears to be totally dependent upon the flybar system of the traditional helicopter and this is why a Damper Gyro (401b or equivalent) is required in order for the Flymentor to function on a multi-rotor copter.

P.S. I removed the QC paper and the chip markings were alo removed there.
rimshotcopter is offline Find More Posts by rimshotcopter
Last edited by rimshotcopter; Jun 06, 2011 at 10:48 PM.
Reply With Quote
Sign up now
to remove ads between posts
Old Nov 20, 2010, 11:26 AM
Registered User
fpv-tor's Avatar
norway
Joined Oct 2009
1,133 Posts
hi rev.
nice discovery.
I was thinking the other day abot the flymentors i have laying arround.
i have two spare flymentor and was wondering if i could somehow use one as main gyro instead ook the other flyf 3 seperate gyros, and hook the other flymentor up with that again and make it fly like a tri or even quad?
just a thought

Tor
fpv-tor is offline Find More Posts by fpv-tor
Reply With Quote
Old Nov 20, 2010, 11:41 AM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
I don't know what the input voltage is for the gyros but being I have this one disassembled, now is a good time to find out. I will post my findings.
rimshotcopter is offline Find More Posts by rimshotcopter
Reply With Quote
Old Nov 20, 2010, 11:41 AM
Registered User
fpv-tor's Avatar
norway
Joined Oct 2009
1,133 Posts
great
fpv-tor is offline Find More Posts by fpv-tor
Reply With Quote
Old Nov 20, 2010, 12:01 PM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
Reading from left to right on the bottom roll of connector pins, the Supplied voltage to the gyros is 5 volts.

Pin 1, Gnd
Pin 2, +5 volts

I will assume right now,

Pin 3, X signal
Pin 4, Y Signal
Pin 5, Z Signal

Will see if I can verify this.
rimshotcopter is offline Find More Posts by rimshotcopter
Last edited by rimshotcopter; Nov 20, 2010 at 01:20 PM.
Reply With Quote
Old Nov 20, 2010, 12:15 PM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
The output voltages on Pin 3,4 and 5 are 3 volts. This makes sense, analog output.
rimshotcopter is offline Find More Posts by rimshotcopter
Reply With Quote
Old Nov 20, 2010, 01:08 PM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
I plugged the Flymentor 3 axises Gyro to my Arduino and it works with the following test code.

Code:
const int xpin = 3;                  // x-axis
const int ypin = 4;                  // y-axis
const int zpin = 5;                  // z-axis

void setup()
{
  // initialize the serial communications:
  Serial.begin(115200);
  
}

void loop()
{
  // print the sensor values:
  Serial.print(analogRead(xpin));
  // print a tab between values:
  Serial.print("\t");
  Serial.print(analogRead(ypin));
  // print a tab between values:
  Serial.print("\t");
  Serial.print(analogRead(zpin));
  Serial.println();
  // delay before next reading:
  delay(1000);
}
Quote:
591 529 620
592 530 620
591 529 620
591 529 620
591 529 620
538 521 606
592 527 617
639 533 625
591 530 619
591 529 619
581 499 608
609 489 653
579 527 615
715 570 649
591 532 622
436 525 597
606 534 623
rimshotcopter is offline Find More Posts by rimshotcopter
Last edited by rimshotcopter; Jun 06, 2011 at 10:48 PM.
Reply With Quote
Old Nov 20, 2010, 01:53 PM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
At present, I have Absolutely no idea where this is going to lead to but here it is. A modified Flymentor 3 axises Gyro, A 3 axises MMA7260 Accelerator, an exceed-RC RX and an Arduino.
rimshotcopter is offline Find More Posts by rimshotcopter
Last edited by rimshotcopter; Jun 06, 2011 at 10:48 PM.
Reply With Quote
Old Nov 20, 2010, 03:22 PM
Registered User
Craiova, Romania
Joined Jun 2010
26 Posts
Quote:
Originally Posted by reverendrichie View Post
The output voltages on Pin 3,4 and 5 are 3 volts. This makes sense, analog output.
well, in neutral has 2,5 V (more or less few milivolts) at max has 3V and at min 2 V
aiurici is offline Find More Posts by aiurici
Reply With Quote
Old Nov 20, 2010, 03:24 PM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
Quote:
Originally Posted by aiurici View Post
well, in neutral has 2,5 V (more or less few milivolts) at max has 3V and at min 2 V
I am sure you are correct because I only did a momentary touch with my meter's probe.

Thank you.
rimshotcopter is offline Find More Posts by rimshotcopter
Last edited by rimshotcopter; Nov 20, 2010 at 03:54 PM.
Reply With Quote
Old Nov 21, 2010, 01:53 PM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
Short video showing the Flymentor's 3 axises gyro working with an Arduino.

Arduino - Flymentor 3 axises Gryo (0 min 14 sec)
rimshotcopter is offline Find More Posts by rimshotcopter
Reply With Quote
Old Nov 24, 2010, 12:42 AM
Registered User
Joined Mar 2010
1,163 Posts
Good infor!!
FlyingMcCoy is offline Find More Posts by FlyingMcCoy
RCG Plus Member
Latest blog entry: Indoor 3d
Reply With Quote
Old Feb 17, 2011, 11:45 AM
Registered User
Joined Dec 2009
48 Posts
Arduino code

Can you post the code used in arduino?
CAYESA is offline Find More Posts by CAYESA
Reply With Quote
Old Feb 17, 2011, 12:01 PM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
Quote:
Originally Posted by CAYESA View Post
Can you post the code used in arduino?
Just the code used for testing?
rimshotcopter is offline Find More Posts by rimshotcopter
Reply With Quote
Old Feb 17, 2011, 12:14 PM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,575 Posts
http://www.vimeo.com/19838949

MultiWiiCopter - Flymentor Gyro test with onboard video (3 min 38 sec)
rimshotcopter is offline Find More Posts by rimshotcopter
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Flymentor problem GALENM Aerial Photography 42 May 15, 2011 07:39 PM
Discussion Flymentor 3D Auto Pilot 50% OFF nxx Hot Online Deals 5 Nov 18, 2010 07:35 PM
Found Flymentor USB Cable/Dongle johnorama Aircraft - General - Miscellaneous (FS/W) 0 Nov 07, 2010 09:58 AM
Question Flymentor on a quad? fpv-tor Multirotor Talk 10 Sep 23, 2010 07:35 AM
Sold SOLD - KDS Flymentor 3D - NIB drsmith751 Aircraft - Electric - Helis (FS/W) 2 Sep 09, 2010 06:42 AM