CMD - Dactyl Manuform Build

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] [Music] in November of 2015 at a conference foreclosure developers Matt a dureth gave a presentation on the dactyl keyboard in the presentation link below Matt outlines how he went about creating the dactyl keyboard which is quote a parameterised split hand concave columnar organ ama keyboard inspired by the ergonomics of the Kinesis advantage keyboard matt use closure to generate commands in the somewhat cumbersome open Hesse CAD syntax to generate the 3d models for the right and left enclosures of the keyboard with these models generated the keyboard enclosures can be then 3d printed which will accommodate the key switches and other electronics required to produce a DIY organ ama keyboard as a self-professed fanboy of the Kinesis advantage myself both Matt and I have stated I use one of these safe my hands I've been using the advantage too for about a year now and I find myself lugging it between school and work on a regular basis and with the vid in full swing at the time of this video I had some hobby time burning a hole in my pocket since the 2015 debut of the dactyl keyboard many Forks of Matt's original repository had been made the dactyl manye form is a twist on the original dactyl keyboard this changes the arrangement of the original thumb clusters in order to lower the overall height there was a fork of this which allowed for the ability to accommodate different types of key switches but with a modified thumb cluster with only five buttons a Kinesis fanboy like me need six after some searching I arrived at a fork created by a github user called carbon fete who kept the 6 button thumb cluster I made other parameterised improvements that I was looking for so I forked this repository and got to work [Music] all right time to start gathering some components I went with parts from Amazon for my build but you can get many of these components at a fraction of the price shown on screen from Aliexpress I'm an impatient guy and I paid a premium for Amazon stock instead of waiting 1 to 2 months for them to ship so to get the keyboard to actually keyboard we'll need some microcontrollers both the left and right hand sides of our keyboards are going to use an Arduino Pro micro to detect keystrokes and send data to the host machine we're going to be using Q and K toolbox to flash these guys saving us the huge hassle of reading the keyboard driver from scratch more on that later the two halves of the keyboard will communicate to one another using a 3.5 millimeter cable just make sure it has at least three conductors in them for this connection we'll also need to solder two jacks to the pro micros the PJ 325 form factor shown here is compatible with the controller insert found on my github for the key switches I went with oat mo Browns I'm used to the Cherry MX browns and the Kinesis so I figured that I'd go with these guys for packs of 20 gives me enough for the keyboard I'm looking to build will need plenty of 1 n 4 1 4 8 diodes to wire up the key matrix 74 of them to be exact I went with this pack of 100 I bought a set of key caps these guys seem cheap enough but these weren't enough to handle the extra 10 1.5 spaced keys that I needed these are the same size as a standard tab key so I went with these guys from pimp my keyboard and I picked up some purple singles and while I was at it the rest of the components were things that I already had on hand this includes some ribbon cable and some cat 5e cable that lying around having some solid core wire on hand is going to be useful for wiring up that key matrix you're gonna need a pair of side cutters and some wire strippers some stranded wires nice to have and a set of helping hands will help maintain your sanity while soldering for which we'll need a soldering iron and some rosin core solder which should round out the electrical side of things I use my trusty CR 10 and some black PLA filament to print the parts and I made the decision to paint the enclosure so for that I used some sandpaper to prep the surface so spray primer to help everything stick cheap acrylic craft paint and brushes got me through the painting process and I topped it all off with some spray gloss so now we have our parts together time for us to generate some 3d models [Music] so if we want to start making customized keyboards we need to set up a few different tools first the first one is lino gin its job is to manage our actual closure project the closure runtime will execute our closure code which we can tweak to produce different keyboard styles the closure code spits out the commands that open s CAD is going to be they're 3d models for our keyboard and it can help put these models as standard STL files and once we have those we can use some slicing software to take those STL files and then turn them into g code which our 3d printer needs to actually print the part I'm going with proofs a slicer but you can use whatever slicer you want for this if you're simply interested in using the STL file that I used in this building you can just grab them from a github repo including the custom microcontroller insert that I made if you aren't interested in seeing how to set up Lonnegan closure and open s CAD and Linux feel free to skip ahead to the time stamp on the screen but for the rest of you here's how to get setup so I'm setting up the tools and Arch Linux but the instructions are pretty much the same for any distro that you might be on first we'll go to my github link is in the description click clone or download and copy that to your clipboard bring up a terminal and here's my home directory I'm just gonna make a temporary directory for now and we'll go into there and then type git clone and it paste that like it I'll download all the files from github and when that's done we can navigate to the source directory inside of there and inside of there where there's another directory which contains our dactyl dot clj file so open that up in vim so this is the actual file you can modify to change different parameters so I've gone with a 5 by 7 layout but these different parameters set so you can tweak this to your liking I've modified the script to only produce left and right models for the keyboard and that will spit them out as left and right best catch in the things folder that's how the actual script works but we need to set up our development environment first so we'll set up our tools here start with line engine go to line Engine org here's the instructions here so it tells us to download a lean script the line script I guess copy that link here let's go back to our home directory here I'll make a directory called bin and we'll change directory into there now type curl - capital o and paste that link in and that will download the line script we need to make it executable so chmod all users plus X and then the path to the script and then just run the script by typing the line and their line engines installed so now we can go to setup closure so go to closure org get started and then we'll follow the install instructions for linux and we're downloading another script here with this command so copy that command just paste that in and that'll download the Linux - install etc script make that executable chmod plus X and then the path to that script and then we'll run that script by typing sudo dot slash and then the name of the script tuck in our password and here we go so now closures all set up so now what we can do is we'll go set up open s CAD I'm on arch so depending on your distro this is where it might vary so it's available on pac-man so type sudo pac-man - capital s open s CAD yes and then we'll test it out all right it's working done so let's go back into the github folder this is the main directory so you type wine generate and it will generate the open s CAD models in a folder called things when that's done we'll navigate to the things folder we can see we've got the left and right s CAD files inside here so we can open up let's say the left one and open s CAD and this is what it'll look like so you can scroll out there's our model there so in order to get this out as an STL file into Prusa so we'll need to click render which i think is f6 and when that's done we'll go to file export as STL I'm just going to save this to my desktop that's left and then we can open that up so here is proves a slicer so we can slice this model now here's the problem I ran into the bottom of the model has some geometry it thinks it needs to support so to fix that I just went to the cut tool set the seat height to one millimeter and keep the top half and then I'm just gonna save the board as an STL file here so I saved this to my desktop as left - okay to start STL now the actual files on my github are the fixed versions and at 0.1 millimeter layer height it looks like it's only gonna take many hours lay down two days of printing and some cleanup later this is what I've got now it looks a little plain so let's slap some paint on it [Music] how did you die [Music] [Music] [Music] [Music] [Music] get this thing wired up I hopped over to the qmk firmware rebuild the wiring diagram found there shows how to wire up the two pro micros to our T TRS jacks the jacks need to be wired to ground VCC and pin three on each micro then I checked out the 5 X 7 folder and looked at the config dot H header file we can see which pins are used for both the row and columns for our key matrix by looking at the hash defines I use this pin out diagram linked in the description to determine which pins need to be connected the diode direction is also indicated as column to row which means that the diodes need to allow current to flow from the colonnades to the Romans blast file of interest was 5 X 7 dot H which indicates the specific rows and columns each key switch needs to connect to I made a reference image and full schematic which can be found on my github repo now it's cue the soldering montage [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] [Music] to get this thing programmed I'm using the qmk configurator tool and for my keyboard I'll go with the hand wired / tactile man you forum / 5x7 as my keyboard the default layout is what I use to make my schematic so I actually don't have to change this around whatsoever so I'm gonna name Akeem at CMD doctor Mannie for him and you can change the appearance of the on-screen display by a drop-down menu here I just went with space-cadet because it's easier to read now there's a default key map that you can go with here just to test things out but I'm gonna take the time to tweak it to something more akin to the Kinesis layout better news too now that I've got a key map that I'm happy with I can then compile it so if I compile I'm way for our cosmic potato to finish baking and once that is complete we then have the option to download both the full source code and the firmware I'd suggest downloading the full source code in order to obtain a file called key map JSON so this file you can then actually upload to the reconfigure ater tool without having to do that programming thing all over again as far as the key Maps concerned the file that we need to flash our actual microcontrollers is the docx file so you can get this by clicking the download firmware button and then just save that somewhere where you can get it later and you're also going to need to install qmk toolbox so once that's installed you can open it up then go locate your hex file and then click flash [Music] so if this happens to you like it did me what you need to do is just hit the ground and reset lines together just short them out with a piece of copper the problem is is that Windows is trying to install the Arduino drivers before you have a chance to flash it so what I did is just do it again be quick on the draw hit flash and then we can get our boards actually programmed so now you can bring up the qmk configurator tool and just test out your key map so far so good looks like all the buttons that I'm looking to use our programmed so here's a typing demo [Music] [Music] [Music] [Applause] [Music] you
Info
Channel: ConstaMentalDrift
Views: 58,697
Rating: undefined out of 5
Keywords: dactyl manuforn, constamentaldrift, ergonomic keyboard, mark hooper, diy keyboard, handwired keyboard, QMK, electronics, mechanical keyboard, kinesis advantage, kinesis keyboard
Id: CxNKWNKBLMs
Channel Id: undefined
Length: 21min 6sec (1266 seconds)
Published: Tue Jul 07 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.