Skip to main content

Posts

30. Automatic Watering system for Plants

Hello friends! Today I will be teaching you how to make an automatic watering system for your plants. This system is helpful for people who are away from home and there is no one to monitor their plants. The OLED display module displays the moisture level of the soil in my plant pot. When the moisture level falls below 50%, the Red LED lights up, buzzer gives off an alarm sound and the relay module is switched on. The relay module is connected to 5V DC water pump and the power supply (my power bank). Therefore, when the relay module is switched on, the water pump also switches on and pumps the water from the container to the plant pot. The moisture level of the soil in my plant pot is updated every second.  Supplies Arduino Nano USB type A to mini B cable Solderless Breadboard Soil moisture sensor Relay module 5V DC mini water pump - Submersible 0.96" OLED display module - featuring 128 x 64 pixels LEDs (x2) - Red and Green Resistors (x2) - 220  Ω Act...

29. Sensing the colour of light using photoresistor

Hello friends! Today I will teach you how to make your Arduino microcontroller sense the colour of light shown on the LDR. Let me give you a glimpse of this project. As you may have studied in Physics, the intensity of light is inversely proportional to the square of the distance from light source. The intensity of light affects the output voltage of the LDR (or photoresistor). For this reason, all the LEDs were held at the same distance away from the surface of the LDR to make this project fair. First, the analog values produced by the LDR for each colour were measured with a delay period of 5 seconds. I collected 30 readings for each colour to improve the accuracy. Then I calculated the range and used them in this project's sketch.  Now, let me explain you how this project works. When the Blue light is shone on the LDR's surface, the intensity of light falls within my calculated range and the Blue LED lights up. The OLED display shows you the colour of t...

28. Hacking your Set-top box IR remote

Hello everyone! Today I will teach you how to hack your set-top box IR remote using Arduino. In this case, I will be using Videocon d2h IR remote. If you are unsure about how to use the IR transmitter module for making IR remote, or do not know about IR communication, please refer to my previous project  about making an IR remote and controlling some LEDs with it. My previous project was designed for beginners in IR communication using Arduino. Hacking your set-top box IR remote can be useful in emergency situations, when the remote runs out of battery or does not function properly. In my opinion, I think that the power, channel up/ down and volume increase/decrease are the important buttons of your IR remote so I have hacked them by giving these functions to the push-buttons of my IR remote. Supplies Arduino Nano Solderless Breadboard IR transmitter module (KY-005) IR receiver module (KY-022) Push-buttons (x5) Resistor - 220 Ω Male-to-Male Jumper wi...

27. Touch-sensitive brightness levels of LEDs

Hello friends! Today I will teach you how to control the brightness levels of LEDs with your touch. For this project, you will be needing a human touch sensor (KY-036). I have already done a project using the human touch sensor. Please refer to that project to learn about how the human touch sensor works. The push-button in between of the sensor and the LED is used to control the blue LED. The button is programed to act as a toggle switch, so when the button is pressed and the switch is on, your touch will have an effect only on the blue LED. When you place your finger on the base of the transistor, the sensor acts as a closed switch and the LED's brightness increases. When the LED has reached its maximum brightness, the buzzer gets switched on and alerts us. If we place our finger on the sensor again, after the alert, the LED switches off and starts to get brighter, repeating the whole process. The same process is done for the RGB LED module. Supplies Arduino Na...

26. DIY IR Remote and IR Remote controlled LEDs

Hello everyone! Today I will be teaching you how to make a DIY IR Remote and IR Remote controlled LEDs. For this project, you will be needing both Arduino Uno and Arduino Nano. Before starting this project, make sure that you install the IRremote Library by Ken Shirriff from your Arduino IDE software. Please visit this website , to learn about IR communication in detail. Refer to the 'Coding' section in this page to understand how to start this project. Supplies Arduino Uno Arduino Nano Type A/B USB cable (for Arduino Uno) Type A to Mini B USB cable (for Arduino Nano) Solderless Breadboard (x2) - Mini and Full-size IR transmitter module (KY-005) IR receiver module (KY-022) Resistors (x5) - 220Ω Push-buttons (x5) LEDs (x4) - Red, Green, Yellow, and Blue Male-to-Male Jumper wires (x21) - 10cm 3 pin Female-to-Female Jumper Wires (x2) - 70cm Jumpers (x5) Setup Your setup must look somewhat similar to this. You c...

25. Prototype - Tilt Indicator with Magic Light cup modules

Hey guys! Today we will be learning how to make a Tilt indicator using magic light cup modules (KY-027). I have also done an alarm device using the mercury tilt switch , and you may have an idea of how the mercury tilt switch works.  The magic light cup modules come in pairs and each consists of a mercury tilt switch, LED and 10k Ω resistor.   I  will be using an Arduino Uno for this project, but you are also allowed to use an Arduino Nano. In this project, when the breadboard is horizontal (0 ° tilt)  only one LED will be lit,  and when the breadboard tilts, the second LED lights up. Not only the second LED lights up, but it also creates an illusion which almost makes us believe that the light is 'pouring' from first cup to the second one. Supplies Arduino Uno/ Nano Solderless Breadboard Magic Light cup modules (x2) - KY-027 Type A/ B USB cable (for Arduino Uno) / Type A to mini B USB cable (for Arduino Nano) Male-to-Male...