├── HP-6血压模组资料 ├── HP-6设计指导_V1.1.pdf ├── HP-6通讯协议V1.1-20160903.pdf ├── I2C总线规范.pdf ├── Thumbs.db ├── hp6.c ├── hp6.h └── 驱动 │ ├── HP_6_crc16.c │ ├── HP_6_crc16.h │ ├── HP_6_protocol.c │ ├── HP_6_protocol.h │ ├── Hp_6_I2C.c │ ├── Hp_6_I2C.h │ ├── Hp_6_twi_master.h │ └── Hp_6_twi_sw_master.c ├── IIC和SHT20资料 ├── I2C总线规范.pdf ├── SHT20中文.pdf ├── SHT20英文.pdf └── SHTxx温湿度传感器操作指引中文版.pdf ├── MPU6050资料 ├── ATK-MPU6050六轴传感器模块使用说明(Mini V3)_AN1507.pdf ├── MPU-6000 & MPU-6050产品说明书(中文版).pdf ├── MPU6050代码移植 │ ├── main.c │ ├── mpu6050.c │ ├── mpu6050.h │ ├── stepAlgorithm.c │ ├── stepAlgorithm.h │ ├── watchInfo.c │ └── watchInfo.h ├── Thumbs.db └── 计步算法参考资料2.doc ├── README.md ├── UI图片 ├── UI │ ├── 1.bmp │ ├── 1.c │ ├── 11.bmp │ ├── 2.bmp │ ├── 2.c │ ├── 22.bmp │ ├── 222.bmp │ ├── 2222.bmp │ ├── 222222.bmp │ ├── 3.bmp │ ├── 33.bmp │ ├── 4.bmp │ ├── 44.bmp │ ├── 5.bmp │ ├── 55.bmp │ ├── 6.bmp │ ├── 7.bmp │ ├── 77.bmp │ ├── 8.bmp │ ├── 88.bmp │ ├── 99.bmp │ ├── Thumbs.db │ ├── bluetooth.png │ ├── clock34.bmp │ ├── clock34.png │ ├── pulse_large.BMP │ ├── pulse_small_ok.BMP │ ├── rain (1).bmp │ ├── right_footprint.png │ ├── step_left_first.bmp │ ├── step_right_first.bmp │ ├── torrh.bmp │ ├── 低.bmp │ ├── 开机广告.bmp │ ├── 心率1 (2).jpg │ ├── 打开心率测量.bmp │ ├── 未标题-7.bmp │ ├── 血压.bmp │ └── 血压测量提醒.bmp └── UI2 │ ├── anime.png │ ├── basketball4.png │ ├── battery82.png │ ├── birds11.png │ ├── books8.png │ ├── calendar70.png │ ├── cart10.png │ ├── character01.png │ ├── cloud119.png │ ├── cloudy45.png │ ├── controller3.png │ ├── couple61.png │ ├── dog56.png │ ├── email106.png │ ├── fishing2.png │ ├── flashlight6.png │ ├── floppy16.png │ ├── house134.png │ ├── knife13.png │ ├── map14.png │ ├── musical39.png │ ├── phone102.png │ └── piggy11.png ├── XYDWATCH_原理图_v1.3.pdf ├── XYD_Watch技术手册_V1.2.7_20161110.pdf ├── 基于STM32的智能手环code.zip └── 课堂笔记 ├── 05-rtc.docx ├── 06-HP6 (1).docx ├── 07-SHT20.docx ├── 08-OLED屏.docx ├── 09-MPU6050.docx ├── 10-ADC五相按键.docx ├── 第一讲笔记.docx └── 第二讲笔记.docx /HP-6血压模组资料/HP-6设计指导_V1.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/HP-6血压模组资料/HP-6设计指导_V1.1.pdf -------------------------------------------------------------------------------- /HP-6血压模组资料/HP-6通讯协议V1.1-20160903.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/HP-6血压模组资料/HP-6通讯协议V1.1-20160903.pdf -------------------------------------------------------------------------------- /HP-6血压模组资料/I2C总线规范.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/HP-6血压模组资料/I2C总线规范.pdf -------------------------------------------------------------------------------- /HP-6血压模组资料/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/HP-6血压模组资料/Thumbs.db -------------------------------------------------------------------------------- /HP-6血压模组资料/hp6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/HP-6血压模组资料/hp6.c -------------------------------------------------------------------------------- /HP-6血压模组资料/hp6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/HP-6血压模组资料/hp6.h -------------------------------------------------------------------------------- /HP-6血压模组资料/驱动/HP_6_crc16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/HP-6血压模组资料/驱动/HP_6_crc16.c -------------------------------------------------------------------------------- /HP-6血压模组资料/驱动/HP_6_crc16.h: -------------------------------------------------------------------------------- 1 | /**************************************************************** 2 | Copyright: 2012-2016, Veepoo Tech. Co., Ltd. 3 | File name: HP_6_crc16.h 4 | Description: 5 | Author: WJ 6 | Version: 7 | Date: 2016-09-02 8 | History: 9 | *****************************************************************/ 10 | #ifndef _CRC16_H 11 | #define _CRC16_H 12 | 13 | uint16_t Crc16(uint8_t *data, uint16_t len); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /HP-6血压模组资料/驱动/HP_6_protocol.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/HP-6血压模组资料/驱动/HP_6_protocol.c -------------------------------------------------------------------------------- /HP-6血压模组资料/驱动/HP_6_protocol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/HP-6血压模组资料/驱动/HP_6_protocol.h -------------------------------------------------------------------------------- /HP-6血压模组资料/驱动/Hp_6_I2C.c: -------------------------------------------------------------------------------- 1 | 2 | #include "Hp_6_twi_master.h" 3 | #include 4 | 5 | bool Hp_6_I2CWrite(uint8_t Hp_6_address, uint8_t *pData, uint8_t bytes) 6 | { 7 | return hp_6_twi_master_transfer(Hp_6_address<<0x01, pData, bytes, TWI_ISSUE_STOP); 8 | } 9 | 10 | bool Hp_6_I2CRead(uint8_t Hp_6_address, uint8_t *pData, uint8_t bytes) 11 | { 12 | bool transfer_succeeded; 13 | transfer_succeeded &= hp_6_twi_master_transfer((Hp_6_address<<0x01)|TWI_READ_BIT, pData, bytes, TWI_ISSUE_STOP); 14 | return(transfer_succeeded); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /HP-6血压模组资料/驱动/Hp_6_I2C.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef HP_6_I2C_H 3 | #define HP_6_I2C_H 4 | extern uint8_t Hp_6_address; 5 | bool Hp_6_I2CWrite(uint8_t Hp_6_address, uint8_t *pData, uint8_t bytes) 6 | bool Hp_6_I2CRead(uint8_t Hp_6_address, uint8_t *pData, uint8_t bytes); 7 | #endif 8 | -------------------------------------------------------------------------------- /HP-6血压模组资料/驱动/Hp_6_twi_master.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved. 2 | * 3 | * The information contained herein is property of Nordic Semiconductor ASA. 4 | * Terms and conditions of usage are described in detail in NORDIC 5 | * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 6 | * 7 | * Licensees are granted free, non-transferable use of the information. NO 8 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from 9 | * the file. 10 | * 11 | */ 12 | 13 | #ifndef TWI_MASTER_H 14 | #define TWI_MASTER_H 15 | 16 | /*lint ++flb "Enter library region" */ 17 | 18 | #include 19 | #include 20 | 21 | #include "hal_i2c.h" 22 | #include "nrf_delay.h" 23 | #include "board.h" 24 | #include "nrf_gpio.h" 25 | 26 | /** @file 27 | * @brief Software controlled TWI Master driver. 28 | * 29 | * 30 | * @defgroup lib_driver_twi_master Software controlled TWI Master driver 31 | * @{ 32 | * @ingroup nrf_drivers 33 | * @brief Software controlled TWI Master driver. 34 | * 35 | * Supported features: 36 | * - Repeated start 37 | * - No multi-master 38 | * - Only 7-bit addressing 39 | * - Supports clock stretching (with optional SMBus style slave timeout) 40 | * - Tries to handle slaves stuck in the middle of transfer 41 | */ 42 | 43 | #define TWI_READ_BIT (0x01) //!< If this bit is set in the address field, transfer direction is from slave to master. 44 | 45 | #define TWI_ISSUE_STOP ((bool)true) //!< Parameter for @ref twi_master_transfer 46 | #define TWI_DONT_ISSUE_STOP ((bool)false) //!< Parameter for @ref twi_master_transfer 47 | 48 | #define TWI_SCL_HIGH() do{nrf_gpio_cfg_output(HP_6_SCL);nrf_gpio_pin_set(HP_6_SCL);}while(0) 49 | #define TWI_SCL_LOW() do{nrf_gpio_cfg_output(HP_6_SCL);nrf_gpio_pin_clear(HP_6_SCL);}while(0) 50 | #define TWI_SDA_HIGH() do{nrf_gpio_cfg_output(HP_6_SDA);nrf_gpio_pin_set(HP_6_SDA);}while(0) 51 | #define TWI_SDA_LOW() do{nrf_gpio_cfg_output(HP_6_SDA);nrf_gpio_pin_clear(HP_6_SDA);}while(0) 52 | #define TWI_SDA_INPUT() do{nrf_gpio_cfg_input(HP_6_SDA, BUTTON_PULL);}while(0) 53 | #define TWI_SDA_OUTPUT() do{nrf_gpio_cfg_output(HP_6_SDA);}while(0) 54 | #define TWI_SCL_OUTPUT() do{nrf_gpio_cfg_output(HP_6_SCL);}while(0) 55 | 56 | #define TWI_DIS_CLK() do { nrf_gpio_range_cfg_input(HP_6_SCL, HP_6_SCL, NRF_GPIO_PIN_NOPULL);} while(0) 57 | #define TWI_DIS_SDA() do { nrf_gpio_range_cfg_input(HP_6_SDA, HP_6_SDA, NRF_GPIO_PIN_NOPULL);} while(0) 58 | #define TWI_DISABLE() do { TWI_DIS_CLK(); TWI_DIS_SDA();}while(0) 59 | 60 | #define TWI_SDA_READ() ((NRF_GPIO->IN >> HP_6_SDA) & 0x1UL) /*!< Reads current state of SDA */ 61 | #define TWI_SCL_READ() ((NRF_GPIO->IN >> HP_6_SCL) & 0x1UL) /*!< Reads current state of SCL */ 62 | 63 | #define TWI_DELAY() nrf_delay_us(4) /*!< Time to wait when pin states are changed. For fast-mode the delay can be zero and for standard-mode 4 us delay is sufficient. */ 64 | 65 | /** 66 | * @brief Function for initializing TWI bus IO pins and checks if the bus is operational. 67 | * 68 | * Both pins are configured as Standard-0, No-drive-1 (open drain). 69 | * 70 | * @return 71 | * @retval true TWI bus is clear for transfers. 72 | * @retval false TWI bus is stuck. 73 | */ 74 | bool hp_6_twi_master_init(void); 75 | 76 | /** 77 | * @brief Function for transferring data over TWI bus. 78 | * 79 | * If TWI master detects even one NACK from the slave or timeout occurs, STOP condition is issued 80 | * and the function returns false. 81 | * Bit 0 (@ref TWI_READ_BIT) in the address parameter controls transfer direction; 82 | * - If 1, master reads data_length number of bytes from the slave 83 | * - If 0, master writes data_length number of bytes to the slave. 84 | * 85 | * @note Make sure at least data_length number of bytes is allocated in data if TWI_READ_BIT is set. 86 | * @note @ref TWI_ISSUE_STOP 87 | * 88 | * @param address Data transfer direction (LSB) / Slave address (7 MSBs). 89 | * @param data Pointer to data. 90 | * @param data_length Number of bytes to transfer. 91 | * @param issue_stop_condition If @ref TWI_ISSUE_STOP, STOP condition is issued before exiting function. If @ref TWI_DONT_ISSUE_STOP, STOP condition is not issued before exiting function. If transfer failed for any reason, STOP condition will be issued in any case. 92 | * @return 93 | * @retval true Data transfer succeeded without errors. 94 | * @retval false Data transfer failed. 95 | */ 96 | bool hp_6_twi_master_transfer(uint8_t address, uint8_t *data, uint8_t data_length, bool issue_stop_condition); 97 | 98 | /** 99 | *@} 100 | **/ 101 | 102 | /*lint --flb "Leave library region" */ 103 | #endif //TWI_MASTER_H 104 | -------------------------------------------------------------------------------- /HP-6血压模组资料/驱动/Hp_6_twi_sw_master.c: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved. 2 | * 3 | * The information contained herein is property of Nordic Semiconductor ASA. 4 | * Terms and conditions of usage are described in detail in NORDIC 5 | * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 6 | * 7 | * Licensees are granted free, non-transferable use of the information. NO 8 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from 9 | * the file. 10 | * 11 | */ 12 | 13 | #include 14 | #include 15 | #include "board.h" 16 | #include "nrf_gpio.h" 17 | #include "Hp_6_twi_master.h" 18 | 19 | /*lint -e415 -e845 -save "Out of bounds access" */ 20 | #define TWI_SDA_STANDARD0_NODRIVE1() do { \ 21 | NRF_GPIO->PIN_CNF[HP_6_SDA] = (GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos) \ 22 | |(GPIO_PIN_CNF_DRIVE_S0D1 << GPIO_PIN_CNF_DRIVE_Pos) \ 23 | |(GPIO_PIN_CNF_PULL_Pullup << GPIO_PIN_CNF_PULL_Pos) \ 24 | |(GPIO_PIN_CNF_INPUT_Connect << GPIO_PIN_CNF_INPUT_Pos) \ 25 | |(GPIO_PIN_CNF_DIR_Input << GPIO_PIN_CNF_DIR_Pos); \ 26 | } while (0) /*!< Configures SDA pin to Standard-0, No-drive 1 */ 27 | 28 | 29 | #define TWI_SCL_STANDARD0_NODRIVE1() do { \ 30 | NRF_GPIO->PIN_CNF[HP_6_SCL] = (GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos) \ 31 | |(GPIO_PIN_CNF_DRIVE_S0D1 << GPIO_PIN_CNF_DRIVE_Pos) \ 32 | |(GPIO_PIN_CNF_PULL_Pullup << GPIO_PIN_CNF_PULL_Pos) \ 33 | |(GPIO_PIN_CNF_INPUT_Connect << GPIO_PIN_CNF_INPUT_Pos) \ 34 | |(GPIO_PIN_CNF_DIR_Input << GPIO_PIN_CNF_DIR_Pos); \ 35 | } while (0) /*!< Configures SCL pin to Standard-0, No-drive 1 */ 36 | 37 | 38 | /*lint -restore */ 39 | 40 | #ifndef TWI_MASTER_TIMEOUT_COUNTER_LOAD_VALUE 41 | #define TWI_MASTER_TIMEOUT_COUNTER_LOAD_VALUE (0UL) //!< Unit is number of empty loops. Timeout for SMBus devices is 35 ms. Set to zero to disable slave timeout altogether. 42 | #endif 43 | 44 | static bool twi_master_clear_bus(void); 45 | static bool twi_master_issue_startcondition(void); 46 | static bool twi_master_issue_stopcondition(void); 47 | static bool twi_master_clock_byte(uint_fast8_t databyte); 48 | static bool twi_master_clock_byte_in(uint8_t *databyte, bool ack); 49 | static bool twi_master_wait_while_scl_low(void); 50 | 51 | bool hp_6_twi_master_init(void) 52 | { 53 | // Configure both pins to output Standard 0, No-drive (open-drain) 1 54 | TWI_SDA_STANDARD0_NODRIVE1(); /*lint !e416 "Creation of out of bounds pointer" */ 55 | TWI_SCL_STANDARD0_NODRIVE1(); /*lint !e416 "Creation of out of bounds pointer" */ 56 | 57 | // Configure SCL as output 58 | TWI_SCL_HIGH(); 59 | TWI_SCL_OUTPUT(); 60 | 61 | // Configure SDA as output 62 | TWI_SDA_HIGH(); 63 | TWI_SDA_OUTPUT(); 64 | 65 | return twi_master_clear_bus(); 66 | } 67 | 68 | bool hp_6_twi_master_transfer(uint8_t address, uint8_t *data, uint8_t data_length, bool issue_stop_condition) 69 | { 70 | bool transfer_succeeded = true; 71 | 72 | transfer_succeeded &= twi_master_issue_startcondition(); 73 | transfer_succeeded &= twi_master_clock_byte(address); 74 | 75 | if (address & TWI_READ_BIT) 76 | { 77 | /* Transfer direction is from Slave to Master */ 78 | while (data_length-- && transfer_succeeded) 79 | { 80 | // To indicate to slave that we've finished transferring last data byte 81 | // we need to NACK the last transfer. 82 | if (data_length == 0) 83 | { 84 | transfer_succeeded &= twi_master_clock_byte_in(data, (bool)false); 85 | } 86 | else 87 | { 88 | transfer_succeeded &= twi_master_clock_byte_in(data, (bool)true); 89 | } 90 | data++; 91 | } 92 | } 93 | else 94 | { 95 | /* Transfer direction is from Master to Slave */ 96 | while (data_length-- && transfer_succeeded) 97 | { 98 | transfer_succeeded &= twi_master_clock_byte(*data); 99 | data++; 100 | } 101 | } 102 | 103 | if (issue_stop_condition || !transfer_succeeded) 104 | { 105 | transfer_succeeded &= twi_master_issue_stopcondition(); 106 | } 107 | 108 | return transfer_succeeded; 109 | } 110 | 111 | /** 112 | * @brief Function for detecting stuck slaves and tries to clear the bus. 113 | * 114 | * @return 115 | * @retval false Bus is stuck. 116 | * @retval true Bus is clear. 117 | */ 118 | static bool twi_master_clear_bus(void) 119 | { 120 | bool bus_clear; 121 | 122 | TWI_SDA_HIGH(); 123 | TWI_SCL_HIGH(); 124 | TWI_DELAY(); 125 | 126 | 127 | if (TWI_SDA_READ() == 1 && TWI_SCL_READ() == 1) 128 | { 129 | bus_clear = true; 130 | } 131 | else if (TWI_SCL_READ() == 1) 132 | { 133 | bus_clear = false; 134 | // Clock max 18 pulses worst case scenario(9 for master to send the rest of command and 9 for slave to respond) to SCL line and wait for SDA come high 135 | for (uint_fast8_t i=18; i--;) 136 | { 137 | TWI_SCL_LOW(); 138 | TWI_DELAY(); 139 | TWI_SCL_HIGH(); 140 | TWI_DELAY(); 141 | 142 | if (TWI_SDA_READ() == 1) 143 | { 144 | bus_clear = true; 145 | break; 146 | } 147 | } 148 | } 149 | else 150 | { 151 | bus_clear = false; 152 | } 153 | 154 | return bus_clear; 155 | } 156 | 157 | /** 158 | * @brief Function for issuing TWI START condition to the bus. 159 | * 160 | * START condition is signaled by pulling SDA low while SCL is high. After this function SCL and SDA will be low. 161 | * 162 | * @return 163 | * @retval false Timeout detected 164 | * @retval true Clocking succeeded 165 | */ 166 | static bool twi_master_issue_startcondition(void) 167 | { 168 | // Make sure both SDA and SCL are high before pulling SDA low. 169 | TWI_SDA_HIGH(); 170 | TWI_DELAY(); 171 | if (!twi_master_wait_while_scl_low()) 172 | { 173 | return false; 174 | } 175 | 176 | TWI_SDA_LOW(); 177 | TWI_DELAY(); 178 | 179 | // Other module function expect SCL to be low 180 | TWI_SCL_LOW(); 181 | TWI_DELAY(); 182 | 183 | return true; 184 | } 185 | 186 | /** 187 | * @brief Function for issuing TWI STOP condition to the bus. 188 | * 189 | * STOP condition is signaled by pulling SDA high while SCL is high. After this function SDA and SCL will be high. 190 | * 191 | * @return 192 | * @retval false Timeout detected 193 | * @retval true Clocking succeeded 194 | */ 195 | static bool twi_master_issue_stopcondition(void) 196 | { 197 | TWI_SDA_LOW(); 198 | TWI_DELAY(); 199 | if (!twi_master_wait_while_scl_low()) 200 | { 201 | return false; 202 | } 203 | 204 | TWI_SDA_HIGH(); 205 | TWI_DELAY(); 206 | 207 | return true; 208 | } 209 | 210 | /** 211 | * @brief Function for clocking one data byte out and reads slave acknowledgment. 212 | * 213 | * Can handle clock stretching. 214 | * After calling this function SCL is low and SDA low/high depending on the 215 | * value of LSB of the data byte. 216 | * SCL is expected to be output and low when entering this function. 217 | * 218 | * @param databyte Data byte to clock out. 219 | * @return 220 | * @retval true Slave acknowledged byte. 221 | * @retval false Timeout or slave didn't acknowledge byte. 222 | */ 223 | static bool twi_master_clock_byte(uint_fast8_t databyte) 224 | { 225 | bool transfer_succeeded = true; 226 | 227 | /** @snippet [TWI SW master write] */ 228 | // Make sure SDA is an output 229 | TWI_SDA_OUTPUT(); 230 | 231 | // MSB first 232 | for (uint_fast8_t i = 0x80; i != 0; i>>=1) 233 | { 234 | TWI_SCL_LOW(); 235 | // TWI_DELAY(); 236 | 237 | if (databyte & i) 238 | { 239 | TWI_SDA_HIGH(); 240 | } 241 | else 242 | { 243 | TWI_SDA_LOW(); 244 | } 245 | 246 | if (!twi_master_wait_while_scl_low()) 247 | { 248 | transfer_succeeded = false; // Timeout 249 | break; 250 | } 251 | } 252 | 253 | // Finish last data bit by pulling SCL low 254 | TWI_SCL_LOW(); 255 | // TWI_DELAY(); 256 | 257 | /** @snippet [TWI SW master write] */ 258 | 259 | // Configure TWI_SDA pin as input for receiving the ACK bit 260 | TWI_SDA_INPUT(); 261 | 262 | // Give some time for the slave to load the ACK bit on the line 263 | // TWI_DELAY(); 264 | 265 | // Pull SCL high and wait a moment for SDA line to settle 266 | // Make sure slave is not stretching the clock 267 | transfer_succeeded &= twi_master_wait_while_scl_low(); 268 | 269 | // Read ACK/NACK. NACK == 1, ACK == 0 270 | transfer_succeeded &= !(TWI_SDA_READ()); 271 | 272 | // Finish ACK/NACK bit clock cycle and give slave a moment to release control 273 | // of the SDA line 274 | TWI_SCL_LOW(); 275 | // TWI_DELAY(); 276 | 277 | // Configure TWI_SDA pin as output as other module functions expect that 278 | TWI_SDA_OUTPUT(); 279 | 280 | return transfer_succeeded; 281 | } 282 | 283 | /** 284 | * @brief Function for clocking one data byte in and sends ACK/NACK bit. 285 | * 286 | * Can handle clock stretching. 287 | * SCL is expected to be output and low when entering this function. 288 | * After calling this function, SCL is high and SDA low/high depending if ACK/NACK was sent. 289 | * 290 | * @param databyte Data byte to clock out. 291 | * @param ack If true, send ACK. Otherwise send NACK. 292 | * @return 293 | * @retval true Byte read succesfully 294 | * @retval false Timeout detected 295 | */ 296 | static bool twi_master_clock_byte_in(uint8_t *databyte, bool ack) 297 | { 298 | uint_fast8_t byte_read = 0; 299 | bool transfer_succeeded = true; 300 | 301 | /** @snippet [TWI SW master read] */ 302 | // Make sure SDA is an input 303 | TWI_SDA_INPUT(); 304 | 305 | // SCL state is guaranteed to be high here 306 | 307 | // MSB first 308 | for (uint_fast8_t i = 0x80; i != 0; i>>=1) 309 | { 310 | if (!twi_master_wait_while_scl_low()) 311 | { 312 | transfer_succeeded = false; 313 | break; 314 | } 315 | 316 | if (TWI_SDA_READ()) 317 | { 318 | byte_read |= i; 319 | } 320 | else 321 | { 322 | // No need to do anything 323 | } 324 | 325 | TWI_SCL_LOW(); 326 | TWI_DELAY(); 327 | } 328 | 329 | // Make sure SDA is an output before we exit the function 330 | TWI_SDA_OUTPUT(); 331 | /** @snippet [TWI SW master read] */ 332 | 333 | *databyte = (uint8_t)byte_read; 334 | 335 | // Send ACK bit 336 | 337 | // SDA high == NACK, SDA low == ACK 338 | if (ack) 339 | { 340 | TWI_SDA_LOW(); 341 | } 342 | else 343 | { 344 | TWI_SDA_HIGH(); 345 | } 346 | 347 | // Let SDA line settle for a moment 348 | TWI_DELAY(); 349 | 350 | // Drive SCL high to start ACK/NACK bit transfer 351 | // Wait until SCL is high, or timeout occurs 352 | if (!twi_master_wait_while_scl_low()) 353 | { 354 | transfer_succeeded = false; // Timeout 355 | } 356 | 357 | // Finish ACK/NACK bit clock cycle and give slave a moment to react 358 | TWI_SCL_LOW(); 359 | TWI_DELAY(); 360 | 361 | return transfer_succeeded; 362 | } 363 | 364 | /** 365 | * @brief Function for pulling SCL high and waits until it is high or timeout occurs. 366 | * 367 | * SCL is expected to be output before entering this function. 368 | * @note If TWI_MASTER_TIMEOUT_COUNTER_LOAD_VALUE is set to zero, timeout functionality is not compiled in. 369 | * @return 370 | * @retval true SCL is now high. 371 | * @retval false Timeout occurred and SCL is still low. 372 | */ 373 | static bool twi_master_wait_while_scl_low(void) 374 | { 375 | #if TWI_MASTER_TIMEOUT_COUNTER_LOAD_VALUE != 0 376 | uint32_t volatile timeout_counter = TWI_MASTER_TIMEOUT_COUNTER_LOAD_VALUE; 377 | #endif 378 | 379 | // Pull SCL high just in case if something left it low 380 | TWI_SCL_HIGH(); 381 | TWI_DELAY(); 382 | 383 | while (TWI_SCL_READ() == 0) 384 | { 385 | // If SCL is low, one of the slaves is busy and we must wait 386 | 387 | #if TWI_MASTER_TIMEOUT_COUNTER_LOAD_VALUE != 0 388 | if (timeout_counter-- == 0) 389 | { 390 | // If timeout_detected, return false 391 | return false; 392 | } 393 | #endif 394 | } 395 | 396 | return true; 397 | } 398 | -------------------------------------------------------------------------------- /IIC和SHT20资料/I2C总线规范.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/IIC和SHT20资料/I2C总线规范.pdf -------------------------------------------------------------------------------- /IIC和SHT20资料/SHT20中文.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/IIC和SHT20资料/SHT20中文.pdf -------------------------------------------------------------------------------- /IIC和SHT20资料/SHT20英文.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/IIC和SHT20资料/SHT20英文.pdf -------------------------------------------------------------------------------- /IIC和SHT20资料/SHTxx温湿度传感器操作指引中文版.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/IIC和SHT20资料/SHTxx温湿度传感器操作指引中文版.pdf -------------------------------------------------------------------------------- /MPU6050资料/ATK-MPU6050六轴传感器模块使用说明(Mini V3)_AN1507.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/ATK-MPU6050六轴传感器模块使用说明(Mini V3)_AN1507.pdf -------------------------------------------------------------------------------- /MPU6050资料/MPU-6000 & MPU-6050产品说明书(中文版).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/MPU-6000 & MPU-6050产品说明书(中文版).pdf -------------------------------------------------------------------------------- /MPU6050资料/MPU6050代码移植/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/MPU6050代码移植/main.c -------------------------------------------------------------------------------- /MPU6050资料/MPU6050代码移植/mpu6050.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/MPU6050代码移植/mpu6050.c -------------------------------------------------------------------------------- /MPU6050资料/MPU6050代码移植/mpu6050.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/MPU6050代码移植/mpu6050.h -------------------------------------------------------------------------------- /MPU6050资料/MPU6050代码移植/stepAlgorithm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/MPU6050代码移植/stepAlgorithm.c -------------------------------------------------------------------------------- /MPU6050资料/MPU6050代码移植/stepAlgorithm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/MPU6050代码移植/stepAlgorithm.h -------------------------------------------------------------------------------- /MPU6050资料/MPU6050代码移植/watchInfo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/MPU6050代码移植/watchInfo.c -------------------------------------------------------------------------------- /MPU6050资料/MPU6050代码移植/watchInfo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/MPU6050代码移植/watchInfo.h -------------------------------------------------------------------------------- /MPU6050资料/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/Thumbs.db -------------------------------------------------------------------------------- /MPU6050资料/计步算法参考资料2.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/MPU6050资料/计步算法参考资料2.doc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Smart-Bracelet 2 | 基于STM32的智能手环。实现的功能:显示当前日期与时间 温湿度测量 心率测量 血压测量 步数统计 闹钟设置 显示当前的闹钟 通过按键选择不同的功能。详情请看:http://t.csdn.cn/iTYxj 3 | -------------------------------------------------------------------------------- /UI图片/UI/1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/1.bmp -------------------------------------------------------------------------------- /UI图片/UI/1.c: -------------------------------------------------------------------------------- 1 | const unsigned char gImage_1[46] = { 0X22,0X01,0X14,0X00,0X10,0X00, 2 | 0X00,0X1E,0XFF,0X7F,0X1F,0X0F,0X86,0X82,0X82,0XD2,0XF2,0X02,0X02,0X06,0X0F,0X1F, 3 | 0X7F,0XFF,0X1E,0X00,0X00,0X00,0X07,0X8E,0XF8,0X70,0X61,0X41,0X41,0XC1,0XC0,0X40, 4 | 0X40,0X60,0X70,0X70,0X8C,0X07,0X00,0X00,}; 5 | -------------------------------------------------------------------------------- /UI图片/UI/11.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/11.bmp -------------------------------------------------------------------------------- /UI图片/UI/2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/2.bmp -------------------------------------------------------------------------------- /UI图片/UI/2.c: -------------------------------------------------------------------------------- 1 | const unsigned char gImage_2[518] = { 0X22,0X01,0X40,0X00,0X40,0X00, 2 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X80,0XC0,0X60,0XF0,0XF8,0X88,0XF8, 3 | 0XFC,0XC6,0X86,0XFE,0X7C,0XFE,0X86,0X83,0XC3,0XFE,0X38,0X00,0X00,0X00,0X00,0X00, 4 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 5 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 6 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X06,0X0F,0X09,0XCF,0XE3,0X33,0X11,0X18,0X08, 7 | 0X0C,0X0C,0X0C,0X0C,0X0C,0X0C,0X0D,0XF9,0XF1,0X00,0X00,0X00,0X00,0X80,0XC0,0X40, 8 | 0X40,0XC0,0X80,0X80,0X80,0XC0,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 9 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 10 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X7F,0XFF,0X00,0X00,0X00,0X00,0X00, 11 | 0X00,0X00,0XC0,0XF0,0X38,0X1C,0X0E,0X07,0X01,0X00,0X00,0X00,0X00,0X0F,0X3F,0X30, 12 | 0X20,0X31,0X9F,0X9F,0X99,0XB0,0X19,0X1F,0X33,0X33,0X7E,0X6C,0XF8,0XF8,0X60,0XE0, 13 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 14 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0X0F,0X7C,0XE0,0X00,0X00, 15 | 0X00,0X00,0X07,0X1F,0X30,0XE0,0XC0,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X7E, 16 | 0XC3,0X81,0X01,0X01,0X01,0X01,0X01,0X03,0X03,0X02,0X06,0X0C,0X39,0XF3,0X83,0X01, 17 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 18 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X1F,0X7C,0XC0, 19 | 0XC0,0X80,0X80,0X80,0XC0,0XE0,0X7F,0X0E,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 20 | 0X00,0X01,0X03,0X0E,0XFC,0X60,0X00,0X00,0X00,0X00,0X00,0X80,0XF0,0X3F,0X03,0X00, 21 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 22 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 23 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 24 | 0XE0,0XF8,0X0C,0X07,0X03,0X00,0X00,0X00,0X00,0XF0,0XFE,0X07,0X00,0X00,0X00,0X00, 25 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 26 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 27 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 28 | 0X07,0X0F,0X18,0X10,0X30,0X30,0X30,0X18,0X1C,0X0F,0X01,0X00,0X00,0X00,0X00,0X00, 29 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 30 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 31 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 32 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 33 | 0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00, 34 | }; 35 | -------------------------------------------------------------------------------- /UI图片/UI/22.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/22.bmp -------------------------------------------------------------------------------- /UI图片/UI/222.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/222.bmp -------------------------------------------------------------------------------- /UI图片/UI/2222.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/2222.bmp -------------------------------------------------------------------------------- /UI图片/UI/222222.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/222222.bmp -------------------------------------------------------------------------------- /UI图片/UI/3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/3.bmp -------------------------------------------------------------------------------- /UI图片/UI/33.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/33.bmp -------------------------------------------------------------------------------- /UI图片/UI/4.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/4.bmp -------------------------------------------------------------------------------- /UI图片/UI/44.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/44.bmp -------------------------------------------------------------------------------- /UI图片/UI/5.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/5.bmp -------------------------------------------------------------------------------- /UI图片/UI/55.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/55.bmp -------------------------------------------------------------------------------- /UI图片/UI/6.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/6.bmp -------------------------------------------------------------------------------- /UI图片/UI/7.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/7.bmp -------------------------------------------------------------------------------- /UI图片/UI/77.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/77.bmp -------------------------------------------------------------------------------- /UI图片/UI/8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/8.bmp -------------------------------------------------------------------------------- /UI图片/UI/88.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/88.bmp -------------------------------------------------------------------------------- /UI图片/UI/99.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/99.bmp -------------------------------------------------------------------------------- /UI图片/UI/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/Thumbs.db -------------------------------------------------------------------------------- /UI图片/UI/bluetooth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/bluetooth.png -------------------------------------------------------------------------------- /UI图片/UI/clock34.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/clock34.bmp -------------------------------------------------------------------------------- /UI图片/UI/clock34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/clock34.png -------------------------------------------------------------------------------- /UI图片/UI/pulse_large.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/pulse_large.BMP -------------------------------------------------------------------------------- /UI图片/UI/pulse_small_ok.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/pulse_small_ok.BMP -------------------------------------------------------------------------------- /UI图片/UI/rain (1).bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/rain (1).bmp -------------------------------------------------------------------------------- /UI图片/UI/right_footprint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/right_footprint.png -------------------------------------------------------------------------------- /UI图片/UI/step_left_first.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/step_left_first.bmp -------------------------------------------------------------------------------- /UI图片/UI/step_right_first.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/step_right_first.bmp -------------------------------------------------------------------------------- /UI图片/UI/torrh.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/torrh.bmp -------------------------------------------------------------------------------- /UI图片/UI/低.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/低.bmp -------------------------------------------------------------------------------- /UI图片/UI/开机广告.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/开机广告.bmp -------------------------------------------------------------------------------- /UI图片/UI/心率1 (2).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/心率1 (2).jpg -------------------------------------------------------------------------------- /UI图片/UI/打开心率测量.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/打开心率测量.bmp -------------------------------------------------------------------------------- /UI图片/UI/未标题-7.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/未标题-7.bmp -------------------------------------------------------------------------------- /UI图片/UI/血压.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/血压.bmp -------------------------------------------------------------------------------- /UI图片/UI/血压测量提醒.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI/血压测量提醒.bmp -------------------------------------------------------------------------------- /UI图片/UI2/anime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/anime.png -------------------------------------------------------------------------------- /UI图片/UI2/basketball4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/basketball4.png -------------------------------------------------------------------------------- /UI图片/UI2/battery82.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/battery82.png -------------------------------------------------------------------------------- /UI图片/UI2/birds11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/birds11.png -------------------------------------------------------------------------------- /UI图片/UI2/books8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/books8.png -------------------------------------------------------------------------------- /UI图片/UI2/calendar70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/calendar70.png -------------------------------------------------------------------------------- /UI图片/UI2/cart10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/cart10.png -------------------------------------------------------------------------------- /UI图片/UI2/character01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/character01.png -------------------------------------------------------------------------------- /UI图片/UI2/cloud119.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/cloud119.png -------------------------------------------------------------------------------- /UI图片/UI2/cloudy45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/cloudy45.png -------------------------------------------------------------------------------- /UI图片/UI2/controller3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/controller3.png -------------------------------------------------------------------------------- /UI图片/UI2/couple61.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/couple61.png -------------------------------------------------------------------------------- /UI图片/UI2/dog56.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/dog56.png -------------------------------------------------------------------------------- /UI图片/UI2/email106.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/email106.png -------------------------------------------------------------------------------- /UI图片/UI2/fishing2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/fishing2.png -------------------------------------------------------------------------------- /UI图片/UI2/flashlight6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/flashlight6.png -------------------------------------------------------------------------------- /UI图片/UI2/floppy16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/floppy16.png -------------------------------------------------------------------------------- /UI图片/UI2/house134.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/house134.png -------------------------------------------------------------------------------- /UI图片/UI2/knife13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/knife13.png -------------------------------------------------------------------------------- /UI图片/UI2/map14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/map14.png -------------------------------------------------------------------------------- /UI图片/UI2/musical39.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/musical39.png -------------------------------------------------------------------------------- /UI图片/UI2/phone102.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/phone102.png -------------------------------------------------------------------------------- /UI图片/UI2/piggy11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/UI图片/UI2/piggy11.png -------------------------------------------------------------------------------- /XYDWATCH_原理图_v1.3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/XYDWATCH_原理图_v1.3.pdf -------------------------------------------------------------------------------- /XYD_Watch技术手册_V1.2.7_20161110.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/XYD_Watch技术手册_V1.2.7_20161110.pdf -------------------------------------------------------------------------------- /基于STM32的智能手环code.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/基于STM32的智能手环code.zip -------------------------------------------------------------------------------- /课堂笔记/05-rtc.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/课堂笔记/05-rtc.docx -------------------------------------------------------------------------------- /课堂笔记/06-HP6 (1).docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/课堂笔记/06-HP6 (1).docx -------------------------------------------------------------------------------- /课堂笔记/07-SHT20.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/课堂笔记/07-SHT20.docx -------------------------------------------------------------------------------- /课堂笔记/08-OLED屏.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/课堂笔记/08-OLED屏.docx -------------------------------------------------------------------------------- /课堂笔记/09-MPU6050.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/课堂笔记/09-MPU6050.docx -------------------------------------------------------------------------------- /课堂笔记/10-ADC五相按键.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/课堂笔记/10-ADC五相按键.docx -------------------------------------------------------------------------------- /课堂笔记/第一讲笔记.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/课堂笔记/第一讲笔记.docx -------------------------------------------------------------------------------- /课堂笔记/第二讲笔记.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/J-CHUN/Smart-Bracelet/7f14658c276c57482b4b2313babcebb8481d78e2/课堂笔记/第二讲笔记.docx --------------------------------------------------------------------------------