Search Results
65 items found for ""
- How to make a Keypad based Door unlocking System
How to make a Keypad based Door unlocking System Here's a step-by-step guide to creating a keypad-based door unlocking system using an I2C LCD, a servo motor, and an Arduino Description: Unlocking doors using a keypad adds a layer of security to your home or office. In this project, we’ll use an Arduino, a 4x4 keypad, an I2C LCD, and a servo motor to create a keypad-based door unlocking system. Components Needed: - Arduino Uno - 4x4 Keypad - I2C LCD (16x2) - Servo motor - Breadboard and jumper wires - Resistor (10k ohm) - External power supply (optional) Step 1: Connect the Components 1.1 Connect the Keypad: - Connect the keypad to the Arduino digital pins. - For example, connect R1, R2, R3, and R4 to pins 9, 8, 7, and 6. - Connect C1, C2, C3, and C4 to pins 5, 4, 3, and 2. 1.2 Connect the I2C LCD: - Connect the SDA pin of the I2C module to the A4 pin of the Arduino. - Connect the SCL pin of the I2C module to the A5 pin of the Arduino. - Connect the VCC and GND pins of the I2C module to the 5V and GND pins of the Arduino, respectively. 1.3 Connect the Servo Motor: - Connect the signal pin of the servo to pin 10 on the Arduino. - Connect the VCC and GND pins of the servo to the 5V and GND pins of the Arduino (or use an external power supply if necessary). Step 2: Install Necessary Libraries Before you start coding, ensure you have the necessary libraries installed: - Keypad Library: To handle keypad input. - LiquidCrystal_I2C Library: To manage the I2C LCD. - Servo Library: To control the servo motor. You can install these libraries via the Arduino IDE’s Library Manager. Step 3: Write the Code Step 4: Upload the Code and Test 1. Connect your Arduino to your computer using a USB cable. 2. Open the Arduino IDE, paste the code into a new sketch, and upload it to the Arduino board. 3. Once uploaded, the LCD will prompt you to enter the password. 4. Enter the password using the keypad. If correct, the servo will unlock the door by rotating 90 degrees and then return to the locked position after 5 seconds. If incorrect, the LCD will display "Access Denied." Step 5: Finalize the Hardware Setup 1. Mount the servo motor on the door lock mechanism. 2. Secure the Arduino, keypad, and LCD in a suitable enclosure. 3. Ensure all connections are stable and protected from external damage. Project Gallery All Documents : Download the Code and Run it on ArduinoIDE. Click Here to Download Download Video Tutorial : Conclusion : Congratulations! You've successfully built a keypad-based door unlocking system using an I2C LCD, a servo motor, and an Arduino. This project not only enhances security but also provides a practical introduction to using various components together. For more projects and skills in embedded systems, check out Skill-Hub by EmbeddedBrew. Happy coding! comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.
- Shipping Policy | EmbeddedBrew
< Back Shipping and Delivery Policy At EmbeddedBrew Innovations, we strive to provide a seamless and efficient shopping experience for our customers. Our Shipping and Delivery Policy outlines the terms and conditions related to the delivery of our products and services. We are committed to delivering your orders promptly and ensuring you have immediate access to your purchased courses. Delivery Timeline: We offer free shipping and delivery of our Free Kit within India. Please note that we do not offer replacements for the Free Kit under any circumstances. Your Free Kit will be dispatched within 2 business days of placing your order. Delivery typically takes up to 7-10 days from the date of dispatch. Please note that delivery times may vary depending on your location and any unforeseen circumstances with our third-party delivery partners. Delivery Partners: EmbeddedBrew partners with trusted third-party delivery services to ensure your Free Kit reaches you promptly and securely. Our delivery partners are selected based on their reliability and efficiency in handling shipments across India. Course Access: Upon placing your order for the Free Kit, the associated course content will be immediately reflected on our website. You can access the course materials, tutorials, and resources without any delay, allowing you to start learning and exploring Arduino and electronics right away. Tracking Information: For orders of the Free Kit, tracking information will be provided via email once your order has been dispatched. You can use this information to track the status of your shipment and estimated delivery date. Delivery Address: Please ensure that you provide a correct and complete delivery address at the time of placing your order. We will not be responsible for delays or non-delivery due to incorrect address details provided by the customer. Shipping Charges: There are no shipping charges for the Free Kit offered by EmbeddedBrew within India. You can enjoy the convenience of receiving your kit without any additional costs. Customer Support: If you have any questions or concerns regarding your order or delivery, please feel free to contact our customer support team at embeddedbrew@gmail.com . We are here to assist you and ensure that your experience with EmbeddedBrew is smooth and satisfactory. Disclaimer: While we strive to meet our delivery timelines, please note that external factors such as weather conditions, public holidays, and unforeseen circumstances may impact delivery times. We appreciate your understanding and patience in such situations. Thank you for choosing EmbeddedBrew for your Arduino learning journey. We look forward to providing you with an enriching experience and helping you unleash your creativity in electronics and embedded systems. --- EmbeddedBrew Innovations (Formerly Rudra DIY Crafts) Effective Date:[30/05/2024]
- Create a WiFi-controlled car using NodeMCU and a custom app
Create a WiFi-controlled car using NodeMCU and a custom app Creating a WiFi-controlled car using NodeMCU and a custom app can be a fun and educational project. Description: In this project, we'll create a WiFi-controlled car using NodeMCU and an app. This project is perfect for beginners looking to dive into the world of IoT and robotics. Let's get started! Materials Needed: - NodeMCU (ESP8266) board - L298N motor driver module - DC motors with wheels (x4) - Car chassis - 18650 batteries with holder - Jumper wires - Breadboard - Smartphone with WiFi and a custom app Step 1: Assemble the Car Chassis 1. Attach the DC Motors: Mount the DC motors to the car chassis. Secure them firmly so they don't move around. 2. Install Wheels: Attach the wheels to the DC motors. 3. Battery Placement: Place the battery holder on the chassis. Ensure it's easily accessible for battery changes. Step 2: Connect the Electronics 1. Motor Driver to Motors: - Connect the motor terminals to the L298N motor driver. Typically, Motor A to OUT1 and OUT2, and Motor B to OUT3 and OUT4. 2. Motor Driver to NodeMCU: - IN1 to D1 - IN2 to D2 - IN3 to D3 - IN4 to D4 - ENA to D5 (for speed control using PWM) - ENB to D6 (for speed control using PWM) 3. Power Connections: - Connect the motor driver’s VCC to the battery pack’s positive terminal. - Connect the GND to the battery pack’s negative terminal. - Connect the motor driver’s 5V output to the NodeMCU’s VIN pin (if it has a 5V regulator, otherwise use 3.3V). Step 3: Program the NodeMCU 1. Install Arduino IDE: - Download and install the Arduino IDE. 2. Setup NodeMCU: - Add the ESP8266 board manager to the Arduino IDE (File > Preferences > Additional Board Manager URLs). - Install the ESP8266 board from the Boards Manager. 3. Write the Code: as given in the files Step 4: Test Your Car 1. Power Up: Insert the batteries into the holder and power up your car. 2. Connect wifi Open the app and connect to your project. 3. Control the Car: Use the buttons on the app to control the car's movement. Project Gallery All Documents : You can use the below Files to create your wireless Car. Click Here to Download Download Video Tutorial : Conclusion : By following these steps, you can create your own WiFi-controlled car using NodeMCU and a simple app. Happy building! For more projects and tutorials, visit our website and explore Skill-Hub by EmbeddedBrew to expand your skills in embedded systems. comments debug Comments Write a comment Write a comment Partagez vos idées Soyez le premier à rédiger un commentaire.
- Getting Started with Arduino IoT Cloud and NodeMCU to Control an LED
Getting Started with Arduino IoT Cloud and NodeMCU to Control an LED Here’s a step-by-step guide to get started with Arduino IoT Cloud and NodeMCU to control an LED Description: Controlling an LED with NodeMCU through Arduino IoT Cloud is a fantastic beginner project that introduces you to the world of IoT (Internet of Things). Follow these simple steps to get started: Step 1: Set Up Arduino IoT Cloud 1. Create an Arduino Account: - Go to [Arduino Create](https://create.arduino.cc/) and sign up for a free account or log in if you already have one. 2. Access Arduino IoT Cloud: - Navigate to the [Arduino IoT Cloud](https://create.arduino.cc/iot) from the Arduino Create dashboard. 3. Set Up a New Thing: - Click on "Create Thing" to set up a new IoT device. - Give your Thing a name, such as "LED_Controller." Step 2: Configure the Device 1. Add a Device: - Click on "Add Device" and select "Set up a third-party device." - Choose "ESP8266" and select NodeMCU 1.0 from the list of supported boards. 2. Generate Device ID and Secret Key: - Follow the instructions to generate a Device ID and Secret Key. Note these down as they are needed later. 3. Install the Arduino IoT Cloud Library: - Open the Arduino IDE and install the `ArduinoIoTCloud` and `Arduino_ConnectionHandler` libraries via the Library Manager. Step 3: Write the Code 1. Set Up the Sketch: - Open a new sketch in the Arduino IDE. - Include the necessary libraries at the beginning of your sketch: #include "thingProperties.h" 2. Define the LED Pin: - Define the pin where the LED is connected (e.g., D2 on NodeMCU): const int ledPin = D2; 3. Setup Function: - Initialize the LED pin and IoT Cloud connection: void setup() { // Initialize the serial and wait for the port to open: Serial.begin(9600); delay(1500); initProperties(); // Connect to Arduino IoT Cloud ArduinoCloud.begin(ArduinoIoTPreferredConnection); // Initialize LED pin pinMode(ledPin, OUTPUT); // Sync initial state ArduinoCloud.addCallback(ArduinoIoTPreferredCallback); } 4. Loop Function: - Use the loop function to keep the connection active: void loop() { ArduinoCloud.update(); } 5. Callback Function: - Create a function to handle the LED control: void onLedChange() { digitalWrite(ledPin, ledState); } Step 4: Connect and Upload 1. Connect NodeMCU: - Connect your NodeMCU board to your computer via USB. 2. Upload the Sketch: - Select the correct board and port from the Tools menu in the Arduino IDE. - Click "Upload" to upload the code to your NodeMCU. 3. Configure Network Credentials: - In the `thingProperties.h` file, enter your Wi-Fi SSID and password. const char SSID[] = "your_SSID"; const char PASS[] = "your_PASSWORD"; Step 5: Create a Dashboard 1. Add a Dashboard: - In Arduino IoT Cloud, go to the Dashboards section and create a new dashboard. 2. Add a Widget: - Add a switch widget to control the LED. - Link the widget to the `ledState` variable. 3. Control Your LED: - Use the dashboard switch to turn the LED on and off from anywhere in the world! Project Gallery All Documents : Same codes as described Above. Click Here to Download Download Video Tutorial : Conclusion : By following these steps, you'll successfully control an LED using NodeMCU and Arduino IoT Cloud. This project provides a solid foundation for more complex IoT applications. Also checkout our website for more projects and explore the Skill-Hub by EmbeddedBrew for Enhancing your Skills in IoT. Happy tinkering! comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.
- Plans & Pricing | EmbeddedBrew
Choose your pricing plan IGNITE ₹ 2,000 2,000₹ Create an AI Integrated IoT Project Learn from Scratch Get a Free IoT Kit Valid for one month Select 30 Day Course Certification Program Hands-on Session Free Practice Kit Flexible Timing Exclusive Forum Access 30+ Video Lectures 50+ Blog Contents 20+ Projects Spark ₹ 999 999₹ Create a Personal Weather station . Learn from Scratch Select Hands-on Session Video Tutorials Flexble timing Life Time Access Forum Access Get Certified Downloadable Resources Free e-Book Lots of Project Ideas
- How to interface LCD with Keypad module and Arduino.
How to interface LCD with Keypad module and Arduino. Here’s a detailed step-by-step guide to get started with a Keypad module and Arduino Nano to display values on the serial monitor and an I2C LCD Description: In this tutorial, we will learn how to interface a Keypad module with an Arduino Nano and display the key presses on both the serial monitor and an I2C LCD. Follow these steps to get started: Materials Needed: - Arduino Nano - Keypad module (4x4 matrix) - I2C LCD (16x2) - Breadboard - Jumper wires - USB cable for Arduino Nano Step 1: Wiring the Keypad to Arduino Nano 1. Identify the pins: Most 4x4 keypads have 8 pins, organized in rows and columns. 2. Connect the Keypad to Arduino: - Connect the first pin of the keypad to D2 on the Arduino. - Connect the second pin of the keypad to D3 on the Arduino. - Connect the third pin of the keypad to D4 on the Arduino. - Connect the fourth pin of the keypad to D5 on the Arduino. - Connect the fifth pin of the keypad to D6 on the Arduino. - Connect the sixth pin of the keypad to D7 on the Arduino. - Connect the seventh pin of the keypad to D8 on the Arduino. - Connect the eighth pin of the keypad to D9 on the Arduino. Step 2: Wiring the I2C LCD to Arduino Nano 1. Identify the I2C pins on the LCD (usually labeled as GND, VCC, SDA, SCL). 2. Connect the I2C LCD to Arduino: - Connect GND on the LCD to GND on the Arduino. - Connect VCC on the LCD to 5V on the Arduino. - Connect SDA on the LCD to A4 on the Arduino. - Connect SCL on the LCD to A5 on the Arduino. Step 3: Installing Required Libraries 1. Open the Arduino IDE. 2. Install the Keypad library: - Go to `Sketch -> Include Library -> Manage Libraries`. - Search for "Keypad" and install the library by Mark Stanley and Alexander Brevig. 3. Install the LiquidCrystal I2C library: - Go to `Sketch -> Include Library -> Manage Libraries`. - Search for "LiquidCrystal I2C" and install the library by Frank de Brabander. Step 4: Writing the Code Here’s a sample code to read key presses from the keypad and display them on both the serial monitor and the I2C LCD. Step 5: Upload and Test 1. Connect your Arduino Nano to your computer using the USB cable. 2. Upload the code to the Arduino Nano. 3. Open the Serial Monitor from the Arduino IDE (`Tools -> Serial Monitor`) and set the baud rate to 9600. 4. Press the keys on the keypad. You should see the key presses displayed on both the serial monitor and the I2C LCD. Project Gallery All Documents : Download the below code to start exploring with the Keypad and LCD. Click Here to Download Download Video Tutorial : Conclusion : Congratulations! You have successfully interfaced a Keypad module with an Arduino Nano and displayed the values on both the serial monitor and an I2C LCD. Feel free to expand on this project by adding more functionality or experimenting with different types of keypads and displays. Also check our website for more projects and explore our Skill-Hub to enhance your skills in IoT and Embedded Sustems. comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.
- How to make a music reactive LED Strip using Arduino and Sound sensor
How to make a music reactive LED Strip using Arduino and Sound sensor Create a fun project that will react to any sound or music you play Description: Creating a music-reactive light using Arduino and a sound sensor is a fun and engaging project. Here are the steps you can follow to make one: Step 1: Gather Your Materials - Arduino board (such as Arduino Uno) - Sound sensor module - LED strip or individual LEDs - Jumper wires - Breadboard - Power source (battery pack or USB power supply) - Computer with Arduino IDE installed Step 2: Set Up Your Arduino - Connect your Arduino board to your computer via USB cable. - Open the Arduino IDE on your computer. Step 3: Wire the Sound Sensor - Place the sound sensor on the breadboard. - Connect the VCC pin of the sound sensor to the 5V pin on the Arduino. - Connect the GND pin of the sound sensor to the GND pin on the Arduino. - Connect the OUT pin of the sound sensor to any digital pin on the Arduino (e.g., pin 7). Step 4: Wire the LED - Connect the LED strip according to the given Circuit diagram. Step 5: Write the Arduino Code - Write the code in the Arduino IDE to read the analog value from the sound sensor and map it to the brightness of the RGB LED. - Use conditional statements to change the color of the LED based on the intensity of the sound. - You can find sample code online or write your own based on your preferences. Step 6: Upload the Code to Arduino - Verify your code for any errors. - Select the correct board and port in the Arduino IDE. - Upload the code to your Arduino board. Step 7: Test Your Music-Reactive Light - Power up your Arduino board using the power source. - Play some music or make some noise near the sound sensor. - Observe how the RGB LED reacts to the sound. It should change colors and brightness according to the intensity of the sound. Step 8: Customize and Fine-Tune - Experiment with different colors, patterns, and sensitivity levels to customize the behavior of your music-reactive light. - Make any necessary adjustments to the code or wiring to achieve the desired results. Project Gallery All Documents : Download the Below file to run the code. Click Here to Download Download Video Tutorial : Conclusion : With these steps, you can create your own music-reactive light using Arduino and a sound sensor. Have fun experimenting and exploring the world of DIY electronics. Also checkout Skill-Hub by EmbeddedBrew to enhance your skills in IoT and Embedded Systems. comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.
- Getting Started with a Piezoelectric Disc and Arduino
Getting Started with a Piezoelectric Disc and Arduino This blog post provides a step-by-step guide to getting started with a piezoelectric disc and Arduino, making it easy for beginners to follow and understand. Description: Are you ready to dive into the world of electronics with a simple yet fascinating project? In this guide, we'll show you how to use a piezoelectric disc with an Arduino. A piezoelectric disc can be used as a sensor to detect vibrations or as an actuator to produce sound. Let's get started! Materials Needed: - Arduino board (e.g., Arduino Uno) - Piezoelectric disc - Breadboard - Jumper wires - 1MΩ resistor (optional, for better signal quality) Step 1: Understand the Piezoelectric Disc A piezoelectric disc generates a small voltage when it experiences mechanical stress (like tapping or vibration). Conversely, applying a voltage to it can produce sound. In this project, we’ll use it as a sensor to detect vibrations. Step 2: Connect the Piezoelectric Disc to the Arduino 1. Wiring Setup: - Positive Lead (Red Wire): Connect the positive lead of the piezo disc to an analog input pin on the Arduino (e.g., A0). - Negative Lead (Black Wire): Connect the negative lead to the ground (GND) on the Arduino. 2. Optional Resistor (for stability): - Connect a 1MΩ resistor between the analog input pin (A0) and ground (GND). This helps to stabilize the signal from the piezo disc. Here’s a simple wiring diagram: Piezo Disc + ------ A0 (Analog Input) Piezo Disc - ------ GND (Ground) 1MΩ resistor -----A0 to GND Step 3: Test Your Setup 1. Upload the Code: Connect your Arduino to your computer and upload the code using the Arduino IDE. 2. Open Serial Monitor: Open the Serial Monitor (Tools > Serial Monitor) in the Arduino IDE. 3. Observe the Readings: Tap or gently knock near the piezo disc and observe the values printed in the Serial Monitor. Higher values indicate stronger vibrations. Step 4: Explore and Experiment Now that you have a basic setup, here are a few ideas to expand your project: - Sound Alarm: Use the piezo disc to trigger an alarm or buzzer when vibrations exceed a certain threshold. - Data Logging: Record the vibration data over time using an SD card module. - Interactive Projects: Incorporate the piezo disc into interactive art or DIY musical instruments. Project Gallery All Documents : Download the code to explore input and output applications of Piezo Sensor. Click Here to Download Download Video Tutorial : Conclusion : Using a piezoelectric disc with an Arduino is a great way to get started with electronics and sensor projects. With just a few components, you can create a variety of applications. Explore more projects on our website and continue your learning journey with Skill-Hub by EmbeddedBrew, where you can develop more skills in embedded systems. Happy building! comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.
- How to make a random LED Flasher using Arduino Nano
How to make a random LED Flasher using Arduino Nano Make a random LED flasher that will glow one LED from a set of 20 LEDs Description: In this project, we'll create a fun and simple random LED flasher using 20 LEDs and an Arduino. This project is perfect for beginners looking to get hands-on experience with Arduino programming and basic electronics. Materials Needed - Arduino Nano or any compatible board - Breadboard - 20 LEDs - 20 current-limiting resistors (220Ω recommended) - Jumper wires - USB cable to connect Arduino to your computer Step 1: Set Up Your Workspace Ensure you have all your materials ready and a clear workspace to assemble your circuit. Connect your Arduino to your computer using the USB cable. Step 2: Prepare the LEDs and Resistors Place the 20 LEDs on the breadboard. Connect a 220Ω resistor to the anode (longer leg) of each LED to limit the current and protect the LEDs from burning out. Step 3: Connect the LEDs to the Arduino Using jumper wires, connect the cathode (shorter leg) of each LED to a common ground rail on the breadboard. Then, connect the anode of each LED (through the resistor) to a digital pin on the Arduino. Here’s a simple pin mapping: - LED 1 -> Pin 2 - LED 2 -> Pin 3 - LED 3 -> Pin 4 - ... - LED 20 -> Pin 21 (Note: Depending on your Arduino model, ensure you are using the available digital pins. If using an Arduino Uno, you might need to adjust the number of LEDs or use a different model with more pins like Arduino Mega.) Step 4: Write the Arduino Code Open the Arduino IDE on your computer and write the following code: Step 5: Upload the Code to the Arduino Connect your Arduino to your computer using the USB cable. Select your Arduino board and port from the Tools menu in the Arduino IDE, then click the Upload button to upload the code to your Arduino. Step 6: Test Your Circuit Once the code is uploaded, your LEDs should start flashing randomly. Control the speed of flashing using the potentiometer. If not, double-check your connections and ensure each LED and resistor are correctly placed. Project Gallery All Documents : Run the code given below. Click Here to Download Download Video Tutorial : Conclusion : You've successfully created a random 20 LED flasher using Arduino! This project is a great way to learn about digital output pins, random number generation, and basic electronics. Feel free to modify the code and experiment with different flashing patterns or add more LEDs. For more exciting projects and tutorials, check out our website and explore the Skill-Hub by EmbeddedBrew to enhance your skills in embedded systems. comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.
- How to make a RFID based Door Unlocking System
How to make a RFID based Door Unlocking System Learn to make a RFID based Door unlocking system using Arduino, LCD, RFID and Servo Description: Creating an RFID controlled door using a servo motor and an I2C LCD with Arduino can be a fun and rewarding project. Here are the steps you can follow: Step 1: Gather Materials - Arduino Uno or compatible board - RFID reader module (such as RC522) - Servo motor - I2C LCD display - RFID tags/cards - Jumper wires - Breadboard - Power source (battery or USB cable) Step 2: Set up the Circuit 1. Connect the RFID reader module to your Arduino using jumper wires. Wire connections typically include: - VCC to 3.3V or 5V on Arduino - GND to GND on Arduino - RST to digital pin on Arduino (e.g., pin 9) - IRQ (if available) can be left unconnected - MISO to digital pin 12 - MOSI to digital pin 11 - SCK to digital pin 13 - SDA to digital pin 10 2. Connect the servo motor to your Arduino: - Connect the red wire to 5V on Arduino - Connect the black wire to GND on Arduino - Connect the signal wire (usually orange or yellow) to a digital pin on Arduino (e.g., pin 6) 3. Connect the I2C LCD display to your Arduino: - Connect the VCC pin to 5V on Arduino - Connect the GND pin to GND on Arduino - Connect the SDA pin to the A4 (SDA) pin on Arduino - Connect the SCL pin to the A5 (SCL) pin on Arduino 4. Power up your Arduino using a suitable power source. Step 3: Install Required Libraries - Download and install the necessary libraries for the RFID reader module, servo motor, and I2C LCD display. You can find these libraries in the Arduino IDE Library Manager or download them from trusted sources online. Step 4: Write the Arduino Code - Write the Arduino code to control the RFID reader, servo motor, and LCD display. Here’s a basic outline of what the code should do: 1. Initialize the RFID reader module and LCD display. 2. Define the servo motor pin and create a servo object. 3. Set up functions to read RFID tags/cards and compare them with authorized tags. 4. If an authorized tag is detected, unlock the door by rotating the servo motor. 5. Display appropriate messages on the LCD display to provide feedback to the user. Step 5: Test the System - Upload the Arduino code to your Arduino board. - Test the RFID controlled door system by swiping authorized RFID tags/cards and observing the behavior of the servo motor and LCD display. Step 6: Install and Secure Components - Install the servo motor mechanism on your door to actuate the locking mechanism. - Mount the RFID reader module and LCD display in a suitable location near the door. - Secure all components and wiring to prevent damage or tampering. Project Gallery All Documents : Download the code to explore the working of RFID Door Unlocking system. Click Here to Download Download Video Tutorial : Conclusion : By following these steps, you can create your own RFID controlled door using a servo motor and I2C LCD with Arduino. Have fun experimenting and customizing your project! Also Check our website for more projects and explore Skill-Hub by EmbeddedBrew to enhance your Skills. comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.
- How to Create a PIR Sensor-Based Motion Alarm Using Arduino
How to Create a PIR Sensor-Based Motion Alarm Using Arduino Here's a step-by-step guide to creating a PIR sensor-based motion alarm using Arduino. Description: In this project, we will build a motion alarm using a PIR (Passive Infrared) sensor and an Arduino. This simple alarm system can detect motion and trigger an alarm, making it ideal for basic security applications. Follow these steps to create your own motion alarm. Materials Needed: - Arduino Uno - PIR Sensor (HC-SR501) - Piezo Buzzer - Breadboard - Jumper Wires - Resistor (220 ohms) - LED (optional for visual indication) Step 1: Gather Your Components Ensure you have all the necessary components listed above. The PIR sensor will detect motion, and the buzzer will serve as the alarm. Step 2: Connect the PIR Sensor to Arduino 1. Power and Ground: - Connect the VCC pin of the PIR sensor to the 5V pin on the Arduino. - Connect the GND pin of the PIR sensor to the GND pin on the Arduino. 2. Signal Pin: - Connect the OUT pin of the PIR sensor to digital pin 2 on the Arduino. Step 3: Connect the Buzzer 1. Positive Pin: - Connect the positive pin of the buzzer to digital pin 8 on the Arduino. 2. Negative Pin: - Connect the negative pin of the buzzer to the GND pin on the Arduino. Step 4: Optional LED Indicator 1. Anode (Longer Leg): - Connect the anode of the LED to digital pin 13 on the Arduino through a 220-ohm resistor. 2. Cathode (Shorter Leg): - Connect the cathode of the LED to the GND pin on the Arduino. Step 5: Upload the Code 1. Connect your Arduino to your computer using a USB cable. 2. Open the Arduino IDE and paste the code above into a new sketch. 3. Select the correct board and port from the Tools menu. 4. Upload the code to your Arduino by clicking the upload button. Step 6: Test Your Motion Alarm 1. Once the code is uploaded, position the PIR sensor to monitor the area where you want to detect motion. 2. When motion is detected, the buzzer should sound, and the LED should light up (if connected). 3. If no motion is detected, the buzzer and LED should remain off. Project Gallery All Documents : Download the Code to test your project. Click Here to Download Download Video Tutorial : Conclusion : You've successfully built a motion alarm using a PIR sensor and Arduino! This project is a great introduction to working with sensors and can be expanded for more advanced security applications. Explore more projects on our website and visit Skill-Hub by EmbeddedBrew to further develop your skills in embedded systems. comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.
- How to Monitor DHT Sensor Values on the Blynk App Using Arduino
How to Monitor DHT Sensor Values on the Blynk App Using Arduino Here’s a step-by-step guide to monitor DHT sensor values on the Blynk app using Arduino Description: In this tutorial, we will walk you through the steps to monitor DHT (Digital Humidity and Temperature) sensor values on the Blynk app using an Arduino board. This project allows you to remotely monitor the temperature and humidity data from the DHT sensor on your smartphone. Materials Needed: - Arduino board (e.g., Uno, Nano) - DHT11 or DHT22 sensor - Jumper wires - Breadboard - USB cable - Internet connection - Blynk app installed on your smartphone Step 1: Setting Up the Hardware 1. Connect the DHT Sensor to the Arduino: - DHT11/DHT22 Pin Configuration: - VCC to 5V or 3.3V pin on Arduino - GND to GND pin on Arduino - Data pin to a digital pin on Arduino (e.g., D2) DHT Sensor -> Arduino ------------------------ VCC -> 5V GND -> GND DATA -> D2 2. Wiring Diagram: Ensure you connect the pins correctly to avoid any damage to the sensor or the Arduino. Step 2: Setting Up the Blynk App 1. Download and Install the Blynk App: - Available on Google Play Store (Android) and Apple App Store (iOS). 2. Create a New Project: - Open the Blynk app and create a new project. - Choose your device (e.g., Arduino Uno). - Note the Auth Token sent to your email. 3. Add Widgets: - Add a “Gauge” or “Value Display” widget for temperature. - Add a “Gauge” or “Value Display” widget for humidity. - Configure the widgets to display values from virtual pins (e.g., V5 for temperature and V6 for humidity). Step 3: Programming the Arduino 1. Install the Required Libraries: - Open the Arduino IDE and install the following libraries: - Blynk library - DHT sensor library Sketch -> Include Library -> Manage Libraries... - Search for "Blynk" and install it. - Search for "DHT sensor library" and install it. 2. Write the Arduino Code: - Use the following sample code given below. - Replace `YourWiFiSSID`, `YourWiFiPassword`, and `YourAuthToken` with your actual WiFi credentials and Blynk Auth Token. 3. Upload the Code: - Connect your Arduino to your computer via USB and upload the code. Step 4: Monitoring the Data 1. Open the Blynk App: - Start the project by pressing the play button in the Blynk app. 2. View the Sensor Data: - The temperature and humidity values should now appear on the widgets you configured. - You can now monitor the DHT sensor values in real-time from your smartphone. Project Gallery All Documents : Download the code to get started with the project. Click Here to Download Download Video Tutorial : Conclusion : By following these steps, you have successfully set up a system to monitor DHT sensor values on the Blynk app using an Arduino. This project is a great way to learn about IoT and how to connect sensors to a mobile app for remote monitoring. Also check our website for more projects and explore Skill-Hub by EmbeddedBrew to enhance your Skills. Happy experimenting! comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.