This time I made a Basic earthquake alarm with the KY-002 Shock sensor. Its can be used for multiple purposes, Like most sensors. In this case we use it as a earthquake sensor.
MQ-2 Gas sensor is used to detect the gas level around the area. This sensor able to use as home or factory gas leak monitoring, suitable for gas, butane, propane, methane, alcohol, hydrogen, smoke and other monitoring devices.
Specification:
Size: 35mm x 22mm x 23mm (length x width x height)
Main chip: LM393, ZYMQ-2 gas sensors
Working voltage: DC 5 V
Characteristics:
With a signal output instruction.
Dual signal output (analog output, and high/low digital output)
0 ~ 4.2V analog output voltage, the higher the concentration the higher the voltage.
Better sensitivity for gas, natural gas, city gas.
In this project, we will be making a weather station that measures air pressure, temperature, rain drop, soil humidity and air humidity using Arduino which save the data for data acquisition!
Below is the Arduino Weather Station code. Include the library from AWS_library.rar, upload the code to your Arduino (Mine Arduino UNO R3), and you should have no problems.
Step 4: Test With Your Circuit.
Power through batteries or a plug and you’re good to go.
After making sure that everything works smoothly, you can take this project into bigger project. Check it out >> Integrated Weather Station(IWS) !
ArduinoArduino UNO R3Barometric Pressure SensorBMP180DHT11Moisture sensorprojectrain drop sensorsensorsoil moisture sensorTemperature and Humidity Sensor
This project was made for fun. I came across an idea for just a 2D radar. I wanted to expand upon this. So I created a program that enables you to scan an entire room without needing to use a laser. It works by scanning 100 degrees along the x plane, then going up by 1 degree at a time along the y plane. It then send data via serial to a processing computer. With only an Arduino board, two servos, and an HC-SR04, you can create a room scanner that is capable of showing depth!
In this project, we'll build a motion-sensing arduino alarm using a PIR (passive infrared) sensor and an Arduino UNO. This is a great way to learn the basics of using digital input (from the sensor) and output (in this case, to a noisy buzzer) on Arduino board.
This Arduino alarm is handy for booby traps and practical jokes, and it's just what you'll need to detect a zombie invasion! Plus, it's all built on a breadboard, so no soldering required!
Don't have components? Don't worry. Just click the component's name.
Step 2: Wire Arduino Board To Breadboard.
- Connect digital input/output (I/O) pin 2 on the Arduino UNO to row 1 on the breadboard. (Green color wire)
- Connect the 5V pin on the Arduino UNO to row 2 on the breadboard (Red color wire), and connect a nearby ground (GND) pin to row 3 (Orange color wire).
Step 3: Connect Your Motion Sensor.
- Find the Gnd (-), Vcc (+), Output pins on the PIR sensor.
- Plug the PIR sensor into the breadboard so that its (-) pin connects to the Gnd row, its (+) pin connects to 5V, and its Output pin connects to digital pin 2.
(NOTE: If you have a different sensor that the one shown here, you may need to extend the sensor's pins with a stacking female header, wires, interconnect cables, etc. to fit.)
Step 4: Plug In the LED.
- Plug the LED's anode (longer leg) into digital pin 13 on the Arduino. - Plug the LED's cathode (shorter leg, and/or the leg on the flattened side of the LED base) into the adjacent ground (Gnd) pin on the Arduino.
Step 5: Connect The Piezo Buzzer.
- Connect the Vcc on the Buzzer (Red color wire in image) to the Arduino's digital pin 10. - Connect the Gnd on the Buzzer (Black color wire in image) to the Arduino's Gnd pin.
(NOTE: These two wires can be reversed, as the polarity of the buzzer doesn't matter.)
- When you power up your alarm, the PIR sensor will glow an ominous red. Stand very still or leave the room while the alarm calibrates the infrared level reading for the room. - Now test it by moving: the buzzer will buzz and the LED will light up. - Be amazed! Your PIR Sensor Arduino Alarm can sense movement up to 20 feet away. (NOTE: Might not be reliable for detecting the undead.)
If the robot detects an object in front of it, with the help of a small servo motor, it scans the area left and right in order to find the best way to turn. It has a notification LED, an buzzer to play a tone when an object is detected and an button for changing the function of the robot (stopped / moving forward).
Use super glue to attach the servo motor in the front side of your robot. Watch the first image to understand how to put the ultrasonic sensor in the servo motor by using a small gear piece. The second image shows the completed part that will be the 'eyes' of your robot.
Step 4: Connect The Circuit
The connections are pretty easy, watch the image above with the breadboard circuit schematic.
(Tips: Use the breadboard only for the LED, buttonand buzzer, this will keep it simple and you can use the remain area to add more stuff on the future.)
Step 6: Upload Code To Robot
Plug an battery on it and press the function button once, your robot will start moving forward after upload the code to robot. To stop it, just press the button for one more time.
You can press the 'Edit' button and start making your modification in the sketch. For example, try to change the '10'cm value that is the distance that will make the robot to stop and 'look' for a clear path. [Note: If your robot doesn't move forward, try to change the pins of the motors (motorA1 and motorA2 or motorB1 and motorB2)].
In this project, we will be displaying temperature in degree Centigrade and Fahrenheit as well. The ambient temperature is sensed using LM35 Temperature Sensor which is a linear sensor. LM35 Temperature Sensor gives linear output of 10mV/°C, this output of the sensor is then given to Analog input of Arduino UNO. Which then measures the temperature and displays it on 16x2 Alphanumeric Display in real time.
Don't have components? Don't worry. Just click the component's name.
Step 2: Built Your Circuit.
LM35 Temperature Sensor is an integrated analog temperature sensor whose electrical output is proportional to Degree Centigrade. Arduino measures output of the sensor and then displays the reading on LCD. As the LM35 Temperature sensor gives output in Degree Centigrade, the Arduino then calculates the temperature in Fahrenheit as well and displays both reading on the LCD.
This is tutorial to help you understand ultrasonic and buzzer and go deeper into learning Arduino, follow these steps and give me feedback please. It is an easy to make fun project that you can build in 30 minutes or so. Lets get started !!
Connect the Buzzer POSITIVE terminal to the Arduino pin 2 and the NEGATIVE terminal to the Gnd. Connect the VCC pin of ultrasonic to +5V pin of Arduino board and the Gnd to the ground. Connect trig pin to pin 10 and echo pin to pin 19. The schematic circuit diagram may help you.