Skip to main content

Posts

Showing posts from November, 2019

40. Light Tracker using Arduino

Hello everyone! Today I will be teaching you about making a light tracker using Arduino. This idea was inspired by the Arduino Solar tracker. You would all know the fact that Sunflowers 'follow' the Sun. Similar to the Sunflower, my light tracker will follow the light. Supplies Arduino Uno/ Nano USB Type A/ B cable (for Arduino Uno) or USB Type A to mini B cable (for Arduino Nano) Solderless Breadboard - Mini Servo Motor SG-90 LDR (x2) Resistor (x2) - 10k Ω Male-to-Male Jumper wire (x9) - 10cm 2 pin Female-to-Female Jumper wire (x2) - 70cm 3D printed/ Cardboard barrier (Please refer to the 'Setup' section) Setup Your setup must look somewhat similar to the one in the image above. Connections Servo Motor (SG-90) S (Yellow/ Orange wire) - D9 (+) (Red wire)  - 5V ( - ) (Black/ Brown wire) - Ground (GND) LDR First - A0 Second - A1 Connect one end of the LDR to 5V and the other to 10kΩ resistor. The other end of the resi

39. Door Lock system V1.0 - Using RFID

Hello everyone! Today I will be teaching you about making a Door lock system using the Solenoid door lock. The first version of this project will be using RFID to unlock the door. This project is a prototype. How does a Solenoid Door lock work? Solenoid is a type of electromagnet. It is basically a long coil of copper wire wrapped in many turns. As you may have studied in physics, the solenoid generates a uniform magnetic field when the current flows through the coil of wire. The magnetic field of the solenoid is made stronger by: Increasing the amount of current that flows Increasing the number of turns Adding an armature (iron) In this door lock, the coil gets energized when the current flows through it and attracts the metal rod causing the door to be unlocked. GIF image is from adafruit website Supplies Arduino Uno/ Nano USB Type A to B cable (for Arduino Uno) or USB Type A to mini B cable (for Arduino Nano) Solderless Breadboard - Mini Solenoid

38. Prototype - Sound reactive Lighting for Christmas tree

Hey friends! Christmas is near and you would have probably began to plan about decorating your Christmas tree. Today I am going to teach you about making sound reactive lighting for your Christmas tree. This is a prototype, so I have tried to give you an idea about how this would work. I have made a ring and attached some LEDs to it. In this case, I have used both Red and Green LEDs as Red and Green are two of the Christmas colours. I have placed the ring around my plant, within its pot, to show how my plant is illuminated while the Christmas carol plays. This project is an improved version of  my Music Reactive LEDs project. Supplies Arduino Uno/ Nano USB Type A/ B cable (for Arduino Uno) or USB Type A to mini B cable (for Arduino Nano) Solderless Breadboard Resistors (x6) - 220 Ω LEDs (x6)  - Red and Green (3 LEDs of each colour) Big Sound sensor module (KY-038) Copper wire - 19 gauge thick Essential Tools Soldering iron Solder Setup  Each

37. Automatic Water Dispenser using Ultrasonic sensor

Hey friends! Today, I am going to teach you about making an automatic water dispenser using ultrasonic sensor. I  got this idea when I referred to a university's project, with five members and a duration of five days. I managed to do this project with limited resources within three hours. If you have any suggestions on how I could improve this project, please don't hesitate to comment them below. In this project, I am using the ultrasonic sensor (HC-SR04) to detect the water bottle within the range of 2-3 cm. Read further on to learn the codes and how I did this project. Supplies Arduino Uno/ Nano USB Type A/ B cable (for Arduino Uno) or USB Type A to mini B cable (for Arduino Nano) Solderless Breadboard - Mini Ultrasonic sensor (HC-SR04) Relay module - 5V single channel 5V DC mini Water pump - Submersible Container - filled with water Empty Water bottle (optional) Male-to-Male jumper wires (x9) - 10 cm Female-to-Female jumper wires (x7) -

36. RFID Door Security System With Room Lighting

Hey friends, Today I am going to teach you about my RFID door security system with room lighting. In this project, I have used the laser transmitter module and photoresistor module. The MFRC522 reader module will be used to read the data stored in the RFID key tag and card tag. In this case, the card tag will be used to switch on the laser transmitter module and the key tag will be used to switch it off.  Initially, I used the MC-38 Wired Magnetic Door/ Window sensor to detect whether the door is open or closed; unfortunately, the contacts within reed switch  in the sensor got burnt out because of some faulty coding. Afterwards, I used the Mini Reed module (KY-021) and it did not work as well. I used the Hall Magnetic sensor module (KY-003) but it required a strong magnet. Finally, I decided to use the Laser transmitter module (KY-008) and the photoresistor module (KY-018). This concept was used in one of my previous projects ( Safety box using Arduino ). I taped a cardbo

