top of page

Search Results

Search this site

65 results found with an empty search

  • How to interface LCD with Keypad module and Arduino.

    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.

  • Getting Started with RFID and Arduino: Reading Values and Controlling an LED

    Getting Started with RFID and Arduino: Reading Values and Controlling an LED Getting Started with RFID and Arduino: Reading Values and Controlling an LED Here’s a step-by-step guide for getting started with RFID and Arduino to read values on the Serial Monitor and control an LED Description: Introduction RFID (Radio Frequency Identification) technology allows you to read data from RFID tags using an RFID reader. In this guide, we will show you how to set up an RFID reader with an Arduino to display tag information on the Serial Monitor and control an LED based on the tag read. Materials Needed - Arduino Uno - RFID Reader (RC522) - RFID Tags - LED - Resistor (220 ohms) - Breadboard and jumper wires Step 1: Wiring the RFID Reader to the Arduino 1. Connect the RFID Reader (RC522) to the Arduino as follows: - SDA to Arduino pin 10 - SCK to Arduino pin 13 - MOSI to Arduino pin 11 - MISO to Arduino pin 12 - IRQ to Arduino pin 9 (not used in this example) - GND to GND - RST to Arduino pin 8 - 3.3V to 3.3V 2. Connect the LED to the Arduino: - Connect the longer leg (anode) of the LED to a 220-ohm resistor, then to Arduino pin 7. - Connect the shorter leg (cathode) to GND. Step 2: Install the Required Libraries Install the MFRC522 library: - Open the Arduino IDE. - Go to Sketch > Include Library > Manage Libraries. - Search for "MFRC522" and install the library by GithubCommunity. Step 3: Upload the Code to the Arduino 1. Open the Arduino IDE and create a new sketch. 2. Copy and paste the following code: 3. Replace `"XX XX XX XX"` in the code with the UID of your RFID tag. To find your tag's UID, upload the code first, open the Serial Monitor, and place your RFID tag near the reader. The UID will be displayed on the Serial Monitor. 4. Upload the modified code to your Arduino. Step 4: Test the Setup 1. Open the Serial Monitor: - Make sure the baud rate is set to 9600. 2. Place your RFID tag near the reader: - Observe the UID printed on the Serial Monitor. - If the UID matches the specified UID in the code, the LED should turn on for 3 seconds. - If the UID does not match, the Serial Monitor will display "Unauthorized access." Project Gallery All Documents : Download the below code and explore with RFID Sensor. Click Here to Download Download Video Tutorial : Conclusion : You have now successfully set up an RFID reader with an Arduino to read tag values and control an LED. This basic project can be extended to various applications, such as access control systems, inventory management, and more. Explore additional projects and expand your skills with Skill-Hub by EmbeddedBrew. comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.

  • Using NodeMCU as a Client & Server Application

    Learn to use NodeMCU in Server mode and Client mode. Using NodeMCU as a Client & Server Application Learn to use NodeMCU in Server mode and Client mode. Description: The NodeMCU is a popular development board that makes it easy to connect to Wi-Fi and create IoT applications. In this guide, we’ll walk through the steps to set up your NodeMCU as both a server and a client using the Arduino IDE. Prerequisites: - NodeMCU board - USB cable - Arduino IDE installed - Wi-Fi network Step 1: Set Up the Arduino IDE 1. Install the NodeMCU Board Package: - Open the Arduino IDE. - Go to `File` -> `Preferences`. - In the “Additional Board Manager URLs” field, add: ` http://arduino.esp8266.com/stable/package_esp8266com_index.json` . - Go to `Tools` -> `Board` -> `Boards Manager`. - Search for `esp8266` and install the latest version. 2. Select the NodeMCU Board: - Go to `Tools` -> `Board` and select `NodeMCU 1.0 (ESP-12E Module)`. Step 2: Set Up NodeMCU as a Server 1. Open the Example Sketch: - Go to `File` -> `Examples` -> `ESP8266WebServer` -> `HelloServer`. 2. Modify the Sketch: - Update the `ssid` and `password` variables with your Wi-Fi credentials. const char* ssid = "your_SSID"; const char* password = "your_PASSWORD"; 3. Upload the Sketch: - Connect your NodeMCU to your computer using a USB cable. - Select the correct port under `Tools` -> `Port`. - Click the upload button. 4. Monitor the Serial Output: - Open the Serial Monitor (`Tools` -> `Serial Monitor`) and set the baud rate to `115200`. - Once connected, the Serial Monitor will display the IP address of the NodeMCU. 5. Access the Server: - Open a web browser and enter the IP address displayed in the Serial Monitor. - You should see a message saying "Hello from ESP8266!". Step 3: Set Up NodeMCU as a Client 1. Open the Example Sketch: - Go to `File` -> `Examples` -> `ESP8266WiFi` -> `WiFiClient`. 2. Modify the Sketch: - Update the `ssid` and `password` variables with your Wi-Fi credentials. - Set the server's IP address and port (if you're using the previous server example, use the NodeMCU’s IP and port 80). const char* ssid = "your_SSID"; const char* password = "your_PASSWORD"; const char* host = "server_IP_address"; const uint16_t port = 80; 3. Upload the Sketch: - Connect your NodeMCU to your computer. - Select the correct port and upload the sketch. 4. Monitor the Serial Output: - Open the Serial Monitor and set the baud rate to `115200`. - The NodeMCU will attempt to connect to the server and you should see the response from the server in the Serial Monitor. Step 4: Testing and Further Development - Testing: - With the server running, reset the client NodeMCU and observe the communication between the server and client in the Serial Monitor. - Further Development: - Explore more examples and libraries to expand your IoT projects. - Modify the server to handle different types of requests. - Use the client to send sensor data to the server. Project Gallery All Documents : Use the codes from the eamples as mentioned above. Click Here to Download Download Video Tutorial : Conclusion : By following these steps, you've successfully set up your NodeMCU as both a server and a client. This setup forms the foundation for creating more complex IoT applications. For additional projects and resources, check out our website and 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.

  • Automatic door opening system using motion sensor

    Automatic door opening system using motion sensor Automatic door opening system using motion sensor Create a fun project of opening a door using IR sensor Description: Are you interested in home automation projects? In this tutorial, we'll guide you through the steps to create an automatic door opener using an Arduino, a servo motor, and an IR sensor. This project is perfect for beginners and a great way to get hands-on experience with Arduino. Components Needed: - Arduino Uno - Servo Motor (e.g., SG90) - IR Sensor Module - Breadboard and jumper wires - Power supply (e.g., 9V battery with connector) - Door or small model to test the mechanism 1. Setup and Wiring: - Servo Motor Wiring: - Connect the red wire of the servo motor to the 5V pin on the Arduino. - Connect the black or brown wire to the GND pin on the Arduino. - Connect the yellow or orange wire to digital pin 9 on the Arduino. - IR Sensor Wiring: - Connect the VCC pin of the IR sensor to the 5V pin on the Arduino. - Connect the GND pin to the GND on the Arduino. - Connect the OUT pin of the IR sensor to digital pin 7 on the Arduino. 2. Arduino Code: - Open the Arduino IDE and create a new sketch. Copy and paste the following code. 3. Assembling the Components: - Place the IR sensor module near the door, ensuring it can detect when someone approaches. - Attach the servo motor to the door mechanism. If you're using a model door, you might need to create a simple arm that the servo can push or pull to open the door. 4. Uploading the Code: - Connect your Arduino to your computer using a USB cable. - Select the correct board and port from the Arduino IDE (Tools > Board > Arduino Uno, Tools > Port > COMx). - Click the upload button to transfer the code to the Arduino. 5. Testing: - Once the code is uploaded, power your Arduino using a 9V battery or another power source. - Wave your hand or an object in front of the IR sensor. The servo motor should rotate to open the door and then close it after 3 seconds. Troubleshooting Tips: - Servo Not Moving: Ensure that the servo motor connections are correct and secure. Check the power supply. - IR Sensor Not Detecting: Verify the IR sensor wiring and that the sensor is oriented correctly. Use the serial monitor to check the sensor readings. - Adjustments: If the door doesn't open or close properly, adjust the servo angle values in the code. Project Gallery All Documents : Download the following code to run your project. Click Here to Download Download Video Tutorial : Conclusion : By following these steps, you have successfully created an automatic door opener using Arduino, a servo motor, and an IR sensor. This project introduces you to the basics of using sensors and actuators with Arduino, opening the door to more complex home automation projects. Happy building! comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.

  • How to Build a Water Level Monitoring System Using BC547

    here’s a detailed guide on how to create a water level monitoring system using a BC547 transistor. How to Build a Water Level Monitoring System Using BC547 here’s a detailed guide on how to create a water level monitoring system using a BC547 transistor. Description: Monitoring water levels is essential for various applications, from home water tanks to industrial reservoirs. In this guide, we will walk you through the steps to create a simple and effective water level monitoring system using a BC547 transistor. Materials Needed: - BC547 NPN transistor - Resistors (1kΩ, 10kΩ) - LEDs (Green, Yellow, Red) - 9V battery and battery clip - Water container - Connecting wires - Breadboard - Jumper wires Step 1: Understanding the Circuit Before we start building, it’s important to understand how the circuit works. The BC547 transistor acts as a switch that will control the LEDs indicating different water levels. The base of the transistor will receive input from the water sensors (wires submerged in water at different levels), the emitter will be connected to the ground, and the collector will drive the LEDs. Step 2: Setting Up the Power Supply Connect the 9V battery to the breadboard using the battery clip. Connect the positive terminal of the battery to the positive rail and the negative terminal to the negative rail of the breadboard. Step 3: Placing the Transistor Place the BC547 transistor on the breadboard. The flat side of the transistor should be facing you. The pins from left to right are: Collector (C), Base (B), and Emitter (E). Step 4: Connecting the Resistors - Connect a 10kΩ resistor from the base (B) of the BC547 to the positive rail of the breadboard. - Connect a 1kΩ resistor from the collector (C) of the BC547 to the positive rail of the breadboard. Step 5: Setting Up the LEDs - Connect the cathode (short leg) of the green LED to the emitter (E) of the BC547. - Connect the anode (long leg) of the green LED to the collector (C) of the BC547. - Repeat the same steps for the yellow and red LEDs, ensuring each has its own BC547 transistor set up in parallel. Step 6: Creating the Water Sensors - Use three pieces of wire to act as water level sensors. - Place the first wire at the bottom of the water container (low level). - Place the second wire in the middle (medium level). - Place the third wire near the top (high level). Step 7: Connecting the Sensors to the Transistors - Connect the sensor wire at the bottom to the base (B) of the first BC547 transistor via a jumper wire. - Connect the middle sensor to the base (B) of the second BC547 transistor. - Connect the top sensor to the base (B) of the third BC547 transistor. Step 8: Grounding the Circuit - Connect the emitter (E) of all three BC547 transistors to the negative rail of the breadboard. - Connect the negative rail to the negative terminal of the battery. Step 9: Testing the System - Fill the container with water to different levels and observe the LEDs. - When the water reaches the bottom sensor, the green LED should light up. - When the water reaches the middle sensor, the yellow LED should light up. - When the water reaches the top sensor, the red LED should light up. Project Gallery All Documents : There are no codes to download Click Here to Download Download Video Tutorial : Conclusion : By following these steps, you have successfully built a water level monitoring system using a BC547 transistor. This simple project helps you understand the basics of transistor operation and water level detection. For more exciting projects and tutorials, visit our website and check out Skill-Hub by EmbeddedBrew to expand your knowledge in embedded systems. comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.

  • Getting Started with New Blynk 2.0 with NodeMCU to control LED over the Internet

    here's a step-by-step guide to get started with Blynk 2.0 and NodeMCU to control an LED Getting Started with New Blynk 2.0 with NodeMCU to control LED over the Internet here's a step-by-step guide to get started with Blynk 2.0 and NodeMCU to control an LED Description: In this tutorial, we'll walk you through the steps to control an LED using Blynk 2.0 with a NodeMCU, bypassing BlynkEdgent for a straightforward approach. Follow these steps to get your project up and running: Step 1: Gather Your Materials - NodeMCU (ESP8266) - LED - Resistor (220 ohms) - Breadboard - Jumper wires - USB cable for programming the NodeMCU - Computer with Arduino IDE installed Step 2: Set Up Blynk 2.0 Account 1. Create an Account: Sign up for a free account on [Blynk](https://blynk.io/). 2. Create a New Template: Go to the Blynk console, create a new template, and configure the template settings such as name, hardware (ESP8266), and connection type (Wi-Fi). 3. Add Datastream: Define a datastream for the digital pin that will control the LED (e.g., Digital Pin D1). Step 3: Configure the Blynk Mobile App 1. Download the App: Install the Blynk app from the App Store or Google Play. 2. Log In: Open the app and log in with your Blynk account. 3. Create New Project: Create a new project and link it to the template you created in the Blynk console. 4. Add Widget: Add a button widget to control the LED. Link the button to the datastream you set up (e.g., Digital Pin D1). Step 4: Set Up the Hardware 1. Connect the LED: - Place the LED on the breadboard. - Connect the positive leg (anode) of the LED to a digital pin on the NodeMCU (e.g., D1). - Connect the negative leg (cathode) to one end of the resistor. - Connect the other end of the resistor to the GND pin on the NodeMCU. Step 5: Program the NodeMCU 1. Install Blynk Library: Open the Arduino IDE, go to Sketch > Include Library > Manage Libraries, and search for "Blynk." Install the Blynk library. 2. Install ESP8266 Board: In the Arduino IDE, go to File > Preferences, and add the following URL to the Additional Boards Manager URLs: `http://arduino.esp8266.com/stable/package_esp8266com_index.json`. Then go to Tools > Board > Boards Manager, search for "ESP8266," and install it. 3. Code: Use the following code to set up the Blynk connection and control the LED. 4. Upload the Code: Connect your NodeMCU to your computer using the USB cable, select the appropriate board and port in the Arduino IDE, and upload the code. Step 6: Test Your Setup 1. Open the Blynk App: Ensure your NodeMCU is powered and connected to your Wi-Fi. 2. Control the LED: Use the button widget in the Blynk app to turn the LED on and off. Project Gallery All Documents : Download the code below to get started with Blynk2.0 Click Here to Download Download Video Tutorial : Conclusion : Congratulations! You have successfully set up your NodeMCU to control an LED using Blynk 2.0. Experiment with additional widgets and sensors to expand your project. Also check our website for more projects and explore Skill-Hub by EbeddedBrew to enhance your Skills in Embedded Systems and IoT. comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.

  • How to make a temperature sensor using LM35 and LCD Display.

    How to make a temperature sensor using LM35 and LCD Display. How to make a temperature sensor using LM35 and LCD Display. Here's a step-by-step guide to make a thermometer using an LM35 temperature sensor and displaying the value on an I2C LCD Description: In this project, we will create a simple thermometer using the LM35 temperature sensor and display the temperature readings on an I2C LCD. The LM35 is a precision temperature sensor that provides an analog output proportional to the temperature in Celsius. The I2C LCD simplifies wiring and coding by using only two data lines. Follow the steps below to build your thermometer. Materials Needed - LM35 Temperature Sensor - Arduino (Uno, Nano, etc.) - I2C LCD Display - Breadboard - Jumper wires Step 1: Connect the LM35 Sensor 1. Place the LM35 on the breadboard: - Ensure the flat side faces you for easy identification of pins. 2. Wire the LM35 to the Arduino: - Vcc (Pin 1): Connect to 5V on the Arduino. - Vout (Pin 2): Connect to A0 (analog pin) on the Arduino. - GND (Pin 3): Connect to GND on the Arduino. Step 2: Connect the I2C LCD Display 1. Identify the I2C Pins on the LCD: - Typically labeled as GND, VCC, SDA, and SCL. 2. Wire the I2C LCD to the Arduino: - GND: Connect to GND on the Arduino. - VCC: Connect to 5V on the Arduino. - SDA: Connect to A4 (on Uno) or corresponding SDA pin on your Arduino model. - SCL: Connect to A5 (on Uno) or corresponding SCL pin on your Arduino model. Step 3: Install Required Libraries 1. Open the Arduino IDE. 2. Install the LiquidCrystal_I2C library: - Go to Sketch > Include Library > Manage Libraries. - Search for "LiquidCrystal_I2C" and install it. Step 4: Write the Arduino Code Here is a sample code to read the temperature from the LM35 sensor and display it on the I2C LCD: Step 5: Upload the Code and Test 1. Connect your Arduino to the computer using a USB cable. 2. Open the Arduino IDE, select the appropriate board and port. 3. Upload the code to your Arduino. 4. Observe the temperature readings displayed on the I2C LCD. Project Gallery All Documents : Download the files and Enjoy with your Project. Click Here to Download Download Video Tutorial : Conclusion : You've successfully created a thermometer using an LM35 temperature sensor and an I2C LCD display. This project is a great introduction to working with analog sensors and I2C communication in Arduino. Explore further by calibrating your sensor or integrating additional features like data logging. For more exciting projects and tutorials, check out our website and explore the Skill-Hub by EmbeddedBrew to enhance your embedded systems knowledge. 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 music reactive LED Strip using Arduino and Sound sensor

    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 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 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.

  • How to Create a Laser Security System Using a BC547 Transistor

    Here's a detailed guide on how to create a laser security system using a BC547 transistor. This project will involve using a laser beam to create a tripwire that triggers an alarm when interrupted. How to Create a Laser Security System Using a BC547 Transistor Here's a detailed guide on how to create a laser security system using a BC547 transistor. This project will involve using a laser beam to create a tripwire that triggers an alarm when interrupted. Description: Creating a laser security system is an exciting project that combines basic electronics with a bit of creativity. Follow these steps to build your own laser security system using a BC547 transistor. Materials Needed: - Laser module - LDR (Light Dependent Resistor) - BC547 NPN transistor - Resistors (10kΩ and 330Ω) - Buzzer or alarm - 9V battery and battery clip - Breadboard and jumper wires Step-by-Step Guide: Step 1: Understanding the Circuit The laser security system works by pointing a laser beam at an LDR. The LDR's resistance changes with light intensity. When the laser beam is interrupted, the change in resistance is detected, triggering the alarm. Step 2: Setting Up the Laser and LDR 1. Place the Laser Module: Position the laser module so that it points directly at the LDR. Secure it in place to ensure it doesn't move. 2. Place the LDR: Place the LDR on the breadboard in the path of the laser beam. Step 3: Building the Circuit 1. Connect the LDR and Resistor: Connect one end of the LDR to the positive rail of the breadboard. Connect the other end to one end of the 10kΩ resistor. 2. Connect to Ground: Connect the free end of the 10kΩ resistor to the ground rail of the breadboard. 3. Voltage Divider: The junction between the LDR and the 10kΩ resistor will act as a voltage divider, providing a varying voltage based on the LDR's resistance. Step 4: Connecting the BC547 Transistor 1. Base Connection: Connect the junction between the LDR and the 10kΩ resistor to the base of the BC547 transistor through a 330Ω resistor. 2. Collector Connection: Connect the collector of the BC547 transistor to the negative terminal of the buzzer or alarm. 3. Emitter Connection: Connect the emitter of the BC547 transistor to the ground rail of the breadboard. 4. Power the Buzzer: Connect the positive terminal of the buzzer to the positive rail of the breadboard. Step 5: Powering the Circuit 1. Connect the Battery: Attach the 9V battery to the breadboard using a battery clip. Connect the positive terminal to the positive rail and the negative terminal to the ground rail. Step 6: Testing the System 1. Align the Laser: Make sure the laser beam is accurately pointing at the LDR. 2. Activate the Laser: Turn on the laser module. 3. Monitor the Buzzer: The buzzer should be silent when the laser beam is hitting the LDR. 4. Interrupt the Beam: Block the laser beam with your hand or an object. The buzzer should sound, indicating the alarm is triggered. Troubleshooting Tips: - No Alarm Sound: Check all connections to ensure they are secure. Verify the battery has sufficient charge. - Constant Alarm: Ensure the laser beam is correctly aligned with the LDR and not interrupted. - Adjusting Sensitivity: You can tweak the resistor values to adjust the sensitivity of the LDR circuit. Project Gallery All Documents : There are no Files to download Click Here to Download Download Video Tutorial : Conclusion : You've successfully built a basic laser security system using a BC547 transistor! This project not only helps in understanding basic electronics but also provides a foundation for more advanced security systems. Experiment with different configurations and explore additional components to enhance your system. For more exciting projects and learning opportunities, visit our website and check out Skill-Hub by EmbeddedBrew. comments debug Comments (1) Write a comment Write a comment Sort by: Newest Raju Jan 26 There is no Breadboard? Like Reply

  • Projects | EmbeddedBrew

    Checkout these cool projects on different devices. Checkout These Catagories Circuit based Projects View Projects NodeMCU based Projects View Projects Raspberry-pi baseed Projects View Projects Arduino Based Projects View Projects ESP32 baseed Projects View Projects Miscellaneous Projects View Projects Play Video Play Video 00:27 EmbeddedBrew #arduinoproject #embeddedbrew Play Video Play Video 09:16 EmbeddedBrew Getting Started with a Dot Matrix Display || EmbeddedBrew || 2025 Welcome to EmbeddedBrew! In this video, we dive into the fascinating world of electronics with a comprehensive, step-by-step guide on how to create your very own electronics project. Whether you're a beginner or an experienced hobbyist, this tutorial is designed to help you bring your ideas to life. Blog : https://www.embeddedbrew.com/post/light-it-up-getting-started-with-dot-matrix-display-and-arduino-nano Stay tuned for next week's episode and join the conversation by leaving your comments below. We love hearing from you! 🔔 Don't forget to like, share, and subscribe to our channel! Your support helps us bring you the best tech content every week. Facebook - My FB page - https://www.facebook.com/Rudradiycrafts Twitter - My Twitter _ https://twitter.com/RudraSwarup99 Instagram - My ID - https://www.instagram.com/embedded.brew/ YouTube - Primary Channel - https://www.youtube.com/channel/UC5IzT-2CGZnPQhUKgmu5VXQ Second Channel - https://www.youtube.com/channel/UCDHcPoREcKbXRRB3VGVlohw So friends Thank you for watching EmbeddedBrew Ignite Curiosity. #EmbeddedBrew #dotmatrix #arduino Play Video Play Video 00:52 EmbeddedBrew #GY30.#TechReels #ArduinoProjects #LightSensor #GY30Sensor #IOTIndia #Embeddedbrew Play Video Play Video 12:55 EmbeddedBrew Getting Started with GY-30 Light Sensor Module || EmbeddedBrew || 2025 Welcome to EmbeddedBrew! In this video, we dive into the fascinating world of electronics with a comprehensive, step-by-step guide on how to create your very own electronics project. Whether you're a beginner or an experienced hobbyist, this tutorial is designed to help you bring your ideas to life. Blog : https://www.embeddedbrew.com/post/light-up-with-intelligence-getting-started-with-gy-30-light-sensor-and-arduino-nano-to-control-an-l Stay tuned for next week's episode and join the conversation by leaving your comments below. We love hearing from you! 🔔 Don't forget to like, share, and subscribe to our channel! Your support helps us bring you the best tech content every week. Facebook - My FB page - https://www.facebook.com/Rudradiycrafts Twitter - My Twitter _ https://twitter.com/RudraSwarup99 Instagram - My ID - https://www.instagram.com/embedded.brew/ YouTube - Primary Channel - https://www.youtube.com/channel/UC5IzT-2CGZnPQhUKgmu5VXQ Second Channel - https://www.youtube.com/channel/UCDHcPoREcKbXRRB3VGVlohw So friends Thank you for watching EmbeddedBrew Ignite Curiosity. #TuesdayTechBytes #EmbeddedBrew Play Video Play Video 06:00 EmbeddedBrew Alert System using Door Sensor || EmbeddedBrew Welcome to EmbeddedBrew! In this video, we dive into the fascinating world of electronics with a comprehensive, step-by-step guide on how to create your very own electronics project. Whether you're a beginner or an experienced hobbyist, this tutorial is designed to help you bring your ideas to life. Blog : https://www.embeddedbrew.com/post/unlocking-security-build-your-own-led-and-buzzer-alert-system-with-arduino-nano-door-sensor Stay tuned for next week's episode and join the conversation by leaving your comments below. We love hearing from you! 🔔 Don't forget to like, share, and subscribe to our channel! Your support helps us bring you the best tech content every week. Facebook - My FB page - https://www.facebook.com/Rudradiycrafts Twitter - My Twitter _ https://twitter.com/RudraSwarup99 Instagram - My ID - https://www.instagram.com/embedded.brew/ YouTube - Primary Channel - https://www.youtube.com/channel/UC5IzT-2CGZnPQhUKgmu5VXQ Second Channel - https://www.youtube.com/channel/UCDHcPoREcKbXRRB3VGVlohw So friends Thank you for watching EmbeddedBrew Ignite Curiosity. #TuesdayTechBytes #EmbeddedBrew #doorsensor Play Video Play Video 01:00 EmbeddedBrew #embeddedsystems #robotics #techinnovation #smartdoor #smartsecurity #halloween Play Video Play Video 12:25 EmbeddedBrew Face and Eye Detection Using ESP32-Cam || EmbeddedBrew Welcome to EmbeddedBrew! In this video, we dive into the fascinating world of electronics with a comprehensive, step-by-step guide on how to create your very own electronics project. Whether you're a beginner or an experienced hobbyist, this tutorial is designed to help you bring your ideas to life. Blog : https://www.embeddedbrew.com/post/face-detection-using-esp32-cam-and-python-on-thony-python-ide Stay tuned for next week's episode and join the conversation by leaving your comments below. We love hearing from you! 🔔 Don't forget to like, share, and subscribe to our channel! Your support helps us bring you the best tech content every week. Facebook - My FB page - https://www.facebook.com/Rudradiycrafts Twitter - My Twitter _ https://twitter.com/RudraSwarup99 Instagram - My ID - https://www.instagram.com/embedded.brew/ YouTube - Primary Channel - https://www.youtube.com/channel/UC5IzT-2CGZnPQhUKgmu5VXQ Second Channel - https://www.youtube.com/channel/UCDHcPoREcKbXRRB3VGVlohw So friends Thank you for watching EmbeddedBrew Ignite Curiosity. #EmbeddedBrew #esp32 #facedetection Play Video Play Video 00:31 EmbeddedBrew #embeddedbrew #arduinoproject #python #ai #artificialintelligence #facerecognition #eyerecognition Play Video Play Video 10:00 EmbeddedBrew DIY Mobile Controlled Spy Car using ESP32-Cam || EmbeddedBrew Welcome to EmbeddedBrew! In this video, we dive into the fascinating world of electronics with a comprehensive, step-by-step guide on how to create your very own electronics project. Whether you're a beginner or an experienced hobbyist, this tutorial is designed to help you bring your ideas to life. Blog : https://www.embeddedbrew.com/post/building-a-webserver-controlled-spy-car-with-esp32-cam-a-step-guide Stay tuned for next week's episode and join the conversation by leaving your comments below. We love hearing from you! 🔔 Don't forget to like, share, and subscribe to our channel! Your support helps us bring you the best tech content every week. Facebook - My FB page - https://www.facebook.com/Rudradiycrafts Twitter - My Twitter _ https://twitter.com/RudraSwarup99 Instagram - My ID - https://www.instagram.com/embedded.brew/ YouTube - Primary Channel - https://www.youtube.com/channel/UC5IzT-2CGZnPQhUKgmu5VXQ Second Channel - https://www.youtube.com/channel/UCDHcPoREcKbXRRB3VGVlohw So friends Thank you for watching EmbeddedBrew Ignite Curiosity. #embeddedbrew #esp32 #spycar Play Video Play Video 10:33 EmbeddedBrew How to do display Custom Animation on OLED !!! Welcome to EmbeddedBrew! In this video, we dive into the fascinating world of electronics with a comprehensive, step-by-step guide on how to create your very own electronics project. Whether you're a beginner or an experienced hobbyist, this tutorial is designed to help you bring your ideas to life. Blog : https://www.embeddedbrew.com/post/how-to-display-custom-animations-on-a-0-96-oled-with-arduino-nano Arduino Course : https://www.embeddedbrew.com/challenge-page/a52400b0-d2dd-4b9b-8f84-d22555a487e5 Stay tuned for next week's episode and join the conversation by leaving your comments below. We love hearing from you! 🔔 Don't forget to like, share, and subscribe to our channel! Your support helps us bring you the best tech content every week. Facebook - My FB page - https://www.facebook.com/Rudradiycrafts Twitter - My Twitter _ https://twitter.com/RudraSwarup99 Instagram - My ID - https://www.instagram.com/embedded.brew/ YouTube - Primary Channel - https://www.youtube.com/channel/UC5IzT-2CGZnPQhUKgmu5VXQ Second Channel - https://www.youtube.com/channel/UCDHcPoREcKbXRRB3VGVlohw So friends Thank you for watching EmbeddedBrew Ignite Curiosity. #embeddedbrew #oleddisplay #animation Play Video Play Video 00:54 EmbeddedBrew #SpyCar #EmbeddedSystems #TechInnovation #DIYTech #EmbeddedBrew #wificar Play Video Play Video 01:00 EmbeddedBrew The future of Fire Fighting is here #firefighter #robot #future

  • Getting Started with NodeMCU ESP8266 Module

    Download and Install NodeMCU ESP8266 module for IoT Applications. Getting Started with NodeMCU ESP8266 Module Download and Install NodeMCU ESP8266 module for IoT Applications. Description: NodeMCU is a popular open-source IoT platform that uses the ESP8266 Wi-Fi module. Here’s a simple guide to help you get started with NodeMCU using the Arduino IDE. Step 1: Install Arduino IDE 1. Download Arduino IDE: - Go to the [Arduino IDE download page]( https://www.arduino.cc/en/software ). - Download the version compatible with your operating system (Windows, macOS, Linux). 2. Install Arduino IDE: - Follow the installation instructions specific to your operating system. - Once installed, open the Arduino IDE. Step 2: Set Up Arduino IDE for NodeMCU 1. Add ESP8266 Board Manager URL: - Open Arduino IDE. - Go to `File` > `Preferences`. - In the “Additional Board Manager URLs” field, enter the following URL: `http://arduino.esp8266.com/stable/package_esp8266com_index.json`. - Click `OK`. 2. Install ESP8266 Board Package: - Go to `Tools` > `Board` > `Boards Manager`. - Search for “esp8266” in the Boards Manager window. - Click on “Install” for the “esp8266” by ESP8266 Community. 3. Select NodeMCU Board: - Go to `Tools` > `Board`. - Scroll down and select “NodeMCU 1.0 (ESP-12E Module)”. Step 3: Connect NodeMCU to Your Computer 1. Connect NodeMCU: - Use a USB cable to connect your NodeMCU to your computer. 2. Install USB Driver (if necessary): - For Windows, you may need to install the CH340 USB driver. Download it from [here]( https://sparks.gogo.co.nz/ch340.html ). - For macOS, the driver usually installs automatically, but if not, it can be downloaded from the same link. Step 4: Upload Your First Sketch 1. Open Blink Example: - Go to `File` > `Examples` > `ESP8266` > `Blink`. 2. Select the Right Port: - Go to `Tools` > `Port` and select the COM port that your NodeMCU is connected to. 3. Upload the Sketch: - Click on the upload button (right arrow) in the Arduino IDE. - Wait for the code to compile and upload. You should see the onboard LED blinking if the upload is successful. Step 5: Explore More Projects Now that you have successfully uploaded your first sketch, you can explore more advanced projects. Here are some ideas to get you started: - Wi-Fi Controlled LED: Control an LED using a web interface. - Temperature and Humidity Monitoring: Use DHT11/DHT22 sensors to monitor environmental conditions. - Home Automation: Create a simple home automation system using MQTT. Project Gallery All Documents : Use the Below code for Practice #define LED D0 // Led in NodeMCU at pin GPIO16 (D0). void setup() { pinMode(LED, OUTPUT); // LED pin as output. } void loop() { digitalWrite(LED, HIGH);// turn the LED off.(Note that LOW is the voltage level but actually //the LED is on; this is because it is acive low on the ESP8266. delay(1000); // wait for 1 second. digitalWrite(LED, LOW); // turn the LED on. delay(1000); // wait for 1 second. } Click Here to Download Download Video Tutorial : Conclusion : For more projects and tutorials, visit our website. Don’t forget to check out Skill-Hub by EmbeddedBrew for a comprehensive range of courses on embedded systems. comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.

bottom of page