Obstacle avoiding quadrotor using Arduino Uno

Started by abhi599, August 06, 2015, 08:27:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

abhi599

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.

Swapnil

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.

abhi599

#2
[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.

abhi599

How can i interface the arduino uno with the apm

akhilzid

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

Swapnil

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.

miginstruments

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.

abhi599

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.

Swapnil

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.

abhi599

#9
[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.

Swapnil

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/

abhi599

#11
[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.

abhi599

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.

Darshan for multirotors

Visit quadkopters.com
Satya sir (owner) has the perfect parts needed for multirotors
put your heart in flying and flying will never leave your heart

Himadri Roy

Quadkopters.com has good combos. You can try bidding on the parts in ebay.com but shipping takes a lot time.
For once you have tasted flight you will walk the earth with eyes skywards for there you have been and there you will long to return
- Leonardo Da Vinci

https://www.youtube.com/himadrifpv

nite

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.
TBS DISCOVERY, QUANUM VENTURE, EACHINE Q90
ALIEN 6", ZMR250, ROBOCAT 270, QAV280, FLEXYBEE 280,
TURNIGY 9XR Pro, XJT MODULE, FATSHARK HD2, FATSHARK TELEPOTER, FLYSKY FS-T6, TURNIGY 5X,
WLTOYS V686G, TARANTULA X6, SYMA X5C, SYMA X11, EACHINE CG023, EACHINE H8, WLTOYS V911 HELI, HUBSAN X4L

cyberhack


abhi599

can i use hc-sr04 sensor for collision avoidance. Will the response time be low.

virtually_ninad

Can I know where can I get readymade flight controller for quadcopter?

abhi599

Contact Rohit 8097939224 he might have an APM lying around. APM is a flight controller with lot of features consider it as an option

virtually_ninad

I need to program it or whether it is already programmed and ready to use?

TeamRecon

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



abhi599

Can you suggest any cheap alternative to max sonar like hcsr04. How much does max sonar actually cost.

TeamRecon

You can use GP2Y0A02YK0F  Sharp IR sensor which will cost Rs.600 per piece you need 4