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

Potentiometer

Components needed Potentiometer LED Resistor Jumper cables Arduino Uno Board Breadboard USB cable Computer with Arduino IDE installed Completed Circuit Potentiometer is a variable resistor. It has three legs (pins). Left most pin is for the power, right most pin is for the ground and middle pin is connected to sliding contact, called wiper, which … Continue reading Potentiometer