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.
313 questions
0
votes
1
answer
80
views
How to timeout hung incoming connections to the Ethernet port?
If I telnet to an Ethernet capable Arduino (e.g. shield, Leonardo, Leonardo Eth) with something like telnet [ip] [port] and then do nothing, the connection hangs. Seemingly for ever, or at least ...
1
vote
0
answers
90
views
Strange UDP problems
I am making a simulator box that pretends to be an industrial pump. We make equipment that interfaces with the pump and don't always have a pump available to test the connection. I used and arduino ...
0
votes
0
answers
136
views
Configure CA to connect to server with Ethernet
I'm using Ethernet module ENC28J60 with ESP32 on Arduino IDE.
I could establish a secure connection using WifiClientSecure.h
here code
#include <Arduino.h>
#include <WiFi.h>
#include <...
1
vote
0
answers
463
views
Arduino (Mega 2560) Ethernet Shield 2 (W5500) - Can't connect
I'm having issues connecting to my arduino mega via ethernet. Its a very basic start to the code just to get the network side up and running, them im going to add in what I actually want it to do. For ...
2
votes
0
answers
330
views
Ability to connect 2 or more w5500 Modules and deal with them as objects
I wish to create a rudimentary ethernet in/out - switch/hub where I can (sort of) daisy chain my boards. (I don't wish to use a ethernet switch/router/hub)
One port would be acting as server
The ...
2
votes
0
answers
78
views
How to connect Arduino to a switch that doesn't accept 10M?
I've been playing around with several Arduino ethernet modules based on the ENC28J60 and the W5500 chipset. All modules are advertised as 10/100M, but in reality only work when the port of a switch is ...
-1
votes
1
answer
339
views
UDP Packet Loss
I have an application on a PC that sends 10 UDP packets to an Arduino Portenta board. When sending packets with no delay, half of them are lost. Wireshark shows the packets are correctly sent by the ...
1
vote
1
answer
1k
views
UDPSendReceiveString example using Arduino Due with ENC28J60 Ethernet Module
I was trying to learn how to use UDP protocol to use in my automation project to send commands to an Arduino Due on ethernet with an ENC28J60 breakout board which I have connected to the Due from SPI ...
0
votes
1
answer
213
views
How to control PWM and digital pins at the same time over ethernet in arduino
I am using Controllino Maxi. It has an Arduino Uno inside it. I am trying to control the PWM pin D0 and digital pin R0 via python code. Below is the code I have upload on arduino:
Arduino Code:
#...
2
votes
0
answers
3k
views
ESP32 access point with an ENC28J60 ethernet module
Does anyone know if the following is possible? Any advice would be much appreciated.
I am programming an Ethernet connected Arduino to be a webserver. What would be ideal is a small portable "...
1
vote
0
answers
132
views
How to change the default SPI pin used in SPI and Ethernet library [duplicate]
Hello i have a custom board of the RP2040 and would like to use the ethernet library. But the ethernet example webClient uses the default SPI pins of whatever board it is being used, but what if im ...
2
votes
0
answers
234
views
UDP packet loss and very high ping time
Scenario
I'm writing a code for Nucleo-144 F429ZI. It receives UDP packets (actually OSC bundles) and send back an answer when the command is completed.
Issues
It work fine most of the time. But there ...
1
vote
1
answer
576
views
Simple GET request is failing silently
I'm trying to make a simple GET request to a server (which has a static IP but does not have a name). I'm using EtherCard library and a cheap ENC28J60 Ethernet Module. The basic configurations are OK (...
2
votes
0
answers
226
views
Writing file from SD card to ethernet client stops sending after about 2980 characters, STM32f7 board
I am attempting to write a file found on an SD card to a connected Ethernet client. The file opens fine, and we have no problems writing to the client. For testing purposes I also write the lines read ...
3
votes
1
answer
1k
views
Communication between two Arduinos using ENC28J60?
How can I connect and send data between two Arduinos using ENC28J60 ethernet adapters on both of them? Is there any guide or example code for me to take a look from or any library I can use to achieve ...
1
vote
2
answers
3k
views
How to make an arduino webserver over USB? without ethernet shield nor wifi chip
I would like to begin to understand ethernet handshakes by integrating an Ethernet over USB protocol within an arduino mega or nano. Is there something about the ethernet protocol that requires more ...
1
vote
0
answers
67
views
3 pin ethernet module?
So basically I'm working on a project that uses an Atmega328 like on the Arduino Uno. I need to receive both DMX (with max485) and E131 (Not both at the same time, I'll decide which with a boolean in ...
2
votes
0
answers
601
views
Teensy 4.1 Ethernet Throughput
Using a socket server on a Teensy 4.1, I am sending and receiving data in a loop from a Windows socket client (WinForms C#.NET).
I am sending or receiving 530 bytes of data. In each direction, it ...
5
votes
0
answers
2k
views
Modbus TCP/IP using Arduino uno and ENC28J60 module
I have this project where I need a modbus tcp server that will host a series of sensor data for other modbus client devices to read. I use this Library by Andresoarmento
This is the code i am using ...
1
vote
0
answers
111
views
Arduino blocks when serving web pages
I have an Arduino sketch that serves an HTML web page using the standard Ethernet library (https://github.com/arduino-libraries/Ethernet) and the Ethernet Web Server library (https://github.com/khoih-...
0
votes
1
answer
2k
views
2 SPI devices conflict
I want to connect a W5500 ethernet Module and an SD card module to arduino Uno using SPI (with different CS pins of course). When connected separately they work fine but when connected in the same ...
0
votes
1
answer
353
views
Arduino Ethernet shield frequently drops its IP address
Im working on a sketch that needs to display some internal variable values and analogue reads in a simple webpage. The only catch is that it needs to be as reliable as possible.
Im getting some odd ...
0
votes
1
answer
2k
views
HTTP parsing with authentication in Arduino + ethernet shield
i am trying to parse a page from the route by using Arduino + Ethernet shield. before Arduino testing. I tested my code via python as it shows below. from this code i can get the data as i wish where ...
0
votes
2
answers
3k
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
1
answer
302
views
Refreshing a web-page hangs after few times
I'm using a Nucleo F429ZI board and I wrote a sketch that enables a simple web-server:
#include <LwIP.h>
#include <STM32Ethernet.h>
const int WEB_PORT = 80;
EthernetServer server(...