Arduino Timer Control Relay Devices

Viral Science - The home of Creativity
25 Dec 202106:34

Summary

TLDRIn this 'Viral Science' video, the host demonstrates how to build an Arduino timer to control a relay, allowing users to set hours, minutes, and seconds via push buttons. The settings are preserved in the Arduino's EEPROM memory, ensuring they remain even after a power outage. The video also features a sponsored segment for JLCPCB, a manufacturer of low-cost PCBs. The tutorial includes a list of required components, a circuit diagram, and a code walkthrough, concluding with a cautionary note on handling high voltage connections. Viewers are encouraged to like, share, and subscribe for more inventive projects.

Takeaways

  • πŸ˜€ The video is about creating an Arduino timer to control a relay with time settings.
  • πŸ’‘ The time settings include hours, minutes, and seconds, and are displayed on an LCD screen.
  • πŸ“Ά The settings are stored in the Arduino's EEPROM memory, preserving them even after power loss.
  • πŸ”Œ The project requires components such as an Arduino Nano, liquid crystal I2C display, relay module, buzzer, push buttons, and a breadboard.
  • πŸ› οΈ The video provides a circuit diagram for viewers to follow and make connections for the project.
  • πŸ’» The code for the project is provided, with links to download necessary libraries.
  • πŸ”— The video is sponsored by JLCPCB, a manufacturer of PCBs at low prices, and encourages viewers to order their PCBs there.
  • πŸ”„ The video demonstrates how to set the timer using mode and set buttons, and navigate through time settings with arrow keys.
  • ⚠️ Safety is emphasized when connecting the bulb holder to the relay module, due to the use of high voltage current.
  • πŸ”‘ The 'set' button is crucial as it stores the current time setting and initiates the timer's operation.
  • πŸ‘ The video encourages viewers to like, share, and subscribe for more content, and to enable notifications for new videos.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is how to make an Arduino timer to control a relay with time settings that can be adjusted using push buttons and displayed on an LCD screen.

  • What feature of the Arduino project ensures that settings are retained even after power is cut off?

    -The settings are stored in the EPROM memory of the Arduino, which retains the data even when the power is off.

  • Who sponsors the video?

    -The video is sponsored by JLCPCB, a leading manufacturer of PCBs at low prices.

  • What is special about the PCBs from JLCPCB mentioned in the video?

    -The PCBs from JLCPCB are noted for their professional appearance, neatness, and cleanliness, making them suitable for various projects.

  • What components are needed for the Arduino timer control relay project as listed in the script?

    -The components needed include an Arduino Nano, liquid crystal I2C display, relay module, buzzer, 4 push buttons, a breadboard, a bulb holder, and some wires.

  • How can viewers obtain the PCBs shown in the video?

    -Viewers can order their PCBs from JLCPCB by uploading their gimbal files, selecting the quantity and color, and placing an order.

  • What is the purpose of the push buttons in the Arduino timer control relay project?

    -The push buttons are used to set the time for hours, minutes, and seconds, and to initiate the setting process.

  • What is the role of the relay module in this project?

    -The relay module is used to control the switching on and off of a device, such as a bulb, based on the timer settings programmed into the Arduino.

  • How does the user interface with the timer to set the time?

    -The user interfaces with the timer using the push buttons to set the seconds, minutes, and hours, and can use up and down arrow keys to select the digits.

  • What safety precaution is mentioned in the script regarding the connection of the bulb holder to the relay module?

    -A safety precaution mentioned is to be very careful while connecting the bulb holder to the relay module, as high voltage current will be used.

  • What should the viewers do if they like the project presented in the video?

    -If viewers like the project, they should hit the like button, share the video with friends, subscribe to the channel, and press the bell icon to get instant notifications for new videos.

Outlines

00:00

πŸ›  Arduino Timer Control Relay Setup

