Main Menu

Multirotor with arduino Uno

Started by mavquad, April 24, 2014, 12:13:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mavquad

Hi,

I am building a quadcopter for my final year project,,I am using Arduino UNO as flight control board,Emax BL2215 motor and a local ESC. I have mounted the motors and ESC on the frame and also calibrated the ESC throttle using a flysky transmitter 6-channel. Now I am not able to figure out what pins should be used on the Arduino board for connecting Motors as well as the 6-channel receiver. I am confused with the analog IN and digital pins on the Arduino UNO board...

Please give suggestions on this,

Thank you

Swapnil

You haven't mentioned the gyro and accelerometer IC's you are going to use.

mavquad

Hi,
I am using L3G4200D gyro and ADXL345 accelerometer
And I am using aeroquad software for the code. I have connected the sensors which comes combined in one chip to the SCL and SDA pins of arduino uno.

Swapnil

You'll need to use digital pins for both ESC output and receiver input.

mavquad

It would be like this right all PWM outputs 3,5,6,9, will be connected to motors via ESC's signal wire and rest of the digital pins to the for channels of the receiver?? Is this correct...?

Thanks swapnil.

Swapnil

#5
Yes, the PWM outputs of the arduino go to the ESCs and the receiver outputs go to the arduino digital inputs. I did a similar project a while ago. Let me dig it up and see if I can provide you the details. The sensors go to the SCL and SDA pins like you connected.

Have you figured out how you are going to read the receiver signals with the arduino?

Swapnil

Quote from: mavquad on April 24, 2014, 01:09:56 PM
Hi,
I am using L3G4200D gyro and ADXL345 accelerometer
And I am using aeroquad software for the code. I have connected the sensors which comes combined in one chip to the SCL and SDA pins of arduino uno.

Where did you get the sensors from?

Swapnil


mavquad

I got the sensors from eBay I.e sensor number is gy-80
It has also got barometer and magnetometer.

Swapnil

The link in post #7 shows detailed pin connections for uno.