Estação de Monitoramento de Saúde
Componentes e suprimentos
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 2 | |||
![]() |
| × | 1 | |||
| × | 1 |
Aplicativos e serviços online
![]() |
| |||
![]() |
|
Sobre este projeto
Eletrônica com fio com sensores e um aplicativo fornecerá uma maneira fácil de controlar o estado de saúde e os parâmetros circundantes
Código
- Código
Código C / C ++
#include#include #define AM2302_PIN 7 # include #include #define ONE_WIRE_BUS 2OneWire oneWire (ONE_WIRE_BUS); AM2302 dht (AM2302_PIN); SoftwareSerial Bluetooth (10, 9); Dados de string; int pulsePin =0; int blinkPin =13; int volátil BPM; int volátil Sinal; int volátil IBI =600; Pulso booleano volátil =falso; QS booleano volátil =falso; taxa interna volátil [10]; volátil sem sinal longo sampleCounter =0; volátil não assinado long lastBeatTime =0; volátil int P =512; volátil int T =512; limite interno volátil =512; volátil int amp =100; volatile boolean firstBeat =true; segundoBeat booleano volátil =falso; void interruptSetup () {TCCR2A =0x02; TCCR2B =0x06; OCR2A =0X7C; TIMSK2 =0x02; sei (); } ISR (TIMER2_COMPA_vect) {cli (); Sinal =analogRead (pulsePin); sampleCounter + =2; int N =sampleCounter - lastBeatTime; if (Sinal (IBI / 5) * 3) {if (Sinal thresh &&Signal> P) {P =Signal; } if (N> 250) {if ((Sinal> limiar) &&(Pulso ==falso) &&(N> (IBI / 5) * 3)) {Pulso =verdadeiro; digitalWrite (blinkPin, HIGH); IBI =sampleCounter - lastBeatTime; lastBeatTime =sampleCounter; if (secondBeat) {secondBeat =false; para (int i =0; i <=9; i ++) {taxa [i] =IBI; }} if (firstBeat) {firstBeat =false; secondBeat =true; sei (); Retorna; } palavra runningTotal =0; para (int i =0; i <=8; i ++) {taxa [i] =taxa [i + 1]; runningTotal + =taxa [i]; } taxa [9] =IBI; runningTotal + =taxa [9]; runningTotal / =10; BPM =60000 / runningTotal; QS =verdadeiro; }} if (Signal 2500) {limite =512; P =512; T =512; lastBeatTime =sampleCounter; firstBeat =true; secondBeat =false; } sei (); } void setup () {Bluetooth.begin (9600); Serial.begin (9600); dht.begin (); sensores.begin (); interruptSetup ();} void loop () {sensores.requestTemperatures (); dht.readHumidity (); dht.readTemperature (); if (isnan (dht.umidity) || isnan (dht.temperature_C)) {return; } if (QS ==true) {Serial.print (sensores.getTempCByIndex (0)); Serial.print (""); Serial.print (dht.temperature_C); Serial.print (""); Serial.print (dht.umidity); Serial.print (""); Serial.println (BPM); Bluetooth.print (sensores.getTempCByIndex (0)); Bluetooth.print (""); Bluetooth.print (dht.temperature_C); Bluetooth.print (""); Bluetooth.print (dht.umidity); Bluetooth.print (""); Bluetooth.println (BPM); QS =falso; } atraso (1500);}
Código
Código para IDE arduinohttps://github.com/dikhalipina/Tutorials-for-arduinoPeças personalizadas e gabinetes
Aplicativo Android para monitoramento de estação de saúde
https://github.com/dikhalipina/Tutorials-for-arduinoEsquemas










Processo de manufatura
- Registrador de temperatura Raspberry Pi
- Monitoramento de temperatura no Raspberry Pi
- Sensor de temperatura Python e Raspberry Pi
- Estação meteorológica Raspberry Pi
- Monitorando a temperatura com Raspberry Pi
- Temperatura do Raspberry Pi e sensor de luz
- Sensor de temperatura Raspberry Pi
- Machinery Health Monitor combina monitoramento de vibração e temperatura
- Sensor de temperatura do rolamento | detector
- Sensor de gás vestível para monitoramento de saúde e meio ambiente