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
0answers
16 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
27 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
36 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
39 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
77 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
84 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
71 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
37 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
31 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
207 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
45 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
341 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
335 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
63 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
27 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
36 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
63 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
226 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
22 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
70 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
28 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
57 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
141 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
43 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
0answers
210 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
82 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
24 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
182 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, ...
0
votes
0answers
598 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
89 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
330 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
33 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 ...
0
votes
0answers
495 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
150 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 ...
0
votes
0answers
80 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 ...
0
votes
0answers
230 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
104 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
210 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
306 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 ...
0
votes
0answers
94 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
33 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
340 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
58 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
775 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
106 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
1answer
139 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. ...
0
votes
2answers
3k views

Modbus IP with Simply Modbus TCP

include SPI.h include Ethernet.h include Modbus.h include ModbusIP.h //Modbus Registers Offsets (0-9999) const int SENSOR_IREG = 100; //Used Pins const int sensorPin = A0; //ModbusIP object ModbusIP ...
0
votes
1answer
227 views

How to flash an ATMEGA2560 using a WIZnet 5500?

I am wondering if anyone has ever flashed a ATMEGA2560 utilizing a WIZnet 5500? I have looked at this bootloader package but it only supports the 5100. I may have to do it myself but am a little ...
0
votes
1answer
2k views

Using AysncUDPMessage for ESP32 to send string data

I am in search for some examples as to how can one use the AsyncUDPMessage in an Application for sending out UDP packets to a host with specific IP address and Port number from an ESP-WROOM-32 (Olimex ...

1
2 3 4 5 6