Hey all,
I'm currently building an octorotor based on the quadrotor code.
I was wondering if anyone can provide a link to the outputs of the Arduino Mega board with the corresponding pin number?
By an example, if I want to read the values of the gyros for x,y and z to a serial monitor, what is the command that I will need to implement? I need something that shows all of the outputs for the whole IMU.
This spreadsheet just confuses me:
https://spreadsheets0.google.com/ccc?key=t2UjzAY9aBvnXBuw2AFgAnQ&am...
Thanks!
Tags:
send 'Q' in serial monitor, it will output all IMU readings ;)
take a look into oilpan shematics (you can find them by clicking on 'ArduPilot' at the top of this page)
Permalink Reply by Aryeh Marks on February 14, 2011 at 3:19pm Thank :)
Do you happen to have a way to show the .sch as a pdf or something? I don't have any CAD software on my computer.
The main reason I want to know how to get the pin numbers is because I am adding motors to the system to obtain an octorotor. I want to be able to see how the controller is supplying commands to the motors and then follow the path with my own control scheme.
Thanks again :)
Permalink Reply by Ken on February 14, 2011 at 5:04pm Do you happen to have a way to show the .sch as a pdf or something? I don't have any CAD software on my computer.
Eagle is a free download. Windows, Mac, Linux.
http://www.cadsoftusa.com/download.htm
Permalink Reply by Aryeh Marks on February 14, 2011 at 5:21pm Thanks for those links.
I can now see the board, but I don't know where the data is coming in from!
For example, let's say that I want to see the vertical accelerometer data and then multiply it by 2 and then send this reading to somewhere. . . .
In something like MATLAB I'd have
Accel = read Accel_y;
out=Accel.*2
and it would show me a list of the vertical accelerations after they are multiplied by 2.
Thanks for any more help

APM electronics and libraries supports only 6 fast PWM ports so if you want to do octo, you need to start using I2C ESC's to achieve good performance.
If you are using our libraries that we have made for this electronics, you don't need to care about physical CPU pins. Output ports are just called ch1, ch2---ch8 and you can command them directly.
On our hexa code we are using OUT1-4, 7, 8 to command PWM ESC's while OUT5,6 are used for camera compensation. OUT5,6 are outputs that are driven slowly and without fast pwm features.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.88 members
24 members
58 members
1355 members
207 members
© 2013 Created by Chris Anderson.
Powered by
