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
1answer
59 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
52 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
67 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
29 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
136 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
38 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
227 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
227 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
58 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
25 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
29 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
54 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
185 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
20 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
62 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
25 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
45 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
125 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
37 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
178 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
69 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
23 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
172 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
493 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
83 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
303 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
430 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
139 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
76 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
205 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
195 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
261 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
91 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
318 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
2k 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
711 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
138 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
215 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 ...
0
votes
2answers
6k views

Ethernet nodemcu

I have a question that might be a #noob question but I am wondering if there is a board similar to the nodemcu in size that runs arduino code but instead can use ethernet to connect to the network ...
0
votes
1answer
40 views

Ethernet socket impedes adding shields

I just bought a KEYESTUDIO W5500 Ethernet Arduino without realizing that the Ethernet socket on the board impedes adding any additional shields to the device because: Horizontally the socket runs ...
0
votes
2answers
2k views

How to store an RFID tag number in a string

I want to send RFID tag number to PHP page. So far I have sent a fixed string to php and it worked, now I am not getting data in string when i scan rfid tag. I want to store every RFID tag number in a ...
0
votes
0answers
124 views

Directly connect Arduino to Macbook over Ethernet

I am trying to connect my Arduino to my MacBook over ethernet via a thunderbolt-ethernet dongle. However, I am unable to access my Arduino over Ethernet. The problem is very similar to one mentioned ...

1
2 3 4 5 6