Slot Car Track Big Red Button Details - Part 1 - Switch Debounce

Sdílet
Vložit
  • čas přidán 9. 09. 2024

Komentáře • 11

  • @the13th
    @the13th Před 3 lety +2

    Brilliant video Jeff, your content has been great discovered you a few days ago from somewhere else. It was the lighting system you developed that helped me discover you, incredible work.

  • @djangofreeman5085
    @djangofreeman5085 Před 3 lety +1

    I didn't know!
    HELL at first I didn't even know what they were!

  • @pf465
    @pf465 Před 3 lety +1

    Great video, thank you for sharing. I am anxiously awaiting the digital to analog switch video if you make one.

    • @garagemakerguy1808
      @garagemakerguy1808  Před 3 lety

      Thanks for the comment PF,
      Once the scenery is done, the Analog/Digital switch is a priority...I have too many great analog cars that I want to run and I miss the fluid/linear response of high quality analog controller.
      Cheers,
      Jeff (Garage Maker Guy)

  • @jeff33rm
    @jeff33rm Před rokem

    Great video! Having issues with mine and I think this may be the cure.

  • @johnniehobby
    @johnniehobby Před 3 lety +1

    Good info, Jeff. No de-bounce function in the program already? I know I've re-invented the wheel several times writing a subroutine only to later realize there was already a function built in for what I spent time coding. D'Oh! BTW, what happens if two drivers hit their track call buttons at nearly the same time?

    • @garagemakerguy1808
      @garagemakerguy1808  Před 3 lety

      Thanks for the comment and great question Salami.
      I wish the Arduino inputs had debounce functionality built-in that could be enabled/disabled programmatically but no joy there (however the pull-up resistor can be enabled/disabled programmatically). The debounce code is necessary for a software only solution from what I can tell.
      re: more than one driver pressing the button at or near the same time:
      ans: Switches are wired in parallel so the first button press will be processed and the others will be filtered out (aka: "debounced") for a short period of time.

  • @dennisosborn5589
    @dennisosborn5589 Před 3 lety +1

    Wow! A lot of Stuff Involved on the Red Buttons! Warning Beacon is a Good Idea, cause everyone would be wondering who pressed the Red Button "On Purpose"! Sounds like a Penalty too!

  • @rexcadral3468
    @rexcadral3468 Před 3 lety

    Interesting. What language are you writing in? it looks like either Java or C#?

    • @garagemakerguy1808
      @garagemakerguy1808  Před 3 lety

      Hi Rex, Great question.
      Short answer: C++ with Arduino Libraries
      Long answer:
      forum.arduino.cc/index.php?topic=45492.0
      Cheers,
      Jeff

  • @jdc9528
    @jdc9528 Před 2 lety

    👍👍👍👍👍👍👍👍👍👍👍👍👍