Components needed Ultrasonic SensorPiezo(buzzer)An LEDA resistorJumper cablesBreadboardArduino BoardA 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 , and a red light will turn … Continue reading Tutorial 10: Security System using an Ultrasonic Sensor HC-SR04
Tutorial 9: Using 74HC595 Shift Register
What is a shift register? When should we use it? A shift register is an Integrated Circuit (IC), which allows us to expand the number of pins we can use on our Arduino Board (in fact, any micro-controller). So far we learned about many different components and sensors like an LED, buzzer, RGB LED, DHT11 … Continue reading Tutorial 9: Using 74HC595 Shift Register
Tutorial 8: Using Temperature and Humidity Sensor (DHT11)
Components needed DHT11 SensorJumper cablesA breadboardAn Arduino BoardA 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 = "); Serial.print(humidity); Serial.print("%"); Serial.print(" … Continue reading Tutorial 8: Using Temperature and Humidity Sensor (DHT11)
Tutorial 7: Using a Piezo (Buzzer)
Components needed Piezo (buzzer) An LEDA resistorA potentiometerJumper cablesArduino Uno BoardBreadboardA 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 legs. One for ground and one … Continue reading Tutorial 7: Using a Piezo (Buzzer)
Tutorial 6: Using a Photoresistor
Components needed PhotoresistorLEDResistorsJumper cablesArduino Uno boardBreadboardA USB CableA 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 changes based on light. More the light, … Continue reading Tutorial 6: Using a Photoresistor
Tutorial 5: Programming the Potentiometer with the RGB
Components needed Arduino Uno BoardBreadboardPotentiometerResistorsJumper CablesAn RGB LEDUSB CableA computer with the Arduino IDE installed Completed Circuit The image above shows the completed circuit showing the potentiometer controlling the color of the RGB LED. Changing the resistance, by turning the knob of the potentiometer, changes the color of the RGB LED. The Program int wiperPin … Continue reading Tutorial 5: Programming the Potentiometer with the RGB