Project tutorial
This Device Will Never Get You Heat Stroke

This Device Will Never Get You Heat Stroke

During the summers, many people get sunstroke because of playing in the sun for too long. So this device will prevent getting sunstroke.

  • 3 views
  • 0 comments
  • 0 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)
Hy gluegun
Hot glue gun (generic)

Apps and online services

About this project

SustrokeDetector CAP By Hemesh 13yr old

Last summer I got a severe heatstroke because of playing in the sun for a long time. Then I wanted to play in the sun but I still didn't want to get sunstroke. So I created a hat or a cap which has a temperature sensor, so according to the age if there is a chance of getting sunstroke the buzzer will beep.

This can even be implemented in other devices like watches and belts.

WORKING

The LM35 temperature sensor will check the temperature and there will be a Timer in the code. IF THE TIMER ACCORDING TO THE AGE (13 - 17 YRS) WILL BE BROKEN AND THE BUZZER WILL BEEP FOR 15 Secs ALERTING THE USER THAT HE IS GETTING HEATSTROKE. This project is made with Arduino Nano.

You can make this project by following the five steps given below.

PROCESS

STEP 1:

First of all build the circuit in the breadboard using jumpers.

Circuit - https://easyeda.com/Hemesh/sunstroke-detecting-cap

Here is the pinout of the temperature sensor

SENSOR

  • Connect the VCC pin of sensor to 5V pin of Arduino.
  • Connect OUT pin of sensor to A0 pin of Arduino.
  • Connect GND pin of sensor to GND pin of Arduino.

BUZZER

Connect + pin of buzzer to D12 of Arduino.

Connect - pin of buzzer to GND of Arduino.

STEP 2:

Upload the code with the help of Mini USB TO USB A Cable. Plug it in to the Arduino Nano, connect it to your computer and click the upload button on the Arduino IDE.

STEP 3:

Ensure that this works by puting it near a lighted candle for a while or play in the sun.

Then convert the breadboard circuit into a more permanent circuit by making a PCB or making perfboard or soldering rainbow wires to the Arduino Nano.

Then connect a 9 Volts battery to

  • The positive terminal of the battery to the Vin pin of the Arduino Nano.
  • The negative terminal of the battery to the GND pin of the Arduino Nano.
  • Add a switch to the negative terminal of the battery.

STEP 4:

Stick the circuit to a small transparent box and attach it to your Favourite cap or hat with Hot glue gun. Ensure to poke a hole on the small box for sensor to sense the temperature AS SHOWN.

STEP 5:

Go out for a play in the sun and you will not have a chance of having a HEATSTROKE.

-------------------------------------------------THANK YOU-----------------------------------------------------

Code

Sunstroke Detecting capArduino
Copy an paste the code in the IDE. Select the Arduino Board - Arduino Nano and the port COMXX
int value;
float celsius;
const int inPin = A0; 
                 
void setup() {
 pinMode(12,OUTPUT);
}
void loop() {
  value = analogRead(inPin);
  celsius = value * 0.48828125;
  Serial.print(celsius);
  Serial.println("'c")
 
 if (celsius >= 36 && celsius <= 38){
 delay (9000000);
 digitalWrite(9,HIGH);
 delay(15000);
 digitalWrite(9,LOW);
}
if(celsius >= 38 && celsius <= 40){
delay(5400000);
digitalWrite(9,HIGH);
delay(15000);
digitalWrite(9,LOW);
}
if(celsius>40){
delay(1800000);
digitalWrite(9,HIGH);
delay(15000);
digitalWrite(9,LOW);

}
}

Schematics

Schematic
Made with easy eda
Schematic kjdcm2lou5

Comments

Similar projects you might like

DIY Portable Distance Detection Device

Project tutorial by Viktor S

  • 6,179 views
  • 5 comments
  • 17 respects

Carfox: A Device to Find Them All

Project tutorial by Luis Roda Sánchez

  • 6,348 views
  • 2 comments
  • 28 respects

Otto DIY+ Arduino Bluetooth Robot Easy to 3D Print

Project tutorial by Team Otto builders

  • 49,918 views
  • 117 comments
  • 168 respects

Probability | Autonomous Rover

Project in progress by colepurtzer

  • 6,227 views
  • 19 comments
  • 41 respects

Arduino Powered CPR Feedback Device

Project showcase by David Escobar

  • 4,056 views
  • 8 comments
  • 25 respects

Helping the Disabled and Chronic Patients battle the heat

Project tutorial by Manan Rai

  • 2,337 views
  • 0 comments
  • 9 respects
Add projectSign up / Login