1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. 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!
  3. 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
  4. 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. 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..
  3. Gadget999

    Gadget999 Well-Known Member

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

    does it use a DAC ?
  4. 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 ..
  5. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,886
    Location:
    London
    Balance:
    11,543Coins
    Ratings:
    +453 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    I suggest you fit a DAC and see if it improves
  6. 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!
  7. Steve B

    Steve B Member

    Joined:
    May 8, 2020
    Messages:
    40
    Balance:
    248Coins
    Ratings:
    +31 / 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.
  8. 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.
  9. Steve B

    Steve B Member

    Joined:
    May 8, 2020
    Messages:
    40
    Balance:
    248Coins
    Ratings:
    +31 / 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.
  10. 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.
  11. 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