Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino 101 Smart Home Automation with Relay Control and Current Sensing

View and Edit Project In Cirkit DesignerImage of Arduino 101 Smart Home Automation with Relay Control and Current Sensing

Circuit Documentation

Summary

This circuit involves an Arduino 101 microcontroller interfacing with a 4-channel relay module, various resistors, a current sensor, a step-down buck converter, a bridge rectifier, power transformers, AC bulbs, a 12V geared motor, and rocker switches. The circuit is designed to control AC and DC loads through relays and monitor current using a current sensor. The Arduino 101 is programmed to manage these components.

Component List

  1. Arduino 101

    • Description: Microcontroller board based on the Intel Curie module.
    • Pins: A5/SCL, A4/SDA, AREF, GND, D13/SCK, D12/MISO, D11 PWM/MOSI, D10 PWM/SS, D9 PWM, D8, D7, D6 PWM, D5 PWM, D4, D3 PWM, D2, D1/TX, D0/RX, AIN, ioref, RESET, 3V3, 5V, VIN, A0, A1, A2, A3, ICSP MISO, ICSP SCK, ICSP MOSI
  2. 4 Channel Relay Module

    • Description: Relay module to control high voltage devices.
    • Pins: N.O. 4, COM 4, N.C. 4, N.O. 3, COM 3, N.C. 3, N.O. 2, COM 2, N.C. 2, N.O. 1, COM 1, N.C. 1, Pin 13, Pin 14, Pin 15, Pin 16, Pin 17, Pin 18, Pin 19, Pin 20, Pin 21, Pin 22, Pin 23, Pin 24, VCC+, VCC- (GND), IN 1, IN 2, IN 3, IN 4
  3. Power Transformer

    • Description: Transformer to step down AC voltage.
    • Pins: 1 - Primary, 3 - Secondary, 2 - Primary, 4 - Secondary
  4. Power 220V

    • Description: AC power source.
    • Pins: hot wire, neutral wire
  5. AC Bulb

    • Description: Standard AC light bulb.
    • Pins: P, N
  6. Rocker Switch (SPST)

    • Description: Single Pole Single Throw switch.
    • Pins: 1, 2
  7. Step Down Buck Converter

    • Description: DC-DC converter to step down voltage.
    • Pins: IN +, IN - GND, OUT +, OUT - GND
  8. Bridge Rectifier

    • Description: Converts AC to DC.
    • Pins: Source_in-, source_out-, source_out+, source_in+
  9. 12V Geared Motor

    • Description: DC motor with gear reduction.
    • Pins: Terminal 1, Terminal 2
  10. Current Sensor 5A

    • Description: Sensor to measure current up to 5A.
    • Pins: 1, 2, GND, OUT, VCC
  11. Resistor (200 Ohms)

    • Description: Resistor with 200 Ohms resistance.
    • Pins: pin1, pin2

Wiring Details

Arduino 101

4 Channel Relay Module

Power Transformer

Resistor

Rocker Switch (SPST)

Current Sensor 5A

Step Down Buck Converter

Bridge Rectifier

12V Geared Motor

AC Bulb

Documented Code

Arduino 101 Code

void setup() {
  // put your setup code here, to run once:

}

void