element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sci Fi Your Pi
  • Challenges & Projects
  • Design Challenges
  • Sci Fi Your Pi
  • More
  • Cancel
Sci Fi Your Pi
Blog QuadCOP:  The Flight Plan
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: screamingtiger
  • Date Created: 26 Aug 2015 2:40 PM Date Created
  • Views 1157 views
  • Likes 1 like
  • Comments 4 comments
  • quadcop_project
  • design_challenge
  • raspberrypi
  • sci_fi_your_pi
Related
Recommended

QuadCOP:  The Flight Plan

screamingtiger
screamingtiger
26 Aug 2015

Previous Posts Here:

http://www.element14.com/community/community/design-challenges/sci-fi-your-pi/blog/authors/screamingtiger?ICID=DCH-SciFiPi-challengers

 

Later today I will be publishing my code and flow charts.  One thing I am working on is getting an accurate heading from my magnometer.  I have an open question out there for some help, I also have ordered a new sensor just in case.  I expect by tomorrow to have it resolved.

 

However, In the interim its time to get this flying!  Despite the fact my magnometer is wrong, it is still consistent.  I cannot navigate to waypoints with incorrect heading information and the current readings I have do not adjust linearly to the correct heading.  But I do know where north, south, east and west are and I can adjust my heading to those specific headings.  What doesn't work is trying to get to NE, SE, SSW etc..

 

 

So, for testing here is the plan:

Go north for 20 feet, turn right, Go  east for 20 feet, turn right, Go south for 20 feet etc...

So basically the QuadCOP is flying a square.

 

At the end of each 20 foot leg, the QuadCOP will perform a sensor scan, by having the flight system move the head 180 degrees.  All of this will be automatic without any manual control!

 

I feel this will give a good test of the Rasberry Pi Flight System (RPFS) and check the control switch (ChipKi Pi) functionality.  The control switch is already working for manual control as it is relaying the PWM signals from the Rx to the flight controller.

 

A couple previous vids to show what I am talking about.

here is an explanation of the control switch:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

Here is my first test of the control switch, which is reading the PWM from the RX and passing it to the flight controller:

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

For reference, here is the software and hardware flow, to be included again when I post the rest.  Drill downs are needed for each system.

 

I will be flying this evening and posting a video.

 

image

 

WISH ME LUCK!  Its time for this thing to Fly or DIE.

  • Sign in to reply

Top Comments

  • amgalbu
    amgalbu over 10 years ago +1
    Nice update! Now the architecture of your drone is more clear in my mind Thanks!
  • DAB
    DAB over 10 years ago +1
    I wonder if the current in your motors is interfering with your magnetometer? Can you wrap some aluminum around the motors and then try the direction? DAB
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to screamingtiger +1
    Checking with a real compass is sure a good idea, just to find a reliable comparison. Then, why not trying with the simple demo in Python, the Raspberry PI and the magnetometer in the kit? Place it neraby…
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to screamingtiger

    Checking with a real compass is sure a good idea, just to find a reliable comparison. Then, why not trying with the simple demo in Python, the Raspberry PI and the magnetometer in the kit? Place it neraby the same position and see what happens. Maybe also to consider that it is rare but occur some electronic components are natively defective...

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • screamingtiger
    screamingtiger over 10 years ago in reply to DAB

    Everything I have done so far is with motors OFF  image  No power at all to them, they are disconnected while I am working for safety reasons.  If the magnets are bothering it, I would think it would also bother the magnetometer in my phone.   I set it close to the magnetometer on the quad, but far enough away to not bother it because it actually does affect it.

     

    I am also assuming my phone is right, maybe I should try checking with a real compass?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 10 years ago

    I wonder if the current in your motors is interfering with your magnetometer?

     

    Can you wrap some aluminum around the motors and then try the direction?

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • amgalbu
    amgalbu over 10 years ago

    Nice update!

    Now the architecture of your drone is more clear in my mind

    Thanks!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube