Smart Sports Watch
Author: hehung
1. Introduction
This work is a smart sports watch, which can realize time, alarm, stopwatch, step counting, Bluetooth reminder, temperature and humidity, air pressure and compass functions. However, due to my own reasons, I only completed part of this competition, and I have deep apologies to the project team and ON Semiconductor. I thought I could have three months to complete this work, but due to work and life in the past few months, time is really scarce. At present, I have only completed time, alarm and stopwatch. The reason why this work is not completed is that the Bluetooth debugging and IIC communication debugging of the SENSE board have not been completed. . .
2. System Block Diagram
The software mainly relies on IIC to collect data from various sensors, calculate various parameters and then display them through OLED. Two buttons are used to control interface switching and data reading.
3. Functional description of each part
1. The main interface is time. Since there is no onboard RTC, a timer is used to calculate and sample the time:
2. Buttons
Buttons are used to switch between interfaces and function control buttons.
3. Menu interface
Press the left button to switch interfaces
In the menu interface, press the left button to switch the selected menu, and press the right button to confirm and enter the selected function.
Menu interface:
4. Stopwatch interface
The stopwatch has start, pause, and clear functions, and can perform timing calculation operations.
The left button switches functions, and there is a button to select a function
5. Alarm clock interface
The alarm clock has on and off settings, and alarm time settings.
The left button switches functions, and the right button selects a function.
Family tree:
4. Source Code
Smart_watch.zip
(940.1 KB, downloads: 7)
5. Demonstration video of the work’s functions
Video:
https://b23.tv/2RdUAK
6. Project Summary
I still learned a lot from this competition. The low-power Bluetooth chip is indeed very powerful, but there is more for me to learn, and I will need to spend more time studying it later.
This work has realized the above functions. I am ashamed to say that I have failed the staff and the kindness of ON Semiconductor and Avnet. I will definitely study the RSL10 chip carefully when I have time in the future.
Although it is not finished, I still attach my code, welcome to correct me:
VII. Others
Thank you ON Semiconductor and Avnet for giving me this opportunity, and thank you eeworld and its staff for their trust and dedication.
|