This paragraph introduces a tutorial video on creating an Arduino timer to control a relay with a user interface for setting time. The video demonstrates setting hours, minutes, and seconds using push buttons, with the settings displayed on a screen and stored in the EEPROM memory of the Arduino, ensuring they persist even after power loss. The video is sponsored by JLCPCB, a manufacturer of PCBs at low prices, and viewers are encouraged to order their PCBs from this company for professional and neat project boards. The paragraph lists the components needed for the project, including an Arduino Nano, a liquid crystal I2C display, a relay module, a buzzer, push buttons, a breadboard, a bulb holder, and wires, and instructs viewers to follow a circuit diagram for connections. It also mentions the need to upload code to the Arduino board, which includes links to necessary libraries.

05:02

⏱️ Customizing Timer Settings and Safety Precautions

The second paragraph explains how to customize the timer settings for the Arduino relay control project. It details the use of a mode button and arrow keys to select and adjust the time in seconds, minutes, and hours. Once the desired time is set, pressing the set button will store the value and initiate the timer's operation. The paragraph concludes with a call to action, encouraging viewers to like, share, and subscribe to the channel for more project videos. It also reminds viewers to press the bell icon to receive instant notifications for new video uploads.

Mindmap

Keywords

πŸ’‘Arduino

Arduino is an open-source electronics platform that is used to build various interactive electronic projects. In the context of the video, it serves as the central processing unit for the timer control relay system. The script mentions using an 'Arduino Nano', which is a specific model known for its compact size and versatility, suitable for projects like the one described.

πŸ’‘Timer Control

Timer Control refers to the ability to set and manage time intervals using a device or system. In the video, the Arduino is used to create a timer that can control a relay, which in turn manages the operation of an electrical device based on the set time. The script explains how viewers can set hours, minutes, and seconds using push buttons.

πŸ’‘Relay

A relay is an electrical switch that is operated by an electromagnet. In the script, a 'relay module' is used to control a high voltage current, such as that which would power a bulb. The Arduino sends signals to the relay to switch the current on or off based on the timer settings.

πŸ’‘Push Buttons

Push Buttons are simple input devices that, when pressed, send a signal to a system. In the video, '4 push buttons' are used for setting the timer, including up and down arrows for adjusting the digits. The 'set button' is specifically mentioned for storing the current value and initiating the timer.

πŸ’‘Display

The term 'display' in the video refers to a device that shows information, such as the time set on the timer. The script mentions a 'liquid crystal I2C display', which is a type of screen that uses liquid crystals to display characters and numbers, allowing users to see the time they have set.

πŸ’‘EEPROM Memory

EEPROM, which stands for Electrically Erasable Programmable Read-Only Memory, is a type of non-volatile memory used to store data even when the power is off. The video script mentions that the timer settings are stored in the 'EEPROM memory of the Arduino', ensuring that the settings are retained even if there is a power cut.

πŸ’‘JLCPCB

JLCPCB is a company mentioned in the video as a sponsor. It specializes in manufacturing Printed Circuit Boards (PCBs) at low prices. The script encourages viewers to order their PCBs from JLCPCB for professional, neat, and clean project components.

πŸ’‘Buzzer

A buzzer is an audible signal device that makes a sound, often used for alerts or notifications. Although not explicitly detailed in the script, a 'buzzer' is listed among the components needed for the project, suggesting it may be used to signal the end of a timer interval or provide other auditory feedback.

πŸ’‘Breadboard

A breadboard is a device used for building and testing electronic circuits without soldering. The script instructs viewers to 'follow the circuit diagram and make your connections' on a breadboard, which is essential for prototyping the timer control relay system.

πŸ’‘Bulb Holder

A bulb holder, as mentioned in the script, is a device that holds a light bulb in place and connects it to an electrical circuit. The video describes cutting a wire from a bulb holder and connecting both ends to the relay module, demonstrating how the timer can control the operation of a light bulb.

πŸ’‘Code

The 'code' in the video refers to the programming script written for the Arduino to control the timer and relay functions. The script mentions uploading 'the code' to the Arduino board after making the necessary connections, which is a crucial step in bringing the project to life.

Highlights

Introduction to making an Arduino timer control relay with a tutorial on setting hours, minutes, and seconds using push buttons.

Explanation of EEPROM memory in Arduino, allowing settings to be stored even after a power cut.

Sponsorship mention of JLC PCB, highlighting their low-cost, professional-quality PCB manufacturing services.

