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

DIY Pedals & Buttons Controller

Discussion in 'DIY peripherals' started by TOPMO3, Jul 30, 2016.

  1. TOPMO3

    TOPMO3 Active Member

    Joined:
    May 12, 2015
    Messages:
    133
    Location:
    Russia
    Balance:
    894Coins
    Ratings:
    +201 / 0 / -0
    • Like Like x 1
  2. CorradoSKJ

    CorradoSKJ New Member

    Joined:
    Nov 27, 2015
    Messages:
    15
    Occupation:
    Poland
    Location:
    Poland/Bydgoszcz
    Balance:
    693Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 4DOF
    Schowek02.jpg

    Schowek01.jpg

    THX, but now works only axis nr 4.
    • Winner Winner x 1
  3. TOPMO3

    TOPMO3 Active Member

    Joined:
    May 12, 2015
    Messages:
    133
    Location:
    Russia
    Balance:
    894Coins
    Ratings:
    +201 / 0 / -0
    • Like Like x 1
    • Useful Useful x 1
  4. CorradoSKJ

    CorradoSKJ New Member

    Joined:
    Nov 27, 2015
    Messages:
    15
    Occupation:
    Poland
    Location:
    Poland/Bydgoszcz
    Balance:
    693Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 4DOF
    Yes and works perfect. Can i use 24 steps encoders in your firmware ?
  5. TOPMO3

    TOPMO3 Active Member

    Joined:
    May 12, 2015
    Messages:
    133
    Location:
    Russia
    Balance:
    894Coins
    Ratings:
    +201 / 0 / -0
    Glad to hear it works! :)
    I dont hear about 24-step encoders yet, can you give me a link to a datasheet of your encoder?
  6. CorradoSKJ

    CorradoSKJ New Member

    Joined:
    Nov 27, 2015
    Messages:
    15
    Occupation:
    Poland
    Location:
    Poland/Bydgoszcz
    Balance:
    693Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 4DOF
  7. TOPMO3

    TOPMO3 Active Member

    Joined:
    May 12, 2015
    Messages:
    133
    Location:
    Russia
    Balance:
    894Coins
    Ratings:
    +201 / 0 / -0
    Yes, they will work fine.
    They are not 24 step - EC12E is full-step (1/1) and EC12D is half-step (1/2) type
    They have 24 or 12 number of detents (clicks) per revolution
    • Useful Useful x 1
  8. Giustino

    Giustino New Member

    Joined:
    Jul 17, 2017
    Messages:
    9
    Location:
    Italy
    Balance:
    247Coins
    Ratings:
    +5 / 1 / -0
    Excuse me @TOPMO3 ,
    I don't understand what you mean when you write "make full chip erase". Isn't sufficient follow your guide to flash the firmware?
  9. CorradoSKJ

    CorradoSKJ New Member

    Joined:
    Nov 27, 2015
    Messages:
    15
    Occupation:
    Poland
    Location:
    Poland/Bydgoszcz
    Balance:
    693Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 4DOF
    erase_chip.jpg
    • Like Like x 2
  10. TOPMO3

    TOPMO3 Active Member

    Joined:
    May 12, 2015
    Messages:
    133
    Location:
    Russia
    Balance:
    894Coins
    Ratings:
    +201 / 0 / -0
    @Giustino,
    yes, its Target->Erase Chip as @CorradoSKJ already pointed. And you are right I should add this to "how to flash firmware to stm32" post and I just did it! :)
  11. Giustino

    Giustino New Member

    Joined:
    Jul 17, 2017
    Messages:
    9
    Location:
    Italy
    Balance:
    247Coins
    Ratings:
    +5 / 1 / -0
  12. Vboull

    Vboull New Member

    Joined:
    Feb 8, 2014
    Messages:
    17
    Balance:
    181Coins
    Ratings:
    +14 / 0 / -0
    My Motion Simulator:
    2DOF
    Very interestin work, you firmware can work on SMT32F407DISCOVERY
  13. TOPMO3

    TOPMO3 Active Member

    Joined:
    May 12, 2015
    Messages:
    133
    Location:
    Russia
    Balance:
    894Coins
    Ratings:
    +201 / 0 / -0
    Sorry, only stm32f103 supported currently
  14. TOPMO3

    TOPMO3 Active Member

    Joined:
    May 12, 2015
    Messages:
    133
    Location:
    Russia
    Balance:
    894Coins
    Ratings:
    +201 / 0 / -0
    Hi all !

    Version 0.14 is out

    Changes:
    - added AutoCalibration feature for axes
    - added new type of avaliable pins function - Analog to Button. It means you can take analog input (potentiometer, hall sensor, etc) and force it to act like digital button. You can tune threshold of voltage on the input after that button's pressure is registered.
    - added new feature Combined axis.
    It means you can combine 2 analog inputs in one axis. The function is mainly intended for rims with 2 clutch paddles. There are 2 possible modes:
    • cooperative work — in this mode results from both analog inputs are summarized. You can choose weight of each input by slider.
    • each on his own — each analog input works independently but for one axis. For example you can short calibrate an one input (paddle) for fast gear changes and an other calibrate as normal axis — for starting.
    Also I removed possibility/necessity to specify serial number. It now always automatically generated based on unique chip ID

    Also I edited first post in hope to make it more useful and actual


    Cheers!
    • Like Like x 3
    • Winner Winner x 1
  15. CorradoSKJ

    CorradoSKJ New Member

    Joined:
    Nov 27, 2015
    Messages:
    15
    Occupation:
    Poland
    Location:
    Poland/Bydgoszcz
    Balance:
    693Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 4DOF
    Super Dmitri,


    Does this update solve my problem?
  16. CorradoSKJ

    CorradoSKJ New Member

    Joined:
    Nov 27, 2015
    Messages:
    15
    Occupation:
    Poland
    Location:
    Poland/Bydgoszcz
    Balance:
    693Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 4DOF
    Schowek01.png Schowek02.png

    When I Try run OSH Studio 0.14
  17. TOPMO3

    TOPMO3 Active Member

    Joined:
    May 12, 2015
    Messages:
    133
    Location:
    Russia
    Balance:
    894Coins
    Ratings:
    +201 / 0 / -0
    Sorry, but I doubt about it. It seems windows takes care about serial number only when devices with the same VID/PID connected at the same time.

    Strange, it works for me. I'll take a look later, it requires few files which I didnt put in the archive
  18. CorradoSKJ

    CorradoSKJ New Member

    Joined:
    Nov 27, 2015
    Messages:
    15
    Occupation:
    Poland
    Location:
    Poland/Bydgoszcz
    Balance:
    693Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 4DOF
    I put missing files from OSH 0.13 but still doesn't work
  19. TOPMO3

    TOPMO3 Active Member

    Joined:
    May 12, 2015
    Messages:
    133
    Location:
    Russia
    Balance:
    894Coins
    Ratings:
    +201 / 0 / -0
    • Useful Useful x 1
  20. CorradoSKJ

    CorradoSKJ New Member

    Joined:
    Nov 27, 2015
    Messages:
    15
    Occupation:
    Poland
    Location:
    Poland/Bydgoszcz
    Balance:
    693Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 4DOF
    Now it's work, thank You again Dmitri