กลับไปหน้ารวมไฟล์
nano-relay-module-0b5bb7-en.md

Nano with 74LS164N

This project consists of an Arduino Nano, 74LS164N shift register, ULN2803A relay driver and SPDT relays. The aim of this is to reduce the number of wires connected with Arduino.

Nano Relay Module

We took only two wires from the Nano to serial to parallel shift register. One for data and another for clock pulse. From the SR, we took 8 wires to the relay module which is already interfaced with the ULN2803A relay driver.

Shift register output pins are act as solo 8-bit port.

EXPANDED TECHNICAL DETAILS

High-Power Interface Bridge

The Nano Relay Module serves as a compact switching station for controlling high-voltage appliances from an Arduino Nano.

  • Opto-Isolation: The relay board features an optocoupler that electrically isolates the sensitive Arduino processor from the 220V AC load, preventing noise and surges from damaging the microcontroller.
  • Logic Drive: The Arduino pin only needs to provide a small 5V signal (approx 20mA) to trigger the relay's electromagnetic coil.

Robust Implementation

  • Diode Protection: Includes a flyback diode to suppress voltage spikes when the relay turns off. This is a critical building block for any home automation project (lights, pumps, heaters) that requires "switching" functionality.

ข้อมูล Frontmatter ดั้งเดิม

title: "Nano Relay Module"
description: "2 wire 8 channel Relay Module || Reduce your CPU workload by interface 74LS164N."
author: "boaz"
category: "Home & Automation"
tags:
  - "energy efficiency"
  - "home automation"
views: 18876
likes: 11
price: 1499
difficulty: "Intermediate"
components:
  - "1x Arduino Nano R3"
  - "1x USB-A to Mini-USB Cable"
  - "1x ULN2803A relay driver IC"
  - "1x 12VDC & 1 Amp Power Adapter"
  - "8x Sugar Cube Relay"
  - "1x Jumper wires (generic)"
  - "1x 74LS164N Serial In Parallel Out Shift Register"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/ccbc8072-8f43-460e-a683-6e9f2a2f6cc8.ino"
documentationLinks: []
passwordHash: "635ca5e49044deea6c2aa779404363da827c56b53ba5284f6d16620da84ffdb9"
encryptedPayload: "U2FsdGVkX1+YprKd4M0Klbx/HxXEXDDP+Ufrw/38vqR35Mm30ZKtH7qybmspvpSwuWm72wkVOAdvn+rJ09XKBGrqiCVM/FGi1if1dD7Mh+c="
seoDescription: "Build a 2 wire 8 channel Nano Relay Module to reduce CPU workload using 74LS164N interface. Perfect for Arduino projects."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/nano-relay-module-0b5bb7_cover.JPG"
lang: "en"