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 HELP - Sim racing brake pedal with Arduino pressure sensor

Discussion in 'DIY peripherals' started by PUBWIE, Jan 14, 2021.

  1. PUBWIE

    PUBWIE New Member

    Joined:
    Jan 11, 2021
    Messages:
    11
    Balance:
    78Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    Arduino
    Does anyone know how to code an Arduino pro micro to read inputs from a brake pressure sensor?

    *No code on github
    Usually, one can get the code from Github, upload it to Arduino, and play. I have found codes for load cells, but nothing on pressure sensors and their process for calibrating.

    * No wiring guides to Arduino Pro micro
    - again, load cell wiring guides are available, but not much for pressure sensors.

    To have the Arduino micro read inputs from the pressure sensor to act as an in-game brake.
    Idea reference 1: Lebois P1 brake pedal DIY pressure sensor
    Idea reference 2: modify G29 brake pedal


    Any ideas, links to sites/ guides, please?
    - TIA


    Picture reference
    1)Lebois P1 brake pedal DIY pressure sensor



    2)modify G29 brake pedal + presure sensor
    [​IMG]
    • Like Like x 1
  2. Sieben

    Sieben Active Member

    Joined:
    Nov 6, 2018
    Messages:
    391
    Balance:
    2,216Coins
    Ratings:
    +115 / 2 / -0
    Connects like a simple pot, and uses whatever software axis, that commonly used here, on your choice. Trying to reinvent a bike?
    • Agree Agree x 1
    Last edited: Jan 20, 2021
  3. noSaint

    noSaint New Member Gold Contributor

    Joined:
    Jan 9, 2021
    Messages:
    23
    Balance:
    160Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    • Useful Useful x 1
  4. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,897
    Location:
    London
    Balance:
    11,610Coins
    Ratings:
    +458 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    I made my own, the pressure sensor outputs 0-3.3 v

    So you use it as you would a pot
    • Agree Agree x 1
  5. noSaint

    noSaint New Member Gold Contributor

    Joined:
    Jan 9, 2021
    Messages:
    23
    Balance:
    160Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I guess you map the voltage signal going into the Arduino and run the joystick code
    • Agree Agree x 1
  6. PUBWIE

    PUBWIE New Member

    Joined:
    Jan 11, 2021
    Messages:
    11
    Balance:
    78Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks for the feedback.

    Waiting on parts. I'll post my results when it gets done.

    Cheers :)
    • Like Like x 1