You are currently viewing a new version of our website. To view the old version click .
Engineering Proceedings
  • Proceeding Paper
  • Open Access

12 September 2025

Smart Customizable Spinning System †

,
and
Department of Information Technology, Takming University of Science and Technology, Taipei 11451, Taiwan
*
Author to whom correspondence should be addressed.
Presented at the 2025 IEEE 5th International Conference on Electronic Communications, Internet of Things and Big Data, New Taipei, Taiwan, 25–27 April 2025.
This article belongs to the Proceedings 2025 IEEE 5th International Conference on Electronic Communications, Internet of Things and Big Data

Abstract

As global obesity rates rise, cardiovascular diseases increase, and stress-related issues become more severe. This increases the public awareness of health and exercise. However, existing spinning fitness equipment lacks personalized customization for individual needs. To address this, we developed a smart customizable spinning system that enables health monitoring, central computation, flywheel, voice interaction, notification, and query subsystems. Users can set fitness goals based on their personal needs, monitor workout data via sensors, and utilize voice interaction and control to track their exercise status in real time. The system notifies users of workout progress through a buzzer and message queuing telemetry transport, while the Web interface provides access to past workouts and health records. Additionally, the system supports bilingual functionality (Chinese and English), allowing users to operate it in their preferred language, enhancing global usability.

1. Introduction

Changes in modern diets and lifestyle patterns have heightened the importance of health-related concerns, leading more people to adopt regular exercise habits. However, most traditional spinning fitness equipment on the market only offers basic functions and lacks customized designs tailored to individual needs. Therefore, this study aims to develop a bilingual (Chinese and English) intelligent customized spinning system. The system calculates the user’s basal metabolic rate (BMR) and total daily energy expenditure (TDEE) based on personal information, offering five professional fat-loss goals and providing personalized exercise recommendations. Through sensors that monitor heart rate, pedaling speed, and cycling distance, the system supports voice interaction, allowing users to track their exercise status without looking at the screen. It also supports voice control, enabling users to start and stop their workouts using voice commands, eliminating the need for manual operation, and improving usability. The webpage allows users to view their historical exercise and health records to easily manage exercise and health data. The developed system enhances exercise willingness, reduces the risk of chronic diseases, and promotes public health, in line with the United Nations SDG Goal 3: “Ensure healthy lives and promote well-being for all at all ages.”
This article is structured as follows: Section 2 explains related research and technologies, Section 3 presents the system architecture, Section 4 describes system implementation results, and Section 5 concludes this study.

3. System Design and Process Flow

3.1. Overall Design Description

The health monitoring subsystem provides heart rate data to the query subsystem. When users register, their personal information is stored in the cloud database. When logging in, this personal information is retrieved from the cloud database and sent to the central computing subsystem. The spinning bike subsystem reads the current user’s personal information and transmits exercise data to the cloud database every minute, via the central computing subsystem. The central computing subsystem then retrieves the exercise data from the cloud database and sends it back to the spinning bike subsystem. The voice interaction subsystem continuously listens for a wake-up word spoken by the user. Once activated, it responds in two seconds. After the response, the user can query the current exercise information or control the start and end of the exercise via voice commands. The notification subsystem extracts exercise data from the cloud database through the spinning bike subsystem via the central computing subsystem. After performing the necessary calculations, the user is notified through MQTT and a buzzer if the target calories are spent. Once the exercise ends, the exercise information is sent to the user via MQTT. The user group can query their exercise records and health information through the query subsystem. The operational process is illustrated in Figure 1.
Figure 1. System process.

3.2. Subsystem Process Flows

3.2.1. Health Monitoring Process Flow

The smart wearable device transmits monitoring data to Google Fit. The system checks whether the user is logged in. If the login is successful, the heart rate data from Google Fit is sent to the query subsystem. Figure 2 shows the operational flowchart.
Figure 2. Process flowchart of the health monitoring subsystem.

