1. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  2. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  3. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

New member -> propably AASD issue.

Discussion in 'Direct Drive Wheels' started by MIkolaj, Aug 19, 2021.

  1. MIkolaj

    MIkolaj New Member

    Joined:
    Mar 19, 2021
    Messages:
    8
    Balance:
    79Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi there!
    I make a DDWHL with [STM32F4Disco \ AASD \ MMOS \130st_m10015] - it's a project from Peacemaker topic.
    It was working good 2 months with MMOS but one day when I chenge the place propably I change some parameters on AASD and now I havnt smooth wheel. Its working like "step by step" like overload. In next post I'll put a video.
    Maybe you know what's wrong, because I'm slowly giving myself up, I tested it on two STM32s and they both work the same. Try to back setting on AASD to defual by PN04 but with no effect.

    ps. I wrote it in the Peacmeker topic, but it seems to me that many people don't look there anymore, so I started my own topic.
  2. Ads Master

    Ads Master

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
  3. MIkolaj

    MIkolaj New Member

    Joined:
    Mar 19, 2021
    Messages:
    8
    Balance:
    79Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    And this is the movie with issue..
  4. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,379
    Location:
    London
    Balance:
    9,274Coins
    Ratings:
    +307 / 8 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    what board do you use to control the servo ?

    does it use a DAC ?
  5. MIkolaj

    MIkolaj New Member

    Joined:
    Mar 19, 2021
    Messages:
    8
    Balance:
    79Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi!
    I have exactly the same configuration as in the Peacmaker topic. It is pure SMT32 + AASD driver + servo. I think there is no DAC, but the most surprising thing is that it worked like this for 2 months and nothing happened and now it unfortunately works like in a movie ..
  6. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,379
    Location:
    London
    Balance:
    9,274Coins
    Ratings:
    +307 / 8 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    I suggest you fit a DAC and see if it improves
  7. MIkolaj

    MIkolaj New Member

    Joined:
    Mar 19, 2021
    Messages:
    8
    Balance:
    79Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    OK, Thank You!
    I'll check it!
  8. Steve B

    Steve B New Member

    Joined:
    May 8, 2020
    Messages:
    6
    Balance:
    63Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    Arduino
    Check the 3 phases to the motor are on the correct terminals on the aasd.
    U V and W need to be in the correct order, running the motor with the wrong phase order can de-magnetise it destroying the motor.
  9. MIkolaj

    MIkolaj New Member

    Joined:
    Mar 19, 2021
    Messages:
    8
    Balance:
    79Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks Steve for your reply, I checked and they are connected properly.
    Now I think to replace AASD with something else like VESC + STM32 .. I am currently looking for the best solution.
  10. Steve B

    Steve B New Member

    Joined:
    May 8, 2020
    Messages:
    6
    Balance:
    63Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    Arduino
    It looks like it's not able to find/hold it's position. Check you have the correct settings in MMOS as per peacemakers thread. There are two ways to control it, pulse and direction or 0-50-100.
    I've only used pulse and direction but others have reported both work.
    Confirm all settings related to the encoder (in MMOS) are as per peacemakers thread.
    Is it possible the encoder wiring is damaged, mine is a little fragile in the pre wired cable at the d-sub end.
  11. MIkolaj

    MIkolaj New Member

    Joined:
    Mar 19, 2021
    Messages:
    8
    Balance:
    79Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi Steve!
    I checked the connections \ settings \ and soldered the DB25 several times to be sure (like in Peacmaker topic). Now I know it's not really that. I also checked the cables from the servo side if nothing is broken and it's ok. Today I will check as you suggest on the d-sub side.
  12. MIkolaj

    MIkolaj New Member

    Joined:
    Mar 19, 2021
    Messages:
    8
    Balance:
    79Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    D-sub side is ok, when I run the motor (without db25) just by FN002 its start and then stop like with break then it show AL-006, so its issue with AASD or Servomotor.
    Last edited: Sep 8, 2021