How to Set Up ZMK Firmware From Scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ธ.ค. 2024

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

  • @HaMMeR33661
    @HaMMeR33661 11 หลายเดือนก่อน +14

    Actually testing ZMK myself, I spent like an hour on all the compiling and waiting until I found that direct pins need different GPIO_ flags than your video!!
    They need to be flipped for direct, like this: ,
    Like so that others don't get burned like me.

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

    Genuinely helped me a lot, I have struggled to create a shield for a very long time. I just managed it yesterday but this video would have made things much easier!
    Thanks. Thanks also for the nice little tricks like &bootloader key, I was looking for this one

  • @vincentaudibert9789
    @vincentaudibert9789 9 หลายเดือนก่อน

    Super quick & but sharp and sufficient explanation to de-mystify this nice nano subject !

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

    So guys, just as usual if you have any questions… feel free to ask! Also, as mentioned in the video check out both my Discord (discord.gg/vN6X3z8eyv) and the official ZMK Discord (discord.gg/uGrqpuWaut) for even more help 🙂

    • @70RCH
      @70RCH 2 ปีที่แล้ว

      I've got some nice!nanos arriving today, this really helped me feel a bit more prepared!
      Do you have any plans to cover nice!view displays? I got a lot out of your OLED video as well.

  • @GreenStorm01
    @GreenStorm01 หลายเดือนก่อน +1

    What do I need to edit, when adding a nice!view display? I enabled everything I could find for my Sofle build - but nothing happens, not even static. I'm positive that the soldering is alright.

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

    ScottoGang! Thanks for the ZMK video =]
    I’ll be doing a wireless Corne soon and I have been procrastinating getting ZMK set up~

  • @ardamanjyrwa1669
    @ardamanjyrwa1669 2 ปีที่แล้ว

    lets goo been waiting for this..... keep up the good stuff!!

  • @lambmaster
    @lambmaster 6 หลายเดือนก่อน +4

    Thanks for this, but... what is the prerequisite knowledge for this? I don't even know what a shield is (yeah I looked it up but I'm just using this as an example). It seems like I'm supposed to know a bunch of stuff before watching this video. I did the ZMK tutorial on getting started, but everything else in the docs also seem to assume some prerequisite knowledge. PS I do know Git and Github, as I am a web developer.

    • @joe_scotto
      @joe_scotto  6 หลายเดือนก่อน

      I have a guide to cover the "missing" info coming eventually. I have a blog post on the process that might help clear it up for you now though: scottokeebs.com/blogs/guides/compiling-qmk-firmware-using-github-codespaces

  • @lumpiaedits4944
    @lumpiaedits4944 ปีที่แล้ว +3

    Where did you get the overlay file from

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

    thansk for talking about ZMK. can you maby make a video about have to use a i/o expander in zmk

  • @alexmiller7879
    @alexmiller7879 4 หลายเดือนก่อน +1

    One thing that wasn't mentioned, that should be, is if you are grounding the pins in direct wire, You need to set it to GPIO_ACTIVE_LOW | GPIO_PULL_UP Otherwise it's not gonna output anything.

  • @pgpilotpete
    @pgpilotpete 2 ปีที่แล้ว

    Nicely done. Thanks for taking the time to put this out.

  • @alexanderpopov1411
    @alexanderpopov1411 หลายเดือนก่อน

    your video helped a lot, thank you bro!

  • @Dp-wi7tz
    @Dp-wi7tz 7 หลายเดือนก่อน

    while compiling im getting an error in west build, im getting a cmake error and a zephyr error can you help?

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

    Finally! Typing this comment from my wireless keyboard 😎 Thanks Joe

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

    How would I do this with an exciting GitHub zmk firmware?Building a totem and I’m trying to get the uf2 file

  • @p0ppytears
    @p0ppytears หลายเดือนก่อน

    I follow these steps exactly and it always says 'fatal: destination path '.' already exists and is not an empty directory' in regards to zmk-config-kbname.

    • @joe_scotto
      @joe_scotto  29 วันที่ผ่านมา

      You already have a folder there with that name, use "cd" to change to that directory.

  • @EnterpriseKnight
    @EnterpriseKnight 7 หลายเดือนก่อน

    The new Keychron B1 seems to have ZMK firmware.

  • @RichardBronosky
    @RichardBronosky 9 หลายเดือนก่อน

    5:40 What he is saying here does make sense. However, I am confused as to why you didn't need to use `GPIO_PULL_DOWN` for the `col-gpios`. Any idea why it's different?

    • @tucker4459
      @tucker4459 8 หลายเดือนก่อน

      I believe the column pins become outputs and the row pins become inputs. Only inputs need to be biased.

  • @snowypearl9
    @snowypearl9 5 หลายเดือนก่อน

    This video helped me a lot! The only part I'm stuck on is the &bt keymap; is that keymap necessary for the keyboard to work with bluetooth? What happens if I don't include it?

    • @joe_scotto
      @joe_scotto  5 หลายเดือนก่อน

      It’s advisable to add it otherwise you’ll have no way to reset Bluetooth or change profiles.

  • @Dp-wi7tz
    @Dp-wi7tz 7 หลายเดือนก่อน +1

    why did he use pro micro when he was making it for a nice nano? are they interchangeable (in code)

    • @joe_scotto
      @joe_scotto  7 หลายเดือนก่อน +1

      That’s how ZMK names the pins.

    • @Dp-wi7tz
      @Dp-wi7tz 7 หลายเดือนก่อน

      @@joe_scotto thank you very much

  • @AmazingSpanoMan
    @AmazingSpanoMan 10 หลายเดือนก่อน

    This is great but how do we do this for a wireless corne?

  • @trojan334
    @trojan334 8 หลายเดือนก่อน

    I do not know why, but for me is only works when i swapped .defconfig file and .shield file.

  • @bobbyhutter5654
    @bobbyhutter5654 2 ปีที่แล้ว

    Good stuff Joe!

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

    Thanks so much, this helps me a lot, quick and focused tutorial. Are interested to do explanations on the rgb modules or battery?. Also i have an example for the complete list of pins for the nicenanov2, you may know that has 3 extra middle pins than the normal arduino

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

      Many keep asking for RGB so it’s on the content list :)
      As for the battery, I have a video where I briefly explain it at the end: th-cam.com/video/DvWJjn1CbM4/w-d-xo.html
      The TL;DW is that you just get a lipo and solder it to the plus and minus of the Nice Nano. Typically 100-500mah and will last about 1-5 weeks.

    • @jgmora
      @jgmora 2 ปีที่แล้ว

      @@joe_scotto actually I have resolved the RGB part, is pretty cool, and thanks for your suggest

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

    I think I am missing a step here. Through what terminal? My own computer? through the github's terminal. Kinda confused here.

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

      You use the terminal on your computer and then push it up to GitHub where it’s compiled for you.

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

      @@joe_scotto i tried the terminal on my computer but it couldnt load the list that i saw in the video. Am i suppose to download something?

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

      does it make a difference if i use a windows computer instead of a macbook?

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

      @@ericfayhuynh Yes. You’ll have to use the windows commands, you’ll see a tab on the website for them.

  • @bricecarpentier5817
    @bricecarpentier5817 2 ปีที่แล้ว

    Thanks man! Super clear and didactic!

  • @70RCH
    @70RCH 2 ปีที่แล้ว

    How would you be able to reach the bootloader binding with this keymap? 9:00
    It looks like it's the same position as the MO switch, so I'm just not sure how that works. Thanks!

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

      You wouldn’t lol. I just realized that… weird it compiles actually.

    • @70RCH
      @70RCH 2 ปีที่แล้ว

      @@joe_scotto Ah okay, appreciate the answer -- I thought I was missing something!
      Great video, I'll definitely rewatch this a few more times before I do my nice!nano build.

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

    Got my firmware built for xaio ble successfully but i dont know how do i connect via Bluetooth. I have connected this to pc via usb. Can i still connect via Bluetooth if its connected via usb, can i just use usb for power ?

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

      Key bindings are working via usb so the firmware was flashed. My only confusion is how do I use the Bluetooth pairing without battery and just usb power, is it possible?

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

      I'm not familiar with that controller but I know on the nice!nano it can use USB as power but will default to a usb connection if you connect it to a computer. If you try powering it off a usb battery pack you could test if it works.

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

      @@joe_scotto I figured it out. Thanks for your inputs. Got it working on usb data cable power, power bank via usb and also battery connected to the battery pins of the board.

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

      @@joe_scotto added this to the conf CONFIG_ZMK_KEYBOARD_NAME="Sanket XIAO" and also had to key bind and press &bt BT_CLR to clear and then the board showed up.

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

    What do you mean by 'drop the file onto it' to flash it?

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

      You drag and drop the .uf2 firmware file that the compilation command outputs onto the controller.

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

    I'd say I prefer KMK for now; it doesn't need to be compiled, an environment nor flashing unlike QMK - everything is on the board (most likely nice!nano or raspberry pi pico), all you need is to tinker with 2 files that are accessible with a click of a button

  • @raphaelmosaic
    @raphaelmosaic 2 ปีที่แล้ว

    Great video!! @joe scotto Would love a video tutorial explaining on how to solder the battery packs to a wireless keyboard. also guidance on how to mount the battery package. Would love to have a super thin and light ortho split keyboard which can fitt in my pocktets and which connects to my ipad mini via BT and where I can basically work from everywhere with. Ideally also sticking it to my pants with valcro tapes or a magnetic connection. Ben Vallack made a video on how he wears his BT split keyboard but never made a tutorial on how to build the BT version of the sweep...

  • @J_li-in5cy
    @J_li-in5cy ปีที่แล้ว

    hey can you please make a video how to setup vial or via on ZMK corne ❤

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

      ZMK doesn’t support any graphical configurators.

    • @J_li-in5cy
      @J_li-in5cy ปีที่แล้ว

      @@joe_scotto oh sh*t, ok thank you very much, than i will switch to qmk on my corne

  • @Schmordan
    @Schmordan 10 หลายเดือนก่อน +1

    Hey, how do you get the .shield , .defconfig and .overlay files?
    It would be a bit tedious having to copy out all the code from the .overlay file from your video.

  • @gtatomek
    @gtatomek 5 หลายเดือนก่อน

    when you are recording something left some margin at the botton yt gui :P

  • @jadam42
    @jadam42 7 หลายเดือนก่อน

    why go through everything, but then not show the last 3 steps?

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

    Cool. But wtf is ZMK?