3.2.2. Central Computing Process Flow

The system determines whether the user group is registering or logging in. If it is a registration, it checks if the registration is successful. Upon success, personal information is stored in the cloud database. If it is a login, the system retrieves personal information from the cloud database and checks if the login is successful. If successful, it determines whether the data is related to exercise or control. If it is exercise data, it is sent to the cloud database every minute. Otherwise, the system compares the data, sends control data to the spinning bike subsystem, and stores the control records. If the login fails, the system returns to the login screen. Figure 3 shows the operation flowchart.
Figure 3. Process flowchart of the central computing subsystem.

3.2.3. Flywheel Process Flow

The system determines whether the data is personal information or exercise data. If it is personal information, it is read and displayed on LCD1. The system then checks if the button is pressed. If the button is pressed, exercise begins, and the Hall sensor sends exercise data every minute to the central computing subsystem via ESP32, with the calculation results forwarded to the notification subsystem. If the data is exercise-related, it is read and displayed on LCD2. The system then checks if the button is pressed again. If pressed, the exercise ends; otherwise, the exercise continues. Figure 4 presents the operation flowchart.
Figure 4. Process flowchart of the flywheel subsystem.

3.2.4. Voice Interaction Process Flow

After receiving the user group’s questions or requests, the central computing subsystem determines the nature of the issue. If the question is successfully recognized, the corresponding information is provided to the user. If the recognition fails, the system returns to the questioning stage. Figure 5 depicts the operation flowchart.
Figure 5. Process flowchart of the voice interaction subsystem.

3.2.5. Notification Process Flow

The notification subsystem retrieves exercise data from the cloud database through the flywheel subsystem and the central computing subsystem. After performing the calculations, it checks if the calorie goal is achieved. If the goal is achieved, the user group is notified via MQTT and a buzzer. Otherwise, it checks whether the exercise has ended. If the exercise is finished, the exercise information is sent to the user group via MQTT. Figure 6 presents the operation flowchart.
Figure 6. Process flowchart of the notification subsystem.

3.2.6. Query Process Flow

The system checks whether the user group is logged in. If logged in, the webpage retrieves data stored in the cloud database, along with heart rate data provided by the health monitoring subsystem. The user group can then query their past exercise records and health information through the webpage based on specific time or date ranges. Figure 7 depicts the operation flowchart.
Figure 7. Process flowchart of the query subsystem.

4. Implementation and Demonstration

4.1. Health Monitoring Demonstration

The user downloads Google Fit on their phone and connects it to the smartwatch via the service program, linking it to Google Fit. The schematic is shown in Figure 8.
Figure 8. Smartwatch transmitting data to Google Fit.

4.2. Central Computing Demonstration

This system provides a bilingual interface, allowing users to switch freely during operation, as shown in Figure 9. When registering, users must first enter their email for verification, and a random verification code is sent to the provided email inbox, as shown in Figure 10. Based on the user’s gender, age, height, weight, selected BMR, TDEE, and fat-loss goals, the system calculates the daily target calories to achieve a customized fitness goal setting (Figure 11). After registration is completed, users can log in, with the successful login screen shown in Figure 12.
Figure 9. The bilingual user interface, showing the Chinese (left) and English (right) versions.
Figure 10. Verification code sent to email inbox.
Figure 11. Set customized fitness goals.
Figure 12. Login successful.

4.3. Flywheel Demonstration

After the user logs in, LCD1 displays the current user’s personal information (Figure 13), with field descriptions provided in Table 1. Pressing the button starts the exercise (Figure 14). The magnet on the flywheel rotates and is detected by the Hall sensor, as shown in Figure 15. The exercise data is displayed on LCD2 every minute (Figure 16), with field descriptions provided in Table 2. Simultaneously, the data is sent to the cloud database (Figure 17). Pressing the button again ends the exercise, as shown in Figure 18. Two minutes later, the LCD1 and LCD2 screens are automatically cleared as shown in Figure 19.
Figure 13. LCD1 displaying user’s personal information.
Table 1. LCD1 field description.
Figure 14. Starting exercise.
Figure 15. Hall sensor detecting magnet.
Figure 16. Exercise data displayed on LCD2.
Table 2. LCD2 field description.
Figure 17. Exercise data transmitted to database every minute.
Figure 18. Ending exercise.
Figure 19. LCD automatically cleared.

