ESC's and Arduino Code

Hello all,

I'm putting together a small little project where I'm using the orientation of my phone to spin up the various motors on my quad. The problem is I have no experience using the servo library or writing my own code to drive the ESC's.  Any good resources or simple code for this?  I don't expect the thing to fly using this method and honestly so long as I can get a motor to spin up 1 at a time and not have a mind of there own it will be a success.

I'm trying to use the servo library but I can't even get my ESC's to arm which is weird because the motors all spin up in a random fashion. Any suggestions or code that will do this?  It 

Thanks in advance.

PS: Here is my code! I've been mucking with some of the numbers but any advice will hopefully help.

_387_Toy.pde

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…