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

help with SMC3 Sim tools

Discussion in 'Project Cars' started by Claudemir, Mar 23, 2018.

  1. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hello friends !
    I am using the SMC3 code with arduino one R3.
    with 12v power supply.
    but when I'm setting up the SMC3 with the power supply turned off everything works perfectly.
    But as soon as I turn on the power source of the motors the program SMC3 hangs and the adnino continues with the tx and Rx blinking, as if it were working but without any movement ..
    This also happens with Sim tools, everything works perfectly in the game, in a few seconds of the game the arduino stops responding and the Tx Rx goes out and the error in the Sim tools.
    all this happens after I turn on the source of the motors.
    Please, can anyone help me?
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,009
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,758Coins
    Ratings:
    +10,872 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Can you please post pictures of all of your settings.
  3. Scotty1186

    Scotty1186 Member Gold Contributor

    Joined:
    Aug 23, 2016
    Messages:
    68
    Location:
    Usa
    Balance:
    148Coins
    Ratings:
    +22 / 0 / -0
    Can you post photos of your wiring? It sounds like you may have a wiring issue that is causing voltage to go back into the R3
  4. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Eu refiz toda a fiação que o problema continua.
    Eu testei todos os componentes e eles são bons.
    Suspeito que o problema vem da minha fonte de energia! A fonte deve estar causando ruído e fazendo com que o SMC3 e o mecanismo do jogo parem de responder.
    Eu coloquei uma fonte de alimentação de 24v para testar e tudo funcionou perfeitamente. Mas eu não posso usar essa fonte porque meus motores são 12v ..
    Como posso eliminar esse tipo de barulho? Vou tentar postar alguns vídeos para que você possa entender ..
  5. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
  6. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform



    This second video is with the 24v source and how it works, but the motors are turned off to not burn.
  7. Scotty1186

    Scotty1186 Member Gold Contributor

    Joined:
    Aug 23, 2016
    Messages:
    68
    Location:
    Usa
    Balance:
    148Coins
    Ratings:
    +22 / 0 / -0
    I use the Pololu VNH5019, so I am not as familiar with your connection. Based on the SMC3 program freezing though, have you tried swapping out the arduino? I had a bad board on my first setup and it did the same thing. Turned out there was a short that was messing with the com connection when I put power to it.
  8. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    My guess seems to be is interference between the source of the engines with the Arduino!
    All components are perfect. But a source I believe is not filtering the energy. It causes the arduino to collapse.
  9. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    [QUOTE = "Claudemir, post: 153514, membro: 7577"] Meu palpite parece ser uma interferência entre a origem dos motores com o Arduino!
    Todos os componentes são perfeitos. Mas uma fonte não está filtrando uma energia. [USER = 72] @yobuddy [/ USER]@RufusDufus
  10. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,276
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,140Coins
    Ratings:
    +5,089 / 18 / -0
    Maybe draw a diagram of your wiring.
    We can't tell much from the vids.
    It sounds like a wiring problem to me buddy.
    yobuddy
  11. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
  12. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    The problem is in relation to the source! Because when I put in another source of 12v but weaker everything works well. Already when I place the strongest source of 12v the problem comes back immediately.
  13. Claudemir

    Claudemir Member Gold Contributor

    Joined:
    Oct 22, 2012
    Messages:
    168
    Balance:
    50Coins
    Ratings:
    +33 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    This source I believe is leaking noise, interference between the source and the arduino!