American Truck Simulator DIY Button Box Part 3

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • For the pins I used 2.54mm Pitch JST SM Dupont Crimp Pins
    a.co/d/51wpIg6
    Crimp Tool
    a.co/d/c2GDaXm
  • РазвлеченияРазвлечения

Комментарии • 24

  • @MrSamuelDM
    @MrSamuelDM 3 месяца назад

    try timelapse and a tripod for soldering next time maybe? would love to see some of the work there looks awesome. no sound necessary

  • @shibiwowsawesomegaming4783
    @shibiwowsawesomegaming4783 9 месяцев назад +1

    OMG THANK YOU SO MUCH!!!
    I've been searching forever to try and find a way to hook up a on-off-on momentary switch. I couldn't get it to work because I was wiring the middle pin to ground.
    No tutorials I found were able to be of any help.
    Did you have to use any switching diodes or resistors?
    Would you be able to do a video on how you coded it in Arduino?

    • @pastorhudson
      @pastorhudson  9 месяцев назад

      It’s almost trucking season. I like to mess around with it at Christmas. I should have some code somewhere. But I used someone else’s project. It wasn’t too difficult.

    • @pastorhudson
      @pastorhudson  9 месяцев назад

      Here's my code: gist.github.com/pastorhudson/e6f85bb7a2d153047115ca50f0c64b45
      Here's the video for the code I used: ruclips.net/video/Z7Sc4MJ8RPM/видео.html

    • @pastorhudson
      @pastorhudson  9 месяцев назад

      I'm not sure that it actually has to stay on in a joystick application. . . I don't think it's staying on using this library. To make it "sticky" then you'll want to track the button press and toggle the value of a variable then set the status based on the variable. The trick is to handle debouncing. When you press a momentary button it might actually get triggered 5-15 times or more. So you need to handle that too. . .
      You want to look for code for a "latching button" forum.arduino.cc/t/button-latching/321499/5

    • @shibiwowsawesomegaming4783
      @shibiwowsawesomegaming4783 9 месяцев назад

      Thank you very much.

    • @shibiwowsawesomegaming4783
      @shibiwowsawesomegaming4783 9 месяцев назад

      @@pastorhudson If I post my Photoshop project, would you be able to take a look at it. Logically I pretty much matched what you did. just to see if I got the diagram down. Obviously physical box isn't going to look remotely like the logical project.

  • @366gaming
    @366gaming 10 месяцев назад

    I really loved this video since it has the ignition. But I did not understand teh terminals you used since it has start, acc, batt, and ignition. I would love to use this design but I dont know how to include the ignition key. If you can share the printed model with all buttons with their respective connected terminals, I would appreciate. Am new in this and I would like to challenge myself to complete this button box.
    Thank you for the good work

    • @pastorhudson
      @pastorhudson  10 месяцев назад +2

      I put my multi-meter in continuity mode. Then operate the ignition key switch to see which pins have continuity when it is turned. There are probably multiple positions depending on your key. You will set this up just like a momentary switch. Unfortunately this means starting the truck is really cool, but turning it off means turning the key to the start position because ATS didn't have separate key bindings last I messed with it. I hope that helps.

  • @elbrujomaya
    @elbrujomaya 6 месяцев назад

    "It's much easier to do it with a mechanical keyboard. You simply solder the wires from the letters you're going to use to a momentary push-open button. For the power key, I use a desk drawer key; one wire goes to the cylinder and the other makes contact when passing twelve o'clock. This is because the key in the off position is at 9 o'clock and in the on position is at 3 o'clock."

    • @pastorhudson
      @pastorhudson  6 месяцев назад

      Oh I really like the desk drawer key idea!

  • @bssniper1975
    @bssniper1975 5 месяцев назад

    Brilliant video, thank you so much. Did you ever get the CB working?

    • @pastorhudson
      @pastorhudson  5 месяцев назад

      Not yet. I've been messing with drones lol. But I'll get around to it.

  • @SticksAandstonesBozo
    @SticksAandstonesBozo 9 месяцев назад

    My only question (all my parts are on the way) is software ? Not concerned with building or wiring but what do people use for software ? So little info online that is clear about this.

  • @SticksAandstonesBozo
    @SticksAandstonesBozo 8 месяцев назад

    Ok the ignition switch (already built mine with zero delay usb and didn’t like the hassle so I’m re doing it with a pro micro)
    I’m just not clear on how to wire the ignition ? I have plenty of space so I plan to do it on its own two pins. Do I do battery to ground , acc to a pin , and ign to a pin ? Or do I not need to run batt to ground ?

    • @semihke
      @semihke 3 месяца назад

      ruclips.net/video/6TolCBTvSwQ/видео.html

  • @suddanks5136
    @suddanks5136 Год назад

    I'm fixing to start on the hard part of building a button box and was wondering if you could/would be willing to help guide me thru it. I am pretty far in the deep end of the pool as far as my electronics knowledge goes so im partially treading water here

  • @brotheralec8998
    @brotheralec8998 4 месяца назад

    I understand that you are a Pastor. Could you make a video that explains your viewpoint on Christians using technology to glorify God. This could be video games, drones, chatGPT.

    • @pastorhudson
      @pastorhudson  4 месяца назад

      What a cool thought! I’ve talked about this in my sermons at times. Our creator created us to be co-creators. God has tasked us with building this world. And the act of creating can be worship. Making music, woodworking, writing, and yes soldering, writing code, laying out circuits is all worship when we do it from a place of joyful curiosity and love for God and our neighbor.
      Making random things that I want to build also shows me my limitations. It causes me to seek others help, and it keeps me curious.

    • @brotheralec8998
      @brotheralec8998 4 месяца назад

      @@pastorhudson Thank Ron for your quick response. I have been using chatGPT to put together daily Bible studies. I also have started sharing my faith while recording ATS videos. It is good to see other Christians doing the same kind of thing.

    • @pastorhudson
      @pastorhudson  4 месяца назад

      That’s really cool! Just be careful to double check the output. Sometimes chat gpt will hallucinate especially when it comes to quotes and references. But it’s a great tool.

    • @brotheralec8998
      @brotheralec8998 4 месяца назад

      @@pastorhudson I have found that AI hallucination rate is much lower when it is dealing with spiritual content.