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
2
votes
1answer
30 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 ...
1
vote
0answers
33 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 ...
0
votes
1answer
25 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-...
2
votes
0answers
57 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
29 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, ...
0
votes
0answers
44 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-...
1
vote
2answers
46 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) ...
0
votes
1answer
137 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
2answers
124 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
0answers
75 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
39 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
35 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 ...
0
votes
1answer
307 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
52 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 ...
0
votes
2answers
520 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
1answer
477 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
76 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
40 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
0answers
45 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
86 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
306 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
23 views

detect a dropped tcp connection

Is it possible to detect a dropped connection using WiFi server? Example: Windows disables the Ethernet connection to the ESP during an active connection. After re enabling the connection it is not ...
0
votes
0answers
77 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
1answer
29 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 ...
0
votes
0answers
71 views

connection to ESP using pyVisa

I'm building a small LXI device using a the OLIMEX ESP32 POE Board. Sending commands to the device using pyVisa works fine, but queries don't. Only the IDN? query works. From the ESP I get the ...
0
votes
0answers
162 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
54 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, ...
1
vote
0answers
239 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
0answers
90 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
0answers
25 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 ...
1
vote
1answer
199 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
734 views

Ethernet Shield Issue

I just bought a Ethernet Shield for my Arduino UNO. I connected it to my arduino and flashed the Example code for Ethernet Shield, but the code didn't work. The COLL LED on ethernet shield is glowing ...
0
votes
1answer
107 views

one Arduino with RS485 and Ethernet shields: does this work?

I'm planning to wire a few Arduinos together via RS485, and have one of them act as a hub that collects information from the others and presents it via http on an Ethernet connection. For instance ...
0
votes
1answer
380 views

Public IP for Arduino with Ethernet shield and Arduino Uno

I'm new Arduino and I would like you to help me. I would like to have a public IP so that anyone can get access to it, not only from domestic domain. What could I do?. I'm using Arduino Uno, Arduino ...
0
votes
1answer
35 views

My webswerver works fine when there is only 1 servo used/defined in my code

I am trying to make a webserver which controls my 3 servos for a robotic arm. When I define and use 1 servo it is nice and quick, but whereas if I use more than 1 the webserver is very slow and barely ...
1
vote
0answers
588 views

How to create a Arduino socket server to receive messages

From linux I can send a socket message using netcat echo "Hello" | nc 88.109.110.161 100 But I don't know how to setup the socket server for listening incoming messages using the ethernet shield. ...
1
vote
0answers
160 views

UDP behavior different for STM32

I'm facing a weird situation, where the UDP behavior seems different in STM32 porting (stm32duino). Short question Besides port and address, what are the other parameters that characterize the UDP ...
1
vote
0answers
88 views

Arduino with Ethernet Shield with PC to upload data to Microsoft Azure

i am a student doing a project related to datalogging. My project is a rehabilitation device that uses 2 rotary encoders to record data for rotation and linear movement of a human arm. The data ...
1
vote
0answers
273 views

Can't parse large json file

For a project I've to parse a big json file. Unfortunately it does not work as expected. Here is the json file: { "data1": "...
1
vote
1answer
122 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 ...
0
votes
1answer
225 views

Mini ethernet shield pins don't have SI

Please somebody who had the same issue help me. The question is how to connect this Mini Ethernet shield to an Arduino. The main problem is the pins that my shield have or haven't; my current ...
0
votes
1answer
404 views

Send files via network [duplicate]

I want to send a file from an Arduino to the server or another Arduino. I wrote a code that's open the file then write the content of the text on an array and then send it. That would work if the ...
1
vote
0answers
102 views

Sending .wav via network

I'm working in a project and part of this project is sending a .wav file from an Arduino to other device (for example anther Arduino). I already am able to send a .txt file from an SD which was ...
0
votes
0answers
38 views

WebClient Not Working On Shared Network

I'm working on a school project, and I use Arduino Uno to collect some data with sensors, and then send it to an online database. The Arduino is connected to the Internet via an Ethernet Shield and an ...
0
votes
0answers
371 views

Ethernet Shield - Not Working Properly Always

I'm working on a school project and using Arduino Uno. The basic working method for the project is as follows: Read temperature from LM-35. Read CO2 level in air using MH-Z14A. Upload data to server ...
2
votes
2answers
3k views

Remotely uploading code to an Arduino board over the internet [closed]

I recently used Particle Photon that allows me to upload firmware (.bin file) remotely over the internet. I would like to use something like this for my Arduino but I cannot find anything like that. ...
0
votes
1answer
60 views

WSO2 IoTS : No Data shown on Server by Arduino connected via Ethernet

Description: While enrolling Arduino device on WSO2 IoT server, I made necessary(WiFi to Ethernet connection) changes in the sketch that I downloaded from the server and uploaded it. The following ...
2
votes
1answer
856 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 ...
0
votes
1answer
109 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. ...

1
2 3 4 5
7