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!

Views: 22

Reply to This

Replies to This Discussion

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)

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 :)

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

 

 

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.

RSS

Social Networking

Contests

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.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service