Stufin
Home Quick Cart Profile

6V Relay Cube

Buy Now

Control Voltage

6V DC

Control Current

5mA

Relay Type

SPDT (Single Pole Double Throw)

Contact Rating

10A at 250V AC, 30V DC

Operate Time

10ms

Release Time

5ms

Contact Resistance

50m

Applications

The 6V Relay Cube is suitable for a wide range of IoT and automation applications, including

Home automation systems

Industrial control systems

Robotics and mechatronics

Security systems

Lighting control systems

HVAC control systems

Safety Precautions

Ensure the relay cube is used within the specified operating parameters to prevent damage or injury.

Avoid exposing the module to extreme temperatures, humidity, or vibration.

Use proper safety precautions when working with electrical circuits and devices.

By providing a compact, reliable, and easy-to-use relay solution, the 6V Relay Cube is an excellent choice for designers and developers of IoT and automation systems.

Pin Configuration

  • 6V Relay Cube Documentation
  • The 6V Relay Cube is a compact and versatile IoT component designed to control high-power devices using a low-voltage signal. This documentation provides a detailed explanation of the Relay Cube's pins and their connections.
  • Pinout Description:
  • The 6V Relay Cube has 6 pins, labeled as follows:
  • Pin 1: VCC (Power Supply)
  • --------------------------------
  • Function: Power supply for the relay module
  • Voltage: 6V DC
  • Description: Connect a stable 6V DC power source to this pin to power the relay module.
  • Pin 2: GND (Ground)
  • -------------------------
  • Function: Ground connection for the relay module
  • Description: Connect the ground wire of your power supply or circuit to this pin.
  • Pin 3: IN (Input)
  • -----------------------
  • Function: Input signal to control the relay
  • Voltage: 3.3V or 5V DC (logic level)
  • Description: Connect a digital output from a microcontroller or other control device to this pin to control the relay. A high signal (3.3V or 5V) will activate the relay, while a low signal (0V) will deactivate it.
  • Pin 4: NO (Normally Open)
  • -----------------------------
  • Function: Normally open contact of the relay
  • Description: Connect the device you want to control to this pin. When the relay is activated, this pin will connect to the COM pin.
  • Pin 5: COM (Common)
  • -----------------------
  • Function: Common contact of the relay
  • Description: Connect the power source of the device you want to control to this pin.
  • Pin 6: NC (Normally Closed)
  • ------------------------------
  • Function: Normally closed contact of the relay
  • Description: Connect the device you want to control to this pin. When the relay is deactivated, this pin will connect to the COM pin.
  • Connection Structure:
  • To connect the 6V Relay Cube:
  • 1. Connect VCC (Pin 1) to a stable 6V DC power source.
  • 2. Connect GND (Pin 2) to the ground wire of your power supply or circuit.
  • 3. Connect IN (Pin 3) to a digital output from a microcontroller or other control device.
  • 4. Connect the device you want to control to NO (Pin 4) and COM (Pin 5) for normally open operation.
  • 5. Connect the device you want to control to NC (Pin 6) and COM (Pin 5) for normally closed operation.
  • Important Notes:
  • Ensure the power supply voltage does not exceed 6V DC to prevent damage to the relay module.
  • Use a suitable relay module for your specific application, considering factors such as the maximum current and voltage rating.
  • Make sure to isolate the relay module from high-voltage circuits to prevent electrical shock or damage.
  • By following these guidelines, you can safely and effectively utilize the 6V Relay Cube in your IoT projects.

Code Examples

6V Relay Cube Documentation
Overview
The 6V Relay Cube is a compact and versatile IoT component that allows users to control high-power devices with a low-power microcontroller or development board. This relay module is designed to operate at 6V and can switch up to 10A of current, making it suitable for a wide range of applications, including home automation, robotics, and industrial control.
Pinout
The 6V Relay Cube has a simple and easy-to-use pinout:
VCC: Power supply (6V)
 GND: Ground
 IN: Input signal (active low)
 COM: Common terminal (connected to NC or NO)
 NO: Normally Open terminal
 NC: Normally Closed terminal
Code Examples
### Example 1: Basic Relay Control with Arduino
This example demonstrates how to use the 6V Relay Cube to control a light bulb using an Arduino Uno board.
```c++
const int relayPin = 2;  // Choose a digital pin on the Arduino
void setup() {
  pinMode(relayPin, OUTPUT);
}
void loop() {
  digitalWrite(relayPin, LOW);  // Turn the relay on (connects COM to NO)
  delay(1000);  // Wait 1 second
  digitalWrite(relayPin, HIGH);  // Turn the relay off (connects COM to NC)
  delay(1000);  // Wait 1 second
}
```
### Example 2: Using the Relay Cube with Raspberry Pi and Python
This example shows how to control the relay using a Raspberry Pi and Python.
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
relay_pin = 17  # Choose a GPIO pin on the Raspberry Pi
GPIO.setup(relay_pin, GPIO.OUT)
try:
    while True:
        GPIO.output(relay_pin, GPIO.LOW)  # Turn the relay on
        time.sleep(1)
        GPIO.output(relay_pin, GPIO.HIGH)  # Turn the relay off
        time.sleep(1)
except KeyboardInterrupt:
    GPIO.cleanup()
```
### Example 3: Controlling a Fan with ESP32 and MicroPython
This example demonstrates how to use the 6V Relay Cube to control a fan using an ESP32 board and MicroPython.
```python
import machine
import time
relay_pin = machine.Pin(18, machine.Pin.OUT)  # Choose a digital pin on the ESP32
while True:
    relay_pin.value(0)  # Turn the relay on
    time.sleep(5)
    relay_pin.value(1)  # Turn the relay off
    time.sleep(5)
```
Troubleshooting Tips
Ensure the relay module is properly powered (6V) and grounded.
 Verify the input signal (IN) is correctly connected to the microcontroller or development board.
 Use a voltmeter to check the voltage across the relay terminals to ensure proper operation.
 Avoid overloading the relay with high-current devices, as this can damage the module.
Additional Resources
Datasheet: [6V Relay Cube Datasheet](https://example.com/6v-relay-cube-datasheet.pdf)
 Schematic: [6V Relay Cube Schematic](https://example.com/6v-relay-cube-schematic.pdf)
 Community Forum: [6V Relay Cube Discussion Forum](https://example.com/6v-relay-cube-forum)