If you have ever had in mind the desire to control one of your real-world appliances with an Arduino, here is a good Arduino relay project that shows you how you can, for example, use the combination of elements shown in this post to build a bridge from the Arduino layer to any other appliances with higher power rating.
We can list a Lamp, a washing machine or a huge motor among the appliances that will best fit the description provided in the preceding lines. With the help of a relay, we can easily control those.
Using a relay, you can, for example, build a system with the Arduino board to switch the power input of the washing machine off at a certain time period of a day. For example, switching the washing machine off from 10 pm to 8 am.
Let’s start by building a simple controller to switch a lamp ON and OFF, similar to the blink LEDs project.
Arduino relay – Blinking of a lamp
Here is the list of the elements we will be using in this project.
The relay is a small device that can control up to 230V devices. Inside of it, there are electromagnets with a contact that closes the circuit when you apply voltage to it.
I have a 2 channel relay module. It has two separate relays. In this project, we will need just one.
Warning! Before we begin, note that this project works with high voltage. Do it with adults and always double check before applying power. If you are not sure what you are doing, please skip this project.
Let’s start by preparing the cable and the socket. You have to take off the insulation from the cable. I will use a European plug and socket. As you can see below, you need to connect the black cable to the socket and leave the blue on the side, then you can connect a piece of the blue wire to the socket.
Make sure that you close the socket properly.
Connect the two blue wires to the relay K1, connect them to the relay’s normal open contact.
We can now connect the relay to the Arduino like shown below.
Upload this simple program to your Arduino board. It is a basic blink project at the only difference that we replaced the LED with a big lamp.
Now we can connect our lamp to the socket.
And connect the plug to power.
And there we have it.
You might also like:
- Arduino hx711 tutorial
- Arduino magnetic switch
- Best Arduino Kits
- gifts for engineering students
- gifts for engineers
- mpu6050 Arduino projects
- Current sensor Arduino
- Soil Moisture Sensor With Arduino
- Arduino Count up Timer Using the Nokia 5110 LCD
- Arduino Yun: Integrating or Juxtaposing Arduino with Linux
- Arduino Projects: Line Follower Robot
- Arduino RFID Project for Beginners
- Arduino MOSFET Project
- Which Arduino Should You Buy
- What Can You Do With Arduino Boards?
- Great Alternatives to the Arduino Microcontroller
- Arduino Projects: Color Sensor
- Arduino IDE Alternatives
- Arduino Mega vs. Uno
- Arduino Projects: Arduino LCD Display
- Read Arduino Rotary Encoders
- A Selection of the Best Arduino Simulators
- Arduino Projects: IR Receiver
- Arduino Light Sensor Project
- Arduino Projects: Arduino Decibel Meter
- Arduino Stopwatch Project
- Arduino Bluetooth RC Car Project
- Arduino Temperature Logger Project
- Arduino Projects: Arduino 7 Segment Display
- Arduino Projects: Clap ON Clap OFF Light
- Arduino Relay Project
- How to install Arduino Library
- Arduino Projects: Rainfall Detector
- Arduino Projects: RGB LED Arduino
- Arduino Stepper Motor Project
- Arduino Projects: Arduino DC Motor Control
- The Top Affordable Arduino Robot Kit
- Arduino 3D Printed Case
- Arduino Projects: Asynchronous LEDs Blink
- Arduino Projects: Ultrasonic Distance Sensor
- Arduino Projects: LED – 4X4X4 LED Cube
- Arduino Car Projects: Build an Obstacle Avoiding Robot With Less Than $30
- Arduino Projects: Servo Potentiometer Control
- Arduino LED Project: Knight Rider
- Arduino Projects: PIR Motion Sensor
- The Difference between Arduino and Raspberry Pi
- Top 9 Books Every Engineer Should Read
- Top Used Sensors for Arduino
- First Hand on the Arduino Uno Board