Skip to content

Commit

Permalink
Improved instruction readability
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdibi committed Jan 2, 2019
1 parent 77f5a14 commit ac15f7d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 42 deletions.
24 changes: 12 additions & 12 deletions redox-w/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

The Redox Wireless is the wireless version of the Redox keyboard.

### Summary
## Summary

- [Bill of materials](#bill-of-materials)
- [Transmitters Assembly](#transmitters-assembly)
- [Receiver Assembly](#receiver-assembly)
- [Firmware](#firmware)
- [Battery usage](#battery-usage)

#### Bill of materials
## Bill of materials

##### Transmitters
#### Transmitters

| Qty | Item | Notes |
|----:|-----------------------------------------------|-----------------------------------------------------|
Expand All @@ -24,7 +24,7 @@ The Redox Wireless is the wireless version of the Redox keyboard.
| 2 | JS102011SAQN SMT slide switch | [digikey](https://www.digikey.com/product-detail/en/c-k/JS102011SAQN/401-1999-1-ND/1640114)|
| 2 | Right angle 0.1" header (1x4pin) | |

##### Receiver
#### Receiver

| Qty | Item | Notes |
|----:|-----------------------------------------------|-----------------------------------------------------|
Expand All @@ -47,7 +47,7 @@ The Redox Wireless is the wireless version of the Redox keyboard.
> :warning: To program the YJ-14015 MCUs you need an ST-Link v2 programmer, these can be found on eBay or Aliexpress for as little as 2$ shipped. See [picture below](#nordic-mcus-firmware).
###### Resistor values
##### Resistor values

If you want to customize your LEDs color or save a few bucks by ordering the LED all the same color you can refer to this section for choosing the correct resistor values. Otherwise you can refer to the [default configuration](#default-configuration).

Expand All @@ -66,7 +66,7 @@ There are two sets of resistor that you need for the receiver.

Depending on the color you choose to use you should use the resistor listed above.

###### Default configuration
#### Default configuration

Here you can find the default configuration for the receiver assembly.

Expand All @@ -84,7 +84,7 @@ Here you can find the default configuration for the receiver assembly.
| R2 | 1.5k Ohm resistor |
| R3 | 1.5k Ohm resistor |

#### Transmitters Assembly
## Transmitters Assembly

<p align="center">
<img src="../img/redox-w-pcb1.jpg" alt="Wireless redox PCBs" width="600"/>
Expand Down Expand Up @@ -148,7 +148,7 @@ Assembly steps:
<img src="../img/pcb-w-assembly1.jpg" alt="Wireless Redox assembled PCB" width="600"/>
</p>

#### Receiver Assembly
## Receiver Assembly

The receiver assembly is pretty straightforward, you can install the components in any order you like with the exception of the YJ-14015: it should be installed **after** the right angled header (PROGR_HEADER1). Suggested assembly order:

Expand Down Expand Up @@ -181,7 +181,7 @@ The receiver assembly is pretty straightforward, you can install the components

> :information_source: Please note that here I used 220 Ohm resistors because I used only blue and white LEDs since I only had those laying around. You should use the resistor values suggested [here](#default-configuration).
#### Firmware
## Firmware

You'll need to upload the firmware to the corresponding MCUs as per the following diagram:

Expand All @@ -191,15 +191,15 @@ You'll need to upload the firmware to the corresponding MCUs as per the followin

Note that you'll need to upload the firmware for the YJ-14015 only once. Everything related to the keymap is handled by the Arduino Pro Micro and QMK Firmware, that's what you will need to modify to update the keymap.

##### Nordic MCUs Firmware upload
#### Nordic MCUs Firmware upload

Follow the instruction in the [Redox Wireless Keyboard firmware repository](https://github.com/mattdibi/redox-w-firmware). You'll need only to flash the pre-built `.hex` files to the corresponding MCUs, for this you'll need an STLinkV2 debugger.

<p align="center">
<img src="../img/st-link-v2-programmer.jpg" alt="ST-Link v2 programmer" width="300"/>
</p>

##### Arduino Pro Micro Firmware upload
#### Arduino Pro Micro Firmware upload

The Redox uses QMK for its firmware, follow the QMK installation instructions [here](https://docs.qmk.fm/#/getting_started_build_tools), then compile and burn the firmware as follows:

Expand All @@ -212,7 +212,7 @@ You can find the code for the Redox here: [QMK - Redox Wireless keyboard](https:

In the [Redox Wireless Keyboard firmware repository](https://github.com/mattdibi/redox-w-firmware/tree/master/precompiled) I added some pre-built hex files with the default keymap for testing purpose.

#### Battery usage
## Battery usage

I got the current consumption for the transmitters using a shunt resistor (10 Ohm) and an oscilloscope during transmission.

Expand Down
45 changes: 15 additions & 30 deletions redox/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
## Redox rev.1
# Redox rev.1

The Redox rev.1 is the first commercially available version of the Redox keyboard.

Hardware availability:
- [Falbatech](https://falba.tech/)

### Summary
## Summary

- [Bill of materials](#bill-of-materials)
- [Other assembly guides](#other-assembly-guides)
- [Assembly guide](#assembly-guide)
- [Firmware](#firmware)
- [RGB Underglow](#rgb-underglow)

#### Bill of materials
## Bill of materials

| Qty | Item | Notes |
|----:|-----------------------------------------------|-----------------------------------------------------|
Expand All @@ -29,14 +29,14 @@ Hardware availability:
| 70 | Cherry MX compatible keycaps | 10x 1.25u keycaps, 6x 1.5u keycaps, 54x 1u keycaps |
| 14 | WS2812/WS2812B leds | Optional RGB-underglow |

#### Other assembly guides
## Other assembly guides

External links to some other guides to building the Redox keyboard:

- ["*Build your own keyboard*"](https://medium.com/@costask/build-your-own-keyboard-5df65cb68839) by @costask.
- [Imgur build log](https://imgur.com/a/a6ck2Nc) (3D printed case).

#### Assembly guide
## Assembly guide

<p align="center">
<img src="../img/redox-pcb2.jpg" alt="Redox PCBs" width="600"/>
Expand Down Expand Up @@ -73,7 +73,7 @@ Installation steps:
<img src="../img/pcb-assembly3.jpg" alt="Diode installation detail" width="600"/>
</p>

#### 3D Printed case assembly
### 3D Printed case assembly

| Qty | Item | Notes |
|----:|-----------------------------------------------|-----------------------------------------------------|
Expand Down Expand Up @@ -103,15 +103,15 @@ Here's some measurements of the Pro Micro installation:
<img src="../img/right-hand-controller-detail3.jpg" alt="Right hand controller installation detail" width="400"/>
</p>

#### Falbatech's-bamboo-case-assembly
### Falbatech's bamboo case assembly

If you're using Falbatech's bamboo case the use of the diode's legs is not needed and you can use standard header pins

<p align="center">
<img src="../img/falbatech-case-assembly.jpg" alt="Falbatech's case assembly" width="600"/>
</p>

#### Firmware
## Firmware

> :warning: If you have a Redox with RGB backlight installed you **MUST** use the serial connection. For details see [the RGB underglow firmare instructions.](#rgb-underglow)
Expand All @@ -132,7 +132,7 @@ In the [firmware/](https://github.com/mattdibi/redox-keyboard/tree/master/redox/
avrdude -p atmega32u4 -P $(COM_PORT) -c avr109 -U flash:w:redox_rev1_default.hex
```

##### Setting EE_hands to use either hands as master
### Setting EE_hands to use either hands as master
If you define `EE_HANDS` in your `config.h`, you will need to set the EEPROM for the left and right halves.

The EEPROM is used to store whether the half is left handed or right handed. This makes it so that the same firmware file will run on both hands instead of having to flash left and right handed versions of the firmware to each half. To flash the EEPROM file for the left half run:
Expand Down Expand Up @@ -168,7 +168,7 @@ After you have flashed the EEPROM, you then need to set `EE_HANDS` in `keyboard/
// ...
```

#### RGB Underglow
## RGB Underglow

Parts:
- [ ] WS2812/WS2812B LED strip
Expand All @@ -182,7 +182,7 @@ Led strip Headers -> DIN -> DO -> TRRS pad -> (TRRS to other side) -> TRRS pad -

Installation steps:

##### LEFT hand as master (usually plugged in to the PC)
### LEFT hand as master (usually plugged in to the PC)
- On the LEFT hand:
1. Solder the LED Strip headers as seen in the pictures below.
2. Solder the DO Pin of the RGB strip to the TRRS pad as seen in the figures below.
Expand All @@ -202,7 +202,7 @@ Installation steps:
<img src="../img/rgb-underglow2.jpg" alt="RGB underglow left hand backside" width="600"/>
</p>

##### RIGHT hand as master.
### RIGHT hand as master.
- On the RIGHT hand:
1. Solder the LED Strip headers to the RGB strip.
2. Solder the DO Pin of the RGB strip to the TRRS pad.
Expand All @@ -214,7 +214,7 @@ Installation steps:
- You don't need to solder the 4.7k resistors since the I2C connection won't be used.
- You can use only one hand as master.

##### RGB Underglow firmware
### RGB Underglow firmware

To enable RGB backlighting you need to modify the default firmware as follows:
- Use serial communication instead of I2C.
Expand Down Expand Up @@ -253,33 +253,18 @@ $ cd path/to/qmk_firmware
$ make redox/rev1:default:avrdude
```

### 3D-printed case
## 3D-printed case

To lower the build costs I designed a 3D printable case which you can find in this repository or on [thingiverse](https://www.thingiverse.com/thing:2886662), feel free to modify it to best suit your needs.

<p align="center">
<img src="../img/3d-printed-case.jpg" alt="3D printed case" width=600 />
</p>

### Layout

#### Rev 1.0 layout
## Layout

<p align="center">
<img src="../img/redox-layout.png" alt="Redox rev1.0 layout"/>
</p>

[KLE Layout permalink](http:https://www.keyboard-layout-editor.com/##@_name=Redox&author=Mattia%20Dal%20Ben&switchMount=cherry&plate:false&pcb:false%3B&@_x:3.5%3B&=%23%0A3&_x:10.5%3B&=*%0A8%3B&@_y:-0.875&x:2.5%3B&=%2F@%0A2&_x:1%3B&=$%0A4&_x:8.5%3B&=%2F&%0A7&_x:1%3B&=(%0A9%3B&@_y:-0.875&x:5.5%3B&=%25%0A5&_x:6.5%3B&=%5E%0A6%3B&@_y:-0.875&x:0.25&a:5&w:1.25%3B&=%60%0A%0A%0A%0A%0A%0ALayer%202&_a:4%3B&=!%0A1&_x:14.5%3B&=)%0A0&_a:5&w:1.25%3B&=-%0A%0A%0A%0A%0A%0ALayer%202%3B&@_y:-0.625&x:6.5%3B&=Layer%201&_x:4.5%3B&=Layer%201%3B&@_y:-0.75&x:3.5&a:4%3B&=E&_x:10.5%3B&=I%3B&@_y:-0.875&x:2.5%3B&=W&_x:1%3B&=R&_x:8.5%3B&=U&_x:1%3B&=O%3B&@_y:-0.875&x:5.5%3B&=T&_x:6.5%3B&=Y%3B&@_y:-0.875&x:0.25&a:5&w:1.25%3B&=TAB&_a:4%3B&=Q&_x:14.5%3B&=P&_a:5&w:1.25%3B&=%2F=%3B&@_y:-0.625&x:6.5&a:7&h:1.5%3B&=%5B&_x:4.5&h:1.5%3B&=%5D%3B&@_y:-0.75&x:3.5&a:4%3B&=D&_x:10.5%3B&=K%3B&@_y:-0.875&x:2.5%3B&=S&_x:1&n:true%3B&=F&_x:8.5&n:true%3B&=J&_x:1%3B&=L%3B&@_y:-0.875&x:5.5%3B&=G&_x:6.5%3B&=H%3B&@_y:-0.875&x:0.25&a:5&w:1.25%3B&=ESC&_a:4%3B&=A&_x:14.5%3B&=%2F:%0A%2F%3B&_a:5&w:1.25%3B&='%3B&@_y:-0.375&x:3.5&a:4%3B&=C&_x:10.5%3B&=%3C%0A,%3B&@_y:-0.875&x:2.5%3B&=X&_x:1%3B&=V&_x:8.5%3B&=M&_x:1%3B&=%3E%0A.%3B&@_y:-0.875&x:5.5%3B&=B&_x:6.5%3B&=N%3B&@_y:-0.875&x:0.25&a:5&w:1.25%3B&=SHIFT&_a:4%3B&=Z&_x:14.5%3B&=%3F%0A%2F%2F&_a:5&w:1.25%3B&=SHIFT%3B&@_y:-0.375&x:3.5%3B&=*%0A%0A%0A%0A%0A%0AALT&_x:10.5%3B&=Left%3B&@_y:-0.875&x:2.5%3B&=-&_x:12.5%3B&=Down%3B&@_y:-0.75&x:0.5%3B&=GUI&=+&_x:14.5%3B&=Up&=Right%3B&@_r:15&y:-2.625&x:5.75&w:1.25%3B&=%2F%2F%0A%0A%0A%0A%0A%0ACTRL%3B&@_r:30&rx:6.5&ry:4.25&y:-1%3B&=PgUp&=PgDn%3B&@_h:1.5%3B&=Back%0A%0A%0A%0A%0A%0Aspace&_h:1.5%3B&=Del%3B&@_r:-30&rx:13&y:-1&x:-2%3B&=Home&=End%3B&@_x:-2&h:1.5%3B&=Enter&_h:1.5%3B&=Space%3B&@_r:-15&rx:0&ry:0&y:7.75&x:11.75&w:1.25%3B&=ALT)

#### Rev 1.1 layout

This layout was designed to reduce the amount of 1.25 keycaps needed for the keyboard. Keycaps needed:
- 8x 1.25u keycaps
- 6x 1.5u keycaps
- 56x 1u keycaps

This layout is only available for the [Redox handwire version](https://www.thingiverse.com/thing:2704567) ... for now.

<p align="center">
<img src="../img/redox-layout-1.1.png" alt="Redox rev1.1 layout"/>
</p>

0 comments on commit ac15f7d

Please sign in to comment.