qmk_firmware/keyboards/redox_media
2023-02-17 16:40:49 +11:00
..
keymaps/default Remove legacy keycodes, part 4 (#18683) 2022-10-13 18:28:14 +01:00
config.h Move SOFT_SERIAL_PIN to data driven (#19863) 2023-02-17 16:40:49 +11:00
info.json Move SOFT_SERIAL_PIN to data driven (#19863) 2023-02-17 16:40:49 +11:00
readme.md [Keyboard] Fix Redox Media compilation errors (#14345) 2021-09-11 23:21:28 -07:00
redox_media.c [Keyboard] Fix Redox Media compilation errors (#14345) 2021-09-11 23:21:28 -07:00
redox_media.h Add Redox Media Configurator Data (#15013) 2021-11-02 19:26:28 +11:00
rules.mk Migrate MCU and BOOTLOADER to data-driven (#19529) 2023-02-08 18:41:46 +11:00

The Redox Media Keyboard

I've taken the Redox keyboard and modified the SCAD files as well as the QMK layout to include media and scroll features:

  • 3 Media buttons
    • Play / Pause button
    • Next track
    • Mute (previous track on secondary layout)
  • Volume knob
  • Scroll wheel on the keyboard

For an in-depth report see my page and a video about the build process, design, printing, programing and assembly.

IMAGE

The build

I've used 2 Sparkfun Pro Micros (5V) and a single hand master setup providing power and serial connection via a TRS jack.

The pro micro and how to flash it

To try out your pro micro and setup your environment to flash such a device I recommend following this guide. It will take you through the install and setup and provides a first easy to flash program so you can test your setup quickly.

Whenever you can't program one of the pro micros or the USB-COM port is not found on your computer, it most probably means that is is not in "bootloader mode". What you want to do is connect the GND and RST pin twice to reset the device and put it into bootloader mode (details here).

Compiling and flashing

Obviously start by installing QMK.

  • Before flashing the firmware you should make sure that it compiles. Thus assuring that your QMK setup works fine and the keyboard and keymap files are correct:
qmk compile -kb redox_media -km default

The generated .hex file is output to the QMK root.

Once you are comfortable flashing your Pro Micros and your setup works continue with the following steps:

  • I've had the most success with using the EE_HANDS setting and flashing the EEPROM to the left and right halves of the keyboard respectively. To do this start with flashing the EEPROM of the 2 pro micros separately by setting the bootloader flag in the flash command (the pro micro uses the avrdude bootloader):
qmk flash -kb redox/media -km media_ch -bl avrdude-split-left
qmk flash -kb redox/media -km media_ch -bl avrdude-split-right

Note that you need to reset the pro micro to set it to bootloader mode before you can flash it: connect GND to RST twice in quick succession (750ms), then you have 8 seconds to upload the new eep file.

Adapting the keyboard layout

Copy the keymaps/media_ch folder to keymaps/media_<your-layout> and adapt the keymap.c file in there.

I recommend testing the key codes with the QMK tester and then adapting the keymap.c file accordingly.

Finally compile your new layout from the QMK root with:

qmk compile -kb redox/media -km media_<your-layout>

and proceed to flashing it equivalent to the above instructions.

CAD files and additional resources

See here for a detailed build description and video.

You can find the CAD and SCAD files, I created here: https://github.com/shiftux/redox-media-keyboard