DIY Keyboard from Scratch - with QMK and ATmega32U4

Поделиться
HTML-код
  • Опубликовано: 27 июн 2024
  • Thanks to pcbway.com for sponsoring this video!
    It is time for another DIY keyboard build. This time I'm integrating the atmega32u4 directly into the PCB and I'm adding compatibility for a bunch of switches and assembly types. I also made the switch over to QMK firmware, as it offers a ton of features and great customizability.
    Buy the PCBs on my store: artof2.ch/store/tkl-keyboard-pcb
    Link to the SK6812 Mini E LEDs (affiliate link): s.click.aliexpress.com/e/_9fnY3j
    Keyboard shell STL files: www.thingiverse.com/thing:486...
    QMK Firmware:
    Github: github.com/qmk/qmk_firmware
    Documentation: beta.docs.qmk.fm
    QMK Configurator: config.qmk.fm/
    Bootloader Flashing: beta.docs.qmk.fm/using-qmk/gu...
    Music by Zweihänder, check it out here: t.co/BpLpIm8lYz
    Support me (for free) while shopping online (affiliate links):
    -----------------------------------------------------------------------------------------------------------------
    Aliexpress: s.click.aliexpress.com/e/b3a0ISl6
    Amazon (US): amzn.to/2pJVveJ
    Amazon (DE): amzn.to/2pK1YFx
    eBay.com: ebay.us/xd6vPa
    eBay.de: ebay.us/AwHtLQ
    -----------------------------------------------------------------------------------------------------------------
    My links:
    -----------------------------------------------------------------------------------------------------------------
    Instagram: / darkartguitars
    Website: www.darkartguitars.com
    Thingiverse: www.thingiverse.com/DatulabTech
    Github: github.com/datulab
    E-Mail: guitar@darkartguitars.com
    -----------------------------------------------------------------------------------------------------------------
    00:00 Intro
    00:43 Project Overview
    06:40 Typing Demo
    06:52 The PCBs
    09:50 Circuit Explanation
    15:32 PCB Design
    19:08 Enclosure 3D Modelling
    22:15 QMK Overview
    29:40 Conclusion
  • НаукаНаука

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

  • @ToyotaPrius-ls3eg
    @ToyotaPrius-ls3eg Год назад +3

    thanks so much for this, was so lost on making the firmware for my custom keyboard

  • @nikbivation
    @nikbivation 5 месяцев назад +1

    thank you for this!! Very nice work, need more

  • @kevinkunst3870
    @kevinkunst3870 2 года назад

    This was stellar!

  • @DarkArtGuitars
    @DarkArtGuitars  3 года назад +7

    I'll add the link to the 3d files and the PCBs in a bit!

    • @timovanendt3287
      @timovanendt3287 3 года назад +1

      Cool

    • @DarkArtGuitars
      @DarkArtGuitars  3 года назад +2

      @@timovanendt3287 They are now available!

    • @timovanendt3287
      @timovanendt3287 3 года назад +1

      Cool!!!!

    • @teekie1044
      @teekie1044 2 года назад +1

      @@DarkArtGuitars Hey thanks for the great content! Where can I find the schematic and pcb file? I'd like to know how you implemented the LEDs.

  • @klofisch
    @klofisch 2 месяца назад

    Schönes Projekt. :)

  • @Bloodysugar
    @Bloodysugar 2 года назад +2

    Oh boy... this is such a great project I'd like to get !!!
    Immediately I want to put it into a DIY enclosure made of wood, and covered with a nice plate. But it looks pretty hard to find a KTL ANSI plate, especially in Europe, plus the few we can find are made for specific enclosures. I guess the solution is getting a DXF to laser cut it somewhere. So I try making one starting by using "keyboard layout editor" but there are so many variables that it makes me pretty sure I'll end up with something wrong.
    Could you share a DXF you know for sure to be accurate ?
    Thanks a lot by advance !

  • @mxghxst
    @mxghxst 3 года назад

    Really Cool

  • @teabagNBG
    @teabagNBG 2 года назад +1

    very nice work! i love it!
    are there any pcb manufractuers that can also solder the led and the atmedga chip ?

    • @DarkArtGuitars
      @DarkArtGuitars  2 года назад +1

      Most PCB manufacturers will also do assembly for a small fee. PCBWay, for example, offers assembled PCBs starting at $30 for like 10pcs or so.

    • @teabagNBG
      @teabagNBG 2 года назад

      @@DarkArtGuitars thanks alot i think this will be the way will take... im done searching for a matching keyboard... i hope i can manage to get the pcb file right...
      what chip do u recommend for wireless and 84 key + fn keys...

    • @DarkArtGuitars
      @DarkArtGuitars  2 года назад

      @@teabagNBG I have not done wireless before, so I can't really tell you. I'm sure there is someone else on RUclips that has done it though.

  • @matheusa3160
    @matheusa3160 2 года назад +2

    Great content mate! About the LEDs, how many can I use without draining too much current?
    Also do you use paralell or series connections for those LEDs?

    • @DarkArtGuitars
      @DarkArtGuitars  2 года назад

      The LEDs are digital ones, so the data line is daisy chained and the power is hooked up to 5V (so I guess parallel if you want). The maximum number depends on the brightness you run them at. With my setup I will exceed the USB spec if I set them to 100% power, but they are so bright that that is not needed (I just limited them in the firmware).

    • @matheusa3160
      @matheusa3160 2 года назад

      @@DarkArtGuitars Nice! Thanks for the explanation!

    • @matheusa3160
      @matheusa3160 2 года назад +2

      Btw I'd love to see a video talking more about LEDs and possible setups :)

  • @tra2118
    @tra2118 2 года назад

    Love the vid

  • @davidespigolon8170
    @davidespigolon8170 2 года назад +3

    what’s the amperage for all leds?

  • @nixon4032
    @nixon4032 2 года назад

    hi i was wondering if you can do a tutorial for making keyboard pcb? thanks anyways great video

  • @anventia
    @anventia Год назад +2

    Cool project! I'm currently making my own custom PCB and have a couple questions.
    How much current did all the LEDs take up? Did you have to limit the brightness in QMK? Also, I might have missed it, but were there any resistors connected to the LEDs?

    • @DarkArtGuitars
      @DarkArtGuitars  Год назад +2

      The LEDs are digital addressable ones, so there is only a resistor for the dataline after the controller. I have them limited to around 2/3 power in QMK which is still plenty bright, anything more and they get warm anyhow and too bright for my taste.

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

      @@DarkArtGuitars According to my caculations, 87 LEDs running at only 10mA each still exceeds the current limit of a USB 2.0 port. How did you get it to work with the current limit of

    • @DarkArtGuitars
      @DarkArtGuitars  Год назад +3

      @@anventia By running at below 10mA, the power draw drops off quite drastically when you start limiting the brightness.

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

      @@DarkArtGuitars Cool, thanks for your help!

  • @conezord
    @conezord 7 месяцев назад +1

    Wow, I was searching for a video like that for ages! Creating my own Keyboard is a project that I'm dying to die for. Many areas that need research and learning, how long it took for the project to go from zero to Full Build? And how much did you spent in the pcbs, including the Microcontroller?

    • @DarkArtGuitars
      @DarkArtGuitars  7 месяцев назад +1

      It was quite a while ago, so I don't remember the details, but it probably took me a couple of months from first planning to finished video. Cost wise it's a bit harder to say since I didn't pay for the pcbs. But all in all around the same as I would have spent on a nice off the shelf keyboard, but with lot's more fun and more pcbs left.

    • @conezord
      @conezord 7 месяцев назад

      Wow, good to hear that! I'm planning on pursuing quite the same path that you did, building the schematics into a full PCB project! wish me luck haha@@DarkArtGuitars

  • @Ramen5914ttv
    @Ramen5914ttv 2 года назад

    What usb c port do you use here?

  • @petergriffin414
    @petergriffin414 2 года назад

    I love it

  • @angycatgaming5389
    @angycatgaming5389 2 года назад

    Does the usb-C connector work too when using a Teensy or do you have to use the Teensys?

    • @DarkArtGuitars
      @DarkArtGuitars  2 года назад

      You have to use the Teensy, unless you go ahead and solder wires to the usb connector of the Teensy, as it does not break those pins out to a convenient pad.

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

    What pcb design software?

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

    Could you explain why you are using 2 microcontroller? The ATMega and the USB teensy? From what I understand, you should only need 1 for each keyboard (so if it's a split keyboard, 2 MCs, meaning 2 Teensy). Thank you for the very informational video by the way!

    • @DarkArtGuitars
      @DarkArtGuitars  Год назад +1

      I'm only using one, there is just the option to use either on the same pcb.

  • @baichuanouyang3259
    @baichuanouyang3259 2 года назад

    First of all, amazing video! Really enjoyed it! might be better if there was less ums and uhs. Apart from that, great video!

  • @TravisKelleher
    @TravisKelleher 2 года назад

    Where did you find the orange shine through keycaps?

  • @otisp24
    @otisp24 2 года назад +1

    hi there! do you know when the option with atmega32u4 installed will be back in stock

    • @DarkArtGuitars
      @DarkArtGuitars  2 года назад

      Unless there is very high demand probably not soon, as I would have to order new components for it, which doesn't really make sense if I only sell one every few months.

    • @otisp24
      @otisp24 2 года назад

      @@DarkArtGuitars ok thanks anyways

  • @user-il9zw2pk3e
    @user-il9zw2pk3e Год назад

    How much keys can connect to ATmega32U4? And how its will be slower then regullar keybourd? THX

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

    your hands are so beautiful! for real! i wish i had those

  • @MuzikalRay
    @MuzikalRay 3 года назад

    would this pcb work with the cm storm quick fire rapid?

    • @DarkArtGuitars
      @DarkArtGuitars  3 года назад

      probably not, it looks like the function row has a bigger distance from the text block than on my design.

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

    link for schematics and altium pcbs?

  • @blakebanu3890
    @blakebanu3890 3 года назад

    Would the case fit any tkl sized pcb?

    • @DarkArtGuitars
      @DarkArtGuitars  3 года назад

      That depends on the dimensions, it is sized quite tight, so if you're using a different PCB that is larger, it might not fit. The layout itself would fit any standard TLK PCB however.

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

    Noob here. I build keyboards but have never messed with custom PCB but am extremely curious. What is the process you do at 4:15? Is that some sort of paste soldering? Do you maybe have some links describing this process?

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

      It is solder paste to solder the surface mount components. You can also build a keyboard with just through hole components though if you don't want to mess with reflowing your boards. Check out GreatScott for more electronics videos.

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

      @@DarkArtGuitars So you don’t heat solder paste? It looked like you simply placed the SMD components and they stuck. I have a really fun time attempting to remove and replace SMD components with my iron. Lol

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

      @@h1ddens0ng After placing the components on the solder paste, you do have to melt it of course. You can either use a hot air gun, reflow oven, or hot plate to do so. In a pinch you can also use a soldering iron to replace individual components, but it's a bit tedious.

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

      @@DarkArtGuitars what were you using in the video? I didnt see a hot plate and it appeared the components stuck immediately

  • @MDHorror11
    @MDHorror11 2 года назад

    What is the purpose of the teensy? Just to program it?

    • @DarkArtGuitars
      @DarkArtGuitars  2 года назад

      The teensy is used instead of the other microcontroller, so it handles the connection of the switches and the translation to the USB protocol. If the microcontroller is used, the spot for the teensy can be left blank, it's just to give me some options.

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

    How does one even start making a pcb? I really want to make my own 104 with a small Oled but it just looks so daunting

    • @DarkArtGuitars
      @DarkArtGuitars  Год назад +1

      I have a beginner keyboard building series on my channel that I just finished, I show quite a few tips and tricks to get started in there.

  • @irroseenel7355
    @irroseenel7355 2 года назад

    type c CC resistor can replace 4.7kohm? I don't have 5.1k

  • @Fr4nc0xP
    @Fr4nc0xP 3 года назад +2

    Id love to build one of these too!
    But i'm confuse how to do it 🤣

    • @DarkArtGuitars
      @DarkArtGuitars  3 года назад +3

      Have a look at some of my other keyboard videos, once you grasp the general concept it is actually quite straight forward.

    • @Fr4nc0xP
      @Fr4nc0xP 3 года назад +1

      @@DarkArtGuitars Will do it!

  • @NortelGeek
    @NortelGeek 2 года назад

    I want to make an ALPS board!

  • @cornolinius
    @cornolinius 2 года назад

    Am i too stupid or is the PCB simply not open sourced?

    • @DarkArtGuitars
      @DarkArtGuitars  2 года назад +1

      I have not released the PCB files as the version I tested had mistakes and while I fixed them in the software I have not tested the updated version, so I also did not release it. If I release something to the public I want to be 100% sure it actually works.

    • @cornolinius
      @cornolinius 2 года назад

      @@DarkArtGuitars Thanks for the reply!
      While i get why you are not releasing the files, its a bit sad because i think the spirt of the DIY community is that the everyone gets a chance to improve somethin, use existing projects as a starting point.
      But i do respect your decision.

    • @DarkArtGuitars
      @DarkArtGuitars  2 года назад +1

      @@cornolinius There is nothing too special to my design, it's just a key matrix and the components of an arduino pro micro on a custom PCB. There are quite a few videos out there going into detail on basically this exact schematic who have also released their files.

  • @ChristopheMartel22
    @ChristopheMartel22 2 года назад

    ur link doesn`t work

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

    Id pay 'serious' money if someone would make me my dream PCB so I can print it

  • @swide2750
    @swide2750 2 года назад

    4:28 lean? lulw

  • @frisken1730
    @frisken1730 3 года назад +2

    bigbrain

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

    Megamind

  • @pedromenegazzo497
    @pedromenegazzo497 3 года назад

    you should talk clearer

    • @commandercody3935
      @commandercody3935 2 года назад +3

      Dude... What if he can't... He might not be a native English speaker so English may be a lot different to him then his native language.

  • @PodcastTakes384
    @PodcastTakes384 3 года назад

    could you please answer me because I need to know the recomended wattage for soldering @Datulab Tech

    • @DarkArtGuitars
      @DarkArtGuitars  3 года назад

      wattage of what?

    • @PodcastTakes384
      @PodcastTakes384 3 года назад

      @@DarkArtGuitars of the solder iron

    • @PodcastTakes384
      @PodcastTakes384 3 года назад

      @@DarkArtGuitars how hot should it be

    • @lars2299
      @lars2299 3 года назад

      I don’t think he used a soldering iron - it was a solder paste which when heated solidifies as a solid

    • @bl4ck986
      @bl4ck986 2 года назад

      450c

  • @MrOmiez
    @MrOmiez 2 года назад

    Hello David. I sent you a DM on your Twitter account. If you could be so Kind and answer. Tnx

    • @DarkArtGuitars
      @DarkArtGuitars  2 года назад

      Sorry, I don't really use Twitter anymore. You can message me on Instagram if you want.