-->
Notification texts go here Contact Us pelacakan

Arduino Force Sensor Anti Theft Alarm System

 Arduino Force Sensor Anti Theft Alarm System

Arduino Force Sensor Anti Theft Alarm System
 Arduino Force Sensor Anti Theft Alarm System

Hey friends in this video I will show you how to use Force Sensor FSR to make Anti Theft Alarm System.


Materials:

Arduino UNO / NANO

FSR Force Sensor

16x2 I2c LCD Display

Push Button

Buzzer

LED

Resistor 330, 1k, 10k

Wires

BreadBoard


Circuit:

code arduino : 

//Force Sensor Anti-Theft Alarm System

#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x3F, 16, 2); // LCD HEX address 0x3F -- change according to yours

 

int Force_VAL = 0;

int temp = 0;

int btn = 0;

int buzz = 6;

void setup()

{

  pinMode(A0, INPUT);

  pinMode(4, INPUT);

  pinMode(buzz, OUTPUT);

  Serial.begin(9600);

  lcd.begin();

  

  lcd.setCursor(0,0);

  lcd.print("Force Sensor");

  pinMode(10, OUTPUT);

  digitalWrite(10, LOW);

  digitalWrite(buzz, LOW);

}


إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.