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
0 votes
0 answers
33 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 <...
Just doin Gods work's user avatar
2 votes
1 answer
100 views

Limit of EthernetClient connections

I'm working on a project on which I need to have multiple EthernetClient connections to different servers. All of these connections must be kept alive simultaneously and by this I mean I cannot stop ...
Mazaetos's user avatar
1 vote
0 answers
117 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 ...
Isaac M's user avatar
  • 11
1 vote
0 answers
164 views

What can be the reason for a Stack canary watchpoint triggered (loopTask) on a https get() command?

I have a program that only do get and post to a controller via an ethernet port. My problem is that after a certain amount of loop in the program, i got this error: Guru Meditation Error: Core 1 ...
Martin Chicoine's user avatar
2 votes
0 answers
89 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 ...
Ohbhatt's user avatar
  • 76
1 vote
0 answers
37 views

Arduino MEGA crashes with Ethernet shield to connect to two TCP servers

I have Arduino MEGA with Ethernet Shield and a SD card connected to a RUT950 GSM router. Then, I also have two sensors connected to the router and they run a TCP server that sends measurements ...
Marcus Barnet's user avatar
2 votes
0 answers
49 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 ...
Joe's user avatar
  • 29
0 votes
0 answers
228 views

Incorrect IP address when using Ethernet library with Arduino Uno and WizNet 5500 ethernet module

I'm trying to get an ethernet module with the W5500 chipset to connect to my network on an Arduino Uno, but whatever I do, I always get an incorrect IP address. The module is connected as default SPI, ...
Deekay's user avatar
  • 117
-1 votes
1 answer
159 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 ...
Simon's user avatar
  • 99
3 votes
1 answer
167 views

The gateway is not working in Arduino EthernetENC

I am using ENC28J60 and EthernetENC library to connect an Arduino UNO with ATmega328 to the network. Everything works fine within the local network, but outside of it, I cannot ping the device. What ...
ArgusLibovski's user avatar
1 vote
1 answer
476 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 ...
Tunguska's user avatar
  • 111
1 vote
2 answers
486 views

Arduino does not connect to MQTT local broker

I have an Arduino Mega with Ethernet connected to a router by cable. Also I have a PC connected to the router (by Wifi) where also the local MQTT broker is installed (mosquitto). Althought the Arduino ...
bardulia's user avatar
  • 141
0 votes
1 answer
106 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: #...
S Andrew's user avatar
  • 183
-2 votes
1 answer
53 views

Is it possible to connect 2 PLC which have Ethernet interfaces using Ethernet shield, arduino Nano and SX1278?

I need to connect 2 PLC which have Ethernet interfaces over 1 km and i was thinking of connecting via SPI an ethernet shield and an SX1278 module to a arduino nano (UNO) board. Do i need logical ...
Stefan Neamtu's user avatar
2 votes
1 answer
152 views

Arduino shield stacking issue

I'm having issues stacking shields on my Arduino Mega 2560. I would like to add to the mega a ethernet shield (https://store.arduino.cc/products/arduino-ethernet-shield-2) and on top of that the ...
Ayayron's user avatar
  • 21
1 vote
0 answers
36 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 ...
DrakeJest's user avatar
  • 229
1 vote
0 answers
125 views

Arduino mega ethernet Udp client randomly failing

I have a keyestudio board identical to the arduino mega 2560. I use the matching keyestudio ks0156 W5100 ethernet shield. My code uses the following library for ethernet paulstoffregen/[email protected]...
Yanick Salzmann's user avatar
2 votes
0 answers
174 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 ...
Mark's user avatar
  • 357
1 vote
0 answers
736 views

Bluetooth module with lowest latency to communicate with PC

I am making a haptic feedback glove using Arduino and HC-05 bluetooth module to communicate with PC. There are rotary encoders on the finger which send value to PC through Arduino mega. The PC returns ...
cakh's user avatar
  • 11
