Portable health monitor for the elderly
1. Introduction
Name: Portable health monitor for the elderly
Function introduction: This design uses RSL10-002GEVB board as the main board, RSL10-SENSE-DB-GEVK : RSL10 sensor development kit as the sub-board. The sub-board is equipped with a 3- axis accelerometer, atmospheric pressure, temperature and humidity detection sensor. The RSL10 can read the 3 -axis acceleration value and atmospheric pressure value of the sensor , ambient temperature and ambient humidity information, and transmit it to the main board via Bluetooth wireless. After the main board receives the information, it will process and judge the information through the RSL10 main control. When it detects that the position of the elderly person reacting to the 3 -axis acceleration has changed, or when it detects that the temperature and humidity are abnormal, or when it detects that the current ambient atmospheric pressure value is abnormal, the main board will send an alarm message to the mobile phone APP .
2. System Block Diagram
3. Functional Description
The design implementation must first build the RSL10 development environment. According to the official description, the RSL10 development environment supports ON Semiconductor IDE based on Eclipse , and supports Keil uVision and IAR embedded workbench. Since I am familiar with Keil uVision , this design uses Keil as the development environment. The computer itself has installed the keil5 for arm software, and you need to download the keil pack package ( ONSemiconductor.RSL10.3.5.285 ) from the ON Semiconductor official website . After downloading, we open the keil5 software and click the pack installer icon, as shown in the figure:
When the dialog box pops up, click " file " ----- " import packs " and select the downloaded pack package.
After the installation is complete, you can see multiple example routines as shown below. You can click the copy button to generate the project file of the routine.
If we first generate an " hci app " project for testing, we can go through the process of downloading the program.
After generation, you can directly open the project file, as shown below:
Compile it, 0 errors, 0 warnings. As shown below
Open ON Semiconductor's downloadable burning software: Flash Loader, and use Browse to open the hex file generated by the compiled project.
Then click "Program" to download the program to the RSL10 board.
In addition, you can use the jlink on the RSL10-002GEVB motherboard . By defining OUTPUT_INTERFACE = OUTPUT_RTT in the keil example, you can use the j-link RTT Viewer to debug the log. The screenshot of opening the J-link RTT Viewer is as follows
After configuring as above, click " ok ", as shown below
The above is an introduction to RSL10 function development using Keil as the development environment .
The RSL10-SENSE-DB-GEVK board of this design has a default firmware for collecting sensor data. Install the official Android version APP , open the software search, and you can search for the Bluetooth signal of the SENSE board. According to the type of onboard sensor, select the corresponding menu in the app to get
APP Screenshots
4. Source code download (based on ble_central_client_scan generation routine of RSL10-002GEVB board )
scan.rar
(9.6 MB, downloads: 8)
5. Functional demonstration video
6. Project Summary
The design I participated in this time was not fully completed. The collected information was not transmitted to the mobile phone APP through the RSL10-002GEVB mainboard, but the collected sensor information was sent to the mobile phone APP directly through the RSL10-SENSE-DB-GEVK board . During the development of this design, it was found that the routine package of RSL10-SENSE-DB-GEVK could not be installed through Keil 's pack . This problem has not been solved. Due to time constraints, the Eclipse - based ON Semiconductor IDE will continue to be used to develop the RSL10-SENSE-DB-GEVK program in the future, and the official support package will be used as the basis to modify the design, so that it will be more convenient to complete this design. The screenshot of Keil failing to install the support package of RSL10-SENSE-DB-GEVK is as follows:
, if anyone can solve this problem, please help me answer it, I will be very grateful, thank you in advance, well, this is the summary and introduction of this design. Although the competition is about to end, the problems encountered in this design and the unfinished parts will continue to be solved and studied, and I will provide additional explanations if there is any progress.
|