element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Upgrading My Racing Sim with a Force-Sensitive Keyboard -- Episode 618
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 31 Aug 2023 2:55 PM Date Created
  • Last Updated Last Updated: 31 Aug 2023 11:00 PM
  • Views 14285 views
  • Likes 9 likes
  • Comments 10 comments

Upgrading My Racing Sim with a Force-Sensitive Keyboard -- Episode 618

In this project, Milos tackles the challenges of gaming keyboards in Sim racing. As a passionate gamer, Milos kicks us off by sharing his preference for a dedicated gaming keyboard, particularly for Sim racing games. He identifies limitations in the binary control of his current setup, highlighting issues with precision and responsiveness. Milos aims to overcome these challenges by developing a custom analog keyboard that can offer proportional control for a more immersive gaming experience.

Watch the Video:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

The heart of Milos' project lies in his quest to measure the force behind every key press on the keyboard. He delves into various methods to achieve this goal, including using commercial switches and load cells. Ultimately, he settles on using Force-Sensitive Resistors (FSRs), due to their simplicity and effectiveness. Milos explains that FSRs change resistance as pressure is applied, enabling precise force measurement. He takes us through the layers of an FSR, illustrating how the resistance changes as the carbon layer gets compressed under pressure.

image

The construction process comes next. Milos guides us through the assembly of his custom analog switch,  combining components like the keycap, key switch, FSR, and silicon foot, He demonstrates the process with great attention to detail, providing tips on how to secure components effectively. He also elaborates on how he connected multiple FSRs to a Raspberry Pi Pico using an analog multiplexer to manage the input effectively.

image

As we delve into the software aspect of the project, Milos walks us through the code that enables the analog keyboard's proportional control. He emphasizes the use of the Pico Gamepad and Fast LED libraries for managing the addressable RGB LEDs, a staple of gaming equipment. His code snippet showcases how he mapped the analog input to joystick movements, granting the player smooth and intuitive control.

image

Milos concludes by sharing his hands-on experience with the custom analog keyboard in a Sim racing environment. Through his testing, he demonstrates the advantages of proportional control over binary control, showcasing a smoother driving experience. He acknowledges the challenges he faced and the physical toll that extended gaming sessions can have on his fingers. Nevertheless, he proudly presents his finished custom analog keyboard as a successful project that enhances the gaming experience.

image

In this comprehensive video, Milos takes us on a journey from identifying gaming keyboard limitations to creating a functional and exciting analog keyboard solution. His technical explanations, practical demonstrations, and candid insights provide both gamers and tech enthusiasts with a deeper understanding of this innovative project. If you're a Sim racing enthusiast looking to elevate your gaming experience, this episode offers a wealth of insights and inspiration.

image

Bonus Content:

  • Download Code and CAD Files

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
RASPBERRY-PI Raspberry Pi Pico Board, RP2040, 32 bit, ARM Cortex-M0+ RASPBERRY-PI 1 Buy Now
OHMITE Force Sensitive Resistor, Round, FSR Series, 15 g to 5 kg, Connector Housing OHMITE 4 Buy Now
SEEED STUDIO LED Strip, Waterproof, WS2813 RGB, 60 LED/m, 1m, 5V, Seeedunio, Arduino+BaseShild Board SEEED STUDIO 1 Buy Now
AMPHENOL COMMUNICATIONS SOLUTIONS USB Sealed Connector, USB Type C, USB 3.1, Receptacle, 24 Position, Panel Mount, IP67 AMPHENOL COMMUNICATIONS SOLUTIONS 1 Buy Now
 

Additional Parts:

PLA Filament
M3 screws and nuts
Perfboard
Passive components like resistors, capacitors
Keyboard MX Switches
Silicone feet for furniture

element14 presents

element14 presents  |  About Milos Rasic |  Project Videos

  • DIY Gaming Keyboard
  • Sim Racing Controller
  • DIY Sim Racing Controller
  • raspberry pico
  • keyboard
  • Analog Keyboard
  • e14p_Milos
  • DIY Sim Racing Keyboard
  • 3D Printed Gaming Keyboard
  • Sim Racing
  • 3D Printing
  • force sensitive resistor
  • DIY keyboard
  • Asseto Corsa
  • 3D Printed Keyboard
  • friday_release
  • Force Sensitive Keyboard
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply
  • milosrasic98
    milosrasic98 over 1 year ago in reply to dougw

    Thanks, I'll take a look!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • milosrasic98
    milosrasic98 over 1 year ago in reply to DAB

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 2 years ago

    Nice build.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 2 years ago in reply to milosrasic98

    I did a project on linearizing FSRs. It may not be best for your application, but it might mean you don't have to press extra hard to get full scale output.

     Force Sensitive Resistors and a USB ADC 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • milosrasic98
    milosrasic98 over 2 years ago in reply to kmikemoo

    Thanks, glad you like it!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • milosrasic98
    milosrasic98 over 2 years ago in reply to dougw

    Thanks! In my previous experience with FSRs, they are really touchy when it comes to how the pressure is spread across, so this was my idea for a repeatable setup. That's a great idea for linearizing the FSR output, another thing to maybe try is instead of linearizing it,  making it into a log function since most of our senses tend to be logarithmic. That would be a fun experiment trying to characterize the FSR in this assembly, I'm just afraid of how badly the nonlinearity would affect everything. I've previously only used no-name brand FSRs and they didn't perform the best, these worked pretty well for me, but I'll take a look at the Tekscan ones, thanks for the tip!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • milosrasic98
    milosrasic98 over 2 years ago in reply to mayermakes

    Not typical for sim racing for sure, but I found myself pressing the buttons of a normal keyboard harder and harder and harder when driving so I wanted to see how it would feel! Seems like a really fun game category for trying out different wacky controllers, thinking of maybe doing a video of using EMG signals to steer the car with my arms and EMG signals from my legs for the throttle and break (Terry Crews style!!!). For actual sim racing, of course, making a wheel, but these are fun to experiment with in the meantime!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo over 2 years ago

    Nice controller.  Awesome build.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 2 years ago

    Great project. The rubber foot load spreader idea is excellent.

    Have you considered linearizing the FSR output? Would it make a difference to controllability?

    Incidentally, I have found Tekscan FSRs to outperform most others.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 2 years ago

    ah i see the application, not typical for sim racing, but I can see a lot ofolks utilizing this project for games and maybe Cad-controllers!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube