RC India
Welcome Guest, please login or register.
 
Pages: [1]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« on: April 24, 2014, 12:13:19 PM »
mavquad
Heli Lover
Active Member
**

Reputation Power: 1 
mavquad has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 7
Join Date: Apr, 2014




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
Logged
 

Read
« Reply #1 on: April 24, 2014, 01:06:01 PM »
Swapnil
Plane Lover
Forum Hero

*****

Reputation Power: 20 
Swapnil barely matters.Swapnil barely matters.
Offline Offline

City: Pune
State: Maharashtra
RC Skills: Beginner
Posts: 1755
Join Date: May, 2010

Retreat, Hell!



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

Read
« Reply #2 on: April 24, 2014, 01:09:56 PM »
mavquad
Heli Lover
Active Member
**

Reputation Power: 1 
mavquad has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 7
Join Date: Apr, 2014



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.
Logged
 

Read
« Reply #3 on: April 24, 2014, 01:15:50 PM »
Swapnil
Plane Lover
Forum Hero

*****

Reputation Power: 20 
Swapnil barely matters.Swapnil barely matters.
Offline Offline

City: Pune
State: Maharashtra
RC Skills: Beginner
Posts: 1755
Join Date: May, 2010

Retreat, Hell!



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

Read
« Reply #4 on: April 24, 2014, 01:23:10 PM »
mavquad
Heli Lover
Active Member
**

Reputation Power: 1 
mavquad has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 7
Join Date: Apr, 2014



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.
Logged
 

Read
« Reply #5 on: April 24, 2014, 01:43:28 PM »
Swapnil
Plane Lover
Forum Hero

*****

Reputation Power: 20 
Swapnil barely matters.Swapnil barely matters.
Offline Offline

City: Pune
State: Maharashtra
RC Skills: Beginner
Posts: 1755
Join Date: May, 2010

Retreat, Hell!



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?
« Last Edit: April 24, 2014, 02:19:02 PM by Swapnil » Logged
 

Read
« Reply #6 on: April 24, 2014, 01:59:25 PM »
Swapnil
Plane Lover
Forum Hero

*****

Reputation Power: 20 
Swapnil barely matters.Swapnil barely matters.
Offline Offline

City: Pune
State: Maharashtra
RC Skills: Beginner
Posts: 1755
Join Date: May, 2010

Retreat, Hell!



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?
Logged
 

Read
« Reply #7 on: April 24, 2014, 02:12:05 PM »
Swapnil
Plane Lover
Forum Hero

*****

Reputation Power: 20 
Swapnil barely matters.Swapnil barely matters.
Offline Offline

City: Pune
State: Maharashtra
RC Skills: Beginner
Posts: 1755
Join Date: May, 2010

Retreat, Hell!



Okay, here's something I found. Enjoy!

https://docs.google.com/spreadsheet/ccc?key=0AoZ5bZF0qNerdDBPdjQ5cm1GU2Y0ZHBxa2FaZmVYeVE&authkey=CJP8mtsF&hl=en&authkey=CJP8mtsF#gid=0
Logged
 

Read
« Reply #8 on: April 24, 2014, 02:22:43 PM »
mavquad
Heli Lover
Active Member
**

Reputation Power: 1 
mavquad has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 7
Join Date: Apr, 2014



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

Read
« Reply #9 on: April 24, 2014, 02:24:58 PM »
Swapnil
Plane Lover
Forum Hero

*****

Reputation Power: 20 
Swapnil barely matters.Swapnil barely matters.
Offline Offline

City: Pune
State: Maharashtra
RC Skills: Beginner
Posts: 1755
Join Date: May, 2010

Retreat, Hell!



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

Pages: [1]   Go Up
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Arduino swash control
Self-designed, DIY and College Projects
anwar 0 4099 Last post April 08, 2010, 01:13:24 PM
by anwar
arduino applications
Chatter Zone
arvind_aero 2 4357 Last post January 26, 2012, 08:54:50 AM
by arvind_aero
What arduino's co-founder says about it (TED)
Chatter Zone
hyd_quads 1 2497 Last post July 02, 2012, 09:07:51 PM
by anwar
30 Arduino Projects Evil Genius:- Great book to start Arduino Projects
Multirotors
rcpilotacro 5 8996 Last post July 05, 2012, 10:23:44 AM
by xxkrishxx
Arduino based 4 Channel Rx & Tx
Self-designed, DIY and College Projects
sandeepm 4 4248 Last post November 28, 2014, 01:57:19 PM
by sooraj.palakkad