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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Start a Movement Challenge
  • Challenges & Projects
  • Design Challenges
  • Start a Movement Challenge
  • More
  • Cancel
Start a Movement Challenge
Forum AVR Part 3 - Connections and Power
  • Blog
  • Forum
  • Projects
  • DC
  • Leaderboard
  • Files
  • Members
  • More
  • Cancel
  • New
Join Start a Movement Challenge to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 45 subscribers
  • Views 203 views
  • Users 0 members are here
  • design challenge
  • avr
  • testing
  • multicomp pro
  • multicomp
  • power
  • start a movement
Related

AVR Part 3 - Connections and Power

Gough Lui
Gough Lui 6 months ago

Hello and welcome back. In this section, I get the connections ready and take a slight unexpected detour from the project.

Connecting the Motor

In the last section, I unboxed the motor which had four wire connections. This was a little new to me, as I used to recall steppers having six wires. This is because this is a bipolar stepper, as opposed to a unipolar stepper that has centre taps on each winding. For a better explanation of the differences, this page seems to be a good reference. But I suppose what it means in practice is that the driver needs to drive both coils both positive and negative, thus two H-bridges are needed at a minimum for the two windings. Thankfully, we don't have to build them discretely.

The connections on the PCB are marked OA1, OA2, OB1 and OB2. I can only surmise this to mean A phase and B phase connections 1 and 2. I don't have any real experience with these motors, but I suppose the distinction is somewhat arbitrary as to which phase is A phase and B phase, as long as the coil directions are correct. The motor itself, according to the datasheet has A+ as Black, A- as Green, B+ as Red and B- as Blue. Allocating A-phase to A and 1 as +ve, with 2 as -ve, this gives the following connection order:

image

Power Supply

As mentioned in the previous post, the connector on the power supply is not suitable for this kit, so it would have to be cut-off. Then, we had the interesting dilemma - what is the polarity of the wires? A quick check with the DMM appears to confirm that the supply has the striped lead as negative.

image

As a result, with the plug turned upside down so the lead markings are visible, I believe this to be the correct connection for the board.

I was curious as to how efficient the supply was and whether over-current protection was working. I've had some no-name power supplies blow their transistors violently when their outputs were accidentally shorted (quite a loud bang in my younger years, followed by a nice acrid-smelling smoke that I still haven't forgotten), leading to my slight reservation about using an unknown plugpack for experimentation.

image

The output voltage graph shows the output to be pretty decently regulated for a non-precision supply. Some power-saving mode must be present below about 100mA resulting in the downward slope of voltage initially. The adapter cut-out at about 1.34A, so a healthy margin from the 1A rating, but not too much to cause damage. The adapter was quite cool, at least on the outside, but then with just a 12W rating it isn't really dissipating all that much power given its efficiency level VI marking.

But just to be sure, I also checked the efficiency in the same test, by having my Tektronix PA1000 Power Analyser monitoring it while it was being load tested. This is based on a 230V / 50Hz (1%) input.

image

Of course, efficiency will be low at very low loads, but we can see the efficiency is 80%+  for 100mA or greater loads. Zooming in and doing some math ...

image

Efficiency mark VI requires an average efficiency of 83% for a 12W normal voltage adapter. By taking the average of all efficiency values between zero and 1A (nominal load), the computed average efficiency is 83.26%, slightly above the required 83% which manes this gets a pass. One also has to consider the fact I'm not an accredited test lab, not controlling for temperature/humidity or calibrating my equipment regularly, so this is an excellent result nonetheless.

image

Standby power is required to be below 100mW and according to PWRVIEW, it measured 62.923mW so that's also a pass. Nothing to complain about here! Of course, there are other tests I could run, such as ripple and noise, or insulation resistance testing, but I think the above was already diversion enough. On the upside, at least it seems the Multicomp Pro supply is decent in its fresh-state and suitable for running the kit (with its input accommodating 8-20V). How well it lasts in the long run is something that only time can tell.

However, it is probably not the ideal supply for the kit - according to the stepper motor datasheet, the ideal value for a chopper-based driver is somewhere between 4 to 22 x Ucoilnom which is 5.3V for my motor. This suggests a 24V supply may be better (using common voltages). The problem is that the single voltage input for the kit is limited to 20V, so unless you have two supplies, then it's going to be out of range. On the other hand, perhaps 20V isn't quite as hard to get - USB-C PD can supply it, given a >45W supply, but even that is a bit marginal. I guess the only limitation given the power supply is a limitation in motor velocity or torque attainable.

Conclusion

In this part, I've been able to make the necessary connections (correctly, I hope) to enable me to set up the board with a computer. I also took a nice time testing out the included power supply which appears to be all good. The power supply may not be perfectly ideal for the application (the datasheet suggests 4-22x Ucoilnom which is 5.3V) for maximum velocity, but it should still work. Perhaps a 24V power supply would have been a better choice but the single-supply input on the evaluation board is designed only for up to 20V which is not all that common of a voltage. Then again, with USB-C PD, perhaps it's not as uncommon as it once was either ...

The next step is to hook it all up to a computer using a USB-C cable, install TMCL-IDE, update the firmware (if necessary), plug in the motor and power and see whether I can get it to move.

  • Sign in to reply
  • Cancel

Top Replies

  • mp2100
    mp2100 6 months ago +1
    Nice. Thorough as usual for you. Thank you for checking. Power supplies provided are normally assumed good.
Parents
  • mp2100
    mp2100 6 months ago

    Nice. Thorough as usual for you. Thank you for checking.  Power supplies provided are normally assumed good.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • mp2100
    mp2100 6 months ago

    Nice. Thorough as usual for you. Thank you for checking.  Power supplies provided are normally assumed good.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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