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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 04: Logistics and Roadblocks
  • 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: 10 Nov 2013 10:56 PM Date Created
  • Views 1043 views
  • Likes 1 like
  • Comments 7 comments
  • pioneer
  • steady_clip
  • psoc4
  • smarter_life_challenge
  • motors
  • smarter_life
  • brushless_dc_motor
Related
Recommended

SteadyClip, An Economical Camera Gimbal – Part 04: Logistics and Roadblocks

jliu83
jliu83
10 Nov 2013

I had high hopes of getting a significant portion of the design finish this weekend, but it seems like I’ve hit a road block.  It seems that upgrading to the latest operating system might have hindered my efforts to create the SteadyClip.  The PSoC 4 Pioneer Kit doesn’t seem to enumerate on the USB port when I plug the device into a Windows 8.1 machine.  As it stands right now, I cannot get any code loaded into my device. I’ve opened a ticket with Cypress and hopefully this gets resolved quickly.

 

On the electronic hardware front, I am waiting for some parts to arrive.  I have also added several parts to my EDA suite’s library. When and if the time comes to spin a board, I should be able to pump one out revisions relatively fast.  On a separate note, since I no longer have access to my lab and tools of my last job, I might opt to use off the shelf hardware for the whole project.  Previously, it was rather convenient to etch a set of boards in the kitchen sink.

 

So what’s new?  Well I’ve thought about the approach that I will take to create this design.  Perhaps this is only in hindsight, but I think I might have bitten off more than I can chew. What I mean by this is that there is a lot of mechanical parts to this project, and I am woefully unprepared in terms of tools and skill to create anything mechanical.  I’m looking to see if there are any suitable pieces of hardware off of EBay that I can make modifications in order to get frame that I can use as the mechanical prototype.  The alternative is to head to the hardware store, buy a Dremel type tool, and see if I can make something meaningful.  I am leaning towards the EBay option.

 

On the software side, I’m worried about the program timing determinism. Since I will be using a PID as the control loop for the motors, the timing will need to be rather critical.  The D portion of the PID constant uses the rate of the controller error.  If my time slices are off, then the D portion of the controller will not work properly.  The loop that does the PID loop iteration must be relatively accurate.  Due to this timing complication, software becomes rather complicated to write.

 

I’ve taken a look at some event processors that will take care of the timing for me.  Instead of having to play around with multiple interrupts racing against each other, the event processor should facilitate the whole affair.  Think of it as a simplified operating system, and as long as I remain within the guidelines of the API calls, I should be able to guarantee the timing requirements of my PID loops.  Since I’ve used the QP event processor before, I’ve decided to see if they have a solution for the ARM Cortex M series.  Luckily a lot of the difficult work in porting over the code to ARM Cortex M has been done.  I just needed to compile the library using the gcc compiler included in PSOC Creator package.  At least this portion of went pretty smoothly.  Now if only I can load the code and test it out in my PSoC 4 Pioneer Kit…

  • Sign in to reply

Top Comments

  • jliu83
    jliu83 over 12 years ago in reply to cy.gul +1
    Hi Gagan, thank you for your response. The issue has been fixed. Cypress support was very quick to reply and I was able to resolve the issue on Tuesday. It's a rather busy week for me as I have been trying…
  • jliu83
    jliu83 over 12 years ago in reply to cy.gul

    Hi Gagan, thank you for your response.  The issue has been fixed.  Cypress support was very quick to reply and I was able to resolve the issue on Tuesday.  It's a rather busy week for me as I have been trying to acquire some equipment for the contest.  I will have an update shortly.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • cy.gul
    cy.gul over 12 years ago

    Hi Jianyi,

     

    I have a suggested workaround for your issues on Windows 8.1 which might be preventing the installer from putting the required drivers on your computer.

    What you can do is manually copy over drivers from another pre-Win 8.1 install, if you have one.

    Let me know, I could also send you the driver files over email (they're fairly small).

    The drivers typically get installed in “C:\Program Files\Cypress\Programmer\3.19.0\drivers\KitProg”

     

    thanks,

    -Gagan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • cy.gul
    cy.gul over 12 years ago

    Sorry to hear about your issues with Windows 8.1. Creator 3.0 is not fully supported on the latest OS that was only officially released last month. We are continuing the test and will provide and update shortly.

     

    About the mechanical parts - agreed, this can be a bit of a challenge.

    Have you looked at some of the 'electronic stabilizers' that some hobbyists have built for quadcopters? there's seems to be a wealth of information around that. you might be able to borrow some mechanical elements. example: UPDATE: How to do a DIY MōVI? 2-axis digital stabilized camera gimbal from 100$ | ISO 1200 Magazine | Photography Video…

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

    Hi Jianyi,

     

    Have you considered setting up your system to dual boot Windows 7?

    That change might get you up and running until the issues with 8.1 is resolved.

     

    DAB


    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • vsluiter
    vsluiter over 12 years ago in reply to jliu83

    Hey Jianyi,

    I think race conditions can be easily avoided when using interrupt levels and short interrupt code, but that's my experience image I've never used QP before, would be nice to see your experience with that!

    • 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