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.

67 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

Ethernet shield and sd card not working togather on arduino mega

I am making a web-client with an Arduino mega and Ethernet Shield. I am trying to receive data from a web-server running a php script and saving that data to the SD card located in the Arduino ...
0
votes
0answers
29 views

Arduino web server-how to get values form URL

I’ve already searched through the internet but cannot find satisfactory answer. Is there an easy way to get value of variable passed through an URL? What I mean is I want to start a web server on my ...
0
votes
1answer
30 views

communication between two arduinos using ENC28J60?

How can i connect and send data between two arduinos using a ENC28J60 ethernet adapters on both of them. Is there any guides or example codes for me to take a look from or any library which i can use ...
0
votes
1answer
64 views

Modbus TCP together with MQTT over same ethernet

I'm currently in a planning phase for a project. I want to read some sensor data over Modbus TCP, do some simple calculations on the Arduino and publish the results over MQTT. Which means I have 2 RJ-...
0
votes
2answers
977 views

When connecting, client.connect() returns 0

I'm using an arduino UNO with ethernet shield. When following a few guides online for a school project I came across this issue. First code sample: #include <SPI.h> #include <...
0
votes
0answers
193 views

Directly connect Arduino to Macbook over Ethernet

I am trying to connect my Arduino to my MacBook over ethernet via a thunderbolt-ethernet dongle. However, I am unable to access my Arduino over Ethernet. The problem is very similar to one mentioned ...
0
votes
0answers
43 views

Using USB or ethernet to carry digital signals

I need to send six digital signals about 4 feet through wires. An ethernet cable has 8 little wires that should do the trick. I could split the ends and solder them to my boards. Is there an adaptor ...
0
votes
0answers
3k views

get request with ENC28J60 Ethernet module

I try to make a simple http get request from Arduino uno to my website (shared hosting) where i fetch the data to db. I use the EtherCard library and ENC28J60 Ethernet module. Here is the code: #...
0
votes
0answers
1k views

Connect to Ethernet2 by hostname

I´d like to connect my Ethernet2 with WIZ550 using DHCP but instead of Local IP, I want to use Hostname. This is my code, it works. I get a Local IP Address and I can connect to Arduino using this IP,...
0
votes
0answers
2k 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
0answers
249 views

Arduino ethernet shield error

As I mention in the title, that when I am trying to upload the code of WebServer to the Ethernet Shield it shows me an error messages. Please if any one can help me to fix it, and here is the ...
0
votes
0answers
235 views

Parsing UDP text from a Command using UDP

I want to send a parameter from my computer (i.e using Hercules software) using UDP protocol to my Arduino with Ethernet shield to turn 2 LED on and off (each of them). The command I'm using is: $A&...
0
votes
1answer
115 views

GET the first result in HTTP request

I have a String content="" and if I put an HTTP request like this: client.println("GET /api/actions?parking_id=39 HTTP/1.1"); client.println("Host: ramp-rampcontrol.rhcloud.com"); client....
-1
votes
1answer
35 views

command keeps echoing because web page tries refreshing

I want to execute a action only once when I press web page button but as the page tries refreshing the action gets executed in a loop. I am using the wifimanualwebserver example for esp8266. Please ...
-1
votes
1answer
2k views

Ethernet shield reset problems

I know there are multiple threads about ethernet shields not starting properly after power up and that there are versions that don't have those problems. But which versions are okay? Which versions do ...
-1
votes
1answer
105 views

Yum as eth->wlan adaptor

Is there a way to make a yun an Ethernet-wifi bridge? Applications include giving wifi to raspberry pi and other Ethernet only devices and vice versa.
-1
votes
1answer
444 views

Why client.stop causes some significant delay to do another task in a loop?

void setup() { Serial.begin(9600); // Initialize serial communications with the PC // disable SD SPI pinMode(4, OUTPUT); digitalWrite(4, HIGH); // disable w5100 SPI ...

1
2