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
934 views

what pins are attached to ethernet shield SD card?

I have ARDUINO ETH SHIELD 06 - Rev 03. https://www.adafruit.com/product/201 what pins are attached to Ethernet shield SD card?
0
votes
1answer
382 views

Why my Galileo isn't getting a IP address?

I have an Ethernet cable connected to my router. I connected the other end to my laptop and got a successful connection. When I plug it into my Arduino Galileo gen2, even with Ethernet port green ...
0
votes
1answer
165 views

POE with Arduino Leonardo Eth

I recently purchased a Leonardo Eth and a 5v POE module in an attempt to have a POE micro-controller. I installed the module in the holes closest to the Ethernet jack side of the board, but when I ...
3
votes
2answers
1k views

Connect Arduino Uno to video camera's web Server via Ethernet (not working)

I work with cameras in the film and TV industry. A project I have just started tinkering around with is building an Arduino Uno-based box that would automatically collect the metadata (settings, etc.) ...
0
votes
1answer
1k views

Ethernet Shield - Multiple simultaneous connections cause TCP reset

I have a very inconvenient problem with a web server I'm writing for a Arduino Mega 2560 with a W5100 Ethernet Shield (with the "official" Ethernet lib). I wrote the server code and it works like a ...
0
votes
1answer
234 views

Arduino for push notifications to phone

I'm interested in using an Arduino for a project for taking information and sending it through a phone application. I was wondering what the cheapest option there is for an arduino with internet ...
1
vote
0answers
685 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 ...
0
votes
2answers
454 views

Connect my Arduinos to central server, despite different IP adresses

Community, A team of friends just built, with an Arduino UNO, a system where one can open a door lock from the internet. The Arduino UNO has an Ethernet Module (ENC28J60). When the command prompts, ...
0
votes
1answer
782 views

Arduino Uno Wunderground weather station - Ethernet connection failed

I'm new to Arduino. For my first project, I've decided to build a weather station where data is collected via sensors and is then sent to Wunderground. I'm using an arduino uno, an ethernet shield as ...
1
vote
0answers
956 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 ...
0
votes
1answer
824 views

Arduino connection websocket always fails

I am using the Arduino Websocket Client library to connect my Arduino Uno to a Socket.IO server. But the connection always returns 0 (fail) after the handshake. Anyone has used this library before? ...
2
votes
1answer
76 views

How can I make this code read a page every 10 seconds?

I got problems with the code and I have used most of today, trying to find a solution and it's starting to drive my crazy. I hope one of you guys will be able to help me out. I need the code to check ...
2
votes
2answers
9k 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 ...
0
votes
1answer
733 views

Arduino Mega web server always returning JSON data even if JSON is not passed in URL

I am trying to return JSON data if JSON is found in the HTTP header, and if not I am trying to display a normal page. But instead it always displays the JSON text, even if I do not pass the JSON in ...
2
votes
1answer
633 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
2answers
4k views

Couldn't connect to local server using Ethernet Shield and Arduino Mega 2560

I'm trying to connect the arduino mega and ethernet shield and try to send some data to a php script. I have connect the ethernet shield to the laptop. Lap is connected to router through wi-fi. Any ...
1
vote
1answer
3k views

Why doesn't the Ethernet W5100 shield work on Gigabit switch?

I have an Arduino Uno with an Ethernet Shield based on the Wiznet W5100 chipset : It worked like a charm until I had to move it to another location and plugged it to a Gigabit switch. I had no link, ...
0
votes
1answer
26 views

Arduino Disconnects after router password changes

