基于单片机的心率计设?- 百度文库

ڵƬʼ

ͼ 3-6 -5VԴѹͼ

3.4źűȽϵ·

ѹȽһֳõļɵ·ڱ·ԶƵ·ҲV/F 任·A/D 任·ٲ·Դѹ·ѹ··ȡҪԭ͹·ѹȽǶģѹȽСжϳһѹߣӵźŵѹСڸֵʱʾ0Vڸֵʱʾ5Vγ05Vķͼ3-7 ʾ

ͼ3-7 ѹȽ

14

ڵƬʼ

3.5 LCD12864ʾ·

ʾ·LCD128642ֻʵʱⱻߵʣϣһ̴죬ҺʾֵҪͬʱʵֶԲκƵʽʾ12864Һлͼָ12864Һ϶̬Ļ߲¡ǵ12864Һͼģʽһģʽģʽһģʽ¿ʾ֣ͼģʽ¿Զ12864Һ128*64пƣͨһһʾγɶ̬ߡʾ·ԭͼͼ3-8ʾ

ͼ 3-8 LCDʾ·

3.6 ·

оƬX25045X25045ֳùܣŹʱѹغ512ֽڵE2PROMŹʱԵƬṩıϵͳϵͳֹʱڿѡijʱ֮󣬿ŹRESTźӦX25045Ƴೣ΢ϵеͬӿڣSPIӵ5128EEPROMÿβĽɸҪá洢浽X25045Уÿβֻռһֽڡͼ3-9ʾ

15

ڵƬʼ

ͼ 3-9 ·

3.7 ̵·

ΪI/O㹻ãƲԼ̡ĸŷֱŷķӵءгɨ衣4ֱӵCPUP14P15P16P17ϣɿʼ²ѯϲѯϲѯ²ѯͬʱʱ䡣ͼ3-10ʾ

ͼ 3-10̵·

4ϵͳ

ڵƬʼƵҪͼжϳͼʾӳɡCԳʵֽϸӵ㷨ԳнϸߵЧ׾ϸеʱ䣬ʼƵijнϸӵļ㣨ʱtڵƽֵҪϸʱ䣨ʱ䣩ԿƳɲCԺͻԻϱ̡

16

ڵƬʼ

4.1ԭ

KĶʱΪt룩ʱ t ʵƽֵΪn/֣

n = 60K/t (4-1) ΪܹõƬⶨtֵźſƣKڣƬĶʱ/T0ʱʱ1msжһΣĴжϴмȻȡֵüֵΪNУ

t = 0.001N (4-2) (2)(1)õ

n = 60k/0.001N =60000K/N (4-3)

ʽ(3)õƬⶨֵѧģͣС0.4%ڸõƬϵͳУK = 1~~9ûͨãɲʷΧ20/~~200/֣NķΧ300~~30000

4.2ͼ

ͼͼ4-1ʾʼǵƬģҪȷжڵַͳڡȻʾȫ㣬ĿΪǷź룬ûźʱʾȫ㣬˵ʼû֮

бȽҪһǶʱl00msҪΪ6sϵͳöʱT1ʱʵ100msĶʱжϵȴռóִеľ󲿷ʱ䣬һѭ䣬ֻежʱִжϷӳ򣬽ۼӼĽۼ֮жϲĴδ60Σ˵6 sؼȴжϣֱ60Ϊֹ֮6sڲõĴɶתΪʮ͵Һʾ

17

ϵͷ779662525#qq.com(#滻Ϊ@) ICP20003344-4