Bluetooth

Version 4 (J. Simmons, 02/25/2017 06:44 pm)

1 1 J. Simmons
h1. Bluetooth
2 1 J. Simmons
3 1 J. Simmons
{{>toc}}
4 1 J. Simmons
5 4 J. Simmons
h2. Introduction
6 1 J. Simmons
7 4 J. Simmons
This page covers research into creating a Bluetooth HID connection from the Holoseat controller to the gaming system (PC or console).  The Holoseat controller will need to be able to present itself as either a keyboard & mouse combination or a joypad.  The material on this page covers some Bluetooth fundamentals (classic vs BLE), the types of Bluetooth hardware used in some of our target platforms (CHIP, PS4, PCs), and available libraries for interacting with Bluetooth hardware in Node.js.  It closes with an interesting (but not usable) example from the maker/hacker community.
8 1 J. Simmons
9 4 J. Simmons
h2. Summary of Findings
10 4 J. Simmons
11 4 J. Simmons
Tbd
12 4 J. Simmons
13 4 J. Simmons
h2. Bluetooth Fundamentals 
14 4 J. Simmons
15 4 J. Simmons
Tbd
16 4 J. Simmons
17 4 J. Simmons
h2. Bluetooth Hardware on Holoseat Platforms
18 4 J. Simmons
19 4 J. Simmons
h3. CHIP
20 4 J. Simmons
21 4 J. Simmons
Tbd
22 4 J. Simmons
23 4 J. Simmons
h3. PS4
24 4 J. Simmons
25 4 J. Simmons
tbd
26 4 J. Simmons
27 4 J. Simmons
h3. PCs
28 4 J. Simmons
29 4 J. Simmons
Tbd
30 4 J. Simmons
31 4 J. Simmons
h3. Node.js Libraries
32 4 J. Simmons
33 4 J. Simmons
Tbd
34 4 J. Simmons
35 3 J. Simmons
h2. Maker/Hacker Example
36 3 J. Simmons
37 4 J. Simmons
In this example, the firmware from the "RN-42":https://www.sparkfun.com/products/12574 onto the "HC-05":http://cdn.makezine.com/uploads/2014/03/hc_hc-05-user-instructions-bluetooth.pdf.  This kind of hacking, while interesting, is not strictly legal (obtaining the RN-42 firmware is not something one just does), so it is not a recommended approach.  However, it does demonstrate how capable a small system can be at capturing signals from one system (the joypad) and in real time translating them to HID over Bluetooth signals.  Consider this evidence that the kind of inline gameplay translation we want the Holoseat controller to do is possible.  Much of the following research was found by following the links from a Hackaday post - "Convert Any USB Keyboard to Bluetooth":http://hackaday.com/2016/09/04/convert-any-usb-keyboard-to-bluetooth/.
38 1 J. Simmons
39 1 J. Simmons
{{youtube(L7lEDS6xj5w)}}
40 1 J. Simmons
41 1 J. Simmons
{{youtube(5qXv7TJI324)}}
42 1 J. Simmons
43 1 J. Simmons
{{youtube(qyRJgtwX0cY)}}
44 1 J. Simmons
45 1 J. Simmons
h2. Bluetooth Device Details
46 1 J. Simmons
47 1 J. Simmons
The video below is a summary of this project - "Bluetooth HID gamepad using HC-05 module":https://mitxela.com/projects/bluetooth_hid_gamepad
48 1 J. Simmons
49 1 J. Simmons
{{youtube(fWXJDNcbZAA)}}
50 2 J. Simmons
51 2 J. Simmons
h2. ESP32 Wifi Bluetooth Module
52 2 J. Simmons
53 2 J. Simmons
"ESP32 Wifi Bluetooth Module":http://www.cnx-software.com/2016/09/05/you-can-now-buy-esp3212-esp32-wifi-bluetooth-module-for-6-95, another Bluetooth module that has people talking.  Need to do more research.