1 vote
1 answer
463 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 (...
user2959923's user avatar
1 vote
0 answers
462 views

ARDUİNO MODBUS TCP CONNECTİON

I am trying to communicate with PC by using modbus TCP communicate. When I use this code I can't communicate. Dou you know guys what is the problem? My ethernet Module is working I know that because I ...
A Alptekin's user avatar
2 votes
0 answers
196 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 ...
JackOfAllTrades99's user avatar
1 vote
0 answers
205 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 ...
Rebeliok's user avatar
1 vote
1 answer
695 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 ...
rohithrathod banoth's user avatar
1 vote
1 answer
211 views

Ethernet Shield not connecting

I've mounted an Ethernet Shield on top of an Arduino UNO. The Arduino is connected via usb to my pc and to the network via ethernet through a switch. I'm running a simplified verison of the WebServer ...
Hexash's user avatar
  • 11
0 votes
2 answers
2k 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 ...
steve antwan's user avatar
1 vote
1 answer
64 views

SD seems too slow for SMTP

I have asked this question on the arduino forum as well. I have used SMTP before using client.print (and client.println) but I am now trying to move as much text as I can from RAM to SD (and so I need ...
elscan's user avatar
  • 11
1 vote
0 answers
41 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 ...
Randomaker's user avatar
2 votes
1 answer
65 views

Leading Zeroes on Arduino Ethernet MAC Address

How can I pass the MAC address to Ethernet shield with leading zeroes? I change the default MAC address from DEADBEEFFEED to something like DEADBEEFFE01. So I only change the last number from 0xED to ...
noobiejp's user avatar
  • 115
2 votes
0 answers
426 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 ...
Joe's user avatar
  • 59
-1 votes
1 answer
318 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-...
Jakube's user avatar
  • 99
4 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 ...
Deadpool's user avatar
1 vote
0 answers
55 views

Ethernet Shield doesn't work at all

I connected corresponding pins of Arduino Nano and the Ethernet Shield, connected my computer to a router (the light indicated the connection) and Ethernet Shield to the same router. Nevertheless, ...
silencefog's user avatar
1 vote
0 answers
93 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-...
prenone's user avatar
  • 111
2 votes
2 answers
218 views

Arduino Yun receives UDP packets but prints them with gibberish

Arduino Yun is set to receive UDP packets. It receives those data with some gibberish. How is all set up: Arduino Yun (acts as a server) is connected through Ethernet to a PC which is (through WiFi) ...
BrainTrance's user avatar
0 votes
1 answer
1k 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 ...
Zaffresky's user avatar
  • 183
0 votes
2 answers
642 views

Ethernet Shield Not Working With TFT Screen

I'm trying to stack up Arduino UNO, Ethernet Shield and Waveshare 2.8" TFT Shield. Since I'm new to this I'm mostly doing basic stuff. I successfully manage to get ethernet shield and TFT shield to ...
bennygenel's user avatar
0 votes
1 answer
218 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 ...
BruceJohnJennerLawso's user avatar
1 vote
0 answers
88 views

STM32Ethernet UDP misses some packets

Using STM32Duino on Nucleo F429ZI: #include <LwIP.h> #include <STM32Ethernet.h> #define UDP_TX_PACKET_MAX_SIZE 512 #include <EthernetUdp.h> IPAddress remoteIP; unsigned int ...
Mark's user avatar
  • 357
0 votes
1 answer
1k 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 ...
LinkCoder's user avatar
  • 103
0 votes
1 answer
543 views

Ethernet shield connected to local network, not to internet

Using the WebServer example file I have been able to confirm that my arduino is connected to my local network and I can open the page in my browser. However any attempt at contacting addresses outside ...
Simon V.'s user avatar
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 <...
Simon V.'s user avatar
1 vote
2 answers
3k views

Is there an Arduino library that uses ARP to get list of connected devices on network?

I have been looking for a library that can execute an ARP (Address Resolution Protocol) command to return a list of connected devices on the network. The idea is that it would send the request to the ...
tshimkus's user avatar
  • 113
0 votes
1 answer
168 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(...
Mark's user avatar
  • 357
0 votes
1 answer
203 views

EthernetClient not initializing properly

I am trying to make a connection with the EthernetClient, but it always fails with code 0. I decided to write a small code just to test if the client ever becomes ready, and as I suspected it does not....
Lucas Noetzold's user avatar
0 votes
1 answer
1k views

MQTT on nano with Ethernet shield not working

I'm using an arduino nano with an ethernet shield (ENC28J60), and ethernet eem to be working (I can create a webserver with Ethercard library).However, i'm stuck when i try to connect to a MQTT ...
Neil's user avatar
  • 143
-1 votes
1 answer
42 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 ...
Yash's user avatar
  • 1
1 vote
0 answers
227 views

Ethernet.h Ethernet.Begin(mac) only connects if i have a LiquidCrystal object from LiquidCrystal.H

I have the following code; #include <Ethernet.h> #include <SPI.h> #include <LiquidCrystal.h> LiquidCrystal lcd(31, 30, 29, 28, 27, 26, 25, 24, 23, 22); byte mac[] = { 0xDE, 0xAD, ...
BelGaraath's user avatar
1 vote
0 answers
286 views

Arduino Mega failing to connect to XAMPP database/php server to send HTTP requests

I have developed an application with a SunFounder Mega2560 with a W5100 Ethernet shield that acts as a server and successfully parses TCP message packets from a client sending in updates. I am now ...
Big Owls's user avatar
1 vote
0 answers
41 views

Remote Arduinos polling a master Ardrino over ethernet/wifi

I'm setting up a "Panic Button" for our Front Office. The concept is to have a master Arduino with the button and 4 other Arduinos with Strobes and/or alarms to alert the rest of the staff. The bells ...
Curtis Short's user avatar

1
2 3 4 5
7