Here is a simple picture showing how to connect the LED to the relay shield NO1 (Normally Open): This terminal will be connected to COM1 when the RELAY1 control pin (Digital 7 I/O pin) is set high and disconnected when the RELAY1 control pin is set low. NC1 (Normally Closed): This terminal will be connected to COM1 when the RELAY1 control pin (Digital 7 I/O pin) is set low and disconnected when the RELAY1 control pin is set high. In this example we will show how to use one of the relays on the shield to control an LED by switching it on and off.ĬOM1 (Common Pin) : The relay pin controlled from the digital pin. Opening and closing time per minute: 30 times Įvery channel maximum convert voltage: AC 125V / DC 24V Įvery channel maximum converts current: 3A Application High performance expansion board Please avoid the green terminal short-circuit by the housing as connecting with Arduino UNO main board Relay Shield is a small current signal control module can achieve single chip to control large power deviceĬan be plug to the main board which is compatible with Arduino Ĥ-channel relay stand Arduino Shield interface ĭriven by 5V / 3.3V normally open contact close Relay Shield v0.9b 5V 4-Channel Relay Module for Arduino – (Works with official Arduino Boards) – $9.73 If (Serial.The Relay Shield features four high quality relays and provides NO/NC interfaces, four dynamic LED indicators to show the on/off state of each relay, and the standardized shield form factor to provide a smooth connection to Arduino compatible boards. */ĭigitalWrite(rel1, LOW) // switch relays off With relay 1 connected to Arduino pin 2 and Hardware: Written for the Tiny Stripboard Relay Shield '2' switches relay 2 on and '4' switches it off. If theĬharacter '3' is received, relay 1 is switched *-ĭescription: Monitors the USB serial port. Top View of the Relay Shield Bottom View of the Relay Shield Software Arduino SketchĪfter building the relay shield, plug it into the Arduino and load this sketch: These images show the top and bottom views of the completed stripboard relay shield. To simplify the wiring further, use only the normally-open contacts and a two pole screw terminal. Beginners should rather stick to connecting a single relay. This is the most tricky part of building the circuit. This photo shows the parts used in the Arduino relay shield project: Components Used in the Arduino Tiny Relay Stripboard Shield Project ConstructionĪ number of wire links will be needed to connect all of the relay contacts to the screw terminal connectors. Don't try to switch anything that is mains powered with this relay. The relay is a miniature relay that can switch 1A of current at 30V d.c. If you can't get hold of the same relay or a pin compatible part, then you will need to modify the stripboard circuit layout to suit your relay. JRC-23F 5V miniature PCB relay or similar You will need an Arduino board such as the Arduino Uno, as well as a Tiny Stripboard Shield and the components listed in the table below. The bottom view of the wiring diagram for this relay is shown here: Bottom View of the JRC-23F Relay Components The relay used in the circuit is a 5V relay with part number JRC-23F (JRC-23FHS1DC5V). Circuit Diagram Arduino Tiny Stripboard Relay Shield Circuit Diagram - click for a bigger image This video shows the Arduino shield project and software. The shield is based on the Tiny Stripboard Shield for Arduino project. Download the PC software and use it to switch anything on and off that is attached to the relays. Connect the Arduino and relay shield to your PC via a USB cable.
0 Comments
Leave a Reply. |