MAKE THIS BUTTON BOX | 32 FUNCTION w ENCODERS
ฝัง
- เผยแพร่เมื่อ 26 ส.ค. 2017
- How to make a DIY USB button box with encoders. A 32 Function button box for Sim Racing, also suitable for Truck simulator or Flight Sims. Design and build the layout, size and function for your requirements. Based around a Arduino Pro Micro.
The 18-page Build Guide available here: bit.ly/2HeizNj
Build your own the same!
Parts
Switch Covers ebay.us/vBH7B3
Momentary toggle ebay.us/PjNZbu
Start button bit.ly/3BglL4T
3 way toggle ebay.us/yqA5a7
Push button ebay.us/YVu0rh
Encoders ebay.us/Wwq6nv
Suitable Encoder knobs ebay.us/gHGb4l
Usb cable ebay.us/MiPZ5r
Box ebay.us/Su6nZj
Carbon Vinyl ebay.us/ItSYEQ or BG bit.ly/2JhDwa8
Pro Micro bit.ly/3y2foQw
Solder BG goo.gl/Ni6n4P
Soldering iron goo.gl/Ahq8e2
Wire eBay 22awg ebay.us/aDR5Pq
Wire strippers goo.gl/4PFXny
Side cutters BG bit.ly/3OXj6mS
Best Soldering Iron ebay.us/VIwU6k
This site contains affiliate links for which I may be compensated
How to assign the buttons to keyboard
• HOW TO ASSIGN BUTTON B...
Enjoyed the video and project support with a tip
amstudioprojects.com/product/...
How to make a Simple Easy 12 Function USB Button Box
• BUTTON BOX | EASY DIY...
Thank you for watching, all questions and feedback are welcome.
If you know someone interested in this Video please share it with them.
Check here for other Sim Racing, Mods and DIY projects.
/ @amstudioprojects
Sketch bit.ly/3152ALk Library github.com/MHeironimus/Arduin...
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. creativecommons.org/licenses/...
FOR PERSONAL USE ONLY NOT FOR RESALE.
Copyright © AMSTUDIO 2018 All rights reserved | amstudioprojects.com - เกม
I'll be honest, it took about 8 times watching this video to finally get everything figured out. Persistence prevailing I soldiered on, finally finishing a box with 2 toggles, 10 momentary switches (14 including the momentary switches on the encoders) and 4 encoders. I feel accomplished, thank you for laying this out in a very organized, easy to understand, and quick fashion.
Good work, Enjoy!
I want to make a MIDI, does this method works? I send the code successfully to my promicro, but in OSX the MIDI doesnt detect anything :(
or did you... solder on?
+1 patron. Never felt the need to support any "youtuber" financially until now. Totally love the quality of your work. The little details like adding links to where to get the parts (even though I use ebay) and answering questions in the comment section make this channel so great :)
This is fascinating, and very well explained. This has, in seven minutes, opened a door to an entirely new realm of electronics projects for me. I haven't comprehended the concepts behind button matrices until watching this video. I've built basic synths, effects pedals, amps, and video game controllers including gated shifters and custom game pads and have really needed to understand this concept for years. Now I understand fully, and can use this method creatively for lots of awesome projects with or without the arduino board. I can now create projects involving much more complex input panels. Thank you!
Joshua Martin Hi ,im planning to make it but ..
do i need a driver on my pc to communicate with the arduino.
i dont mean coding but i mean arduino sending signal to pc
@Cy Aerials did you ever figure this out?
I bought the plans and I can't find the correct Auderno software that goes with the button box?
@@mrj3217 the software is linked in the PDF for the build. I have been messing with it for a week now and the onlything the software will do is recognize that an arduino board is connected. Cant get any code to load or even show up in the software. I have wasted $80 and a week of my time on a decoration for my rig.
Do you keep getting 'JOYSTICK_DEFAULT_REPORT_ID' was not declared in this scope?
I still can't get past this😢
Now, during quarantine all over the world, TH-cam recommendations show me your channel. They want me to spend all money on building Sim rig instead of food. Seems legit.
Same here man... and also from Poland :D
@@deeze67 do you guys know weher to get the sketch ?
@@robinhilkert2573 I'ts in the list parts in the description.
Ya somos dos! es fantástico este canal. Yo ya me metí en un montón de proyectos empujado por amstudio
It is.
Best tutorial I've found in a solid 2 weeks of searching. Thanks for being simple and declarative!
I just discovered this channel by searching for buttons. Oh man.. all this knowledge! Thank you for everything you've made so far!
Another awesome video by amstudio! You deserve a medal for your contributions to the sim racing community! I have combined this project with your TM1638 dash to create an EPIC button box. Keep up the good work!
This is probably the single best instructional video I’ve ever seen on TH-cam. THANK YOU!
Your videos have really taken a step up. Amazing job!
Good video. Button matrix explained in 7 mins with code. Going to save a lot of ppl time and money mate. Good job. Keep it up. Hope some ppl value your content and donate to you bud.
Steve Kirk with this video anyone can make a professional PCB circuit board from like jlcpcb which can extend the life and useability and look better
Where to buy these button
@@gordondatrain Try the internet :P
@@England91 is jlcpcb a youtuber? And once you design it, where would you go get it made?
I appreciate the detailed tutorial. I just completed this USB button box. Huge thanks for providing the links to the library, sketch, and necessary materials. Likely going to take on your Tachometer project next. Thank you again for sharing.
This is a really good overview! It's the pedagogical video I will be sending people to when I get the question, as I don't dive into detailed descriptions myself when I do wiring. Good inspiration for all of the sim-pit people!
dude keep making these great video's! i realy love them and you just show how easy it actually is to make simracing products that normally kosts a bunch of money! keep doing great work man ;)
Really nice way to go for flight simmers and far cheaper than pre-built ones. It also looks professional too.
First of i like that you use the same board for all your projects. It's nice that you share with us the arduino code, so we can try them ourselves. Also, i am more amazed that i can use a lot of spare parts to get involved with the arduino world and especially put that effort to improve my sim rig.
Its stuff like this that really makes me miss the convenience of Radio-Shack
yeah I'm seriously bummed they went out of business
@@vyladence there are still some stores out there and u can check out their website too!
Yep, was Tandy here in Australia. We also had a competitor called Dick Smith. Then came along Jaycar ..... who's prices are now no longer competitve, if you want convenience you have to pay a price.
Childhood Flashbacks
@@vyladence they pulled away from the hobby aspect and tried to compete with Best Buy for big electronics. It was a huge mistake in judgment.
Just bought the guide, the breakdown is idiot proof, i will be using this to replace the console buttons in the sim rig im building out of an old mercedes. I didnt even think something like this was possible, thank you for your videos
Very nice.. Just one little thing, I suggest you test every thing before you glue the board in place.. Just to keep Murphy in check! Great vid, thank you
ol' Murph will catch you out if he can..
Thanks for the video and detailed instructions, had a little false start by trying to be clever and reuse a Arduino nano. Pro micro finally arrived and now works perfectly..Very happy camper. Thanks again
Just wanted to say thank you for this video. My button box worked on the first attempt. Pure Gold!
thank you so much for all your amazing teaching videos!!
Again like al your video's very nice tutorial. Don't stop doing this !
Can’t help but admire your craftsmanship and how easy you make it look it can be. I’ve tried soldering a few times and it’s not as easy as you make it look. It does make you wanna give it go but will prob just chicken out and get a pre built one, I want it to look nice on the rig. Great video tho, I learned a lot,
Great video I loved the way you explained everything at the start
Pretty much the channel I always wanted to make, but was to lazy for. thx!
You are awesome!
Thank you. My first DIY button box works like a charm
Love your work mate a lot more efficient then the design i though of and very clean keep it up :D
Very fun project. Works like a charm. Thanks for sharing and getting us interested in Arduino ;)
Love your videos, keep them up
Thanks mate!
Really cool of you to share your knowledge of electronics with us plebs
That looks very polished, well done!
Looks fantastic! It would be great for VR flight simulators (or just 2D flight simulators)
Actually the problem with VR is you can't see what you're doing with your hands, so buttons and switches are a huge pain. I find myself counting along rows of switches to find the right ones for example
I've just bought a ton of parts and a new soldering iron, can't wait to make my own button boxes!! Went for the wood grain vinyl though, fits me good as a FS, ATS, and ETS2 player :)
Hey buddy, I'm not that far yet.I was stupid and bought several square switches, and making the holes for them took ages with an exacto knife... I have 46 functions, I have no clue how my grid or sketch will look, haha. I'm using the USB Joystick PCB for 10 of the buttons, though. It will be 2 boxes in 1.
Btw, anyone, go for the round switches. And prepare for micro soldering, the arduino card is TINY.
If anyone is hesistant to do this because of the soldering, don't worry. You can hot glue dupont wires to the arduino. I'm also ditching the whole box part of it and using a 30" x 12" piece of plywood mounted straight onto my wheel base to have a dashboard. With a slot and 2 x 2" holes for my old smartphone that runs SimDash, it's going to be a wild setup for a few dollars.
@@basstrammel1322 Would love to see it, sounds great
simply amazing man...great job and thanks for sharing knowledge..
Thanks for the video. That helped a lot with my personal button box I'm building.
With this idea i made a euro truck simulator with all functions
show us brother!
love your vids
Thanks
The effort gone into this video is incredible. Very well done to you sir.
Genius. Easy to follow and extremely useful. Thank You
Another helpful video :)
Enjoy!
@@amstudioprojects how can i get codes?
Nice job. I just built one, not as pretty as yours, front panel and case are plastic and wood scraps, and I added one more switch, works great. Thanks.
Once I have coded it, and uploaded to Arduino, how to I then communicate Arduino with computer? Do I need additional software? Or just a game?
@@MindstormExpert If you've done everything right, just plug it in and a PC will recognize it as a HID. What it comes up as in games depends on which Arduino you used. Mine all show up as Arduino Leonardos.
You are insanley awesome. Keep it up bro 😎
I have always been a big fan of your videos but never thought i'd build one myself. i accidentally bought a button box online but that doesn't have wires or anything so i will venture into doing it all myself with your guidance, will keep this comment up to date!
Thank you.
I think I might make one for my actual vehicle for lights and such
currently using all the parts listed for a button box for ets, building most of it tonight
Edit: Is now built and works amazingly, Thanks for the tutorial!
Can you use multiple buttons at once though? Seems to be most people's problems
@@ryanlawrence1764 when you press more then 3-4 buttons at a time you will get ghosting, and occasionally the buttons that are on the same line pins can sometimes flicker ( when pressing multiple ) but i've never had a big enough issue to need to add any form of anti-ghosting
@@Incognist at 6:13 what does the creator mean by "upload the button box sketch to the board"
@@kry0cera962 Hes talking about the code created which you edited to your individual buttons. Eg you edit values if you have a few more rotery encoders or put the buttons on different analog pins. Then it stores the code on the arduino board so that you can unplug and it still be on the board
too many people use arduino and forget the use of transistors used for encoding and decoding led switches and functions while at the same time adding complexity an variety to projects arduino lack.thanks for sharing
YOU Genius , that's exactly what I needed to know a BIG THANK YOU :)
Where has this guy gone? No posts for a year.
A fantastic build idea, especially for the encoders.
Personally, I've taken apart an old keyboard, followed all of the traces to mark which pins go to which keys, and am working on a button layout to solder everything in. No programming needed at all, and I simply have to wire the buttons to the keys already used in games.
@Bạch Văn Hoàng Bảo Well aware, simply took common key layouts for all matter of games, and configuring a soldering chart that conforms to it.
Would it work out a lot cheaper to do it this way?
Just completing mine now, thanks mate
I love this idea. I've got 2 printed out (left and right boxes) with some small edits. I made new brackets that angle the boxes slightly up and in - more like a fighter cockpit. I've adjusted the arduino code slightly as well which will allow more functionality of the buttons/analog sticks. I have them plugged in and working, but have more buttons ordered and on the way to complete it!
Hey did you use the pro micro arduino?
@@smuncki8 yes! specifically with the ATMEGA32U4 chip. I also used terminal connectors in case I decide to change things around... colors, button type, easier maintenance, etc. No soldering required.
Don't you need diodes in series with the switches to prevent masking/ghosting?
No one:
Am studio: hi can I buy a square mile of carbon vinyl
Good one!
if i didn't use literal dirt as currency i would too lol.
Follow up I just made it works so well its sick
Brilliant explanation and very well made. +1 Sub
been meaning to make one of these! thanks!
I would like to see you making a 3 axis sit motion simulator. Maybe using oculus or vivre as the screen. for head tracking.
+1 (for next project)
or just buy a trackir
you need 3 axis motion for a racing seat now that would be an epic build
Ok. Now I need this for Elite Dangerous.
That's why I'm here, CMDR o7
I made it for Elite!
IF you want my opinion keep on reeding:
it's a good idea to add leds to the front face of the pad as well (for flight assist, or silent running) to toggle, if they are on or off.
@@Doile911 I though Elite couldn't output game data to another device, such as an indicator light?
I think you can use indicator LEDs as if the switches were just for the LEDs
doubt it would be a good fit
Thanks for thtat great idea, instantly suported you for this manual and as soon as I can get the Arduino Board, I'm gonna start to build one or two of this boards :)
This is how you do an instructional video about wiring. We don’t need to see your face and bedroom and all the cats, or tell the life story and comment on the news. Just do the damn thing like this !
I wish I could do this 😂
It’s like he wants us to build this box
Oh wait
Really awesome !!!! Many thanks dude !!!! I like this channel.
this is awsome friend, thanks a lot for share
I bought your file and mounted my button box, but there is a conflict of buttons. How to solve ?
Re do soldering
If you haven't solved it already, what do you mean by a conflict of buttons? Maybe I can help.
@@ItIsYourBoyMe I'm also having conflicts when I press more than one button at the same time, for example, if I activate switch 1, and press any button, a third signal is sent ...
@@wagneralves5915 I haven't actually built this box myself, but when I was watching this video, this was an issue that is unavoidable with this design. For example (I haven't rewatched the video, so might not be 100 % in line with the video), let's say a button is pressed such that current flows between row 1 and column 1 of the wiring as shown in the wiring diagram in the video. If all other buttons/switches are deactivated then everything is fine. However, let's now say that you push a button which is wired to row 2 column 2. Then the entire column 2 is activated, and moreover, if at the same time you push the first button (row 1, col 1) then row 1 col 2 and row 2 col 1 are also activated. This is unavoidable unfortunately, as long as you have more buttons/switches than inputs to the arduino. A solution might be to rewire in a more appropriate way (and update the arduino code) or to disengage some buttons/switches.
@@ItIsYourBoyMe so for example, if i wanted a jake brake on/off toggle switch but needed to increase/decrease intensity with push buttons, theyd need to be wired into different groups?
Nice video but I had a question, as I'm not an expert in electronics I did not understand the connection of 3 way toggle
Think of the 3-way toggle as two separate switches where only one side or the other can be ON. The center tap is the power in and the two outer taps are the outputs that complete the circuit when the switch is toggled to that side
easy and clean setup box nice :D
That's well smart indeed :) great work indeed.
Your Videos are great. I'm just building the button box, but where can i get the file "keypad.h"? I have a lot of error messages after verify.
Christian Prohaska have you found a solution I have the same problem with compiling it
I also have this problem. Did you manage to find a fix in the end?
Ah, I think it's because I didn't have the Library installed first 😅
lol noob here I want to know if it matters if I use a matrix in a way that the switches and buttons are in the same line, like 3 switches and 2 buttons on the same line. answer plis
Yes buttons and switch are functionamy identical. It's juste that switches stay in plave
As long as each component has a unique position in the matrix (i.e. no other component is connected to the same 2 pins on the controller as it) then all should be fine. Even the momentary push on the rotary encoder (bottom row knobs on this build) can be fit into a matrix. (The rotation input cannot, however.)
You Are Great Man!!!!
I made a new button box because of you!
Thank you!!!
Awesome! Enjoy.
can u help me i have a problem mine is uploaded and te buttons are wired well but the arduino doesnt show up on assetto corsa and i dont now how to fix that cause the arduino is detected as a keyboard so can u please help me with that mate can u message me on Mail:moraligamesramzi@gmail.com
You should make an H gate shifter! I've made a sequential that im using at the moment, but would really love an H-Gate!
It will be awesome if you do like a hat that when you move the head, in the game also move the camera to the left or the right, up or down, etc
you kinda have that already and it aint that expensive with trackIR
cilky love my TrackIR
look into open track, its pretty easy to do actually
All DIY for sim racing is incomplete without carbon patern vinyl
Just wanted to say Thanks starting to get my project done took awhile to modify the code tho to work with switches and there is some modification left to do but where I am at this stage atleast lets me solder everything without having to worry:-P
Thanks. One day I might try this.
where to get such small sparco stickers?
g.Force eBay
is there the possibility to make an complete wheel with Arduino? Cheers mate
You very much can. I've already done it, and have just received three more Pro Micros to make more.
examples?
Joshua Martin Can you show us ?
you are genius mate
Thx for this video!!!!
Where does the "SPARCO" sticker comes from?
G'day, @amstudio ... I'm wondering the same. The only thing that wasn't explained was the sticker. Was it bought as is, or do you have a vinyl printer/cutter thingo?
Being able to print labels for the switches would be the cherry on top!
@@Federation42movies Australians like
Easy to follow 18 page Guide with setup instructions here: bit.ly/2HeizNj
Which program do you use for design your buttonbox? 1:02
A few month later I do it for a ps4 ( project car can use a lot of buttons on ps4) but the it doesn’t work( not reconize by the ps4), do you have an idea?
I think the problem is the skech of the atmega because is like keypad and not keyboard, what do you think about this ?
Great job and and realy big thanks for your diy and also Sorry for my poor english.
The link you have for The 18-page Build Guide is dead. You have a link for it?
Would it be possible to include a joystick or two in this build?
what if i don't want rotaries but more buttons, could you do a video on how to change the i.o sketch to add more buttons to this build and where to solder them on the ardino? Or can anyone help with that been trying for a few weeks now and some how just cant get it to work.
Great video. Will be doing this. Getting all of the parts will be hard though. I wish I could get it all from one place.
best channel ever on youtube!!!!
You could show people how to design and 3D print a button box using your new 3D printer.
3D printing boxes is kind a meh unless you need something very specific. Hobby/project boxes come in many sizes and they are more durable and unless you already own a 3D printer way cheaper.
I have tried so many times just can’t get it to work lol
Really nice! Thank you
So amazing Pretty good vids
I need the script for the arduino
github.com/AM-STUDIO/32-FUNCTION-BUTTON-BOX
It's in the description
Will this work on a PS4, with PCars?
Henry Mathews I’m also interested to see if this works with a PS4 in Project Cars 2.
Henry Mathews I have made box. But it is not working on a ps4 yet.
Did any of you guys fixed this problem on PS4?
Yes i got is working on the PS4
How did you do it?
Great video, it will convince a lot of people that buy one is much better and quicker
Dude keep making this great videos!! I love it, I want to build the mine but i dont know if works with potenciometers
Yeah ... it's how we save money from an expensive simulator board.
i've already installed a library but i failed to upload it, it says cannot found kepad.h, where i can found the kepad library? the download link is only give me a joystick library,, please help..
same here
Man you are awesome!
That is amazing. 👍
next build should be a pop filter for the mic
Just buy one for ten bucks.
Hahaha! I got what you meant. You're funny bro! I agree. Are you a sound engineer? I am. :)))
KaPex Those ones break in 10 seconds. I would try to get one that is at least $10, if not $15+
@@kapex6334 But he said that because there's a lot of pops in this video not because he actually want one
i know this is old, but i cant really do any of this, so i will pay you for this if you can send it to me. please
You can buy buttonboxes off of ebay
Olle börner they are extremely expensive though
i can make for you cheap
Totally awesome! I'm handy, but not this handy so I will absolutely be buying this from your eBay. It's a little pricey there, but I have no doubt that your hard work is worth every bit of it. Now I just have to save up for it :P
I like it how he put a Sparco decal even though they make racing seats