Introduction
Internet of thing is becoming so easy. With Xboard Relay, you can not only monitor data through internet, but also control it through internet. The Xboard Relay combines an Atmega 32u4 microprocessor and wiz5100 chip which is fully compatible with Arduino Lendardo and Ethernet library, it has build-in Xbee socket and 2 Relays which allow an easy play sensoring and controlling over internet.
Not like previous X-board, X-board relay has no programming adapter required. A micro usb cable is the only hardware needed to upload sketch.
Specification
- MCU:Atmega 32u4
- Clock Speed:16 MHz
- Flash Memory:32 KB (ATmega32u4) of which 4 KB used by bootloader
- SRAM:2.5 KB (ATmega32u4)
- EEPROM:1 KB (ATmega32u4)
- Ethernet Chip:Wiz5100
- Power Supply:7.2-12V
- USB Supply:Micro USB@5V
- Pin out:2 Analog/1 I2C/4 Digital Pin Out
- Relay Information:
- Rated through-current: 10A (NO) 5A (NC)
- Maximum switching voltage: 150VAC 24VDC
- Control signal: TTL level
- Contact Rating (Res. Load):10A 277VAC/24VDC
- Max. switching voltage 250VAC/30VDC 250VAC/30VDC
- Max. switching current 15A
- Max. switching power 2770VA 240W 2770VA 240W
- UL Rating: 10A 120VAC /10A 277VAC
- Operate tiem (at nomi. Vot.): 10ms
- Release time (at nomi. Vot.): 5ms
New Version Burning Tutorials
Pinout
Relay's connected to pins D7 and D8
Sample Code
Preparation
You will need:
- W5500 Ethernet with POE Mainboard
- Micro USB cable
- PC
- RJ45 network cable
Step 1: Connections
1.The X-Board Relay module access the Internet line into any router LAN port, 2.Micro USB cable plugged into the X-Board relay module, and the other end to the computer USB port.
NOTE: after uploading the sketch below successfully, you have to open Arduino Serial Monitor to get the card run. This is to ensure the initialization done, you could also delete or comment those three lines of code and add a delay(1000) instead.
Step 2:Download
Programming code:
Check that it works
1 After burning is complete, open the serial monitor. Window displays your IP address.
2 Open a browser -> Enter the IP address -> Enter to open the page.
3 Serial Monitor has a corresponding feedback data.
Relay module Application examples
Reference relay module: wiki Note that the actual parameters.
- Relay Information:
- Rated through-current: 10A (NO) 5A (NC)
- Maximum switching voltage: 150VAC 24VDC
- Control signal: TTL level
- Contact Rating (Res. Load):10A 277VAC/24VDC
- Max. switching voltage 250VAC/30VDC 250VAC/30VDC
- Max. switching current 15A
- Max. switching power 2770VA 240W 2770VA 240W
- UL Rating: 10A 120VAC /10A 277VAC
- Operate tiem (at nomi. Vot.): 10ms
- Release time (at nomi. Vot.): 5ms
Get X-Board Relay from DFRobot Store or DFRobot Distributor.