Skip to content
Osief
Osief
  • Home
  • About Us
  • Contact Us
Osief
Osief
  • (360 Radar)using (Arduino uno) Ultrasonic sensor(HC-SR04) & servo motor
  • About Us
  • Connection of (servo motor)& control it with an (Arduino Uno),in 3 different angle
  • Contact Us
  • Count from 0 to 9 on a common cathode 7-segment display, using Arduino uno
  • Count from 0 to 9 on a common cathode 7-segment display,using Arduino uno 
  • Create a “watch” or clock on an LCD screen connected to an Arduino Uno with an I2C converter
  • Display (Arabic text) on an (LCD screen) connected to an Arduino Uno using an I2C converter
  • display moving text from left to right on an LCD screen connected to an Arduino Uno with an I2C converter
  • Display text with a fade-out effect on an LCD screen connected to an Arduino Uno using an I2C converter,
  • Display(any Pictures)on(0.96″ OLED)connected to(Arduino Uno)using I2C communication
  • Distance measurement of an (object) using an HC-SR04 (ultrasonic sensor) with an Arduino Uno
  • Electrical & Electronic
  • Home
  • How to change Name and password of Bluetooth Module
  • How to display any(moving emoji)on (0.96 inch I2C OLED display)using Arduino uno
  • Measure (Voltage) using (Arduino uno) only !!
  • One Master / one slave using I2C Protocol control six  LED arduino uno
  • Project for (Restricted area).To measure the distance using an Arduino Uno, HC-SR04 ultrasonic sensor, and display the results on an I2C-connected LCD with specific conditions for LED indications and text display
  • Scrolling text for(0.96″ OLED)connected to(Arduino Uno)using I2C communication
  • secondary
  • test gif
  • To control (3LED) ON/OFF using Remote control & Arduino uno, IR receiver
  • To control (LED) ON/OFF using (WiFi Module EPS 8266)
  • To control (three AC Bulb) using an Arduino Uno, (Relay Module) & (Bluetooth module)
  • To count from 0 to 1000 very fast and display the count on an LCD screen connected to an Arduino Uno via an I2C converter
  • To create a radar-like system using an Arduino Uno and a servo motor controlled by the HC-SR04 ultrasonic sensor
  • To display “anything” on an (LCD screen) connected to an (Arduino Uno) using an (I2C converter)
  • To display (1234) on 4-digit 7-segment display using Arduino uno 
  • To display text that slides into place on an LCD screen connected to an Arduino Uno using an I2C converter
  • To display text with a (fade-in) effect on an (LCD screen) connected to an Arduino Uno using an I2C converter
  • To measure the distance of an object using an HC-SR04 ultrasonic sensor and display the results on an LCD screen connected via an I2C converter
  • To write directly from a (keyboard) to an LCD screen connected to an Arduino Uno via an I2C converter
  • youtube Channel

كيفية التحكم في

(لمبة AC)

باستخدام

(Arduino uno)

و

(Relay Module)

Control (AC bulb) ON/OFF using (Arduino Uno) and Relay module!!

 

 

A relay module is an electronic device that is used to control high-voltage or high-current circuits with a low-voltage or low-current signal. It essentially acts as a switch that can be controlled electronically. Relays are commonly used in a variety of applications where it’s necessary to isolate a low-power control circuit from a high-power load circuit.

Here are the key components and features of a typical relay module:

  1. Coil: The coil is the part of the relay module that receives a low-voltage signal, typically from a microcontroller or another electronic device. When an electrical current flows through the coil, it generates a magnetic field.
  2. Contacts: The relay has one or more sets of contacts that open and close when the coil is energized or de-energized. These contacts are what allow or interrupt the flow of current in the high-power circuit. There are typically two types of contacts:
    • Normally Open (NO) contacts: These contacts are open (disconnected) when the relay coil is not energized. When the coil is energized, they close (connect) the circuit.
    • Normally Closed (NC) contacts: These contacts are closed (connected) when the relay coil is not energized. When the coil is energized, they open (disconnect) the circuit.
  3. Terminal Pins: Relay modules have terminal pins for easy connection to the low-voltage control circuit and the high-voltage load circuit. Common terminal pins include:
    • Coil pins: These are used to connect the low-voltage control signal.
    • Common (COM) pin: This is the common connection point for the relay’s contacts.
    • NO (Normally Open) pin: This is the connection point for the normally open contacts.
    • NC (Normally Closed) pin: This is the connection point for the normally closed contacts.
  4. LED Indicator: Many relay modules include an LED indicator to visually show when the relay is energized (contacts closed).
  5. Diode (Flyback Diode): To protect the control circuit from voltage spikes generated when the relay coil is de-energized, a diode is often connected in parallel with the coil. This diode is called a flyback diode or freewheeling diode.