4.4. Voice Interaction Demonstration

Based on your computer’s specifications, a corresponding model on the Whisper official website was constructed. The model specification is shown in Table 3. The medium model was used in this study.
Table 3. Voice model specifications.
Using the prepared code, the success rate of speech recognition was measured (Table 4). The medium model showed the highest success rate. When comparing Whisper and WhisperX, WhisperX demonstrated a faster response time.
Table 4. Speech recognition rate.
The distance between the user and the omnidirectional microphone was measured, and multiple tests were conducted with the microphone. Table 5 displays the test distances and the speech recognition success rate. The optimal distance was between 40 and 80 cm, with a success rate of approximately 83.3%. The hardware installation diagram is shown in Figure 20.
Table 5. Omnidirectional microphone testing distance and success rate.
Figure 20. Voice interaction hardware.
The system is activated by the voice command “Hey Whisper,” and it recognizes the language spoken by the user (either Chinese or English) and responds in the same language. Users can control and ask questions using keywords. After testing, it is confirmed whether the commands and data are successfully received by the central processing system. The system controls the start and end of the workout, with test results shown in Figure 21. After the central processing system assesses the issue, it replies to the corresponding exercise data to the user, as shown in Figure 22.
Figure 21. Voice control to start and end exercise.
Figure 22. Received response after asking question.

4.5. Notification Demonstration

When the exercise ends, MQTT is used to notify the user group with exercise information, as shown in Figure 23. When the target calories are reached, a buzzer alerts the user group, and the screen displays a negative value indicating the target has been achieved. MQTT notifies the user group of the achieved calorie target, as shown in Figure 24.
Figure 23. Exercise information notification.
Figure 24. Calorie target achievement notification and buzzer alert.

4.6. Query Demonstration

The completed program code is processed onto the webpage, providing a bilingual interface that allows users to switch languages according to their needs. Data are presented in bar charts, line graphs, and dashboards, displaying the changes in exercise and health data across different periods. The queries are shown in Figure 25, Figure 26, Figure 27, Figure 28 and Figure 29.
Figure 25. Web query period distance data chart.
Figure 26. Web query period speed data chart.
Figure 27. Single exercise data change chart.
Figure 28. Current exercise calories and daily achievement percentage dashboard chart.
Figure 29. Web query period heart rate data line chart.

5. Conclusions

We developed a system that uses Hall sensors to monitor exercise data in real time, combined with personal information and BMR/TDEE analysis. The system provides customized exercise recommendations to help users achieve fitness goals and reduce the risk of chronic diseases. The system consists of multiple subsystems: the health monitoring subsystem transmits health data via smartwatches and Google Fit; the flywheel subsystem displays personal information and exercise data, sending data to a cloud database every minute; the voice interaction subsystem allows users to control the spinning bike and inquire about the current exercise status through voice commands; the notification subsystem sends notifications and alerts when the exercise ends or goals are met; and the query subsystem presents historical data through web charts, enabling users to track exercise trends and make decisions. Additionally, the system supports bilingual functionality (Chinese and English), allowing users to operate the system in their preferred language and enhancing global applicability. By integrating these features, a smart customized spinning system can be used effectively.

Author Contributions

