AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Dfrobot xboard relay9/2/2023 The archived DFR0222 Datasheet file may be downloaded here without warranties. Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. Server.begin Serial.print "server is at " Serial.println Ethernet.localIP ĮthernetClient client = server.available start the Ethernet connection and the server: print the value of each byte of the IP address DEC Serial.print "." Serial.println print your local IP address Serial.print "My IP address " for byte thisByte = 0 thisByte < 4 thisByte++ Serial.println "Failed to configure Ethernet using DHCP" // no point in carrying on, so do nothing forevermore for This project aims to create a server component written in Python which will control relays on a remote Arduino board (specifically the DF Robot XBoard V3). start the Ethernet connection if Ethernet.begin mac = 0 Void setup // Open serial communications and wait for port to open Serial.begin 9600 while !Serial // wait for serial port to connect. Initialize the Ethernet server library // with the IP address and port you want to use // port 80 is default for The IP address will be dependent on your local network:īyte mac = 0xDE, 0xCD, 0xAE, 0x0F, 0xFE, 0圎D #include #include EthernetServer server 80 // Enter a MAC address and IP address for your controller below. 1 Get IP address from router automatically 2 Show the value of the analog input pins Needed for Leonardo onlyĪ simple web server with DHPC capbabilty. while !Serial // // wait for serial port to connect. This is to ensure the initialization done, you could also delete or comments those three lines of code and add a delay 1000 instead. NOTE After uploading the sketch below successfully, you have to open Arduino Serial Monitor to get the card run. W5500 Ethernet with POE Mainboard Micro USB cable PC RJ45 network cableġ.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. switching power 2770VA 240W 2770VA 240W UL Rating 10A 120VAC /10A 277VAC Operate tiem at nomi. switching voltage 250VAC/30VDC 250VAC/30VDC Max. Rated through-current 10A NO 5A NC Maximum switching voltage 150VAC 24VDC Control signal TTL level Contact Rating Res. 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. Preparation Step 1 Connections Step 2:Download Check that it works Xboard Relay - An Ethernet Controllered Relay
0 Comments
Read More
Leave a Reply. |