summaryrefslogtreecommitdiff
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 0000000000..0ee7223fd4
--- /dev/null
+++ b/keyboards/converter/usb_usb/ble/README.md
@@ -0,0 +1,30 @@
+QMK BLE Adapter
+===============
+A small device that reads USB keyboard input and passes it on over Bluetooth LE HID.
+
+![Picture of Adapter](https://i.imgur.com/O3VwBBJ.png)
+
+Hardware
+--------
+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).
+
+Schematic:
+![Schematic](https://i.imgur.com/s1Ia9We.png)
+
+Part list:
+* [Adafruit Feather 32u4 Bluefruit LE](https://www.adafruit.com/product/2829)
+* [USB Host Mini](https://www.circuitsathome.com/arduino_usb_host_shield_projects/)
+* [Pololu 5V Step-Up Voltage Regulator U3V12F5](https://www.pololu.com/product/2115)
+* [Lithium Ion Battery - 3.7v 2000mAh](https://www.adafruit.com/product/2011)
+* Some sort of switch to be able to turn it off
+
+Building and Flashing
+---------------------
+
+```
+make converter-usb_usb-ble
+```
+
+```
+make converter-usb_usb-ble-avrdude
+``` \ 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 0000000000..387eb8166c
--- /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 0000000000..d28629643a
--- /dev/null
+++ b/keyboards/converter/usb_usb/ble/ble.h
@@ -0,0 +1,6 @@
+#ifndef BLE_H
+#define BLE_H
+
+#include QMK_KEYBOARD_H
+
+#endif
diff --git a/keyboards/converter/usb_usb/ble/config.h b/keyboards/converter/usb_usb/ble/config.h
new file mode 100644
index 0000000000..45aa778d57
--- /dev/null
+++ b/keyboards/converter/usb_usb/ble/config.h
@@ -0,0 +1,13 @@
+#ifndef CONFIG_BLE_H
+#define CONFIG_BLE_H
+
+#undef PRODUCT
+#define PRODUCT QMK BLE Adapter
+#undef DESCRIPTION
+#define DESCRIPTION
+
+// Turn off the mode leds on the BLE module
+#define ADAFRUIT_BLE_ENABLE_MODE_LEDS 0
+#define ADAFRUIT_BLE_ENABLE_POWER_LED 0
+
+#endif
diff --git a/keyboards/converter/usb_usb/ble/rules.mk b/keyboards/converter/usb_usb/ble/rules.mk
new file mode 100644
index 0000000000..c951780e20
--- /dev/null
+++ b/keyboards/converter/usb_usb/ble/rules.mk
@@ -0,0 +1,4 @@
+BLUETOOTH = AdafruitBLE
+ADAFRUIT_BLE_ENABLE = yes
+OPT_DEFS += -DCATERINA_BOOTLOADER
+F_CPU = 8000000