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
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog SteadyClip, An Economical Camera Gimbal – Part 12: Communication Ports and More IMU
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jliu83
  • Date Created: 29 Dec 2013 3:01 PM Date Created
  • Views 888 views
  • Likes 2 likes
  • Comments 3 comments
  • accel
  • steady_clip
  • smarter_life_challenge
  • gyro
  • imu
  • smarter_life
  • magnetometer
Related
Recommended

SteadyClip, An Economical Camera Gimbal – Part 12: Communication Ports and More IMU

jliu83
jliu83
29 Dec 2013

Again, I can’t mention this enough, if you want to see my project fully realized, please vote for my project!

 

I think one of the areas where the PSoC series really shines is how it deals with communication ports. The ability to instantiate an extra UART or I2C or SPI and connect it to any physical pin is a feature that is seldom seen in microcontrollers.  The typical ARM Cortex M offering from TI or ST only allows connections to the SCB modules through one or two fixed pin configurations.  While this is acceptable as an options, it makes routing more difficult, especially for reduced layer count PCBs.  It does not allow for flexibility during the prototyping process of a product.

 

Of course, engineering is all about tradeoffs, and all this flexibility is not free.  Packaging on competitor offering can be as small as 4mm x 4mm, and the cost is typically more competitive because the extra flexibility requires extra silicon.  All the advantages aside however, the biggest obstacle perhaps is portability.  Going from one ARM Cortex M to another is typically very easy.  However, if a custom block is instantiated in a design, then the product is stuck with the PSoC.  In large volume consumer products, this weakness in the supply chain may make the PSoC less attractive.

 

For prototyping needs however, the flexibility could not be more helpful.  In addition, I noticed that the tools have also improved drastically. I remember using the PSoC 5 a few years ago, and the first thing that was the amount of time required to complete a cycle of synthesis (when a change in the CPLD portion of the design is invoked). The synthesis time for the current version of PSoC Creator as decreased dramatically, along with the time it takes for a device programming cycle.

 

As for the Steady Clip, here’s the update.  I was able to get a UART connected to the prototype board, along with an I2C connection to the MPU-9150 9 axis accel/gyro/magnetometer.  I’ve attached a photo and a video of the Putty screen show the raw data being read from the device.  The parts have come in for the custom PCB, but I have not yet gotten around to finishing assembly.

 

image

 

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

 

The next step is to create the complementary filter that will allow us to track the position of the device with relative accuracy.  As an overall goal, I’d like to get started on the motor driving scheme by next weekend.

  • Sign in to reply
  • vsluiter
    vsluiter over 11 years ago

    Hello Jianyi,

    Please tag your post with "steady_clip" (with underscore) to make it show up from the link on this page: http://www.element14.com/community/docs/DOC-64621/l/smarter-life-challenge-competitors

     

    Have you looked at Pansenti's code to get the internal Motion Processor going?

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

    The absolute reading is a little high.  Magnetic field in Northern Cali should be About 50 uT, but it's reading about 70 uT.  I don't plan on using it on the first version since the motors will not be on the yaw axis, only pitch and roll.  Also, I cannot generate a fixed magnetic field to check the absolute accuracy, other than the earth's north-south field.

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

    Nice update.

     

    Have you checked the magnetometer's accuracy against a compass or controlled movement test?

     

    DAB

    • Cancel
    • Vote Up 0 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