diff options
Diffstat (limited to 'keyboards/converter/usb_usb/ble')
| -rw-r--r-- | keyboards/converter/usb_usb/ble/README.md | 30 | ||||
| -rw-r--r-- | keyboards/converter/usb_usb/ble/ble.c | 1 | ||||
| -rw-r--r-- | keyboards/converter/usb_usb/ble/ble.h | 6 | ||||
| -rw-r--r-- | keyboards/converter/usb_usb/ble/config.h | 13 | ||||
| -rw-r--r-- | keyboards/converter/usb_usb/ble/rules.mk | 4 |
5 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/converter/usb_usb/ble/README.md b/keyboards/converter/usb_usb/ble/README.md new file mode 100644 index 000000000..0ee7223fd --- /dev/null +++ b/keyboards/converter/usb_usb/ble/README.md | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | QMK BLE Adapter | ||
| 2 | =============== | ||
| 3 | A small device that reads USB keyboard input and passes it on over Bluetooth LE HID. | ||
| 4 | |||
| 5 |  | ||
| 6 | |||
| 7 | Hardware | ||
| 8 | -------- | ||
| 9 | The hardware is relatively easy to assemble. Just follow the schematic and don't forget to [cut the VBUS jumper](https://www.pjrc.com/teensy/td_libs_USBHostShield_4a.jpg). | ||
| 10 | |||
| 11 | Schematic: | ||
| 12 |  | ||
| 13 | |||
| 14 | Part list: | ||
| 15 | * [Adafruit Feather 32u4 Bluefruit LE](https://www.adafruit.com/product/2829) | ||
| 16 | * [USB Host Mini](https://www.circuitsathome.com/arduino_usb_host_shield_projects/) | ||
| 17 | * [Pololu 5V Step-Up Voltage Regulator U3V12F5](https://www.pololu.com/product/2115) | ||
| 18 | * [Lithium Ion Battery - 3.7v 2000mAh](https://www.adafruit.com/product/2011) | ||
| 19 | * Some sort of switch to be able to turn it off | ||
| 20 | |||
| 21 | Building and Flashing | ||
| 22 | --------------------- | ||
| 23 | |||
| 24 | ``` | ||
| 25 | make converter-usb_usb-ble | ||
| 26 | ``` | ||
| 27 | |||
| 28 | ``` | ||
| 29 | make converter-usb_usb-ble-avrdude | ||
| 30 | ``` \ No newline at end of file | ||
diff --git a/keyboards/converter/usb_usb/ble/ble.c b/keyboards/converter/usb_usb/ble/ble.c new file mode 100644 index 000000000..387eb8166 --- /dev/null +++ b/keyboards/converter/usb_usb/ble/ble.c | |||
| @@ -0,0 +1 @@ | |||
| #include "ble.h" | |||
diff --git a/keyboards/converter/usb_usb/ble/ble.h b/keyboards/converter/usb_usb/ble/ble.h new file mode 100644 index 000000000..d28629643 --- /dev/null +++ b/keyboards/converter/usb_usb/ble/ble.h | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #ifndef BLE_H | ||
| 2 | #define BLE_H | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | #endif | ||
diff --git a/keyboards/converter/usb_usb/ble/config.h b/keyboards/converter/usb_usb/ble/config.h new file mode 100644 index 000000000..45aa778d5 --- /dev/null +++ b/keyboards/converter/usb_usb/ble/config.h | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | #ifndef CONFIG_BLE_H | ||
| 2 | #define CONFIG_BLE_H | ||
| 3 | |||
| 4 | #undef PRODUCT | ||
| 5 | #define PRODUCT QMK BLE Adapter | ||
| 6 | #undef DESCRIPTION | ||
| 7 | #define DESCRIPTION | ||
| 8 | |||
| 9 | // Turn off the mode leds on the BLE module | ||
| 10 | #define ADAFRUIT_BLE_ENABLE_MODE_LEDS 0 | ||
| 11 | #define ADAFRUIT_BLE_ENABLE_POWER_LED 0 | ||
| 12 | |||
| 13 | #endif | ||
diff --git a/keyboards/converter/usb_usb/ble/rules.mk b/keyboards/converter/usb_usb/ble/rules.mk new file mode 100644 index 000000000..c951780e2 --- /dev/null +++ b/keyboards/converter/usb_usb/ble/rules.mk | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | BLUETOOTH = AdafruitBLE | ||
| 2 | ADAFRUIT_BLE_ENABLE = yes | ||
| 3 | OPT_DEFS += -DCATERINA_BOOTLOADER | ||
| 4 | F_CPU = 8000000 | ||