Conceptualization, Y.-W.H.; methodology, Y.-W.H. and W.-L.Y.; software, Y.-W.H. and W.-L.Y.; validation, Y.-W.H. and W.-L.Y.; formal analysis, Y.-W.H.; investigation, W.-L.Y.; resources, Y.-W.H.; data curation, Y.-W.H.; writing—original draft preparation, Y.-W.H. and W.-L.Y.; writing—review and editing, Y.-W.H.; visualization, W.-L.Y.; supervision, W.-C.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wang, N.-C.; Chung, T.-C.; Lee, P.-H.; Chang, C.-C. A Fitness System for Smart Home. Undergraduate Capstone Project, Department of Computer Science and Information Engineering, National United University, 2021. Available online: https://csie.nuu.edu.tw/var/file/41/1041/img/1125/226244637.pdf (accessed on 31 May 2025).
  2. Lin, P.-W. Attractive Factors of Regular Users to Fitness Indoor Cycling. Master’s Thesis, Department of Industrial Design, Tunghai University, Taichung, Taiwan, 2022. Available online: https://hdl.handle.net/11296/k3x6ek (accessed on 31 May 2025).
  3. Chang, D.Y.; Kuo, Y.-C.; Liao, Y.-H. Effects of Exercise Training on Schizophrenia Disorders. J. Sports Res. 2020, 29, 51–58. [Google Scholar] [CrossRef]
  4. Taiwansensor. SP32-DevKitC Espressif Systems WROOM-32U Development Board ESP32-D0WD External Antenna. Available online: https://www.taiwansensor.com.tw/product/esp32-devkitc-espressif-systems (accessed on 31 May 2025).
  5. ArduinoModules.info. KY-024/49E Hardware Introduction. Available online: https://arduinomodules.info/ky-024-linear-magnetic-hall-module/ (accessed on 31 May 2025).
  6. Mouser Electronics. SparkFun Serial Graphic LCD 128 × 64-LCD-09351. Available online: https://www.mouser.com/ProductDetail/SparkFun/LCD-09351/?qs=WyAARYrbSnb2niE0kKmc5g%3D%3D (accessed on 31 May 2025).
  7. Wikipedia Contributors. Arduino. Wikipedia, The Free Encyclopedia. Available online: https://zh.wikipedia.org/zh-tw/Arduino (accessed on 31 May 2025).
  8. Arduino. Arduino IDE Introduction. Available online: https://www.arduino.cc/en/Guide/Introduction (accessed on 31 May 2025).
  9. Wikipedia Contributors. XAMPP. Wikipedia, The Free Encyclopedia. Available online: https://zh.wikipedia.org/zh-tw/XAMPP (accessed on 31 May 2025).
  10. Google Cloud. Google Cloud Official Website. Available online: https://cloud.google.com/?hl=zh-tw (accessed on 31 May 2025).
  11. Wikipedia Contributors. Google Cloud Platform (GCP). Wikipedia, The Free Encyclopedia. Available online: https://zh.wikipedia.org/zh-tw/Google%E9%9B%B2%E7%AB%AF%E5%B9%B3%E5%8F%B0 (accessed on 31 May 2025).
  12. Google. Google Fit. Available online: https://www.google.com/fit/ (accessed on 31 May 2025).
  13. OpenAI. Whisper: Robust Speech Recognition via Large-Scale Weak Supervision. GitHub Repository, 2022. Available online: https://github.com/openai/whisper (accessed on 31 May 2025).
  14. Bain, M. WhisperX: Automatic Speech Recognition with Word-Level Timestamps (& Diarization). Available online: https://github.com/m-bain/whisperX (accessed on 31 May 2025).
  15. Kumar, A. Text-to-Speech | gTTs Python Module. DEV Community. Available online: https://dev.to/anandraz/text-to-speech-gtts-python-module-5bfh (accessed on 31 May 2025).
  16. Lee, T. Five Great Reasons to Recommend! ECharts Powerful Visualization Chart Library. Medium. Available online: https://tonyaleelucky.medium.com/346b4e830dc2 (accessed on 31 May 2025).
  17. MQTTX. Introduction-MQTTX Documentation. Available online: https://mqttx.app/zh/docs (accessed on 31 May 2025).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.