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

Tutorial SMC3 Arduino 3DOF Motor Driver and Windows Utilities

Discussion in 'SimTools compatible interfaces' started by RufusDufus, Dec 1, 2013.

  1. uday wankar

    uday wankar New Member

    Joined:
    Jul 18, 2018
    Messages:
    10
    Occupation:
    Student
    Location:
    maharashtra , India
    Balance:
    115Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, 6DOF
    usb cable is good as windows SMC setup and monitor utility works
  2. uday wankar

    uday wankar New Member

    Joined:
    Jul 18, 2018
    Messages:
    10
    Occupation:
    Student
    Location:
    maharashtra , India
    Balance:
    115Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, 6DOF
    sir , problem is solved.
    parity is not set to none in serial output setting.
    thats why there was no output.

    thanks for your precious Help and TIME:)
  3. Tags..(VR)

    Tags..(VR) Member

    Joined:
    Aug 28, 2017
    Messages:
    237
    Location:
    indiana
    Balance:
    - 6Coins
    Ratings:
    +29 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    im saving images of my smc3 but not knowing where the saved images are being saved to? not in the smc3 file folder but where?
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I am presuming you are using ctrl+print screen. If so just open and past into Paint using ctrl+v.
  5. Tags..(VR)

    Tags..(VR) Member

    Joined:
    Aug 28, 2017
    Messages:
    237
    Location:
    indiana
    Balance:
    - 6Coins
    Ratings:
    +29 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    it starts up good. after a couple minutes i gets this. after a few minutes the motor runs off and stops and get whats in the 2nd picture. when i restart it starts good but then ..... rinse and repeat... any ideas? Not sure whats going on here any ideas.jpg

    Attached Files:

  6. elnino

    elnino Active Member

    Joined:
    Apr 1, 2010
    Messages:
    230
    Occupation:
    Computer Geek
    Location:
    Adelaide, Australia
    Balance:
    1,457Coins
    Ratings:
    +136 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    That almost looks like a faulty pot.
  7. ZeGrundPilot

    ZeGrundPilot New Member

    Joined:
    Mar 6, 2018
    Messages:
    18
    Location:
    USA
    Balance:
    85Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Two questions regarding persistent Simtools values and the Arduiono that I could not find the answers to:
    1 - When min/max for clip, pwm, smoothing are set, the settings are saved automatically to the Arduino and apply when using the Simtools/games, correct?

    2 - I need a smaller clip range, so I set the value (Motor1_Clip=400) in the setting file and load it. The value is depicted on the graph, but the clipping trace always seems to remain at the 255 max value. Why?

    3 - Is my clip=400 being saved to the Arduino OR does SMC3Utility block that clip value from being saved? Would this explain why when I close and re-open SMC3Utility the Clip 400 is replaced by the max clip of 255 or the last "good" clip value? I want to keep my 400 clip.

    Thanks

    R
  8. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,574Coins
    Ratings:
    +1,831 / 32 / -1
    1. Yes

    2. & 3. You answered your own questions that max clip value is 255 so you can't set it higher than 255.
    Last edited: Sep 12, 2018
  9. ZeGrundPilot

    ZeGrundPilot New Member

    Joined:
    Mar 6, 2018
    Messages:
    18
    Location:
    USA
    Balance:
    85Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    TooSlow.png Sorry. I was trying to see if the limit was controlled by the code in the Arduino OR the .exe. It appears that it is in the .exe. It would be great if a future release allowed the larger clip to be saved...Thanks for the response.

    Do you feel that the stoppage shown above is due to hardware or a software setting shown? No matter my settings, the movement will only resume if I move the manual line back to the green line then the motion tracks with the target until it moves too fast. Shouldn't the movement keep attempting to reach the target no matter how far away from the target the indicator shows? Of course the gold power bar shows power SHOULD be applied, but nothing happens until I move the manual target back to the green position. Does this just mean I am moving the target too fast?

    Thanks
  10. ZeGrundPilot

    ZeGrundPilot New Member

    Joined:
    Mar 6, 2018
    Messages:
    18
    Location:
    USA
    Balance:
    85Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Any ideas why the tracking would be lost mid-movement? It seems that the tracking only gets picked up again if the position indicator lines up exactly where it did previously, but jumps off track again. I am picking up a replacement Arduino just in case. Maybe the clones done handle the comm speed well?

    Thanks
  11. Benjamin oh

    Benjamin oh Member Gold Contributor

    Joined:
    Feb 25, 2015
    Messages:
    44
    Balance:
    234Coins
    Ratings:
    +23 / 0 / -0
    My Motion Simulator:
    DC motor
    Hello Guys...

    My Motor monster + audrino combo I have built is giving me weird issue.
    The motor mounted on it will only spin non-stop unless PWMmax is set above 200.
    I have double checked all wiring and connection , it seems like it is correct and conducting signals..

    Please help....

    Heres a short video of it :

  12. Marcos Loeps

    Marcos Loeps New Member

    Joined:
    Sep 26, 2018
    Messages:
    7
    Balance:
    178Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hi, i am building my rig using MODE2.
    I am totally new at this and am learning as i go.
    I can make both motors run using SCM3 and everything seems to be OK but the feedback is on the bottom of the screen. I have replaced and re soldered the pots twice, tested continuity on all wires (All OK) but nothing changes.
    I am using a B10K pot with a solid core wire. Is this the correct one?
    I am using #define MODE2 and #define ENABLE_POT_SCALING (i dont know if i need this since i dont understand what "enable analogue input AN5" means).

    Any help is deeply appreciated.

    20181004_222451.jpg 20181004_222455.jpg 20181004_222502.jpg
  13. Marcos Loeps

    Marcos Loeps New Member

    Joined:
    Sep 26, 2018
    Messages:
    7
    Balance:
    178Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Adding the pic for SMC3.
    20181004_222410.jpg
  14. insanegr

    insanegr !N$@n€

    Joined:
    Jan 14, 2014
    Messages:
    505
    Location:
    Athens
    Balance:
    16,715Coins
    Ratings:
    +499 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Updates Version 0.7

    • Added a POT scaling input that can be used to scale the motion output based on the POT position
    • POT scaling can be setup as one of two modes - Linear or non-linear
    • DO NOT ENABLE POT SCALING UNLESS POT ATTACHED TO ARDUINO
    • AN5 used for POT scaling input
    • The non linear scaling is designed to try and reduce the overall motion but maintain the "smaller" movements as best possible - ie road noise and stuff, but scale back on the huge side to side motion you get in higher power cars.
    • Informative Informative x 1
  15. Marcos Loeps

    Marcos Loeps New Member

    Joined:
    Sep 26, 2018
    Messages:
    7
    Balance:
    178Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Thanks for the info, but i dont know what AN5 is.
    Does it mean "Analog pin A5 in the Arduino board?
    • Agree Agree x 1
  16. George Dobransky

    George Dobransky Active Member

    Joined:
    Sep 29, 2016
    Messages:
    216
    Location:
    Hungary
    Balance:
    - 19Coins
    Ratings:
    +130 / 4 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Hi there,

    To my new project I want to use multi turn pots. I need 5 turns pots, but I only can find 10 turn pots on the market.
    I think a 10K Ohm 10 turn pots should be OK, if I can modify the code to 5K pots - resulting like 5 turning pots.
    Or as a second alternate - I buy 10 turn - 20 K Ohm pots, with the unmodified code, resulting 5 turn 10 K Ohm pots.

    If I want to use the first alternate:
    I've found a lot of lines in the code about scaling.
    What is the most easiest way to set it to 5 K Ohm?
    Which lines I have to modify?

    Can anybody help???

    Thanx,
    George
  17. Edson Lourenço Bezerra

    Edson Lourenço Bezerra Edson Bezerra - Desenvolvedor Open Source

    Joined:
    May 14, 2014
    Messages:
    67
    Occupation:
    Analista de Sistema
    Location:
    Jundiaí
    Balance:
    147Coins
    Ratings:
    +24 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform, 4DOF
    [QUOTE = "Marcos Loeps, post: 163951, member: 31208"] Obrigado pela informação, mas eu não sei o que é AN5.
    Significa "Pino analógico A5 na placa Arduino? [/ QUOTE]

    That's right, a potentiometer on analogue door A5 will give you a regulation on the size of the motion rule.
    • Like Like x 1
  18. Marcos Loeps

    Marcos Loeps New Member

    Joined:
    Sep 26, 2018
    Messages:
    7
    Balance:
    178Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Thank you Edson, Muito obrigado.
    What about the Pot Feedback signal being on the bottom of the screen? Have you seen that?
    E o sinal de retorno to potenciometro na parte de baixo da tela? Voce ja viu algo assim?
  19. phonghornet

    phonghornet New Member

    Joined:
    Aug 19, 2018
    Messages:
    27
    Balance:
    190Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, 4DOF, 6DOF
    1. Historiker, Jan 20, 2014ReportStart a conversation (Send PM)
      #71+ QuoteReply
    2. [​IMG]
      RufusDufus
    3. my problem with smc3 code .Tôi use MODE1 you can help me 1 code complete?
    4. please download code here
    5. thank you RufusDufus
  20. phonghornet

    phonghornet New Member

    Joined:
    Aug 19, 2018
    Messages:
    27
    Balance:
    190Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, 4DOF, 6DOF
    I want to use mode1.
    edit as the correct or wrong file image?

    Attached Files: