![]() ![]() ![]() Get X-Board Relay from DFRobot Store or DFRobot Distributor. Window displays your IP address.Ģ Open a browser -> Enter the IP address -> Enter to open the page.ģ Serial Monitor has a corresponding feedback data. give the web browser time to receive the dataġ After burning is complete, open the serial monitor. you've gotten a character on the current line output the value of each digital input pinįor (int digitalChannel = 2 digitalChannel ") output the value of each analog input pinįor (int analogChannel = 0 analogChannel ") In this project you will find how to use the XBoard with xbee along with. add a meta refresh tag, so the browser pulls again every 5 seconds: The DFRobot Relay Module is a standard relay used with a controller board to. no point in carrying on, so do nothing forevermore: Serial.println("Failed to configure Ethernet using DHCP") Open serial communications and wait for port to open: with the IP address and port you want to use Initialize the Ethernet server library Touch device users, explore by touch or with swipe gestures. The IP address will be dependent on your local network: When autocomplete results are available use up and down arrows to review and enter to select. Enter a MAC address and IP address for your controller below. Needed for Leonardo onlyĪ simple web server with DHPC capbabilty.ġ)Get IP address from router automaticallyĢ)Show the value of the analog input pins This is to ensure the initialization done, you could also delete or comment those three lines of code and add a delay(1000) instead. In the Arduino IDE go to tools>Boards> Arduino Fio First lets modify the Serial baud rate to your Xbee. NOTE: after uploading the sketch below successfully, you have to open Arduino Serial Monitor to get the card run. Use the FTDI programmer to program the XBoard. Relay's connected to pins D7 and D8 Sample Code Preparationġ.The X-Board Relay module access the Internet line into any router LAN port,Ģ.Micro USB cable plugged into the X-Board relay module, and the other end to the computer USB port. switching voltage 250VAC/30VDC 250VAC/30VDC Maximum switching voltage: 150VAC 24VDC.This is a cheap and effective relay board, including an ATmega32U4 (same as Arduino Leonardo) and a. Rated through-current: 10A (NO) 5A (NC) 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 sensoring and controlling over internet.USB Supply:Micro Pin out:2 Analog/1 I2C/4 Digital Pin Out.Flash Memory:32 KB (ATmega32u4) of which 4 KB used by bootloader.A micro usb cable is the only hardware needed to upload sketch. ![]() Not like previous X-board, X-board relay has no programming adapter required. 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. With Xboard Relay, you can not only monitor data through internet, but also control it through internet. ![]()
0 Comments
Leave a Reply. |