Skip to main content

Posts

Showing posts from August, 2019

13. Alarm device using Mercury Tilt switch

Mercury Tilt switch alarm is really useful when it comes to security purposes as it enables the easy detection of orientation or inclination. Examples include: Used in vehicles so that it alerts others when the vehicle gets jacked up, for stealing wheels and towing. Can be used in valuable items in places like museums, so that the alarm is triggered when it is lifted. In this project, the Arduino Uno R3 will be programmed in such a way that a buzzer and red LED will light up when there is a change in orientation, and a green LED will light up when the mercury tilt switch is in correct position. So how does a mercury tilt switch work? The switch is positioned with respect to gravity forces so that the mercury moves away from the contacts so that the switch is open. When there is an inclination or any slight differences in its orientation, the mercury ball rolls in the tube touching both contacts and closing the switch. Supplies: LED - Red and Green Resistor - 220

12. Blinking Multiple LEDs with multiple patterns

This is an improved version of my previous project: Blinking Multiple LEDs https://www.instructables.com/id/Blinking-Multiple-LEDs/ Supplies: LEDs - 60 (15 of each colour: Blue, Green, Red and Yellow) Resistors - 220Ω (x12) Arduino Uno R3 Solderless Breadboard - Mini Jumper Wires - Male-to-Male 70 cm (x13) Jumpers Setting up your hardware Connections: 04 LEDs will be connected in parallel to one digital port and the ground pin. Cathode (LED) - Ground (GND) Red01 (Anode) - D1 Red02 (Anode) - D2 Red03 (Anode) - D3 Green01 (Anode) - D4 Green02 (Anode) - D5 Green03 (Anode) - D6 Blue01 (Anode) - D7 Blue02 (Anode) - D8 Blue03 (Anode) - D9 Yellow01 (Anode) - D10 Yellow02 (Anode) - D11 Yellow03 (Anode) - D12 Coding *Note: The codes are incomplete. You can take a look at the video to figure out the last bit of codes. If you have any questions, you can send them to me via this email address: ard

11. Using Flame sensor and two LEDs to detect flame

Let me give you a glimpse of this project. In this project, the flame sensor will detect a flame and its proximity to light up two LEDs. There will be two coloured LEDs: Red and Yellow. The Red LED will light up when the flame is near the sensor and it has a larger size, while the Yellow LED will light up when the flame is within 20 cm from the sensor. Supplies: LEDs - Red and Yellow Resistor - 220 Ω (x2) Flame sensor module  Arduino Uno R3 Solderless Breadboard - Mini Jumper Wires Setting up your hardware Connections: Flame sensor - A0 Anode (Red) - D10 Anode (Yellow) - D5 Cathode (LEDs) - Ground (GND) Coding With Serial Monitor: Final Look

10. Using push-buttons to determine the blinking pattern of LEDs

This is a project which I designed and it comprises three of my previous projects, which are: 01. Blink - First Program   https://arduinoprojectsbyr.blogspot.com/2019/08/01-blink-led-first-program.html 04. Controlling an LED using a Push-button    https://arduinoprojectsbyr.blogspot.com/2019/08/04-controlling-led-using-push-button.html Blinking Multiple LEDs using Arduino  https://www.instructables.com/id/Blinking-Multiple-LEDs/ Supplies: LEDs - 04  Push-buttons - 02 Arduino Uno R3 Solderless Breadboard - Mini Jumper Wires Setting up your hardware Connections: Button01 ---> D3 Button02 ---> D11 Cathode (LEDs) ---> Ground (GND) Anode (Green) ---> D5 Anode (Blue) ---> D6 Anode (Red) ---> D9 Anode (Yellow) ---> D10 Coding I know that the code provided in this page is incomplete. If anyone is interested in this project, you can watch the complete video to see how it works and figur

09. Controlling the bulb at your home using an LDR

LDR, short for Light Dependent Resistor, also known as photoresistor is made of semiconductor material. The resistance of an LDR decreases with increasing light intensity.   *Safety precaution:  If you are a beginner, please do not tamper with mains electricity. As this project is for beginners, I will show you how to use an alternative. The power bank and LED are good alternatives to mains electricity supply and bulb. Supplies: LED LDR Relay Module - Single channel 5V Resistors - 1kΩ and 10kΩ Arduino Uno R3 Solderless Breadboard - Mini Power bank - 10000 mAh Old USB 1.0/2.0 A type cable Jumper Wires Jumper Cable Setting up your hardware Connections: LDR - A0 Coding Final Look