Überwachungsstation
Komponenten und Verbrauchsmaterialien
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 2 | |||
![]() |
| × | 1 | |||
| × | 1 |
Apps und Onlinedienste
![]() |
| |||
![]() |
|
Über dieses Projekt
Eine kabelgebundene Elektronik mit Sensoren und einer App bietet eine einfache Möglichkeit, den Gesundheitszustand und die Umgebungsparameter zu kontrollieren
Code
- Code
CodeC/C++
#include#include #define AM2302_PIN 7#include #include #define ONE_WIRE_BUS 2OneWire oneWire(ONE_WIRE_BUS);DallasTemperatursensoren; AM2302 dht(AM2302_PIN);SoftwareSerial Bluetooth(10, 9);String Data;int pulsePin =0;int blinkPin =13;volatile int BPM;volatile int Signal;volatile int IBI =600;volatile boolean Pulse =false;volatile boolean QS =false;flüchtige Int-Rate[10]; volatile unsigned long sampleCounter =0; volatile unsigned long lastBeatTime =0; flüchtig int P =512; flüchtige int T =512; volatile int thresh =512; flüchtiger int amp =100; volatile boolean firstBeat =true; volatile boolean secondBeat =false; Void InterruptSetup () {TCCR2A =0x02; TCCR2B =0x06; OCR2A =0X7C; TIMSK2 =0x02; sei(); }ISR(TIMER2_COMPA_vect) {cli(); Signal =analogRead (pulsePin); Probenzähler +=2; int N =SampleCounter - lastBeatTime; if (Signal (IBI / 5) * 3) { if (Signal Thresh &&Signal> P) { P =Signal; } if (N> 250) { if ( (Signal> Thresh) &&(Puls ==false) &&(N> (IBI / 5) * 3)) {Puls =true; digitalWrite (blinkPin, HIGH); IBI =SampleCounter - lastBeatTime; lastBeatTime =SampleCounter; if (secondBeat) { secondBeat =false; für (int i =0; i <=9; i++) { rate[i] =IBI; } } if (firstBeat) { firstBeat =false; zweiterBeat =wahr; sei(); Rückkehr; } Wort runningTotal =0; für (int i =0; i <=8; i++) { rate[i] =rate[i + 1]; runningTotal +=rate[i]; } Rate[9] =IBI; RunningTotal +=Rate[9]; RunningTotal /=10; BPM =60000 / RunningTotal; QS =wahr; }} if (Signal 2500) { Thresh =512; P =512; T =512; lastBeatTime =SampleCounter; firstBeat =wahr; zweiterBeat =falsch; } sei(); } Einrichtung ungültig () { Bluetooth.begin (9600); Serial.begin (9600); dht.begin(); sensoren.begin(); InterruptSetup();}void loop() {sensoren.requestTemperatures(); dht.readHumidity(); dht.readTemperature(); if (isnan(dht.humidity) || isnan(dht.temperature_C)) { zurück; aufrechtzuerhalten. Wenn (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)); Bluetooth.print(" "); Bluetooth.print (dht.temperature_C); Bluetooth.print(" "); Bluetooth.print (dht.humidity); Bluetooth.print(" "); Bluetooth.println (BPM); QS =falsch; } Verzögerung(1500);}
Code
Code für IDE arduinohttps://github.com/dikhalipina/Tutorials-for-arduinoKundenspezifische Teile und Gehäuse
Android-App zur Überwachung der Gesundheitsstation
https://github.com/dikhalipina/Tutorials-for-arduinoSchaltpläne










Herstellungsprozess
- Himbeer-Pi-Temperaturlogger
- Temperaturüberwachung auf dem Raspberry Pi
- Python- und Raspberry Pi-Temperatursensor
- Raspberry Pi Wetterstation
- Überwachen der Temperatur mit Raspberry Pi
- Raspberry Pi Temperatur- und Lichtsensor
- Raspberry Pi-Temperatursensor
- Machinery Health Monitor kombiniert Vibrations- und Temperaturüberwachung
- Lagertemperatursensor | Detektor
- Tragbarer Gassensor für Gesundheits- und Umweltüberwachung