# Haptic Glove TV Device for People with Visual Impairment
## 4 Development and Implementation of the TV Haptic Glove  
Once the appropriate methodology for its operation and its construction materials had been defined, the device building process began. For the haptic glove, the implementation \begin{table}
\begin{tabular}{c l l} \hline
**Qty.** & **Material/Model** & **More Details** \\ \hline
1 & ESP32 development board. [51] & Low-cost, low–power microcontroller with integrated Wi–Fi and Bluetooth dual–mode technology. \\ \hline
6 & Haptic Controller Breakout RV2605L [52] & This module allows you to easily write Python code that controls the vibration of the motor. It can generate 123 vibrations effects. \\ \hline
6 & Mini Motor Disc (ADA1201) & Vibrating Mini Motor Disc. DC3V/0.1 A \\ \hline
1 & TCA9548A 1-to-8 I2C multiplexer [53] & A way to get up to 8 same–address I2C devices hooked up to one microcontroller. This multiplexer acts as a gatekeeper, shuttling the commands to the selected set of I2C pins with your command. \\ \hline
1 & Lithium battery & DC5V, 8800 mAh \\ \hline
1 & Micro USB 5 V module & For charging or powering the haptic device via the micro USB port. \\ \hline \end{tabular}
\end{table} 
Table 2: Materials list. Figure 6: General diagram of the haptic glove parts. was divided into four stages, the first two in hardware and the next two in software, as shown in the diagram of Figure 7.  
The first hardware stage was the controller's design and construction inside a specific box that must be adapted to a bracelet to be carried on the user's arm. For this, it was thought that it should be as small as possible in size and lightweight for the comfort of the person using it, as it would have to be worn for the duration of a sporting event. For the controller design, a board was designed and developed that integrates the ESP32 WIFI microcontroller, the I2C multiplexer, and the six haptic controllers, one for each engine. Figure 8 shows the implementation of the finished board. A specific box was designed for this board, which allows it to be integrated with the energy part. It contains a lithium battery to give it the necessary autonomy to visualize a sports event and allows having a power charging interface to connect it to the power network through its universal serial bus (USB) port and not have problems with the power while the event lasts. Figure 9 shows the outline of the case design containing the drivers and the power part. (a) top view, (b) side view, (c) lithium battery container (d) case cover, and (e) final result top view of the case, which was made using a 3D printer. For the next hardware stage, the glove was designed and built-in one size from an elastic fabric material that fits various hand sizes. The characteristics of the material used for the glove's construction are lightness and freshness to avoid excessive heat and sweating of the hand. The idea of making this glove from scratch was to mimic as much as possible the cables that carry energy and control to haptic motors in the points already mentioned in the previous section. Figure 10 shows glove-making process. Above the image, the glove's internal pair with the cables and the haptic motors, and below the outer part of the glove with the haptic device's logo. Figure 8: Haptic glove control board. Figure 7: Diagram of the glove construction process. The next stage, software, was the programming of the controller. This was done with an Arduino compiler based on C language programming. In this stage, the code that allows reading the information from a database and executing the haptic controllers' actions with the different vibration effects in the motors was made. For this, it was necessary to load the different libraries from the main microcontroller manufacturers and the haptic controllers. This generates a code that is loaded into the memory of the ESP32 microcontroller. Here, the network's name to be connected, the network access key, a fixed IP address, the gateway, and the broadcast address of the network are also indicated. The fourth and last stage is also software.