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

Level shift and amplifiy Pot signal

Discussion in 'Electronic and hardware generally' started by tombo, Nov 30, 2013.

  1. tombo

    tombo Active Member

    Joined:
    Oct 5, 2013
    Messages:
    269
    Location:
    Germany
    Balance:
    2,436Coins
    Ratings:
    +246 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino
    Hi,
    no problem for off topic this is only more input for me :)
    I have set pot min and max in my software but i thought of improove my sim a little bit.
    So i think i will let my sim like it is because i use wiper motors from junkyard and do some improovings when i find the right motors.
    • Creative Creative x 1
  2. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,574Coins
    Ratings:
    +1,831 / 32 / -1
    Thanks for that information on motor backlash @eaorobbie . But you have confused me with your statement of a 10ms analog read delay. I am new to arduino code but starting to pick up on it. My confusion comes from the statement in the arduino reference documents that says an analog read takes about 100 microseconds which equates to .1ms. Do you know of something I am unaware of or was this just a typo or math error? I'm not being critical but since I am learning I would like to know if I am missing something.

    http://arduino.cc/en/Reference/analogRead

    PS I also read that you can increase the rate by setting the ADC prescaler to as low as 16 which gives a read time of around 15 microseconds at the expense of a slight amount of accuracy.
  3. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,398Coins
    Ratings:
    +1,683 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Opps me got the decimal place wrong, silly bugger I am will correct post thanks.
    But from my testing with Dashboards its still quite slow to use compared to whats on the market, its was really developed as a teaching tool, not a main stream Micro Controller that its proved its quite capable of, just a little restricted.
    Thanks for picking up my (yes ,calc) error.
  4. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,574Coins
    Ratings:
    +1,831 / 32 / -1
    Thanks @eaorobbie for un-confusing me on this. Unfortunately, the next confusion for me is just around the corner! :think