Skip to content

Commit

Permalink
Merge pull request #12 from oldmanz/main
Browse files Browse the repository at this point in the history
Add 3D printed mount models and update keymap to match hybrid
  • Loading branch information
kanru authored Mar 23, 2024
2 parents 8c0c5c9 + f742fe5 commit 73cc0cd
Show file tree
Hide file tree
Showing 10 changed files with 2,856 additions and 5 deletions.
2,825 changes: 2,825 additions & 0 deletions 3d_models/HHKB NiceNano Mount.step

Large diffs are not rendered by default.

Binary file added 3d_models/hhkb-nice-nano-mount.stl
Binary file not shown.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,28 @@ GPIO to power the HHKB Pro2 daughter board.
![board](./docs/images/board.jpg)

![schematics](./docs/images/hhkb_nicenano_v2_Schematics.png)


## 3D Printed Mount

The 3D printed mount (@oldmanz) is designed to fit in the HHKB Pro2 case in place of the main board. It holds the Nice!Nano, a connector for the daughter board, a reset button, and a toggle switch for power.

3D Models are in the `3d_models` directory.

![3d_mount](./docs/images/3d_mount.jpg)

![3d_mount_components](./docs/images/3d_mount_components.jpg)

![3d_mount_components_2](./docs/images/3d_mount_components_2.jpg)

![3d_mount_soldered_poorly](./docs/images/3d_mount_soldered.jpg)

![3d_mount_assembled](./docs/images/3d_mount_assembled.jpg)

![3d_mount_rear_io](./docs/images/3d_mount_rear_io.jpg)

- The usb port will need to be filed a bit to fit usb-c.
- The switch was something I had laying around, so I am unsure of its part number.
- The reset button is behind a 3D Printed Cap, by alienman82. A hole is drilled through it.
- https://github.com/robotmaxtron/HHKB-usb-dust-covers

11 changes: 6 additions & 5 deletions config/boards/shields/hhkb_pro2/hhkb_pro2.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h>

#define DEFAULT 0
#define FN 1
Expand All @@ -24,18 +25,18 @@
bindings = <
&kp K_POWER &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp INS &kp DEL
&kp CAPS &trans &trans &trans &sys_reset &trans &trans &bootloader &kp PSCRN &kp SLCK &kp PAUSE_BREAK &kp UP &trans &kp BSPC
&trans &kp K_VOL_DN &kp K_VOL_UP &kp K_MUTE &kp K_EJECT &trans &kp KP_MULTIPLY &kp KP_DIVIDE &kp HOME &kp PG_UP &kp LEFT &kp RIGHT &trans
&trans &trans &trans &trans &trans &to BT &kp KP_PLUS &kp KP_MINUS &kp END &kp PG_DN &kp DOWN &trans &trans
&mo BT &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE &kp C_EJECT &trans &kp KP_MULTIPLY &kp KP_DIVIDE &kp HOME &kp PG_UP &kp LEFT &kp RIGHT &trans
&trans &trans &trans &trans &trans &trans &kp KP_PLUS &kp KP_MINUS &kp END &kp PG_DN &kp DOWN &trans &trans
&trans &trans &trans &trans &trans
>;
};

bt_layer {
bindings =<
&to DEFAULT &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
&out OUT_TOG &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none &none &none &none &none
&none &bt BT_CLR &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &bt BT_CLR &none &none &none &none &none &none &none &none &none
&none &none &none &none &none
>;
};
Expand Down
Binary file added docs/images/3d_mount.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3d_mount_assembled.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3d_mount_components.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3d_mount_components_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3d_mount_rear_io.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/3d_mount_soldered.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 73cc0cd

Please sign in to comment.