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.
306
questions
1
vote
0answers
35 views
Arduino escape characters not working when not defined in code
I am making an Arduino ethernet and serial communication program.
The point of my program is to "SendKeys" the received message from Arduino that received the message from HTTP request query,...
0
votes
1answer
34 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 ...
0
votes
1answer
42 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 ...
1
vote
1answer
183 views
Limitations of connecting to many Arduinos via Ethernet?
I'm planning a project where I need to control a lot of Arduino Unos from a single PC. I'll need to send commands to the Arduinos and receive responses, as well as have the ability to update each ...
1
vote
1answer
151 views
DF Robot W5200 Ethernet Shield for an Arduino Uno not working?
I've been working on using an ethernet shield for my Arduino Uno for a couple weeks now. I've been going through the problems one by one and now realise that there seems to be nothing transmitting. ...
-1
votes
1answer
34 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 ...
2
votes
2answers
66 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) ...
2
votes
2answers
8k views
Arduino Ethernet Shield on Arduino Mega Pin Usage!
I currently have an Arduino Ethernet Shield which is Mega Compatible. I've found on the Arduino Ethernet Library https://www.arduino.cc/en/Reference/Ethernet that the Shield uses different Pins on the ...
1
vote
0answers
35 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
1answer
32 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 ...
3
votes
1answer
554 views
How to send information from a web-site to the arduino?
I currently have an Arduino Mega + an Arduino Ethernet shield, I would like to know if it's possible to send data to the arduino from a web-site hosted on the shield itself. So that when someone press ...
0
votes
1answer
36 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
726 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 <...
3
votes
0answers
60 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 ...
3
votes
0answers
206 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 ...
0
votes
0answers
52 views
ethernet router in arduino using two enc28j60
I have read in the uIP manual that only one interface can be managed by the uip stack:
"The uIP implementation is designed to have only the absolute minimal set of features needed for a full TCP/IP ...
0
votes
0answers
61 views
How to connect computer and Arduino with EtherCard?
Can you please give me an example of how to connect my computer to Arduino using EtherCard library? I want to send a string of text using Python's socket module and send this text back to the serial ...
0
votes
0answers
28 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, ...
2
votes
1answer
3k 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 ...
0
votes
0answers
51 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
2answers
184 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 ...
0
votes
4answers
7k views
Ethernet shield not getting IP
I am just running the below DHCPAddressPrinter sketch in Arduino example to setup EthernetShield with MAC and IP
#include <SPI.h>
#include <Ethernet.h>
// Enter a MAC address for your ...
0
votes
5answers
1k views
Relay doing opposite to digital pin
I have a Arduino UNO with a Ethernet shield which hosts a basic HTML page with a button on it which controls a Relay module.
I'm trying to connect to a computer's power button so I can turn it on ...
1
vote
3answers
4k views
Arduino Ethernet Shield 2 stuck on EthernetServer::begin()
I am currently trying to get the Ethernet Shield working on my Mega. I was trying to run the Webserver example but the program seems to stuck at one point, so I tried to start from scratch.
This is ...
1
vote
1answer
281 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 ...
1
vote
2answers
7k views
Where can I find a better pinout diagram for “Arduino Ethernet” board?
I'm looking for a complete pinout of the Arduino Ethernet R3.
I've found one here which is low quality, and seems not complete (where are the digital I/O pins?).
BTW, it was not a good idea for ...
0
votes
0answers
83 views
how to link arduino uno and wonderware via modbus?
I am trying to make my Arduino uno and gy-521 accelerometer a modbus tcp server to feed data to a client on my pc. Most likely the HMI I am going to be using is wonder ware.
#include <Wire.h>
...
0
votes
1answer
44 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
0answers
38 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 ...
5
votes
3answers
4k 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 };
...
0
votes
1answer
468 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
1answer
84 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(...
0
votes
1answer
69 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 ...
1
vote
1answer
663 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 ...
0
votes
1answer
57 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....
0
votes
2answers
4k views
Simple webpage serve with Arduino ethernet shield on SD card
I have been experiment with the arduino uno board from few days but can't seem to make it serve web page stored in SD card of ethernet shield.
If I print the contents of the file to serial it works ...
0
votes
0answers
101 views
Arduino LAN/TP tester at some frequency
I have the notion of putting together a TP cable tester with an arduino. I've seen hacks sending power and lighting up a LED to check continuity, and used a similar 'professional' tester that just ...
0
votes
1answer
426 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 ...
0
votes
0answers
96 views
ethernet module works with uno, but not with nano
I use etherCard Library with ENC28J60-EDC8J60 ethernet module
When plugging the "backSoon" example into an arduino UNO, everything works fine, but when i plug it into a nano, as seen in some tutorial ...
0
votes
0answers
183 views
controllino and modbus tcp protocol
i have to make a network made of a master (made with controllino) and a slaves (also made with controllino) and they can comunicate with the modbus tcp protocol, i know that controllino works like a ...
0
votes
0answers
78 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, ...
0
votes
4answers
3k views
Arduino Micro + W5500 module from AliExpress
Got this module from Aliexpress
W5500 Ethernet Network Modules For Arduino TCP/IP 51/STM32 SPI Interface 3.3V 5V I/O MCU
... and trying to hook this up to my proto Aduino Micro as thus:
Micro -> ...
1
vote
1answer
225 views
Arduino HTTP Request Fails Slow Cellular Connection
Setup:
Arduino Mega 2560 w/ Wiznet W5500 Ethernet Sheild
Using TP-Link TL-MR6400 LTE router to connect to internet over cellular connection in Uganda.
Using an HTTP Post with the following,
...
1
vote
0answers
284 views
Ethernet TCP communication between two arduinos not working
So I've got two arduinos Leonardo ETH, both plugged into a local network I host on my computer, and I'm trying to make them communicate through ethernet.
One of my arduinos is collecting data from 2 ...
0
votes
1answer
113 views
Nano & Ethernet will not write to PushingBox on a workplace network (but will at home)
I have a Nano+ENC28J60 and I'm using Pushingbox which I have setup to write data to a GoogleDrive spreadsheet which works perfectly at home. However when I take it to my workplace it no longer works.
...
0
votes
0answers
115 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 ...
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 ...
5
votes
1answer
337 views
Disconnect Ethernet Shield
I'm trying to use the Ethernet Shield and the EasyVR (voice recognition) together.
The Ethernet shield uses the same pins that the EasyVR, but the easyVR works fine if I don't call Ethernet.begin(). ...
2
votes
1answer
943 views
Using c_str() on String for IPAddress with NTPClient provides wrong values
Libraries
NTPClient
Board
Olimex ESP32-POE board
Behaviour
I have written a code that connects the board to a local NTP Server (which is an embedded board). I tried assigning the IP Address of ...
1
vote
0answers
26 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 ...