Security System using an Ultrasonic Sensor HC-SR04

Components needed Ultrasonic Sensor Piezo(buzzer) An LED A resistor Jumper cables Breadboard Arduino Board A computer with the Arduino IDE installed Completed Circuit The image above is the completed circuit for the security system. We will build a simple security system using an ultrasonic sensor where if something is stolen, the piezo (buzzer) will buzz … Continue reading Security System using an Ultrasonic Sensor HC-SR04

Temperature and Humidity Sensor (DHT11)

Components needed DHT11 Sensor Jumper cables A breadboard An Arduino Board A computer with the Arduino IDE installed Completed Circuit The Program #include <DHT.h> #include <DHT_U.h> DHT dht(2, DHT11); float tempInCelcius; float tempInFarenheit; float humidity; void setup() { Serial.begin(9600); Serial.println("Humidity and Temperature Sensor Program"); dht.begin(); } void loop() { delay(2000); tempInCelcius=dht.readTemperature(); humidity=dht.readHumidity(); tempInFarenheit=tempInCelcius*9/5+32; Serial.print("Humidity = … Continue reading Temperature and Humidity Sensor (DHT11)

Piezo (Buzzer)

Components needed Piezo (buzzer) An LED A resistor A potentiometer Jumper cables Arduino Uno Board Breadboard A computer with the Arduino IDE installed Completed Circuit The image above shows the completed circuit using the buzzer along with the potentiometer (my favorite component) and the LED. The buzzer is a very simple component. It has two … Continue reading Piezo (Buzzer)

Photoresistor

Components needed Photoresistor LED Resistors Jumper cables Arduino Uno board Breadboard A USB Cable A computer with the Arduino IDE installed Completed Circuit The circuit above shows the use of a photoresistor. As we learned in the previous blog, the resistance changes in potentiometer by turning the knob. Similarly the resistance in of the photoresistor … Continue reading Photoresistor