List of components needed for the project: Arduino Nano, liquid crystal I2C display, relay module, buzzer, 4 push buttons, breadboard, bulb holder, and some wires.

Step-by-step instructions on making connections according to the circuit diagram.

Guidance on connecting the Arduino board to a computer and opening the project code.

Details on downloading necessary libraries and adding them to the libraries folder.

Explanation of using EEPROM memory and pin initializations in the code.

Instructions on selecting the board, selecting the port, and uploading the code.

Warning about handling high voltage current while connecting the bulb holder to the relay module.

Demonstration of using the mode button to set seconds, minutes, and hours, and using up and down arrow keys to select digits.

Explanation on storing the current value by pressing the set button, and starting the relay module.

Encouragement to like, share, and subscribe to the channel for more such videos.

Reminder to subscribe and press the bell icon for instant notifications of new videos.

Closing with background music and visual steps to reiterate the process.

Transcripts

play00:00

[Music]

play00:01

viral science the home of creativity

play00:06

hey friends welcome back to another

play00:08

video and in this video i'll show you

play00:09

how to make arduino timer control relay

play00:12

over here you can set the time with the

play00:14

push buttons and you can see them on the

play00:16

display as well you can set hours

play00:18

minutes and seconds

play00:19

and all this thing is stored in the

play00:21

eprom memory of the arduino so if the

play00:24

power cuts off the settings are stored

play00:26

and you can just press the set button

play00:28

and this thing will start working

play00:40

[Music]

play00:45

this video is sponsored by jlc pcb jlcpc

play00:48

is one of the lead manufacturers of pcbs

play00:51

at very low prices so just add your

play00:54

gimbal files over here and

play00:56

select the quantity select the color and

play00:58

place your order

play01:00

so this pcbs looks very professional

play01:02

neat and clean for your projects

play01:05

so you can order your pcbs from jlc pcb

play01:10

[Music]

play01:11

so for this project we'll need an

play01:13

arduino nano liquid crystal i2c display

play01:17

relay module

play01:22

buzzer

play01:26

4 push buttons

play01:30

breadboard

play01:33

bulb holder

play01:37

and some wires

play01:41

now follow the circuit diagram and make

play01:43

your connections

play01:48

[Music]

play02:04

[Music]

play02:11

[Music]

play02:24

[Music]

play02:41

[Music]

play02:56

[Music]

play02:57

do

play03:00

[Music]

play03:15

[Music]

play03:26

do

play03:33

so after completing the connections

play03:34

connect your arduino board with your

play03:35

computer and open the code

play03:38

now this is the code of our today's

play03:39

project

play03:40

you will find some links in the code

play03:42

from where you can download the

play03:43

libraries and add to your libraries

play03:45

folder

play03:47

as we are using the eprom memory i've

play03:49

also declared it as well

play03:52

below this you will find some pin

play03:54

initializations and this is the complete

play03:56

code

play03:57

so you just have to select the board

play04:00

select the port and upload the code

play04:09

now we'll connect the bulb holder to our

play04:11

relay module i have cut one of its wire

play04:14

and will connect both the ends of this

play04:16

wire to our relay module and make sure

play04:19

you be very careful while doing this as

play04:21

we will be using a high voltage current

play04:23

over here

play04:30

[Music]

play04:55

here we have all the buttons set down up

play04:57

and mode button

play05:02

so while pressing the mode button you

play05:04

can set the seconds minutes and hours

play05:07

you can use up and down arrow keys to

play05:10

select the digits

play05:12

and when you press the set button the

play05:14

current value will be stored and it will

play05:16

start working

play05:23

[Music]

play05:31

[Music]

play05:44

[Music]

play06:00

[Music]

play06:13

so friends if you like this project then

play06:14

do hit that like button share this video

play06:16

with your friends and also don't forget

play06:17

to subscribe to my channel for more such

play06:19

videos and i will see you in the next

play06:21

one

play06:25

do subscribe and press bell icon to get

play06:27

instant notification for new video

play06:31

[Music]

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
ArduinoTimer ControlRelay ModulePush ButtonsEEPROM MemoryDIY ProjectJLCPCB SponsorCircuit DiagramLiquid CrystalBuzzerAutomation