Professional Documents
Culture Documents
10th Exp IOT
10th Exp IOT
10th Exp IOT
AIM:
To build circuits that use the Hall Effect sensor for detecting the availability of
Magnets, and transmit this content via Bluetooth / WiFi to a remote location using
Arduino and Blynk App.
DEMO EXPERIMENT:
SETUP REQUIRED:
#define Hall_Sensor A0 //A0 used with analog output, D2 with digital output
#define Hall_Sensor_D 2
int Val1=0, Val2=0; //Here you can store both values, the Val2 can be
boolean
void setup()
{
Serial.begin(9600); pinMode(Hall_Sensor_D,INPUT);
pinMode(Hall_Sensor,INPUT);
}
void loop() {
Val1=analogRead(Hall_Sensor); // Read value and display on serial monitor
Serial.print(Val1);
Val2=digitalRead(Hall_Sensor_D);
Serial.print("\t");
Serial.println(Val2);
delay(2000);
}
CIRCUIT DIAGRAM:
PROCEDURE:
PROGRAM ON IDE:
LAB EXPERIMENT:
1. Consider that your house door is locked along with a magnet placed on the
door. When you are away from home you need to be aware of whether
someone has accessed the door without your permission.
TINKERCAD:
Rubrics for On-Lab work and Laboratory record
Experimental Procedure 20
Result 10
Lab Activity 50
Total 100
Result :
Thus with the help of knowledge of working of a hall effect sensor, circuits have been
constructed and implemented successfully.
RESULT:
Thus, with the help of knowledge of working of a Hall Effect Sensor, circuits
have been constructed and implemented successfully.
.