# TOTEM Case Installation

The [pre-soldered wireless TOTEM](https://shop.beekeeb.com/product/pre-soldered-wireless-totem/) is pre-flashed with ZMK firmware with the [default keymap](https://github.com/GEIGEIGEIST/zmk-config-totem).

Recommended battery with JST connector: <https://www.adafruit.com/product/1570>

<mark style="background-color:red;">**Warning: After attaching the key switches to the PCB using the top case, it will no longer be possible to insert the battery into the keyboard without removing the case. Therefore, please remember to insert the battery first.**</mark>

### 1. Insert the battery into the JST socket

Prior to installation, ensure that the polarity is correct. <mark style="background-color:red;">Align the red wire with the Red+ silk screen</mark> for proper orientation.

<figure><img src="https://310059516-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MipCDWiRJbsrF2klOWK%2Fuploads%2FLjMw1rzWYL4UYjaIsjdo%2FIMG_4603.JPG?alt=media&#x26;token=633b35df-2624-461a-9d20-0b6bb6799698" alt=""><figcaption></figcaption></figure>

### 2. Test the Bluetooth connection

Turn on both sides of the keyboard and connect them to your device via Bluetooth. Verify if your computer can successfully register at least one key press from each side of the keyboard.

<figure><img src="https://310059516-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MipCDWiRJbsrF2klOWK%2Fuploads%2F1hl7SI7Q2DaqrqySj167%2FIMG_4608.JPG?alt=media&#x26;token=f654efd1-a549-47c8-8c4e-7194a245057f" alt=""><figcaption></figcaption></figure>

### (Added on Sep 23, 2024) Make sure you put the cap on the power switch before attaching the top case to the PCB

After the case is installed, the power switch may become difficult to reach due to its short length. The cap extends its length, making it easier to access with your finger. Additionally, the cap helps prevent the power switch from breaking.

<figure><img src="https://310059516-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MipCDWiRJbsrF2klOWK%2Fuploads%2FtVvEEHWpN0XOHDFrGMeu%2FIMG_3275.JPG?alt=media&#x26;token=68bf8896-dca7-4851-a0fd-b60ebc40ba52" alt=""><figcaption></figcaption></figure>

### 3. Attach the key switches to the PCB using the top case

<figure><img src="https://310059516-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MipCDWiRJbsrF2klOWK%2Fuploads%2FH6auSkWiroOnc9c1GGmm%2FIMG_4610.JPG?alt=media&#x26;token=1128bf43-9ad5-4b60-af3f-3508c6b24259" alt=""><figcaption></figcaption></figure>

Ensure that the legs of the key switch are inserted into the hotswap sockets instead of the "gold rings".

<figure><img src="https://310059516-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MipCDWiRJbsrF2klOWK%2Fuploads%2Fhan8hVdxtJeZTV5KZV1i%2FIMG_4611.JPG?alt=media&#x26;token=7aa7c3ac-9cb5-45de-8bbc-eb06b8f99fe2" alt=""><figcaption></figcaption></figure>

### 4. Test the key presses for each key

It can be tested in <https://www.keyboardtester.com/tester.html>

### 5. Secure the top case and bottom plate by screwing them together.

### 6. The default keymap of TOTEM

ZMK Firmware: <https://github.com/GEIGEIGEIST/zmk-config-totem/tree/master>

<figure><img src="https://310059516-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MipCDWiRJbsrF2klOWK%2Fuploads%2Fqj8sbWb89LX2FlmsDifX%2Fmy_keymap.svg?alt=media&#x26;token=c29d9519-9c4d-476a-a1c3-29ed86bdacde" alt=""><figcaption><p>Generated by keymap-drawer created by Cem Aksoylar</p></figcaption></figure>
