Skip to content

Innovative Chetan

  • Home
  • Arduino
  • Rasberry Pi
  • Node MCU
  • Electronics
  • Experiments

Uncategorized

How to make a Rain Detector with alarm

July 11, 2020 by neptune7000000@gmail.com

Source Code:- int rainmodule = 0; int buzzer = 1; int led = 2; int Rain = HIGH; void setup() { pinMode (rainmodule, INPUT); pinMode (buzzer, OUTPUT); pinMode (led, OUTPUT); } void loop() { Rain = digitalRead(firesensor); if (Rain== LOW) { digitalWrite(buzzer, HIGH); digitalWrite(led,HIGH); } else { digitalWrite(buzzer, LOW); digitalWrite(led,LOW); } }  

Categories Arduino, Uncategorized Leave a comment

Recent Posts

  • 5 Kilo-watt Led Chaser
  • 8x8x8 Led Cube
  • Automatic Water Tap
  • Smart Dustbin with Arduino
  • Laser Light Security System

Recent Comments

    Innovative Chetan

    Hello friends, Welcome to the “Innovative Chetan” website. Innovative Chetan is an educational website. This website specially crafted for the genius minds who want to learn something new. Here we upload the various type of Arduino projects, Raspberry pi projects, Electronics projects, and IoT projects tutorials with the circuit diagram and source code.

    DISCLOSURE

    Innovative Chetan is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com

    © 2022 Innovative Chetan • Built with GeneratePress