The sensor is an XYZ 3-axis acceleration sensor, that detects the gravitational acceleration value approximately every 0.08 seconds. Once the sensor detects the motion of the eye dropper bottle, the data are dispatched to the processing terminal via the IEEE802.15.4 wireless network. Even when the sensor itself is in a stationary state, it always detects the acceleration in its own memory and accumulates data. Therefore, data from approximately 5 seconds prior to the detection of the motion to that after 5 seconds of the motion were accumulated. The transmitted data are received at the built-in antenna in the case (MW-AP4208) and sent to the TWE-Lite radio microcomputer. The radio microcomputer processes the data, which are then transmitted to the outside data interface via a cable. Eventually, the data are recorded in an SD memory card present in the SD socket. We used a dual bidirectional I2C bus voltage-level translator (PCA9306) because the power supply voltage of the TWE-Lite radio microcomputer was 5 V and that of the SD socket was 3.3 V. Furthermore, we added a buzzer and an LED light indicator to indicate that the data are being received via a wireless network. With RTC function of the data logger shield, graphed data with gravitational acceleration, and time on longitudinal and horizontal axes, respectively, are recorded to the SD card. Representative data collected from the patients during the instillations are depicted in
Figure 2. Because the acceleration sensor detects the gravitational acceleration, it is possible to measure the inclination of the sensor with the vector and quantity of the gravitational acceleration. We defined the X, Y, and Z axes of the three-axis acceleration sensor as shown in
Figure 2. In this study, we focused on detecting the gravitational acceleration for the Z axis. First, the state when the gravitational acceleration is +1 G (
Fig. 2, part 1) is examined. At this time, the gravitational acceleration G is in a downward direction on the Z axis (downward being positive); thus, the output is +1 G. Next, the state when the gravitational acceleration is 0 G (
Fig. 2, part 2) is examined. When the tip of the eye dropper bottle is tilted by 90° from the state (
Fig. 2, part 1), the Z axis becomes vertical to the gravitational acceleration. Thus, at this point, the output is 0 G. In this state, the eye dropper is brought close to the eyes. Next, the state when the gravitational acceleration is −1 G (
Fig. 2, part 3) is examined. When the tip of the eye dropper bottle is tilted further by another 90° from the state (
Fig. 2, part 2), the gravitational acceleration G is in a downward direction on the Z axis (upward being positive); thus, the output is −1 G. In this state, both the eyes were instilled. Last, the state when the gravitational acceleration was 1 G (
Fig. 2, part 4) was examined. When the tip of the eye dropper bottle was further tilted by another 180° from the state (
Fig. 2, part 3), the gravitational acceleration G was in a downward direction on the Z axis (downward being positive); thus, the output was +1 G. In this state, the instillation was over and the eye dropper had returned to its original position. Hence, the time with the smallest gravitational acceleration on the graph indicates the point at which the patient is instilling the medication.