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.

60 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
864 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 ...
3
votes
0answers
186 views

Uno Ethernet shield and TMP36 reading

I am just getting started with my Uno via the Vilros Ultimate Starter Kit. I've done all of the sample circuits and played around with a few other things. Today I connected the Ethernet shield with ...
2
votes
0answers
109 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 ...
2
votes
0answers
158 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
228 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 ...
2
votes
0answers
2k views

Sending data from webserver to Arduino

Hello Arduino enthusiasts! I've been working on a keypad lock system for school lately and I need some advice.Basically, my code checks if the entered passcode is the same than a predefined passcode ...
2
votes
0answers
222 views

LED Webserver control not working

I've got an Arduino Uno and Ethernet shield, trying to test it out with a simple on off switch for the on-board LED. My Code is this // FILENAME = LED2.ino // SOURCE= http://www.instructables.com/id/...
2
votes
0answers
450 views

SPI communication between two Ethernet Shields (W5100)

I am a newbie to the world of IoT, I want to ask... Is it possible to connect two Ethernet shields with SPI? And if yes, how can I codes them? I have reference from http://www.gammon.com.au/spi and ...
2
votes
0answers
212 views

Web Page doesn't load when data is being received from Xbee

I have an Arduino Mega I am using as a simple web server. Right now the web page is two simple lines of text. There is an XBee radio attached to the unit to receive data from another unit. However, ...
2
votes
0answers
619 views

Slow response from ENC28J60

I am making a circuit which turns a LED on and off through internet. I am connecting an Arduino to a LED and to an Ethernet controller(ENC28J60), but when I make a GET request to the device, it takes ...
2
votes
0answers
351 views

which Arduino UNO ethernet shield supports power over ethernet?

I ordered for this ethernet shield for my UNO as shown on the amazon website listing I was thinking to add power over ethernet module to take advantage of shield that supports adding POE module. . ...
2
votes
0answers
299 views

Ethernet module ENC28C60 doesn't connect to internet when DHCP on router is disabled.

Update: Examples from library are working if DHCP is enabled! Using this library I try to connect with static IP but it always say DNS failed. Ethernet module is blinking that means is good ...
2
votes
0answers
208 views

EthernetClient: HTML table isn't being fully populated

I have the following code below for an EthernetClient named client. It is supposed to print a 2 row, 9 column table. The headers are ID and Name and are the first cell in each row. The other columns ...
2
votes
0answers
121 views

Resend data traffic from an Arduino

I have an Arduino with an Ethernet shield and I want to capture all Ethernet data traffic that connects to the Arduino via [as?] a router. This is because I want to use the Arduino like a honeypot and ...
2
votes
0answers
317 views

WebClientRepeating not printing response to Serial

I'm following the tutorial in WebClientRepeating and it says that "The content of the page is viewable through your Arduino's serial window." However the output in my Serial window is just saying "...
2
votes
0answers
641 views

Problem related to Arduino ip address

Can anyone explain to me why my output ip is: 15.16.17.18? I configured my addresses as follows: Arduino : gateway 192.168.1.1 ipaddress 192.168.1.8 subnet 255.255.255.0 My local network: gateway ...
2
votes
0answers
393 views

Problem using Adafruit nRF8001 (BLE) with Ethernet module on Arduino Nano

I'm working on Arduino Nano and I have to use both the Bluetooth LE module Adafruit nRF8001 and ENC28J60 Ethernet module using Ethercard The idea of the project is to receive data from smartphone via ...
2
votes
0answers
266 views

Suggest some ways to communicate (Rx and Tx) between Arduino and LabVIEW through Internet

Suggest Hardwares to use and also suggest some place to learn about IoT, video tutorials, websites, blogs, books etc. Currently I am using Xbees to communicate between LabVIEW and Arduino Mega. Most ...
2
votes
0answers
288 views

Arduino nano (clone) with ethernet shield only works when I open up serial monitor

#include <EtherCard.h> static byte mymac[] = { 0x7A,0x69,0x69,0x2D,0x30,0x31 }; byte Ethernet::buffer[500]; static uint32_t timer; const char website[] PROGMEM = "x0201g2.cloudapp.net"; ...
2
votes
0answers
268 views

Problems when communicating with SD card using ethernet shield

I am using the "SD read/write" code from the Arduino IDE examples to test an ethernet shield (clone). The problem is that although a file is created no data is stored in it. When running the serial ...
2
votes
0answers
558 views

Arduino uno RF transmitter and receiver, MYSQL

i tried to connect my arduino uno and ethernet shield with Mysql and everything works fine. Then I tried to connect the RF transmitter and receiver. I use a similar code, but i have problem with ...
2
votes
0answers
90 views

error C1083: Cannot open include file: 'Ethernet.h':

i'm trying to compile native code in VC++ using galileo sdk for windows iot. I've copied Ethernet.h file to the include directory of D:\galileo-sdk-develop\galileo-sdk-develop\source> but still ...
2
votes
0answers
533 views

Arduino Uno WebClient program not returning the exepected output

I have connected the Ethernet Shield to the Arduino Uno Board and do get the following error when I execute the WebClient program. Look like it's getting connected to the internet, because I am ...
2
votes
0answers
114 views

Best way to process data received by EthernetServer

I have a program where the Arduino acts as an Ethernet Server. The client continuously sends packets which is of the following format Start Byte=0x7E; Some Data/Command Bytes; //Can be of ...
2
votes
1answer
2k views

Ethernet shield and sd card not working togather on arduino mega

I am making a web-client with an Arduino mega and Ethernet Shield. I am trying to receive data from a web-server running a php script and saving that data to the SD card located in the Arduino ...
1
vote
0answers
46 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/Ethernet@0.0.0-...
1
vote
0answers
47 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 ...
1
vote
0answers
109 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 ...
1
vote
0answers
67 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 ...
1
vote
0answers
44 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 ...
1
vote
0answers
38 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 ...
1
vote
0answers
35 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, ...
1
vote
0answers
62 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
0answers
54 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 ...
1
vote
0answers
107 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
178 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 ...
1
vote
0answers
35 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
0answers
1k 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
103 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
456 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
0answers
126 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 ...
1
vote
0answers
48 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 ...
1
vote
1answer
172 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
vote
0answers
180 views

Cannot connect to database Ethernet Shield

I am using an LDR sensor to store its readings into the database. My code is as follows: #include <SPI.h> #include <Ethernet.h> const int ledPin = 13; //the number of the LED pin ...
1
vote
0answers
688 views

Reading values from Wiznet w5500 chip over SPI

I am trying to get the MAC address that is stored on the Wiznet w5500 chip. On page 29 - click here, it has the address of the values. It state that "This block can be selected by the BSB[4:0] value ...
1
vote
0answers
957 views

Minimal ATmega328p Ethernet Configuration

What would be minimal schematic for ATMega328P in order to have communication over ethernet? So I'm not asking about attaching existing shields to existing Arduino board, but just for bare minimum of ...
1
vote
1answer
116 views

GET the first result in HTTP request

I have a String content="" and if I put an HTTP request like this: client.println("GET /api/actions?parking_id=39 HTTP/1.1"); client.println("Host: ramp-rampcontrol.rhcloud.com"); client....
0
votes
1answer
171 views

communication between two arduinos using ENC28J60?

How can i connect and send data between two arduinos using a ENC28J60 ethernet adapters on both of them. Is there any guides or example codes for me to take a look from or any library which i can use ...
0
votes
1answer
103 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-...