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 Noisy hall sensor pot data - how to solve? Advice needed.

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by Ronan Design, Nov 13, 2024.

  1. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

    Joined:
    Jun 4, 2021
    Messages:
    247
    Occupation:
    Web Designer, MSFS Scenery Designer
    Location:
    Toronto, Canada
    Balance:
    1,601Coins
    Ratings:
    +120 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I have an issue with the noisy feedback from the hall sensors. Essentially I have a DIY frictionless Hall sensor potentiometers and they are working just fine in my 2DOF. However in the 6DOF's first test as soon as I switch on the main power - I get a lot of erratic movements and in SMC3Tools I can see the noisy data. Here's what it looks like with the power on - forward 2 motors (Arduino #1) are the noisiest:
    upload_2024-11-13_17-11-55.png

    As soon as I turn the main power off - so only the Arduinos are powered by USB - the noise virtually disappears, settling to normal levels:
    upload_2024-11-13_17-12-1.png

    That is in the state of rest. Once it starts moving it goes haywire just trying to stay in place, the data is just too noisy:
    upload_2024-11-13_17-11-32.png

    There is also some crosstalk so when one motor moves, the one next to it twitches slightly.

    What could be the problem and how do I solve it? I have the Arduinos inside the ECB connected but few plain wires to an insulated VGA cable, where the ground goes to shielding, voltage to one wire and 2 sensor signals - to 2 other wires. On the motor end the wire splits into 2 300mm ribbon cables that get the voltage, ground and signal to/from the sensors. Obviously this is not working well enough. The ground and voltage is provided by one of the Arduinos.

    - Is the noise RF interference or is it "dirty" power or ground?
    - How can I mitigate it?
    - If it's the wires, what kind of wires would work better?

    I'd appreciate all advice.

    Video of the issue:

    Attached Files:

    Last edited: Nov 14, 2024
  2. Jodino

    Jodino New Member

    Joined:
    Dec 9, 2024
    Messages:
    16
    Location:
    The Netherlands
    Balance:
    77Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino
    Hello, it look extreem… soldering a
    104pf 50V keramisch condensator to the output of your pots helps. Between GND and Vout
    But I think there is more needed.

    Use shielding the cables.

    Maybe first check your connections
    And make sure your pots are solid. Check the Vout. If it moves then it is no good.
    last I know.. check you power supply. You should put your Vout cables of the powersupply through a iron -material 13 - ring a few times (winding). If you have an old monitor cable, you get it from the thickening on the cable. Cut it out. Or buy on internet search for material 13.

    these things solved it for me.
    • Like Like x 1
  3. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

    Joined:
    Jun 4, 2021
    Messages:
    247
    Occupation:
    Web Designer, MSFS Scenery Designer
    Location:
    Toronto, Canada
    Balance:
    1,601Coins
    Ratings:
    +120 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Yeah, I solved it by using different wires with independent shielding and 104 capacitors.
    • Like Like x 1
    • Informative Informative x 1