-
BlackPill Prototype Built
09/10/2024 at 22:19 • 0 commentsBlackPill prototype build testing:
I received the five prototype boards today and set about building a test board (blackpill version), here are the changes required.
- Minor edit of code (I had two keys reversed), fixed for the next phase (discrete board build)...
- As I used an ISO layout, I had to change one QMK key code (replace KC_TILDE with KC_NUHS)...
Assembly notes and comments:
The diodes and hot-swappable sockets were pretty easy so no issues with these, as for the RGB leds, I didn't bother, perhaps another time but will change these out for an easier to solder version. That was all the changes for general keyboard functionality, it works perfectly. Next the code for the macro keys, RGB and rotary encoder...
I have two excellent AKKO keyboards, if I can achieve similar results to these I will consider it a success ;)
-
Building with tiny SMD parts
09/08/2024 at 17:44 • 0 commentsI've received parts for the BlackPill prototype version and to be completely honest they are tiny, perhaps too tiny.
The diodes will be difficult enough being there are 99 of them and no stencil, but I'm not at all confident I can solder the current RGB LEDs even with the stencil supplied, they are simply too small for comfort and my eye sight is not good.
I will give it a go but may have to update the RDG leds from WS2812B to SK6812-E as they mount on the back side (allowing one stencil for everything), and they are easier to hand solder.
-
Update to 10x10 Matrix
08/22/2024 at 13:39 • 0 commentsSwitches to 10x10 matrix (20 free pins required for matrix, as opposed to 24 previously). This gives me all the pins I required including the flash option to store macros (plus one spare pin).
Smaller keyboards with fewer keys probably wont have this issue. The STM32F4xx (48 pin) should handle a full size keyboard using a 10x11 matrix but that's for another time...
As I said previously, I'm building with the Blackpill to test everything prior to building with discreet components. Quite a learning experience, especially trying to route a 10x10 matrix, not an easy task on two layers, so I switched to four.
Of course I had to modify the code and keyboard_layout,json etc., but that bit is easy enough. Some more checking of the Kicad file, then off to PCBWay...
keyboard_layout.json (from: keyboard_layout_editor.com)
[{f:3,a:7},"Reset",{x:0.25},{"p":"DCS","a":7,"f":4,"fa":[5]},"Esc",{"x":1},"F1","F2","F3","F4",{"x":0.5},"F5","F6","F7","F8",{"x":0.5},"F9","F10","F11","F12",{"x":0.25,"f":3},"PrtSc","Scroll Lock","Pause"], [{y:0.25,"f":6},"M1",{"x":0.25,"a":5,"f":5},"¬\n`","!\n1","\"\n2","£\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=",{"w":2},"Backspace",{"x":0.25,"a":7,"f":4},"Insert","Home","PgUp"], [{"f":6}, "M2",{x:0.25},{"f":6,"w":1.5},{"f":6,"w":1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{","}",{"x":0.25,"w":1.25,"h":2,"w2":1.5,"h2":1,"x2":-0.25},"Enter",{"x":0.25,"f":4},"Del.","End","PgDn"], [{"f":6}, "M3",{x:0.25},{"f":6,"w":1.75},"Caps","A","S","D","F","G","H","J","K","L",":","@","~",{"x":1.5},"V↓"," >","V↑"], [{"f":6}, "M4",{x:0.25},{w:2.25},{"w":1.25},"Shift","|","Z","X","C","V","B","N","M","<",">","?",{"w":2.75},"Shift",{"x":0.25},"<<","↑"," >>"], [{"f":6}, "M5",{x:0.25},{w:1.25},{"w":1.25},"Ctrl",{"w":1.25},"Menu",{"w":1.25},"Alt",{"p":"DCSSPACE","w":6.25},"",{"p":"DCS","w":1.25},"Alt",{"w":1.25},"FN",{"w":1.25},"Menu",{"w":1.25},"Ctrl",{"x":0.25},"←","↓","→"]
Note for above image: Might increase left shift from 1.25 to size to 1.75, then move \ to far right (before right shift) and reduce right shift from 2.5 to to 1.5. This might make more sense...
3D Image
-
STM32F411 Blackpill Version
08/18/2024 at 00:53 • 0 commentsBefore committing to ordering the boards and associated costs, I though I better test the keyboard circuit design. I removed all of the hard to solder components and replaced them with a BlackPill Dev Board (exactly the same electronics as my board).
This only leaves the larger components, Diodes, RGB Leds and Hot-swappable connectors which most of us should be able to handle with a good soldering (I use a KSGER which I highly recommend).
This extra step (proof of concept) before spending money only to find I made a mistake with the layout, code or both, is not essential but realistically it's probably necessary considering the complexity involved.
So to conclude, the new board is basically the same except we now use a Blackpill for the electronics and it now includes a rotary encode (for volume and RGB dimming). It should be much easier to build and program...
Once testing is done (not sure if some of GPIO's I used are problematic), I can continue with the embedded version... See project log for update, there are a few...
Image:
Mike
-
Updates: Stabilizer & Footprints
08/15/2024 at 15:36 • 0 commentsLest I forget, I added another stabilizer (2U) for the Enter Key, also, edited marbastlib-mx:SW_MX_HS_CPG151101S11_xxx to include graphics to align the RGB led (had to eyeball the placement as I can't find and official dimensions).
More...
-
QMK Code Testing
08/12/2024 at 11:18 • 0 commentsFrom the limited experience I have with QMK, it appears to be a little more Windows / Mac centric, case in point, the QMK Toolbox (recommended GUI), only contains Windows and Mac programs, for Linux it's pretty much CLI (command line interface) all the way...
There's a lot of quality documentation but I could not find a basic walk through on getting a newly designed keyboard up and running, however, I did find lots on setting up or modifying an existing designs which helped...
*Will add link to the instructions I used that did not work (left all five test board stuck in DFU mode) as soon as I find it again*
Test Board used: STM32F401/411 BlackPill
Process:
- CD to your qmk_firmware directory
- qmk new-keyboard ... follow instructions
- make ayla_411:default
- ./flash.sh ayla_411_default.bin
The flash.sh is available on git, not essential but useful...
See: https://github.com/phpbbireland/mioke80/tree/main/qmk/ayla_411
Essentials:
https://docs.qmk.fm/hardware_keyboard_guidelines#naming-your-keyboard-project
-
Media Options
08/09/2024 at 17:01 • 0 commentsFor this version I will use keys to control audio... Volume Up/Down, Next/Previous Track, Play/Pause.
In the next version I will use a Rotary Encoder for audio and RGB brightness...
-
Git Repository
07/25/2024 at 19:22 • 0 commentsI added the Kicad file to my Git Repository, mind you, some footprints and 3d images are mixed sources, you may have to add your own or re-link them...
-
Adding RGB
07/25/2024 at 15:52 • 0 commentsTo be added...
RGB (may switch to four layer PCB if routing proves difficult)... completed
Rotary encode primarily for volume and brightness control...
...