Hi DIYDRONES Guys,
I really need help.
I bought these things for building my cheap quadrotor which would cost less than 400$.
1) Arduino Pro mini
2) 4 ESCs 30A
6)FTDI Chip for arduino pro mini
What should I do NOW? :) :( :( :'(
do you have an airframe? if so start putting stuff together.
Hi Test Pilot Mafia- I dont have anyframe..wanted to build a cheap(cheapest) one myself.
Do you have access to birch plywood? 3mm thick.
do you have the skills/knowledge to layout fiberglass or carbon fiber? (this is expensive though)
can you get bass wood and balsa?
youll need ca glue and epoxy too.
the materials you can get will really dictate how your able to start.
No, I wanna build something very cheap and i didnt bought any thing for building the frame itself..any help would be really appreciated.
H-Quad - SCRATCH BUILD
Good.Looks pretty cool but what config will I be able to use with it? X or + ?
well start getting materials and cutting... you can see my bicopter/tilt rotor here : http://4hv.org/e107_plugins/forum/forum_viewtopic.php?136218.0
Start building up your code! I would start testing your electronics on a breadboard.
Make sure you can provide all sensor data to the arduino mini pro. Make sure you can use your arduino to arm all ESCs and to control the speed of all four motors. Once you have data what will you do with it?
You will need to construct some PID loops so that your quadrotor can use the feedback its given. Your quadrotor is going to need to balance like this. Only it will use four arms instead of one. If you do not understand PID control there is a lot online to help you. Here is an instructables page I made on the topic: PID Control
Looking at your other post, it looks like you have radio transmitter/receiver. How are you going to switch from radio control to arduino control?
How are you going to filter out the electrical and mechanical noise?
POST YOUR CODE AS YOU ENCOUNTER PROBLEMS!
POST PICTURES OF YOUR BUILD CAUSE WE LIKE TO SEE THAT STUFF :)
If you go to my instructables page, I explain how to run a brushless motor motor with an arduino.
The controller looks at the angle the arm is hanging at using our accelerometer and gyroscope, and uses that data to determine how much current to throw the motor in order to make the arm level.
Because the ESC is used to plug your motor into a radio reciever bus designed for servos, it is relatively easy to control a brushless AC motor with an ESC on an Arduino thanks to the Servo.h + Servo.cpp in your libraries folder. I believe the servo protocol uses pulse position modulation (PPM) which can be achieved using a PWM pin on your arduino with servo.write() function.
It is important to be saftey conscious when running these motors, as they go extremely fast. *ALWAYS wear saftey glasses* *Leave the propeller OFF until you absolutely need it*
You will have to write a function to arm(); your ESC so that you can set its speed. Basically you need to write the ESC low, high, and then low again.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1226292633 This forum goes over how to control a brushless motor, and is where I got framework for my arm(); function and setSpeed (); function.
You could just use a servo.write(0-180) to set your speed on your esc, but you can also map it on a scale of 0-100. You can download the motor_functions at the bottom of the step. If it doesn't work please tell me!! I can simply add it into the instructions!!
Programming is pretty tough but I like the way you help nd I will code it myself! But if I use a frame? Is it possible to code myself? My frame is multiwii compatible :)
please let me know further. and I want to start from programming basics. :)
Awesome. That is a good way to start. Post your code as you encounter problems
Please explain me the use of relays in your instructable's guide.