We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [ethernet]

Ethernet can be used for cabled communication between an Arduino and a computer, server, or website. For question concerning the Arduino Ethernet board, use the tag "arduino-ethernet" instead.

Filter by
Sorted by
Tagged with
1
vote
2answers
76 views

The easiest and most time efficent way to connect to the internet regardless of the cost

I am working on my graduation Project. I want to use the cayenne (mydevices) platform to control my Arduino. Mainly I want to be able to control a servo Motor through the Cayenne app and I want to use ...
1
vote
0answers
43 views

Getting data from web form [duplicate]

I am using an EthernetServer and EthernetClient with Arduino in order to make a simple webpage. I have a web form for a user to enter various codes that can reset data stored on the back end. However, ...
1
vote
1answer
4k views

Arduino Web Server: Receiving response from web form

I am using an Arduino Mega and I have a basic webpage built using EthernetServer for the connection and EthernetClient to write the HTML to the client. I have a simple web form: client.println("<...
2
votes
0answers
445 views

Slow response from ENC28J60

I am making a circuit which turns a LED on and off through internet. I am connecting an Arduino to a LED and to an Ethernet controller(ENC28J60), but when I make a GET request to the device, it takes ...
1
vote
0answers
317 views

which Arduino UNO ethernet shield supports power over ethernet?

I ordered for this ethernet shield for my UNO as shown on the amazon website listing I was thinking to add power over ethernet module to take advantage of shield that supports adding POE module. . ...
0
votes
2answers
2k views

Ethernet shield not working

I have an ethernet shield on an Arduino Mega 2560. I am running the code below. This is a slightly modified version of the DHCP ip printer example, namely I am setting a static IP instead of DHCP. I ...
1
vote
0answers
238 views

Ethernet module ENC28C60 doesn't connect to internet when DHCP on router is disabled.

Update: Examples from library are working if DHCP is enabled! Using this library I try to connect with static IP but it always say DNS failed. Ethernet module is blinking that means is good ...
0
votes
1answer
327 views

Getting an error while uploading a code to the Arduino when ethernet shield is attached

I bought ethernet Shield today and connected it to Arduino Uno, now when I try to upldoad I get the following error, however if I remove the shield from the UNO it works fine. Sketch uses 10,486 ...
0
votes
2answers
2k views

W5100 Ethernet Shield to Custom Board Problem

I've been using an Arduino Ethernet shield and an Arduino Mega in my project, but now I'm trying to migrate all the components onto my own PCB. My board uses a W5100 same as the Arduino, but nothing ...
1
vote
0answers
138 views

EthernetClient: HTML table isn't being fully populated

I have the following code below for an EthernetClient named client. It is supposed to print a 2 row, 9 column table. The headers are ID and Name and are the first cell in each row. The other columns ...
-2
votes
2answers
751 views

Arduino uno - Ethernet Shield enc28j60 hangs after some time

I am using Ethernet Shield enc28j60 for retrieve data from web server, but Ethernet Shield enc28j60 hangs after some time and it only works after restarting power supply (router usb port). My sketch :...
2
votes
1answer
867 views

Control Arduino through ethernet. How to contact from outside network and securely

I'm new to Arduino so please bear with me if my question is too simple or broad (I did try and research it) or guide me if it belongs elsewhere (networking forum?) I would like to be able to control ...
2
votes
1answer
639 views

How to correctly serve a webpage from an SD card

It's been days that I'm trying to figure it out how to edit this perfectly working code in order to load load a webpage from the sd card. #include <SPI.h> #include <Ethernet2.h> byte mac[]...
2
votes
2answers
319 views

Trouble reading LM35 with long (?) Ethernet connection

I have a quick question to ask. I have an Arduino Uno reading 4 temperature sensors (LM35) in 4 different rooms. What happens is that the two nearest rooms give stable values, while the two further ...
1
vote
1answer
2k views

Can't connect to my Arduino via W5100 Ethernet shield

I recently bought a W5100 Ethernet shield and I'm trying to run this simple example, which is a little improvement of the basic WebServer sketch provided by Arduino.cc #include <SPI.h> #include ...
0
votes
2answers
2k views

dns lookup only works with DHCP and not with static setup (EtherCard library)

When I use DHCP with ether.dhcpSetup() the DNS lookup for NTP ether.dnsLookup("0.pool.ntp.org") works fine, but when I use a static setup (because my Android app needs to know the IP address) with ...
2
votes
4answers
333 views

Arduino Accessing a web page

Folks, I want to use my arduino with ethernet shield to access the following webpage "http://www.met.ie/forecasts/sea-area.asp" and take some information. On the website it has a line "Small Craft ...
0
votes
1answer
238 views

What if I just connect 5V DC to my UTP?

Here is the image of Ethernet shield near RJ45 socket: These small boxes are probably SMD capacitors which may mean, that internal board is glavanically disconnected from the UTP line. Is this true? ...
0
votes
2answers
827 views

EthernetUdp2 does not name a type

I'm using arduino Ethernet shield 2 form arduino.org and the arduino IDE 1.7.10 also from arduino.org the code is : #include <Dhcp.h> #include <Dns.h> #include <Ethernet2.h> #...
1
vote
1answer
520 views

MySQL Connector/Arduino insert data from row into an array

I'm new here. These days I have been working with the MySQL Connector/ Arduino library. So, my problem is how can i retrieve a rows data so as to enable an output. I have written some code, which was ...
5
votes
2answers
3k views

WizNet W5100 not connecting to modern switches and routers

I have an Arduino data collector with a W5100 module (see bottom of picture). Simple fixed IP connection: byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; byte ip[] = { 192, 168, 1, 242 }; ...
2
votes
1answer
539 views

HTTP Post not working

I am wanting to POST some data from Arduino to WebService (written in .NET), intending to save some temperature data to MS SQL Server. My code in arduino is: void PostarDados(String dados, String ...
1
vote
1answer
877 views

Webserver on Arduino: How to 307 temporary redirect

I originally asked this question. Regarding a webserver Refresh issue on arduino. I am totally new to web development and ethernet. The answer from @Majenko is correct, but I do not understand how ...
1
vote
1answer
2k views

Webserver on Arduino: Refresh issues

I am using W5100 Ethernet Shield Network Module with arduino Uno as a webserver to trigger four relays connected to it. The relays may be toggled through the four buttons attached to it physically, ...
0
votes
1answer
510 views

Using Arduino Yún to send data through Ethernet

I'm still new to Arduino Yún and I can't find any tutorials or examples on making the Yún send data through Ethernet, which will then be showed on a web server. I've seen other tutorials but they use ...
0
votes
2answers
130 views

Arduino-like ethernet only board?

I don't think USB chip is more expensive than Ethernet chip. So, I expect there should exist a board like Arduino, but where USB is removed in favour of Ethernet. Are there such boards?
0
votes
0answers
1k views

Udp.remoteIP() and Udp.remotePort() calls not working

I'm trying to conect an Intel Galileo over ethernet. I'm using the code located in Examples/Ethernet/UDPSendReceiveString. Everything works fine except for the response. Udp.remoteIP() always return ...
0
votes
2answers
509 views

arduino ethernet run php from sd card

I am just interested, but I would like to run a webpage with php on my arduino ethernet. I would like to be able to store my webpage on the sd card as well. does anyone know of a library that would ...
2
votes
1answer
72 views

Informations lost in a string

At first, I sorry if I make some English faults but I'm French. So, I'm making a connection between a client and an Arduino Uno. I receive all data that I need but when I send a response to my ...
0
votes
1answer
262 views

Ethernet Controlled Arduino Arm

Good day, I am currently attempting to write code that will allow a user to connect to an Arduino Mega via IP address and control a robotic arm on the X and Y axis as well as open and close the claw. ...
3
votes
2answers
2k views

Wired IoT sensor network with PoE?

Objective: Maybe I'm a bad Googler, but I am finding very little on wired Internet of Things sensor networks using Arduino. Project Goals: Arduino based sensor nodes that connect to the local ...
1
vote
1answer
952 views

Arduino mega 2560 Stacked with Ethernet/SD card Shield Heat up

Stacked mega and ethernet/sd shield: When I do this stacking, it heats up. I tried connecting the SPI via ports 13-10 (no stacking), it doesn't work. Also tried connecting the ICSP (red circled mark) ...
0
votes
1answer
965 views

BMP280 sensor not initializing

I am successfully using a BMP280 sensor via SPI connection with an Arduino Uno R3 board. I'm trying to run the same code with the same setup on an Arduino Ethernet. However the sensor is not ...
0
votes
1answer
3k views

Ethernet Shield: Failed to configure Ethernet using DHCP

I am currently making a design that uses the Arduino's Ethernet shield. I am using the PushingBox API for Arduino, and have tried it with my Arduino Mega (2560) with the ethernet shield attached to ...
2
votes
3answers
1k views

Ethernet shield/WebServer problem: 'server is at 0.0.0.0'. Any suggestions how to debug it?

Ethernet shield problem. When running the WebServer example sketch, the Serial Monitor shows that server is at 0.0.0.0. Any suggestions how to debug it?
0
votes
2answers
894 views

Cannot directly connect Arduino Ethernet to PC

I have been following various tutorials (especially: this) to connect an Arduino Ethernet board to my Ubuntu PC via Ethernet directly. The IP address of the computer was found to be 10.100.31.128, ...
1
vote
2answers
723 views

Can a 9V battery be used as a backup power supply (to Arduino Uno) while plugged directly into Vin and ground?

Sorry if this has been asked before, but I've read tons of threads and it seems the answer is only implied on a couple of occasions. I'm an electrical noob, but I understand that a 9v battery ...
1
vote
0answers
113 views

Resend data traffic from an Arduino

I have an Arduino with an Ethernet shield and I want to capture all Ethernet data traffic that connects to the Arduino via [as?] a router. This is because I want to use the Arduino like a honeypot and ...
0
votes
1answer
2k views

Ethernet shield or Wifi sheild - Arduino?

To control some LEDs through internet using Arduino UNO, which type of connection is better ? Ethernet or Wifi? (Later, I may connect some relays instead of LEDs, and control (turn on and off) some ...
2
votes
2answers
10k views

Connecting ethernet shield to computer

What configuration settings do I need to change on my computer to use the ethernet shield mounted on my Arduino UNO as I don't want to connect the ethernet shield to the router?
1
vote
0answers
295 views

WebClientRepeating not printing response to Serial

I'm following the tutorial in WebClientRepeating and it says that "The content of the page is viewable through your Arduino's serial window." However the output in my Serial window is just saying "...
1
vote
0answers
610 views

Problem related to Arduino ip address

Can anyone explain to me why my output ip is: 15.16.17.18? I configured my addresses as follows: Arduino : gateway 192.168.1.1 ipaddress 192.168.1.8 subnet 255.255.255.0 My local network: gateway ...
1
vote
1answer
2k views

Possible to create IP-to-USB HID (keyboard) device using Arduino?

Is it possible to create an IP-to-USB HID (keyboard) using Arduino? I'd like to connect an Arduino to my network using Ethernet, and then send it commands using TCP/IP and have those commands ...
3
votes
1answer
3k views

What are the parameters of the browseUrl() callback in the Ethercard library?

I'm reading a code that uses Arduino as a webclient and when he tries to catch the info from the site, he uses a callback with the following parameters: static void response_callback (byte status, ...
0
votes
2answers
212 views

How to approach an complex Arduino Uno project (Serial, SPI, Ethernet) in pure C, without libraries?

I have a college assignment where I need to get serial output, the Ethernet shield and SPI communication with other boards to work. We are not allowed to use any existing libraries, though we can use ...
1
vote
1answer
1k views

How to recover from DHCP Renewal and Rebind failures?

I'm using an Ethernet shield with the built-in Ethernet library. I obtain an IP address using DHCP, and call Ethernet.maintain() periodically to ensure that the DHCP lease is renewed as required. So ...
0
votes
1answer
86 views

Interfacing 9-Axes Motion Shield with RPi and WiFi Shield

I recently purchased the Arduino 9-Axes Motion Shield. I have two questions: Q1. The official Arduino page says that the shield doesn't have any external power source and can only be powered up by ...
0
votes
3answers
5k views

Posting Arduino data via ethernet to PHP server problems

I am currently having difficulties sending data from an Arduino using an ethernet shield to a PHP database in MySQL. My problem is that it appears that the server is receiving the data as there is a ...
-1
votes
1answer
318 views

IOt application example Error

I have downloaded code from below linkLink of code. I am trying test code from below. I am getting warning for below code.I couldnot able to find how to sort out #include <SPI.h> #include <...
-2
votes
1answer
136 views

Controlling arduino over webserver

I want to control arduino through Internet without using Ethernet shield. I know there is a way. So can you help me what things I'll be needing for that