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
Ultimate RoadTest
  • Challenges & Projects
  • Design Challenges
  • Ultimate RoadTest
  • More
  • Cancel
Ultimate RoadTest
Blog The Nice Asgard Project Part 7 - Stepper Motors Work for the Frost Giants
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: cookieglitch
  • Date Created: 27 May 2012 2:40 PM Date Created
  • Views 632 views
  • Likes 2 likes
  • Comments 2 comments
  • pwm
  • wireless_communication
  • uart
  • motor_control
  • zigbee
  • sp:texas_instruments
  • ultimate_roadtest
Related
Recommended

The Nice Asgard Project Part 7 - Stepper Motors Work for the Frost Giants

cookieglitch
cookieglitch
27 May 2012

Another delivery this week, this time from ebay. After finding I had the wrong kind of stepper motors in stock, I acquired a spare from ebay, this time a unipolar one. Excellent, one problem however, what is on the datasheet isn't translating to real life. The motor (Shinano Kenshi STP-58D211-02) has 6 wires, orange, black, brown, yellow, white, red with white and black being common. The other four being A, /A, B, /B.Now, regardless of how it is wired to the DDRV8805, the motor will simply not turn, it will lock in place and try to move, but nothing more. Anyone know of how these wires translate to the OUT1, OUT2, OUT3, OUT4 on the EVM?

 

Meanwhile, time to push on with the other components. First stop is the ZigBee kit. The sample code for this tool is quite comprehensive, lacking in documentation in a few places or just inconsistent between files, but otherwise good. It provides a good API for handling the ZigBee network as well as covering a few basics of the GPIO for the kit (Something the CC3000 didn't seem to do). If you are planning on using this as an introduction to ZigBee, do a bit of reading first to get your head around the way it is setup and to familiarise yourself with some of the terms used. A few of the terms can be slightly misleading at first (ClusterID for example), but once you go through it, they become clear.

 

I have one gripe about this kit though, and that is the size of the parts. While small is good and reduces cost, it feels like a little bit of mishandling is likely to destroy the headers connecting the battery pack or the programmer to the device itself. On the plus side, the pads for the device are broken out, at least the main ones for you. If you are planning on adding things to the kit and not just adapting messages etc, what looks like all of Port 2 is l for you, just be careful with spreading the load with those headers however. The available port means I might have to get creative with the communication between the WiFi portion and the ZigBee portion. If a UART or similar isn't available, something of a paralell interface may be required. This may limit the number of possible end points in this version, but given the number actually available this is not a huge issue. Future versions using their own PCB would make this easier giving the chance to break out and relevant serial pins.

 

Meanwhile, off to set up another repo for these parts and do some research into generating a suitable PWM signal for the lighting and motor.

  • Sign in to reply
  • cookieglitch
    cookieglitch over 13 years ago in reply to ssilberhorn

    Hi Shawn,

    Thanks. Guess its time to try and track down an oscilloscope to have a look. A return to trying every wire combination might be on the books.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ssilberhorn
    ssilberhorn over 13 years ago

    Hi John,  "The other four being A, /A, B, /B.Now, regardless of how it is wired to the DDRV8805, the motor will simply not turn, it will lock in place and try to move, but nothing more. Anyone know of how these wires translate to the OUT1, OUT2, OUT3, OUT4 on the EVM?.."

     

    Advice from the TI engineer... "..look at the output on an oscilloscope and use this to match to the motor wires..."

    • 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