산업 제조
산업용 사물 인터넷 | 산업자재 | 장비 유지 보수 및 수리 | 산업 프로그래밍 |
home  MfgRobots >> 산업 제조 >  >> Manufacturing Technology >> 제조공정

건강 스테이션 모니터링

구성품 및 소모품

Arduino UNO
× 1
점퍼 와이어(일반)
× 1
DHT11 온도 및 습도 센서(3핀)
× 1
온도 센서
× 1
저항 10k 옴
× 2
HC-05 블루투스 모듈
× 1
심박수 센서
× 1

앱 및 온라인 서비스

MIT 앱 인벤터 2
Arduino IDE

이 프로젝트 정보

센서와 앱이 있는 유선 전자 장치는 건강 상태 및 주변 매개변수를 제어하는 ​​쉬운 방법을 제공합니다.

<섹션 클래스="섹션 컨테이너 섹션 축소 가능" id="코드">

코드

<울>
  • 코드
  • 코드C/C++
    #include #include #define AM2302_PIN 7#include #include #define ONE_WIRE_BUS 2OneWire oneWire(ONE_WIRE_Temper)센서&달라스 AM2302 dht(AM2302_PIN);SoftwareSerial Bluetooth(10, 9);문자열 데이터;int pulsePin =0;int 깜박임 핀 =13;volatile int BPM;volatile int 신호;volatile int IBI =600;volatile 부울 펄스 =false;volatile 부울 QS =false, 휘발성 정수 비율[10]; 휘발성 unsigned long sampleCounter =0; 휘발성 부호 없는 long lastBeatTime =0; 휘발성 정수 P =512; 휘발성 int T =512; 휘발성 정수 임계값 =512; 휘발성 int amp =100; 휘발성 부울 firstBeat =true; 휘발성 부울 secondBeat =false; 무효 인터럽트 설정() { TCCR2A =0x02; TCCR2B =0x06; OCR2A =0X7C; TIMSK2 =0x02; 세이(); }ISR(TIMER2_COMPA_vect) { cli(); 신호 =analogRead(펄스핀); 샘플 카운터 +=2; int N =sampleCounter - lastBeatTime; if (신호  (IBI / 5) * 3) { if (신호  임계값 &&신호> P) { P =신호; } if (N> 250) { if ( (신호> 임계값) &&(펄스 ==false) &&(N> (IBI / 5) * 3) ) { 펄스 =true; digitalWrite(blinkPin, HIGH); IBI =sampleCounter - lastBeatTime; lastBeatTime =샘플 카운터; if (secondBeat) { secondBeat =거짓; for (int i =0; i <=9; i++) { rate[i] =IBI; } } if (firstBeat) { firstBeat =거짓; 두 번째 비트 =참; 세이(); 반품; } 단어 runningTotal =0; for (int i =0; i <=8; i++) { rate[i] =rate[i + 1]; runningTotal +=비율[i]; } 비율[9] =IBI; runningTotal +=비율[9]; 총 실행 /=10; BPM =60000 / runningTotal; QS =사실; } } if (신호 <임계값 &&펄스 ==true) { digitalWrite(blinkPin, LOW); 펄스 =거짓; 앰프 =P - T; 쓰레쉬 =amp / 2 + T; P =타작; T =타작; } if (N> 2500) { 임계값 =512; P =512; T =512; lastBeatTime =샘플 카운터; 첫 번째 비트 =참; 두 번째 비트 =거짓; } 세이(); } 무효 설정() { Bluetooth.begin(9600); Serial.begin(9600); dht.begin(); sensor.begin(); interruptSetup();}void 루프() { sensor.requestTemperatures(); dht.read습도(); dht.readTemperature(); if (isnan(dht.humidity) || isnan(dht.temperature_C)) { 반환; } if (QS ==true) { Serial.print(sensors.getTempCByIndex(0)); Serial.print(" "); Serial.print(dht.temperature_C); Serial.print(" "); Serial.print(dht.humidity); Serial.print(" "); Serial.println(BPM); Bluetooth.print(sensors.getTempCByIndex(0)); 블루투스.print(" "); Bluetooth.print(dht.temperature_C); 블루투스.print(" "); Bluetooth.print(dht.humidity); 블루투스.print(" "); 블루투스.println(BPM); QS =거짓; } 지연(1500);}
    코드
    IDE arduino용 코드https://github.com/dikhalipina/Tutorials-for-arduino

    맞춤형 부품 및 인클로저

    건강 스테이션 모니터링을 위한 Android 앱
    https://github.com/dikhalipina/Tutorials-for-arduino

    회로도


    제조공정

    1. 라즈베리 파이 온도 로거
    2. Raspberry Pi의 온도 모니터링
    3. Python 및 Raspberry Pi 온도 센서
    4. 라즈베리 파이 기상 관측소
    5. Raspberry Pi로 온도 모니터링
    6. Raspberry Pi 온도 및 광 센서
    7. 라즈베리 파이 온도 센서
    8. 진동과 온도 모니터링을 결합한 기계 상태 모니터
    9. 베어링 온도 센서 | 탐지기
    10. 건강 및 환경 모니터링을 위한 웨어러블 가스 센서