Hi all,

 

I have been assembling and building a quad since a few months back and using resources from DIY Drones and the Arducopter project. Have a working and flying (not very stable) quad right now! Many thanks to the Dev team!

 

My question:

If I want to add other types of analog sensors (ultrasonic or IR), I understand that I can connect to the free analog expansion ports (4 to 7) and use analogRead(AN4) or analogRead(58) to read them. (Not using 1 to 3 because they are connected to voltage dividers now)

 

But if I would like to add more than 4 analog sensors, can I connect them to AN8 to AN16? At the moment, it says in one of the tabs of the ACM code, "defines.h" that these ports are not connected anywhere. Does "Not Connected" means these ports can't be used?

 

Please kindly help me if anyone knows about this! Thanks!

Tags: Analog, additional, ports, sensor

Views: 108

Reply to This

Replies to This Discussion

Can someone please give me some advice on this? Thanks!

All the hardware details are in the manual here. You can read the Eagle files to see what goes where.

Hi Chris,

 

Thanks for the reply! I have tried looking at the eagle files and also, the excel files for the pin mappings but I am rather new and amateur to all these so I don't really understand them. Can you help me with that?

 

For example, in the pin mapping excel spreadsheet (here), in cell F65, it says "Analog Pin 8" but how do I get readings if I code it in Arduino? Do I use analogRead(8) or should I use the corresponding number found in cell A65 in the excel sheet (i.e. analogRead(62))?

 

Thanks again for your kind reply!

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