Sensor-Relay

From Microduino Wiki
Revision as of 09:45, 10 November 2016 by Fengfeng (talk)
Jump to: navigation, search
Language: English  • 中文
Microduino-Relay

The product number of Sensor-Relay is: MSD011. Sensor-Relay is a relay module. It can be used in isolation control.





Introduction of Pins

Sensor backpin.png
  • Pins of the sensor:
    • PIN1: GND
    • PIN2: VCC
    • General signal pins:
      • PIN3(IO1): digital/analog signal
      • PIN4(IO2): NC(null)
    • Special signal pins:
      • If it is IIC: IO1/IO2 are respectively SDA/SCL.
      • If it is soft serial port: IO1/IO2 are respectively tx/rx.
  • Special to Sensor-Relay sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): Digital signal write
    • PIN4(IO2): NC


Microduino sensor can communicate with core module through the connection with Microduino-Module Sensor Hub.

Features

  • Used in isolation control of high voltage and high current signal.
  • With small size which is easy to install.

Specification

  • Voltage
    • Primary side input 5V working voltage
    • Secondary side output 10A 250VAC/10A 30VDC
  • Size
    • Size of the board:
    • 1.27mm-spacing 4Pin interface connected with sensorhub
  • Fucntion description
    • Use relay to control the output of a larger voltage.
  • Connection
    • This sensor can be connected to the following interfaces of core: D2~D13,A0~A7

Document

Development

Program Download

Programming

  • Follow the Software Getting Started Guide.
  • Select the Board, Processor and Port.
  • Click [File]->[Open], browse to the project program address, and click "Sensor-Relay Test.ino" to open the program.
  • After confirming all these items are correct, click "→" to download the program to the development board.

Hardware Setup

  • Referring to the following diagram, connect the Sensor-Relay to the digital pin D6 of Microduino-Sensorhub.


Microduino-sensorhub Shake.JPG


Result

  • After download, you can see the STA light on the Relay module flash with 1s interval. Using a multimeter to measure the 2PIN crimping terminal on the Relay module, you can see the 2PIN terminal also be on-off with 1s interval.


Purchase

Pictures

File:Microduino-Relay-F.JPG
Sensor-Relay Front