I am working with arduino Uno R3 connected with EPS8266(http://www.amazon.in/ESP8266-Serial-Wireless-Transceiver-Module/dp/B00O34AGSU?tag=googinhydr18418-21&tag=googinkenshoo-21&ascsubtag=...
0
votes
2answers
4k views

Reading values from SQL Arduino ethernet

I'm about to do this project where I will make some lights flash up depending on some values that are in an SQL database on a server. I have already bought my Arduino and waiting for it to arrive. But ...
0
votes
1answer
772 views

Why do I get access denied when I do have mysql root user added to grant all privileges?

I am using the below mysql example sketch to upload data directly to mysql db. #include "SPI.h" #include "Ethernet.h" #include "sha1.h" #include "mysql.h" /* Setup for Ethernet Library */ byte ...
0
votes
2answers
519 views

Cannot run arduino as web client

I have ethernet shield mounted on arduino mega, I am able to run it as server but when i try to run it as client it doesnt work , most of the time it assigns itself 255.255.255.255 ip address which i ...
-1
votes
2answers
4k views

Arduino using Ethernet shield WebClient example code is not working

I'm using an Arduino Uno and Ethernet shield with the WIZnet chip W5100. The WebServer code example is working. DHCP is working, the Ethernet shield is receiving an IP address from the Linksys modem "...
0
votes
1answer
644 views

Code won't read the first line from SD

The general idea I would like to target a link with certain parameters, which would trigger a force download of a txt file, to an SD card. Next, I'd like to loop through that file, and read one line ...
2
votes
0answers
210 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, ...
-1
votes
1answer
3k views

arduino web client uploading data to mysql database

I have got this quick sketch that post data to mysql db using php add.php module. #include <SFE_BMP180.h> #include <SPI.h> #include <Ethernet.h> #include<dht.h> dht DHT; // ...
1
vote
2answers
79 views

The easiest and most time efficent way to connect to the internet regardless of the cost

I am working on my graduation Project. I want to use the cayenne (mydevices) platform to control my Arduino. Mainly I want to be able to control a servo Motor through the Cayenne app and I want to use ...
1
vote
0answers
45 views

Getting data from web form [duplicate]

I am using an EthernetServer and EthernetClient with Arduino in order to make a simple webpage. I have a web form for a user to enter various codes that can reset data stored on the back end. However, ...
1
vote
1answer
5k views

Arduino Web Server: Receiving response from web form

I am using an Arduino Mega and I have a basic webpage built using EthernetServer for the connection and EthernetClient to write the HTML to the client. I have a simple web form: client.println("<...
2
votes
0answers
618 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. . ...
0
votes
2answers
3k views

Ethernet shield not working

I have an ethernet shield on an Arduino Mega 2560. I am running the code below. This is a slightly modified version of the DHCP ip printer example, namely I am setting a static IP instead of DHCP. I ...
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 ...
0
votes
1answer
400 views

Getting an error while uploading a code to the Arduino when ethernet shield is attached

I bought ethernet Shield today and connected it to Arduino Uno, now when I try to upldoad I get the following error, however if I remove the shield from the UNO it works fine. Sketch uses 10,486 ...
0
votes
2answers
4k views

W5100 Ethernet Shield to Custom Board Problem

I've been using an Arduino Ethernet shield and an Arduino Mega in my project, but now I'm trying to migrate all the components onto my own PCB. My board uses a W5100 same as the Arduino, but nothing ...
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
2answers
909 views

Arduino uno - Ethernet Shield enc28j60 hangs after some time

I am using Ethernet Shield enc28j60 for retrieve data from web server, but Ethernet Shield enc28j60 hangs after some time and it only works after restarting power supply (router usb port). My sketch :...
2
votes
1answer
1k views

Control Arduino through ethernet. How to contact from outside network and securely

I'm new to Arduino so please bear with me if my question is too simple or broad (I did try and research it) or guide me if it belongs elsewhere (networking forum?) I would like to be able to control ...
2
votes
1answer
946 views

How to correctly serve a webpage from an SD card

It's been days that I'm trying to figure it out how to edit this perfectly working code in order to load load a webpage from the sd card. #include <SPI.h> #include <Ethernet2.h> byte mac[]...
2
votes
2answers
661 views

Trouble reading LM35 with long (?) Ethernet connection

I have a quick question to ask. I have an Arduino Uno reading 4 temperature sensors (LM35) in 4 different rooms. What happens is that the two nearest rooms give stable values, while the two further ...
1
vote
1answer
2k views

Can't connect to my Arduino via W5100 Ethernet shield

I recently bought a W5100 Ethernet shield and I'm trying to run this simple example, which is a little improvement of the basic WebServer sketch provided by Arduino.cc #include <SPI.h> #include ...
0
votes
2answers
3k views

dns lookup only works with DHCP and not with static setup (EtherCard library)

When I use DHCP with ether.dhcpSetup() the DNS lookup for NTP ether.dnsLookup("0.pool.ntp.org") works fine, but when I use a static setup (because my Android app needs to know the IP address) with ...
2
votes
4answers
369 views

Arduino Accessing a web page

Folks, I want to use my arduino with ethernet shield to access the following webpage "http://www.met.ie/forecasts/sea-area.asp" and take some information. On the website it has a line "Small Craft ...
0
votes
1answer
281 views

What if I just connect 5V DC to my UTP?

Here is the image of Ethernet shield near RJ45 socket: These small boxes are probably SMD capacitors which may mean, that internal board is glavanically disconnected from the UTP line. Is this true? ...
0
votes
2answers
1k views

EthernetUdp2 does not name a type

I'm using arduino Ethernet shield 2 form arduino.org and the arduino IDE 1.7.10 also from arduino.org the code is : #include <Dhcp.h> #include <Dns.h> #include <Ethernet2.h> #...
1
vote
1answer
650 views

MySQL Connector/Arduino insert data from row into an array

I'm new here. These days I have been working with the MySQL Connector/ Arduino library. So, my problem is how can i retrieve a rows data so as to enable an output. I have written some code, which was ...
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 }; ...
2
votes
1answer
855 views

HTTP Post not working

I am wanting to POST some data from Arduino to WebService (written in .NET), intending to save some temperature data to MS SQL Server. My code in arduino is: void PostarDados(String dados, String ...
1
vote
1answer
1k views

Webserver on Arduino: How to 307 temporary redirect

I originally asked this question. Regarding a webserver Refresh issue on arduino. I am totally new to web development and ethernet. The answer from @Majenko is correct, but I do not understand how ...
1
vote
1answer
3k views

Webserver on Arduino: Refresh issues

I am using W5100 Ethernet Shield Network Module with arduino Uno as a webserver to trigger four relays connected to it. The relays may be toggled through the four buttons attached to it physically, ...
0
votes
1answer
626 views

Using Arduino Yún to send data through Ethernet

I'm still new to Arduino Yún and I can't find any tutorials or examples on making the Yún send data through Ethernet, which will then be showed on a web server. I've seen other tutorials but they use ...

1 2
3
4 5
7