LOGIN
Gaurav Yadav
8
Top Contributor
quadcopter (Project Leader)
 · MumbaiIndia
Share
Report
Get Link
TRUST HACK

Steps in Coding

Guys, I went through a lot of Arduino quadcopter codes, and observed the following steps in all of them:

  1. Sensor Initialization.
  2. Motor Initialization.
  3. Receiver Initialization.
  4. Motor Arming.
  5. PID Initialization.
  6. Sensor Value Update loop.
  7. Motor control loop using ESC pwm.

So, after getting sensor values from the IMU, we update the pwm signals to the ESC using our code.
Please refer :BlueCopter, Benripley arduino quadcopter, jeff rowberg mpu9250 and joop brokking arduino quad. for reference. They will help you get a better picture of what i am mentioning here.

6 likes 
Like
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
Chat with us!
Help
Write something before you submit it!
Photo updated
Request Sent!
Updated
Copied to Clipboard