Connecting buttons to OpenFFBoard or Arduino via SPI shift registers (74HC165)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 มิ.ย. 2024
  • Supported by JLCPCB: PCB+Assembly from $2, Get JLCPCB $54 new user coupon : jlcpcb.com/?from=Gigawipf
    In this video we check out how to use shift registers to connect more buttons to the OpenFFBoard and take a look at a simple module i designed for this purpose.
    Chapters:
    0:00 Intro
    1:25 Breadboard example
    4:50 JLCPCB (Sponsor)
    6:00 4x 74HC165 modules connection
    8:49 Schematic & Design
    12:45 Arduino tutorial
    14:48 Outro
    Links:
    Buy the module: www.tindie.com/products/gigaw...
    Get the design: github.com/Ultrawipf/OpenFFBo...
    Arduino example code: gist.github.com/Ultrawipf/2ef...
    Github OpenFFBoard Firmware: github.com/Ultrawipf/OpenFFBoard
    Github OpenFFBoard Hardware: github.com/Ultrawipf/OpenFFBo...
    Github GUI: github.com/Ultrawipf/OpenFFBo... page: ultrawipf.github.io/OpenFFBoa...
    Hackaday.io: hackaday.io/project/163904-op...
    Tindie store: www.tindie.com/stores/gigawipf/
    Discord: / discord
    Twitch: / ultrawipf
    Patreon: / gigawipf
    Donate: paypal.com/cgi-bin/webscr?cmd=...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 10

  • @babaika4941
    @babaika4941 ปีที่แล้ว +2

    Cool

  • @byzoliaz
    @byzoliaz ปีที่แล้ว

    👍😍

  • @FHamoudi
    @FHamoudi ปีที่แล้ว

    Thank you for the great video. I bought two of these boards and am excited to use them for a DIY flight sim project. What Arduino board is compatible with these boards?
    Keep up the great work.

    • @Gigawipf
      @Gigawipf  ปีที่แล้ว +1

      Any arduino would be able to read it using the shiftIn function for example. If you want to make it a gamepad you need one with native usb like the arduino micro.

    • @FHamoudi
      @FHamoudi ปีที่แล้ว

      @@Gigawipf Thank you for your swift response, I have a couple of pro micros, so will be using one. The Arduino code you have shared, I am assuming its for a gamepad. Is this the case? Cheers :)

    • @Gigawipf
      @Gigawipf  ปีที่แล้ว +1

      @@FHamoudi no its not. it is just an example how to read the data. using it as gamepad buttons would be easy if you check out gamepad libraries.

    • @lyeeable
      @lyeeable ปีที่แล้ว

      @@FHamoudi Any luck getting this to work m8? could you share some info if so

  • @jayare7750
    @jayare7750 ปีที่แล้ว

    Would pressing various buttons at the same time be registered adequately or are there limitations as to how many buttons can be pressed at the same time?

    • @Gigawipf
      @Gigawipf  ปีที่แล้ว +1

      They are all sampled at the same time so you can press as many as you want.

    • @jayare7750
      @jayare7750 ปีที่แล้ว

      @@Gigawipf awesome, thank you! I am learning to code so I wasn’t sure how many iterations of the binary bits I would have to write to get all combinations, or if there is a way to make it bit dependent, but it looks like OpenFFBoard makes this project so much easier