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

Question AS5048 Magnetic Rotary Encoder instead of pots?

Discussion in 'Electronic and hardware generally' started by traveltrousers, May 17, 2017.

  1. traveltrousers

    traveltrousers Active Member

    Joined:
    Jun 5, 2014
    Messages:
    116
    Location:
    Timbuktu, Tombouctou, Mali
    Balance:
    890Coins
    Ratings:
    +87 / 1 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, Motion platform
    Well I was hoping to find a slightly cheaper method to measure absolute rotation but after reading a lots of threads on here about using $40+ potentiometers I'm surprised no one has mentioned the AS5048 which is only £4. You put a dipole magnet next to it and it measures the angle to 0.05°... no wear since there is no contact.

    http://forum.arduino.cc/index.php?topic=155238.0

    https://www.digikey.co.uk/product-detail/en/ams/AS5048A-HTSP-500/AS5048A-HTSP-500CT-ND/3188617
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,461
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,596Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  3. OZHEAT

    OZHEAT Active Member

    Joined:
    Oct 26, 2015
    Messages:
    208
    Location:
    Australia
    Balance:
    2,458Coins
    Ratings:
    +105 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor
    I have played around using AS5040 and a magnet on end of shaft.
    They work well but for this application I would recommend using one that has analog output such as
    http://ams.com/eng/Products/Magnetic-Position-Sensors/Angle-Position-On-Axis/AS5043 or
    http://ams.com/eng/Products/Magnetic-Position-Sensors/Angle-Position-On-Axis/AS5263
    it would be a simple connection to the analog out to the controller.
    l think the biggest drawback is that it is a otp device, once a bit is prog to 1 there is no going back.
  4. Qlittles

    Qlittles Active Member

    Joined:
    Sep 27, 2017
    Messages:
    119
    Location:
    Union City, California, USA
    Balance:
    226Coins
    Ratings:
    +65 / 4 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hello, I'm upgrading from wiper motors to a worm gear motor (120rpm). The seller was using it for robotics and has already installed a magnet on the motor along with an AS5040 and board. Is there any way to use this with the Arduino and Simtools using the digital output? or is analog the only acceptable input method for Arduino and Simtools? From your post, it sounds like getting the AS5043 or AS5263 is the only option? Sorry for the questions, i was excited because I thought I was getting exactly what I needed... but perhaps not...