aboutsummaryrefslogtreecommitdiff
path: root/keyboards/converter/usb_usb/ble
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/converter/usb_usb/ble')
-rw-r--r--keyboards/converter/usb_usb/ble/README.md30
-rw-r--r--keyboards/converter/usb_usb/ble/ble.c1
-rw-r--r--keyboards/converter/usb_usb/ble/ble.h6
-rw-r--r--keyboards/converter/usb_usb/ble/config.h13
-rw-r--r--keyboards/converter/usb_usb/ble/rules.mk4
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 @@
1QMK BLE Adapter
2===============
3A small device that reads USB keyboard input and passes it on over Bluetooth LE HID.
4
5![Picture of Adapter](https://i.imgur.com/O3VwBBJ.png)
6
7Hardware
8--------
9The 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
11Schematic:
12![Schematic](https://i.imgur.com/s1Ia9We.png)
13
14Part 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
21Building and Flashing
22---------------------
23
24```
25make converter-usb_usb-ble
26```
27
28```
29make 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 @@
1BLUETOOTH = AdafruitBLE
2ADAFRUIT_BLE_ENABLE = yes
3OPT_DEFS += -DCATERINA_BOOTLOADER
4F_CPU = 8000000