35. LED cube - 4x4x4 (Version 2.0)

Hey everyone! Sorry I haven't posted anything in a while. I have already taught you about my LED cube. Today I will be presenting you the second version of my LED cube. The only difference between the two versions, is that I have added new patterns. The supplies and setup will be similar to that of the first version, so if you are new to this project, please visit the first version's page .  Supplies LEDs (x64) - Any colour Copper wires - 4" long and 19 gauge thick (There is a risk of the metal wire bending if you try to insert a 20 gauge thick copper wire through the hole in the prototype PCB) Resistors (x4) - 220Ω Arduino Nano Prototype PCB Wires - To connect each layer and column to the pin header Cardboard Sheet/ Wooden Plank/ 3D printed template Tools needed: Soldering iron Needle-Nose pliers (for cutting) Round-Nose pliers (for bending the metal wires) Tweezers Ruler - 15cm Setup Take out a piece of cardboard or a wooden plank an

34. Arduino Based Piano

Hey Everyone! Today I am going to teach you how to make an Arduino based Piano. I missed playing my piano back home and it has been 2 years since I played it, so I thought of making one with Arduino! Even though it may not look or sound like an actual piano, it does seem to make music.  Supplies Arduino Uno USB Type A/ B cable (for Arduino Uno) Solderless Breadboard - Full Passive Buzzer Module (KY-006) Push-buttons (x13) Male-to-Male Jumper wires (x16) - 30 cm Jumpers (x15) - To reduce the usage of wires Setup Carefully place the buttons on the breadboard. There must be a spacing of one hole between each push-buttons. Due to lack of Digital I/O ports in my Arduino Uno, I have only used keys from C (fourth octave) to F(fifth octave). I have also included F sharp (or G flat) and A sharp (or B flat) in my piano by using two different coloured push-buttons. I have not used the Analog I/O ports because turning on a pullup will affect the values reported by the

33. Morse Code Encoder

Hello everyone! Today I am going to teach you about making a Morse code encoder. Morse code is a character encoding scheme used in telecommunication, and is named after Samuel F. B. Morse, an inventor of the telegraph. You would have probably seen movies where spies or secret agents transmit secret messages in form of Morse code. Actually, according to Crypto Museum , Morse code was heavily used for secret transmissions during WWI and WWII. Morse code  I have used a Green LED and Active Buzzer in this project, so that people with hearing disabilities and visual impairment, respectively can decipher Morse Code. As you can see in the image above, the Morse code is composed of 'dot' and 'dash'. Dot is one unit long and dash is three units long.  I have prepared my sketch in such a way, that all the characters in the book from the image above can be encoded with ease.  Supplies Arduino Uno/ Nano USB Type A/B cable (for Arduino Uno) or USB Type A to mini B ca

32. Controlling various components with Joystick

Hello everyone! Today I am going to present you, my Dual Axis Analog Joystick module and the components controlled by it. This Joystick module is used in many Arduino DIY projects and Robot control. In this project, I will be demonstrating you how the Joystick module can be used to control a variety of components. I have used two 5V single channel relay modules in this project. One module is connected to a Green LED and 1k Ω resistor. The LED and the resistor are powered by the Power Bank. I have not connected the Relay modules to AC power supply, Light bulb and Fan because AC power supply is something that should not be meddled with, and I do not want the Arduino beginners to be affected when carrying out this project.  * If anyone has decided to connect your relay modules with AC power supply, please take safety precautions. Supplies Arduino Uno/ Nano USB Type A/B cable (for Arduino Uno) or USB Type A to mini B cable (for Arduino Nano) Solderless Breadboard - Mini Dual

31. Human Detection box - Version 2.0

Hello everyone! This title may have been familiar to you if you had referred to my previous projects. Today I am going to present you the second version of my human detection box. The setup, connections, coding, supplies are almost similar to those of the first version, except for the OLED display module and the replacement of relay module by the Red LED.  Human detection box - Version 1.0 Supplies Arduino Uno USB 2.0 Type A/B cable Solderless Breadboard Passive Infra-red (PIR) sensor module LED - Red 0.96" OLED display module - featuring 128 x 64 pixels Active Buzzer module (KY-012) Resistor - 220  Ω Power Bank - 10000mAh Male-to-Male Jumper wires - 10cm (x2) Female-to-Male Jumper wires - 20 cm (x15) Setup Your setup must look somewhat similar to those shown in the images above. Connections PIR sensor module (+) - 5V (-) - Ground (GND) S - D6 0.96" OLED display module GND - Ground  VCC - 5V D0 - D10 D1 - D9 RE