Difference between revisions of "Sensor-Relay"

From Microduino Wiki
Jump to: navigation, search
m (Fengfeng moved page Microduino-Relay to Sensor-Relay)
(Introduction of Pins)
 
(3 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
[[File: Microduino-Relay.jpg|400px|thumb|right| Microduino-Relay]]
 
[[File: Microduino-Relay.jpg|400px|thumb|right| Microduino-Relay]]
  
Microduino-Relay is a relay module. It can be used in isolation control.  
+
The product number of Sensor-Relay is: '''MSD011'''. Sensor-Relay is a relay module. It can be used in isolation control.  
 
 
  
  
Line 16: Line 15:
  
  
 +
==Introduction of Pins==
 +
{{ST_Pinout
 +
|st_name=Servo Relay
 +
|pin3=Digital Output
 +
}}
  
 
==Features==
 
==Features==
 
*Used in isolation control of high voltage and high current signal.   
 
*Used in isolation control of high voltage and high current signal.   
 +
*With small size which is easy to install.
  
 
==Specification==
 
==Specification==
*Input 5V operation voltage for primary side;
+
*Voltage
*Output 10A 250VAC/10A 30VDC for secondary side;
+
**Primary side input 5V working voltage  
*1.27mm-pitch 4PIN interface;
+
**Secondary side output 10A 250VAC/10A 30VDC
*Pin description: GND, VCC, signal input and NC(empty). Since the input signal is simulated, it needs to be driven by digital interface(D0~D13), which can be connected the pins (3~10) of Sensorhub with the corresponding pins(D0,D2,D4,D6,D8,D10,D12). 
+
 
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]
+
*Size
 +
**Size of the board:
 +
**1.27mm-spacing 4Pin interface connected with sensorhub
 +
 
 +
*Function description  
 +
**Use relay to control the output of a larger voltage.  
  
[[File: Microduino-Relay_rule1.jpg|600px|thumb|center]]
+
*Connection
 +
**This sensor can be connected to the following interfaces of core: '''D2~D13''','''A0~A7'''
  
 
==Document==
 
==Document==
  
*Schematic: '''[[File: Microduino_Relay.Zip]]'''
+
*Schematic diagram: '''[[File: Sensor-Relay.Zip]]'''
  
 
==Development==
 
==Development==
You can use Microduino-Relay to convert weak signal into high voltage, high current signal or for isolation control.   
+
===Program Download===
 +
*Download and unzip the program '''[[File:Sensor-Relay_Test.zip]]'''
 +
 
 +
===Programming===
 +
{{Upload
 +
|nameA=[[Microduino-Core]], [[Microduino-USBTTL]]
 +
|nameB=[[Microduino-USBTTL]]
 +
|boardName=Microduino/mCookie-Core(328p), Atmega328P@16M,5V
 +
|fileName=Sensor-Relay Test.ino
 +
}}
 +
 
 +
===Hardware Setup===
 +
*Referring to the following diagram, connect the Sensor-Relay to the digital pin D6 of '''[[Microduino-Sensorhub]]'''.
 +
<br>
 +
[[file:Microduino-sensorhub_Shake.JPG|thumb|400px|left]]
 +
<br style="clear: left"/>
 +
 
 +
===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.   
 +
 
  
==Application==
 
*All hardware needed: [[Microduino-CoreUSB]], [[Microduino-USBTTL]], [[Microduino-Sensorhub]], dupont lines and USB cable.
 
*Software:
 
**Make sure you build Microduino IDE. If not, please refer to: [[Microduino Getting start]]
 
*Stack all modules and connect the Relay module to D2 port of Sensorhub with a wire. 
 
*Open Arduino IDE, select File→Examples→Digital→BlinkWithoutDelay program examples, choose the right board from Tools→Board and then compile.
 
*Select the right port from Tools→Serial Port in Arduino IDE after compiling, then download program.
 
*After download, you'll see STA light on the Relay module blinks one time each second.  By measuring 2PIN crimping terminal on the Relay module with a multimeter, you can see that 2PIN crimping terminal also powers on and off each second.
 
  
 
==Purchase==
 
==Purchase==
  
==History==
 
  
 
==Pictures==
 
==Pictures==
  
*Front
+
{| border="0" cellpadding="10" width="100%"
[[file: Microduino-Relay-F.JPG|thumb|600px|center|Microduino-Relay Front]]
+
|-
*Back
+
|width="50%" valign="top" align="left"|
[[file: Microduino-Relay -b.JPG|thumb|600px|center|Microduino-Relay Back]]
+
[[file: Microduino-Relay-F.JPG|thumb|400px|center|Sensor-Relay Front]]
 +
|width="50%" valign="top" align="left"|
 +
[[file: Microduino-Relay -b.JPG|thumb|400px|center|Sensor-Relay Back]]
 +
|}
 
|}
 
|}

Latest revision as of 23:39, 30 March 2017

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

Servo Relay
General Pin Out Sensor / Trinket's Pin Out
PIN1 (GND) GND
PIN2 (VCC) VCC
PIN3 (SIGNAL-A) Digital Output
PIN4 (SIGNAL-B) Not Connected
  • General Pin Out is the standard pin out of a Sensor / Trinket connector.
  • Sensor / Trinket's Pin Out is this specific Sensor / Trinket's wiring in relation to the General Pin Out.
  • SIGNAL-A / SIGNAL-B are signals that could be digital input, digital output, analog input or analog output. Or special signals such as serial communication (SoftwareSerial, IIC (I2C), etc) or other special signals.
  • Not Connected refers to the Pin not being used for this particular Sensor / Trinket.
  • Read more about the hub module.

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
  • Function 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
Retrieved from "https://wiki.microduinoinc.com/index.php?title=Sensor-Relay&oldid=12716"