RC India

RC Models => Self-designed, DIY and College Projects => Topic started by: abhi599 on August 06, 2015, 08:27:24 PM

Title: Obstacle avoiding quadrotor using Arduino Uno
Post by: abhi599 on August 06, 2015, 08:27:24 PM
Hi guys,
I'm new to this forum and I would like to get help for building my quadcopter. I am planning to incorporate hc-sr04 sensor for obstacle avoidance. The doubt i have is about the platform to use, can i use a single arduino uno R3 for powering the esc as well as the sensors.
As this is my final year engineering project can i use the multirotor dedicated ARDUPILOT as my Flight controller.
Thanks in advance.
Title: Re: OBSTACLE AVOIDING QUADCOPTER USING ARDUINO UNO
Post by: Swapnil on August 06, 2015, 09:20:56 PM
Abhi,

You should definitely use the ArduPilot as your flight controller. Get your quadcopter flying well first. Then you can easily incorporate obstacle avoidance.

Use the APM for flight control and the Uno for obstacle sensors.
Title: Re: OBSTACLE AVOIDING QUADCOPTER USING ARDUINO UNO
Post by: abhi599 on August 06, 2015, 09:41:44 PM
[Admin Note] Unnecessary quote of just prior post removed. Please use "Reply" (or the "Quick Reply" box at the bottom) instead of using "Quote" while responding to the last post in a thread.


Thanks for the fast reply.
Title: Re: OBSTACLE AVOIDING QUADCOPTER USING ARDUINO UNO
Post by: abhi599 on August 06, 2015, 10:10:23 PM
How can i interface the arduino uno with the apm
Title: Re: OBSTACLE AVOIDING QUADCOPTER USING ARDUINO UNO
Post by: akhilzid on August 06, 2015, 10:29:03 PM
hi abhi, i'm also suggesting you to build a quad using apm without any additional things and fly it well first, then think about other diy modifications. else its too difficult to describe about 'what is what' and 'how this can'.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: Swapnil on August 07, 2015, 06:33:39 AM
Quote from: abhi599 on August 06, 2015, 10:10:23 PM
How can i interface the arduino uno with the apm
You can do that using serial communication and the MAVLink protocol. But, like I said, that's the easy part. The difficult part is getting the quadcopter to fly properly.

As you are going to demonstrate this indoors, choose a 250 size frame. That way you'll be able to add propeller shrouds and get proper maneuverability indoors.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: miginstruments on August 07, 2015, 07:05:02 PM
There is a workshop on 15 n 16 of this month. you should attend it. ll  be good for u. I all send the link soon.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: abhi599 on August 08, 2015, 11:35:27 AM
From the above suggestions i have decided to go with the apm as my flight controller. I have done programming in 'C' so can i modify the codes in the apm, are the programs easy to understand.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: Swapnil on August 08, 2015, 01:50:40 PM
The APM code is in C++ like the arduino. But you don't need to modify the APM code. Just use an arduino uno to send the obstacle sensor data to the APM.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: abhi599 on August 08, 2015, 10:07:53 PM
[Admin Note] Unnecessary quote of just prior post removed. Please use "Reply" (or the "Quick Reply" box at the bottom) instead of using "Quote" while responding to the last post in a thread.


Thank you for the very fast reply sir. Sir, are the codes for apm easy to understand because I will have to explain the codes during the final presentation.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: Swapnil on August 09, 2015, 10:07:19 AM
The APM codes are really complex if you are not familiar with the hardware, flight mechanics and stabilizing algorithms. However, if you are willing to put an effort you can get the basic idea of how it all works together.

Here's a good link:
https://ghowen.me/build-your-own-quadcopter-autopilot/
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: abhi599 on August 09, 2015, 08:10:00 PM
[Admin Note] Unnecessary quote of just prior post removed. Please use "Reply" (or the "Quick Reply" box at the bottom) instead of using "Quote" while responding to the last post in a thread.

Thank You.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: abhi599 on August 12, 2015, 08:40:32 PM
can anyone suggest me a website from where i can get the parts for quadcopter for low price. Any combo quadcopter kit with apm FC.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: Darshan for multirotors on August 12, 2015, 08:52:28 PM
Visit quadkopters.com
Satya sir (owner) has the perfect parts needed for multirotors
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: Himadri Roy on August 12, 2015, 08:53:20 PM
Quadkopters.com has good combos. You can try bidding on the parts in ebay.com but shipping takes a lot time.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: nite on August 12, 2015, 09:26:45 PM
contact  royalakshay   (forum member) he will definetly help you out and give you all the things at very reasonable price with very fast shipping .. just give him a try once.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: cyberhack on August 12, 2015, 10:34:28 PM
Refer this it must help you solve all your doubts
http://www.flitetest.com/articles/quadcopter-obstacle-avoidance-system-using-arduino
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: abhi599 on September 19, 2015, 03:35:06 PM
can i use hc-sr04 sensor for collision avoidance. Will the response time be low.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: virtually_ninad on October 10, 2015, 09:02:32 AM
Can I know where can I get readymade flight controller for quadcopter?
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: abhi599 on October 10, 2015, 09:28:16 AM
Contact Rohit 8097939224 he might have an APM lying around. APM is a flight controller with lot of features consider it as an option
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: virtually_ninad on October 10, 2015, 09:29:57 AM
I need to program it or whether it is already programmed and ready to use?
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: TeamRecon on October 22, 2015, 11:39:23 PM
If anyone is interested you can check out my article at

www.flitetest.com/articles/quadcopter-obstacle-avoidance-system-using-arduino

http://teamrecon.in/collisionavoidance/

i recommend using Sharp IR sensor due to the fast response


Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: abhi599 on October 23, 2015, 09:34:53 PM
Can you suggest any cheap alternative to max sonar like hcsr04. How much does max sonar actually cost.
Title: Re: Obstacle avoiding quadrotor using Arduino Uno
Post by: TeamRecon on October 24, 2015, 10:16:13 AM
You can use GP2Y0A02YK0F  Sharp IR sensor which will cost Rs.600 per piece you need 4