top of page

Search Results

Search this site

65 results found with an empty search

  • Paywall | EmbeddedBrew

    You don't have permissions to access this page. Back to site Switch Account

  • How to make a random LED Flasher using Arduino Nano

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

  • Getting Started with ESP32 Cam Module and Solve Fatal Error

    In this Project we will learn about ESP32 Cam module & create a Live Security Camera Getting Started with ESP32 Cam Module and Solve Fatal Error In this Project we will learn about ESP32 Cam module & create a Live Security Camera Description: The ESP32-CAM is a powerful and versatile microcontroller with built-in Wi-Fi and Bluetooth, making it ideal for various IoT projects. Here’s a step-by-step guide to help you get started with your ESP32-CAM on a Windows PC. Step 1: Gather Your Components Before you begin, ensure you have the following components: - ESP32-CAM module - USB to TTL/Serial adapter (such as FTDI or CP2102) - Jumper wires - Breadboard (optional) - Micro USB cable Step 2: Install Arduino IDE 1. Download Arduino IDE: Visit the [Arduino IDE download page]( https://www.arduino.cc/en/software ) and download the Windows installer. 2. Install Arduino IDE: Run the installer and follow the on-screen instructions to install the IDE on your PC. Step 3: Install ESP32 Board Support 1. Open Arduino IDE: Launch the Arduino IDE. 2. Open Preferences: Go to `File` > `Preferences`. 3. Add ESP32 URL: In the "Additional Board Manager URLs" field, enter the following URL: ` https://dl.espressif.com/dl/package_esp32_index.json` 4. Open Boards Manager: Go to `Tools` > `Board` > `Boards Manager`. 5. Install ESP32: In the Boards Manager window, search for "ESP32" and click "Install" on the "esp32 by Espressif Systems" entry. Step 4: Set Up ESP32-CAM in Arduino IDE 1. Select Board: Go to `Tools` > `Board` and select `AI Thinker ESP32-CAM`. 2. Select Port: Connect your USB to TTL adapter to your PC and select the appropriate COM port under `Tools` > `Port`. Step 5: Wiring the ESP32-CAM 1. Connect the ESP32-CAM to the USB to TTL Adapter: - ESP32-CAM | USB to TTL - 5V | 5V - GND | GND - U0R | TX - U0T | RX - IO0 | GND (for programming mode) Step 6: Uploading the Code 1. Open Example Sketch: Go to `File` > `Examples` > `ESP32` > `Camera` > `CameraWebServer`. 2. Modify the Sketch: Find the following lines in the sketch and update them with your Wi-Fi credentials: const char* ssid = "your-SSID"; const char* password = "your-PASSWORD"; 3. Select Board Settings: Ensure the following settings are selected: - Board: `AI Thinker ESP32-CAM` - Flash Mode: `QIO` - Flash Frequency: `40MHz` - Partition Scheme: `Huge APP (3MB No OTA)` - Upload Speed: `115200` 4. Upload Code: Click the upload button. While uploading, press and hold the `RESET` button on the ESP32-CAM. Step 7: Running the ESP32-CAM 1. Open Serial Monitor: Go to `Tools` > `Serial Monitor` and set the baud rate to `115200`. 2. Reset the ESP32-CAM: Disconnect the IO0 pin from GND and press the `RESET` button on the ESP32-CAM. 3. View Output: The Serial Monitor will display the IP address of your ESP32-CAM. 4. Access the Web Server: Open a web browser and enter the IP address displayed in the Serial Monitor. You should see the camera feed from your ESP32-CAM. Project Gallery All Documents : Copy & Paste this link in ArduinoIDE - File - Preferences - Additional Boards Manager URL - https://dl.espressif.com/dl/package_esp32_index.json Use the example code as instructed in the Video Click Here to Download Download Video Tutorial : Conclusion : Congratulations on completing all the steps! You now have a solid understanding of how the Raspberry Pi Pico works. Feel free to experiment with various projects to further enhance your skills. For more project ideas and detailed guides, visit our website. Additionally, explore Skill-Hub by EmbeddedBrew to acquire a wide range of skills in embedded systems. Happy Learning! comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.

  • ESP32Projects

    ESP32 Projects Getting Started with ESP32 Cam Module and Solve Fatal Error In this Project we will learn about ESP32 Cam module & create a Live Security Camera Read More Load More

  • Design a Retro game of Snake from Nokia using OLED and Joystick.

    Design a Retro game of Snake from Nokia using OLED and Joystick. Design a Retro game of Snake from Nokia using OLED and Joystick. With these steps, you've successfully created a basic Nokia Snake game using a 0.96" OLED, a joystick, and an Arduino Nano. You can enhance the game by adding more features, improving graphics, and optimizing controls. Description: Creating a Nokia Snake game using a 0.96" OLED, a joystick, and an Arduino Nano is an exciting project. Below are the detailed steps to guide you through the process: Materials Needed 1. Arduino Nano 2. 0.96" OLED display (SSD1306) 3. Joystick module 4. Breadboard and jumper wires 5. Power supply or USB cable 6. Resistors (if needed for pull-down or pull-up) Step 1: Setup and Installation 1. Install Arduino IDE: Download and install the Arduino IDE from the official [Arduino website](https://www.arduino.cc/en/software). 2. Install Required Libraries: Open the Arduino IDE and install the following libraries through the Library Manager (Sketch -> Include Library -> Manage Libraries): - Adafruit SSD1306 - Adafruit GFX Step 2: Wiring the Components 1. OLED Display: - VCC to 5V (or 3.3V, depending on your display) - GND to GND - SCL to A5 (SCL) - SDA to A4 (SDA) 2. Joystick Module: - VCC to 5V - GND to GND - VRx to A0 (horizontal movement) - VRy to A1 (vertical movement) - SW to D2 (button press) Step 3: Testing and Debugging 1. Upload the Code: Connect your Arduino Nano to your computer using a USB cable. Select the appropriate board and port in the Arduino IDE and upload the code. 2. Check the Display: Ensure the OLED display initializes correctly and shows the snake's movement. 3. Joystick Control: Move the joystick and observe the snake's movement on the OLED display. Adjust the delay and mapping values for smoother control. Step 4: Enhancements 1. Food Item: Add random food generation on the screen and increase the snake's length when it eats the food. 2. Game Over Condition: Implement collision detection with the screen boundaries and the snake's body. 3. Score Display: Add a score counter and display it on the screen. Project Gallery All Documents : Download the below code and enjoy your game. Click Here to Download Download Video Tutorial : Conclusion : With these steps, you've successfully created a basic Nokia Snake game using a 0.96" OLED, a joystick, and an Arduino Nano. You can enhance the game by adding more features, improving graphics, and optimizing controls. Explore our website for more projects and visit Skill-Hub by EmbeddedBrew. Happy coding and enjoy your DIY project! comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.

  • How to make a Home Automation System using Blynk2.0 and NodeMCU

    Create Automation System using NodeMCU and Blynk2.0 to control Lights and Fans of a room, also monitor environmental parameters on your hand. How to make a Home Automation System using Blynk2.0 and NodeMCU Create Automation System using NodeMCU and Blynk2.0 to control Lights and Fans of a room, also monitor environmental parameters on your hand. Description: Sure, here’s a step-by-step guide to create a home automation system that controls two devices and displays temperature data from a DHT22 sensor on an LCD using NodeMCU and Blynk: Step 1: Gather Materials - NodeMCU (ESP8266) - DHT22 temperature and humidity sensor - 16x2 LCD display with I2C module - Two relays (for controlling devices) - Breadboard and jumper wires - Power supply (5V for relays, typically USB for NodeMCU) - Blynk app installed on your smartphone Step 2: Set Up Blynk 1. Create a Blynk Account: Download the Blynk app from the App Store or Google Play and create an account. 2. Create a New Project: In the Blynk app, create a new project. Select "NodeMCU" as your device and note down the authentication token sent to your email. 3. Add Widgets: - Add a button widget for each device you want to control. - Add a labeled value widget to display temperature data. - Optionally, add a gauge or graph widget to visualize temperature data. Step 3: Set Up Hardware 1. Connect the DHT22 Sensor: - VCC to 3.3V on NodeMCU - GND to GND on NodeMCU - Data to digital pin D4 on NodeMCU 2. Connect the LCD Display: - Connect the I2C module to the LCD. - SDA to D2 on NodeMCU - SCL to D1 on NodeMCU - VCC to 5V on NodeMCU - GND to GND on NodeMCU 3. Connect the Relays: - Relay 1 IN pin to D5 on NodeMCU - Relay 2 IN pin to D6 on NodeMCU - VCC to 5V - GND to GND Step 4: Install Libraries In your Arduino IDE, install the following libraries: - Blynk Library: Go to Sketch > Include Library > Manage Libraries, search for "Blynk", and install. - DHT Sensor Library: Search for "DHT sensor library" and install. - LiquidCrystal I2C Library: Search for "LiquidCrystal I2C" and install. Step 5: Write the Code Step 6: Upload Code to NodeMCU 1. Connect your NodeMCU to your computer via USB. 2. Open the Arduino IDE and select the correct board and port. 3. Upload the code to your NodeMCU. Step 7: Configure Blynk App 1. Button Widgets: Set one button to V1 and the other to V2 for controlling the relays. 2. Labeled Value Widget: Set to V5 to display the temperature data. Step 8: Power Up and Test 1. Ensure all connections are secure. 2. Power up your NodeMCU and relays. 3. Open the Blynk app and test the buttons to control your devices. 4. Check the LCD display and Blynk app to see the temperature readings from the DHT22 sensor. Project Gallery All Documents : Download the below code to make your own Home Automation System. Click Here to Download Download Video Tutorial : Conclusion : You’ve now built a basic home automation system using NodeMCU and Blynk! This setup allows you to control two devices remotely and monitor temperature data in real-time. Explore additional projects and skills on our website and continue enhancing your IoT expertise with Skill-Hub by EmbeddedBrew. Happy building! comments debug Comments Write a comment Write a comment Share Your Thoughts Be the first to write a comment.

  • How to make an Arduino based Calculator using Keypad and LCD

    How to make an Arduino based Calculator using Keypad and LCD How to make an Arduino based Calculator using Keypad and LCD Here's a step-by-step guide to creating a calculator using an Arduino, a keypad, and an LCD Description: In this tutorial, we’ll walk you through building a simple calculator using an Arduino, a 4x4 keypad, and an I2C LCD. This project is perfect for beginners looking to explore the basics of interfacing components with an Arduino. Components Needed: - Arduino Uno (or any other compatible board) - 4x4 Keypad - LCD I2C (16x2) - Jumper wires - Breadboard - USB cable for programming Step 1: Set Up Your Components Connect the Keypad: 1. Place the keypad on your breadboard. 2. Connect the keypad's row and column pins to the Arduino. For instance: - Row pins (R1, R2, R3, R4) to Arduino pins 9, 8, 7, 6 - Column pins (C1, C2, C3, C4) to Arduino pins 5, 4, 3, 2 Connect the LCD I2C: 1. Attach the I2C LCD to the breadboard. 2. Connect the LCD's SDA and SCL pins to the corresponding Arduino pins: - SDA to A4 - SCL to A5 3. Connect the LCD's VCC to the 5V pin on the Arduino and GND to the GND pin on the Arduino. Step 2: Install Required Libraries Before coding, ensure you have the necessary libraries installed in your Arduino IDE: 1. Keypad Library: - Go to Sketch > Include Library > Manage Libraries. - Search for "Keypad" and install the Keypad library by Mark Stanley and Alexander Brevig. 2. LiquidCrystal I2C Library: - Go to Sketch > Include Library > Manage Libraries. - Search for "LiquidCrystal I2C" and install the library by Frank de Brabander. Step 3: Write the Code Here’s a sample code to get you started: Step 4: Upload and Test 1. Connect your Arduino to your computer using the USB cable. 2. Open the Arduino IDE, paste the code, and upload it to your Arduino. 3. Once uploaded, your LCD should display "Calculator" initially. Use the keypad to enter numbers and operations. For example: - Press `5`, then `A` (for addition), then `3`, and finally `#` to see the result `8` displayed. Project Gallery All Documents : Download the below code to run the Calculator Click Here to Download Download Video Tutorial : Conclusion : Now that your basic calculator is working, you can try expanding its functionality. Add more operations, improve the user interface, or even integrate it with other sensors or components for more complex projects. By following these steps, you’ll have a functional calculator built with an Arduino, a keypad, and an LCD I2C. Happy building! Also check our website for more projects and explore the Skill-Hub 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.

  • MiscellneousProjects

    Miscellaneous Projects Project Name To connect this element to content from your collection, select the element and click Connect to Data. Read More Load More

  • CircuitProjects

    Circuit Projects 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. Read More 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. Read More Load More

  • How to Make an Online Clock with NodeMCU and LCD Display

    Here is a step-by-step guide to creating an online clock using NodeMCU to display the time and date on an LCD How to Make an Online Clock with NodeMCU and LCD Display Here is a step-by-step guide to creating an online clock using NodeMCU to display the time and date on an LCD Description: Creating an online clock using NodeMCU and an LCD display is an exciting project that combines the power of Wi-Fi connectivity with the simplicity of microcontrollers. Follow these steps to build your own online clock. Materials Needed: - NodeMCU (ESP8266) - LCD Display (16x2 or 20x4) with I2C module - Breadboard and jumper wires - USB cable for programming NodeMCU - Internet connection Step 1: Set Up the Hardware 1. Connect the LCD Display to NodeMCU: - Connect the VCC pin of the LCD to the 3.3V pin on the NodeMCU. - Connect the GND pin of the LCD to a GND pin on the NodeMCU. - Connect the SDA pin of the LCD to the D2 pin on the NodeMCU. - Connect the SCL pin of the LCD to the D1 pin on the NodeMCU. 2. Power the NodeMCU: - Connect the NodeMCU to your computer using the USB cable to power it up and upload the code. Step 2: Install Required Libraries 1. Install the Arduino IDE: - Download and install the Arduino IDE from the [Arduino website](https://www.arduino.cc/en/software). 2. Add ESP8266 Board to Arduino IDE: - Open Arduino IDE, go to `File > Preferences`. - In the "Additional Board Manager URLs" field, add the following URL: ` http://arduino.esp8266.com/stable/package_esp8266com_index.json` - Go to `Tools > Board > Boards Manager`, search for `ESP8266` and install the `esp8266` platform. 3. Install Libraries: - Go to `Sketch > Include Library > Manage Libraries`. - Search for and install the following libraries: - `LiquidCrystal_I2C` (for controlling the LCD via I2C) - `NTPClient` (for getting time from an NTP server) - `ESP8266WiFi` (for connecting NodeMCU to Wi-Fi) Step 3: Write the Code 1. Include Libraries and Define Variables: 2. Set Up Wi-Fi and Time Client: 3. Display Time and Date: Step 4: Upload the Code 1. Upload Code to NodeMCU: - Select the correct board and port in the Arduino IDE (`Tools > Board > NodeMCU 1.0 (ESP-12E Module)` and `Tools > Port`). - Click the upload button to upload the code to the NodeMCU. 2. Monitor the Serial Output: - Open the Serial Monitor (`Tools > Serial Monitor`) to see the connection status and debug messages. Step 5: Test and Debug 1. Check LCD Display: - Ensure the LCD displays the current time and date. - If the display is not working, check the connections and ensure the I2C address of the LCD (0x27 in this case) matches your hardware. 2. Verify Time Accuracy: - The time displayed should update every second. - If the time is incorrect, check your internet connection and the NTP server configuration. Project Gallery All Documents : Download the below code to make your LCD Clock. Click Here to Download Download Video Tutorial : Conclusion : Congratulations! You have successfully created an online clock using NodeMCU and an LCD display. For more exciting projects, visit our website and explore Skill-Hub by EmbeddedBrew to learn new 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 Create a PIR Sensor-Based Motion Alarm Using Arduino

    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.

bottom of page