How to Build Button Box Using Arduino Pro Micro - Part 1 - Build

Sdílet
Vložit
  • čas přidán 28. 06. 2022
  • In this video I will show how to create a button box that contains 36 buttons and 3 rotary encoders (the number of buttons and rotary encoders can be increased and decreased as needed) that is used in simulator games such as ATS, ETS2, Farming Simulator, using Arduino Pro Micro board. Also, there is a part 2 video explaining the code in it. Video link: • How to Build Button Bo...
    **NOTE: DO NOT START THIS PROJECT IF YOU DONT HAVE THE REQIRMENT TOOLS, SUCH AS DRILL, DRILL BITS, AND SOLDERING IRON.
    In addition to the parts you also need wires to connecting the buttons together and to the board (I used the standard ethernet cable (the cable that comes with router will be perfect ).
    Building button box with 16 buttons using zero delay encoder board:
    • Building button box wi...
    Building Shifter for ATS/ETS2:
    • How to build ATS/ ETS2...
    Instagram: / baldeagle_gaming
    Facebook: / baldeaglegamingpage
    ***Download links***
    Buttons Box design: bit.ly/3zXab0Y
    Buttons' label: bit.ly/3QMlcZ5
    Buttons numbering table: bit.ly/39Me12c
    Buttons connecting diagram: bit.ly/3Jywa2v
    Rotary Encoder connecting diagram: bit.ly/3Ohku4c
    Tuck/Trailer parking knob: bit.ly/3xUj2Of
    ***Parts***
    Note: I am providing the link to show how the parts look, you are free to use them or not.
    Plastic electrical project box: amzn.to/3xSNTuu
    4 position momentary joystick switch (HKD-FW24): amzn.to/3QMhKO4
    Calterm push-pull switch (Calterm 42200 ): amzn.to/3yh8bzn
    Momentary push button normal open: amzn.to/3bl6BU6
    Car engine start push button: amzn.to/3xIXLa4
    Mini momentary toggle switch 3 position on/off/on (3 pins):
    amzn.to/3QLHKZK
    3D matte carbon fiber wrap: ebay.to/39VKXoW
    Soldering iron: amzn.to/3xTBre0
    Wires: I used standard ethernet cable.
    Drill bits: ebay.to/3tXE39s
    **************************************
    *** Video music: www.mixkit.co ***
  • Hry

Komentáře • 57

  • @KingJack1999
    @KingJack1999 Před rokem

    Where did you get the covers or caps for the push-pull switches? I’m talking about the red/yellow parking brake and trailer air supply things.

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      Created them. It looks no one read description, you can find the link there.

  • @shibiwowsawesomegaming4783
    @shibiwowsawesomegaming4783 Před 6 měsíci

    can you make a tutorial on how to wire a 3 way momentary 6 pin dpdt included in a Matrix, building a button box for my flight sim, got all the main stuff down, but want to add in momentary on off on switches to my own custom mfd boxes.

  • @kpsschallanger7842
    @kpsschallanger7842 Před rokem +1

    Great work,well done! Where did you get push and pull buttons for trailer brakes

  • @78Centavos
    @78Centavos Před 11 měsíci

    Thank you

  • @khaleel23196
    @khaleel23196 Před 5 měsíci

    Hi - I saw some of the switches are AC rated. Do they work well or cause any problems if we are using them on a DC circuit like this?

    • @baldeagle_gaming
      @baldeagle_gaming  Před 5 měsíci

      I have no problem with them. Just do not get the push-pull switches that I am using for break. They are not a good quality.

  • @khaleel23196
    @khaleel23196 Před 5 měsíci

    Hi. Was wondering what LED strips and microcontroller you're using for the LEDs?

    • @baldeagle_gaming
      @baldeagle_gaming  Před 5 měsíci

      The LED strips are the ones that come with the controller. I just connected them to power.

  • @Subcore111
    @Subcore111 Před rokem

    NIce work I do have a question on the Rotary Encoder Diagram picture you typed button 7 , 16 , 17. but when I look at the small stickers you put on the box it shows 7,13,17 . what numbers are the right one ??

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem +1

      The numbers are only for push buttons, and it is 16, just mixed 13 and 16 by mistake. You will connect them in the way that it is shown in diagram, sharing the GND with all of three, and connect rotary 1 to pins 0,1, rotary 2 to pins 2,3, rotary 3 to pins 4,5. Thanks for your question, and hope this makes it clear.
      Please, subscribe, like, and share, which will help the channel a lot.

  • @MRSALNJ
    @MRSALNJ Před rokem

    Awesome video, question i have how do i determine my matrix grid for my box i built? im having trouble understanding the wiring part. could you be able to help me just understand it better?

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem +1

      Do you mean how tonwiring the buttons? And do you created the matrix by yourself?
      You can use the table (link in description) to create or better understanding it. The number of pin used depends on the number of your buttons. Or just you can send me a picture of your matrix but make sure it is clear. You can find the contact information in about tab or in video description.

    • @MRSALNJ
      @MRSALNJ Před rokem

      @@baldeagle_gaming sent it over thanks for the reply i appreciate it.

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      @@MRSALNJ what board you are using?
      There is another video of how to build 16 buttons button box, which do not need coding and easy to wiring

    • @MRSALNJ
      @MRSALNJ Před rokem

      @@baldeagle_gaming I am trying to use the arduino pro micro.

    • @MAlif-qg5sn
      @MAlif-qg5sn Před rokem

      @@baldeagle_gaming hey can you give me a photo of the actual inside of the button box because i have difficulties understanding the diagram and please spread the wires so nothing gets blocked by the wires

  • @davidsalvador6268
    @davidsalvador6268 Před rokem

    Hello friend, I am having a problem that I hope you can solve for me. In my keypad I have the first row of fixed levers, and momentary levers. When I leave 2 or more fixed levers active with negative pin 16 and activate a momentary lever with negative pin 10, they are all second those of that negative

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      What do you mean by "They are all second those of that negative?" Could you please make it more clear and what board you are using?

  • @douwi5445
    @douwi5445 Před 11 měsíci

    Nice

  • @Babyboomer_59
    @Babyboomer_59 Před rokem

    I am confused when it comes to Potentiometers and how they fit into the Column and Row matrix, they only receive one analog signal thus only require that one pen aside the 5V and GND pens. Also how they are configured when setting up keyboard and joystick in the Arduino IDE configuration, Are they counted into the Rows and Columns?
    Thanks for this Video it's very helpful.
    I will be using Arduino Leonardo's board, I have two Potentiometers in my box and will be assigning them to A4 and A5.

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem +1

      No, the potentiometer will not be connected to matrix. The middle pin will be connected to an analog pin on the board, and the other 2 will be connected to GND and 5v pin. Depending on what you are using for, you can activate the x, y, or/and z axis or rx and ry axis.

    • @Babyboomer_59
      @Babyboomer_59 Před rokem

      @@baldeagle_gaming OK thank you, that clears it up for me, as far as what it's going to be using it for, I honestly don't know, since this is my first box, I'm kind of just experimenting, the box itself I plan on using it for ATS and ETS so I'm just kind of winging it. I haven't played any of the Truck Sims in quite awhile, and don't remember all of the button commands in the game, I'm just taking my time getting everything ready. Heck I don't even know if those Potentiometers are even usable in ATS? I thought I'd just figure it out and if need re-construct the box.
      The box is constructed of/with 3 2-way toggle switches, three rockers, 4 one way toggles, 5 regular push buttons, 4 rotary, 2 potentiometers, I added a key operated switch for the ignition and two push/pull for the brake and trailer, It's 25 buttons in all. As far as the toggles and their reference I'm unclear, 3 of the toggles self center and the other 4 are either down or up.
      I also ordered a Stream Deck which will take up the slack that's left out if needed.
      Thanks again BaldEagle, a great help.

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      @HollySpringsDrive If you are using the box button for ATS or/and ETS2 I prefer the rotary encoder instead of potentiometer. You can use the rotary encoder for wipers, cruise control, increase/decrease the speed, and radio .... Also, some of the rotary encoders come with a push button too.

  • @jimski5358
    @jimski5358 Před rokem

    I am about to build a button box and have a question can I use this board and follow your guide ? Cheers
    MINI USB Nano V3.0 ATmega328P CH340G 5V 16M Micro-controller board for Arduino 328P NANO 3.0 CH340

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      I am using Arduino Pro Micro Leonardo ATMega32U4 5V 16MHz and as I mentioned in video I haven’t try the code on other board therefore I don’t know it will work or not

    • @jimski5358
      @jimski5358 Před rokem

      @@baldeagle_gaming ok cool

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      I did a search on net and I found that nano board can’t use as game controller because doesn’t support HID (Human Interface Device), Check this link may will be helpful. www.reddit.com/r/arduino/comments/k7yjrf/help_how_to_specify_a_arduino_nano_as_a_game/

  • @cadrol3083
    @cadrol3083 Před 6 měsíci

    Hi friend, thanks a lot for making this project, i built it and everything works great, but i have 2 problems, two encoders have the same number as a button, and when I press button it have the same signal as a encoder, i have this problem in two encoders, third works perfect, do you know maybe why?

    • @baldeagle_gaming
      @baldeagle_gaming  Před 6 měsíci

      Do you mean the push button on the encoders? Check your wiring. Probably, they share the same pins.

  • @366gaming
    @366gaming Před rokem

    Great work, and I loved your video. How did you wire the start button with LED to the adruino board? Can the connection change if you instead used the ignition key start switch (has four terminus, ACC, START, BATTERY, IGNITION). If it can change, please give me the steps to connect mine. I have these two project and I need your guidance

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      Yes you can, you need (Battery, Ignition, and start) you will share the battery with start and ignition.

    • @366gaming
      @366gaming Před rokem

      @@baldeagle_gaming Thank you. I have not understood how to wire it. Maybe a step-by-step can work. I am a beginner in these things😀

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      @366gaming do you know how to wiring and soldering the wires?

    • @366gaming
      @366gaming Před rokem +1

      @@baldeagle_gaming YES I DO

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      @@366gaming contact me on Instagram or Facebook, will try to help you

  • @cadrol3083
    @cadrol3083 Před 6 měsíci

    hello friend, if I don't want to use the led strip and I have an engine start button with led, how should I connect it and will I need another code or will yours work?

    • @baldeagle_gaming
      @baldeagle_gaming  Před 6 měsíci

      The LED strip that I am using doesn't need code, as you see it has its own board, I jast connecting it to board for power, and it has a controller to change color. For your button, you can connect the button's LED pins directly to board power sources (VCC and GND). Hope this could answer your question.

    • @cadrol3083
      @cadrol3083 Před 6 měsíci

      ​@@baldeagle_gaming okey, so I don't need to change something in code to make my button light? Thanks in advance for helping me

    • @baldeagle_gaming
      @baldeagle_gaming  Před 6 měsíci

      @cadrol3083 No, just connect it to power pins. Search google for your boad to know which pin has power.

    • @cadrol3083
      @cadrol3083 Před 6 měsíci

      ​@@baldeagle_gaming Thanks a lot for your help

    • @baldeagle_gaming
      @baldeagle_gaming  Před 6 měsíci +1

      @cadrol3083 I am glad I was able to help. Please subscribe, like, and share, will help the channel a lot.

  • @arda8055
    @arda8055 Před 8 měsíci

    Hi why did you use rotary encoders and not potentiometrers

    • @baldeagle_gaming
      @baldeagle_gaming  Před 8 měsíci +1

      Rotary encoder is digital while potentiometer is analog, the other reason is rotary spin 360⁰, while potentiometer do not, and rotary encoder works better with buttons and switches (internet search). You can use a potentiometer, but the code will be different.

  • @BENSOGAMINGTECH
    @BENSOGAMINGTECH Před rokem

    This amazing,i did this with Arduino pro micro but it won't upload Arduino code to PC,what might be the problem??

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      What you mean by "it won't upload Arduino code to PC"? Or you mean cannot upload the code to the board??

    • @BENSOGAMINGTECH
      @BENSOGAMINGTECH Před rokem

      @@baldeagle_gaming yeah,i meant cannot upload code to the board

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem

      @@BENSOGAMINGTECH check my 2nd part of the video about code link in description. Make sure you are choosing the correct board and port.

    • @BENSOGAMINGTECH
      @BENSOGAMINGTECH Před rokem

      @@baldeagle_gaming thanks,i will check it out and let you know if it works for me

  • @welp4284
    @welp4284 Před 3 měsíci

    Hypothetically, couldn’t you put 2 joystick encoders into one box and get a 32 function button box?

    • @baldeagle_gaming
      @baldeagle_gaming  Před 3 měsíci

      You could put 10 :), but work with arduino is more fun. You can do things that cannot be done with joystick encoder.

  • @liszcgsedt
    @liszcgsedt Před rokem

    Neat! But why not show it in action, too, please...?

  • @JuliDussan031
    @JuliDussan031 Před rokem

    I'll try my friend, I did something like this once and it didn't work

    • @baldeagle_gaming
      @baldeagle_gaming  Před rokem +1

      Whatch the code video too and you can download it, also there is another video that you dont need coding but the board makes 16 buttons only