Description
What it is
The 4 Channel 12V Relay Shield with LED is a device that allows you to control electrical devices from an Arduino microcontroller. This shield integrates four low-level relays, each with an LED to indicate the relay’s status.
Features
- 4 relay channels
- Maximum operating voltage: 12V
- Low-level control
- Status LED for each relay
What it is for
Ideal for projects that require turning on or off external devices, such as lights or motors. It can be used to create automatic lighting systems or control other electrical devices from an Arduino microcontroller.
Tutorial: How to use the 4 Channel 12V Low-Level Relay Shield with LED
This shield allows you to control electrical devices from an Arduino. Ideal for projects that require turning on or off external devices.
What you need
- Arduino
- 12V power cable
- Devices to control (e.g., lights)
- Screwdriver and electronics brush
Steps
- 1. Installation: Ensure that the Arduino and the shield are compatible. Mount the shield on the Arduino.
- 2. Connection: Connect the 12V to the relay. Check the datasheet for correct polarity.
- 3. Connect the relay control pins to the Arduino. Use digital pins.
- 4. Set the relay settings in the Arduino code.
- 5. Upload the code to Arduino. Use the provided Sketch.
- 6. Try to control the relays with the code. For example, digitalWrite(2, HIGH);
- 7. Verify the operation with an external device.
- 8. Configure the LEDs to display the state of the relays.
Example code
void setup() {
pinMode(2, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH);
delay(1000);
digitalWrite(2, LOW);
delay(1000);
}
Mini project
Create an automatic lighting system. Connect a light to a relay and control it with the Arduino.
Common mistakes
- Connect the 12V to the relay without checking the polarity.
- Forget to configure the control pins in the code.
- Do not use LEDs to monitor the state of the relays.
- Set digital pins as INPUT instead of OUTPUT.
Recommended accessories
- Single relay
- 5V power supply cable
- LED
- Flexible connector strip
Frequently asked questions
How can I monitor the state of the relay?
Use LEDs connected to the output pins. Check the datasheet for proper configuration.
Can I use this shield with an Arduino Uno?
Yes, the shield is compatible with the Arduino Uno.
How long does the charge last?
Check the datasheet for the charge duration.





Reviews
There are no reviews yet.