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 Download Package Now!
  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 here. Do not following these rules will lead to permanent exclusion from this website: Read the forum rules.

Question Smc3 Digital Inputs

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by Qlittles, Jan 25, 2020.

  1. Qlittles

    Qlittles Active Member

    Joined:
    Sep 27, 2017
    Messages:
    109
    Location:
    Union City, California, USA
    Balance:
    373Coins
    Ratings:
    +58 / 4 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hello everyone, I'm in the process of upgrading from wiper motors to worm gear motors. The seller i'm buying from had already installed hall effect sensors on the motors, but his chip only outputs a digital signal for the absolute position (no analog).

    My understanding is that the arduino converts the analog voltage from the pots into a digital one for use with SMC3 code. Is it possible to modify the code so that the arduino reads the digital signal from the hall effect sensor rather than from the analog?

    The motor uses an AS5040:
    https://ams.com/as5040

    It has an SSI interface for the absolute and the following as well:
    Output Digital angle (interface) / ABI / UVW / PWM
    Last edited: Jan 26, 2020
  2. Ads Master

    Ads Master

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

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,105
    Location:
    Oklahoma City, USA
    Balance:
    15,330Coins
    Ratings:
    +1,780 / 31 / -1
    I read that you need an interface to use ssi with an arduino. But the specs say it also outputs pwm. When an inexpensive low pass filter you can convert it into an analog signal. This usually smooths the signal out somewhat though.
    • Informative Informative x 1
  4. Qlittles

    Qlittles Active Member

    Joined:
    Sep 27, 2017
    Messages:
    109
    Location:
    Union City, California, USA
    Balance:
    373Coins
    Ratings:
    +58 / 4 / -0
    My Motion Simulator:
    2DOF, Arduino
    Ah, so it sounds like it IS possible. I'll research n see what that ssi interface is. For the pmw, I'm guessing that smoothing out the signal is not optimal because of the loss of detail?