// ██████╗ ███████╗██╗███████╗███████╗    ██████╗ ██████╗ ███╗   ███╗
//██╔═████╗██╔════╝██║██╔════╝██╔════╝   ██╔════╝██╔═══██╗████╗ ████║
//██║██╔██║███████╗██║█████╗  █████╗     ██║     ██║   ██║██╔████╔██║
//████╔╝██║╚════██║██║██╔══╝  ██╔══╝     ██║     ██║   ██║██║╚██╔╝██║
//╚██████╔╝███████║██║███████╗██║  ██╗   ╚██████╗╚██████╔╝██║ ╚═╝ ██║
// ╚═════╝ ╚══════╝╚═╝╚══════╝╚═╝  ╚═╝   ╚═════╝ ╚═════╝ ╚═╝      ╚═╝

Relay modules are widely used in various applications, including home automation, industrial automation, automotive systems, and more. They are essential for tasks like controlling lights, fans, motors, solenoids, and other high-power devices using a microcontroller or other low-voltage control signal.

When choosing a relay module, it’s important to consider factors such as the coil voltage, contact ratings (current and voltage), and the type of contacts (NO, NC) required for your specific application. Relay modules come in various configurations to meet different needs.

Controlling an AC bulb (or any other AC appliance) using an Arduino Uno and a relay module is a common project in home automation and IoT applications. Here are the steps to do this:

Note: Be extremely cautious when working with AC voltage. If you’re not experienced with electrical circuits, consider seeking assistance from someone who is knowledgeable in electrical safety.

Components Needed:

  1. Arduino Uno
  2. Relay module (make sure it’s suitable for AC voltage)
  3. AC bulb or appliance
  4. Jumper wires
  5. Breadboard (optional)
//  ▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄       ▄▄ 
// ▐░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░▌     ▐░░▌
//▐░█░█▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀  ▀▀▀▀█░█▀▀▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░▌░▌   ▐░▐░▌
//▐░▌▐░▌    ▐░▌▐░▌               ▐░▌     ▐░▌          ▐░▌          ▐░▌          ▐░▌       ▐░▌▐░▌▐░▌ ▐░▌▐░▌
//▐░▌ ▐░▌   ▐░▌▐░█▄▄▄▄▄▄▄▄▄      ▐░▌     ▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄▄▄ ▐░▌          ▐░▌       ▐░▌▐░▌ ▐░▐░▌ ▐░▌
//▐░▌  ▐░▌  ▐░▌▐░░░░░░░░░░░▌     ▐░▌     ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌          ▐░▌       ▐░▌▐░▌  ▐░▌  ▐░▌
//▐░▌   ▐░▌ ▐░▌ ▀▀▀▀▀▀▀▀▀█░▌     ▐░▌     ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▐░▌          ▐░▌       ▐░▌▐░▌   ▀   ▐░▌
//▐░▌    ▐░▌▐░▌          ▐░▌     ▐░▌     ▐░▌          ▐░▌          ▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌
//▐░█▄▄▄▄▄█░█░▌ ▄▄▄▄▄▄▄▄▄█░▌ ▄▄▄▄█░█▄▄▄▄ ▐░█▄▄▄▄▄▄▄▄▄ ▐░▌ ▄        ▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄█░▌▐░▌       ▐░▌
// ▐░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌▐░▌       ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌       ▐░▌
//  ▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀  ▀  ▀         ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀  ▀         ▀
 
 

osief.com
 osief.com
  osief.com
   osief.com
    osief.com
     osief.com
      osief.com

       osief.com
        osief.com
         osief.com
          osief.com
           osief.com
            osief.com
             osief.com

              osief.com
               osief.com
                osief.com
                 osief.com
                  osief.com

                   osief.com
                    osief.com
                     osief.com
                      osief.com
                       osief.com
                        osief.com
 

0sief 

Copyright © 2025 Osief | Powered by Astra WordPress Theme