Good afternoon, i dont want to bore anyone so i will cut right to the chase.. here goes.. haha
So i am a sim drifter and i have been trying to find project code to suit my project, the board i own (UNO R3), and the hardware i already have in my possession. Unfortunately everything i have come across, while somewhat related always has either added features that i dont need, same principal, different board, different type of switch, or something else all together. Im trying to build a sequential shifter that will work and allow me to set a keybind to the output of those switches within assetto corsa. I am a total arduino noob.. but heres where i am, i have a spring lever mechanism that when i pull the lever it clicks in one of two momentary switches which are programmed to either shift up or down. Im sorry that i dont know more and i was hoping to gain insight on how to program this as well as guidance on the proper wiring scheme. I have a couple breadboards as well.. any help would be immensely apprciated. Im including a drawing of what i have so far. thank you guys..
The UNO cannot emulate a keyboard, you need a Leonardo, or equivelent.
*edited spelling
Well that sucks.. I saw one guy who made it work but it was a total jack leg setup where he wrapped the shaft with tin foil and wired it to the ground and had two contact points on either side.. so is there no way to click a button and it register on the PC? If not that seems like a huge limitation on the uno boards.. unless your really into turning on single LED's.. great
Yea, it pays to check out the hardware's capabilities before purchasing it. Beside the Leonardo, many of the PJRC Teensy Boards have native USB capability. So to do 32u4-based boards, I belive.
A more accurate statement would be "you can use an UNO, but by the time you are 1/3 of the way into it, you'll realize what a mistaken path it is that you are on, and just get an Arduino board that supports USBHID out of the box".
They're cheap. And time is money…
a7
10 years ago:
Turning An Arduino Into A USB Keyboard | Hackaday
But Arduino core & compiler options have changed; so I offer this as a reference to something that once worked but it has been far to long to give you assurances.
Wiring buttons: Buttons and other electro-mechanical inputs (introduction)
Not in the slightest. Especially when there are many other boards that offer that functionality.
Suggestion: using a blackpill makes this much simpler. Here's one for under $6.
Thank you all.. as for doing research prior to purchase I agree.. I purchased this board probably 3 years ago and just held on to it, was hoping it would serve a use but it seems this isn't such an occasion.. I appreciate all of y'all's insight
Found a solution.. works great.. took the standard dell keyboard model.. pulled the board out of it after mapping the mecha membrane, soldered leads to the proper strips then ran those to my normal open switches and mapped those keypad keys to gear up and gear down.. Magruber gents.. Magruber
Nice work. You get a badge of some kind for that, and the Arduino USBHID badge remains something you can earn in the future, or not.
Plenty of old keyblades lying around. Here anyway.
a7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.