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
45
votes
11answers
9k views

Is an Arduino capable of running 24/7?

I'm making a simple Arduino web server and I want to keep it turned on all the time. So it must endure to stay working continuously. I'm using an Arduino Uno with a Ethernet Shield. It's powered ...
31
votes
6answers
48k views

How to get HTTPS on Arduino?

Put plainly: is there a way to get an HTTPS connection on the Arduino? I have been looking in to it, and I have found it is impossible with the standard library and the Ethernet shield, but is there ...
12
votes
1answer
2k views

Internet connectivity for the Arduino Due using AtmelStudio?

What hardware and software solutions work and what are the tradeoffs for connecting an Arduino Due to the internet? I gather the ethernet hardware is much cheaper than WiFi hardware (€29 versus €69). ...
10
votes
2answers
774 views

Arduino Uno R2 and Ethernet Shield R3 compatibility

I bought an Ethernet Shield R3 for my Arduino Uno R2, but since R3 has extra pins it does not fit. Can I use the shield? Should I cut off the extra pins. What do I need to do to make it work?
9
votes
4answers
7k views

How to interconnect multiple Arduinos with a Rpi to control home-lights/switches

While planning the lightning infrastructure (wall-switches and lights) of my new home (it's still under-construction) I choosed to go through the "automated route" way and due to my background (I'm an ...
7
votes
3answers
922 views

Multiple SPI device

I want to connect Ethernet board (W5100 HR911105A) to Arduino Leonardo with SPI and I also want to connect SD reader. When I test these boards separately everything working. But when I connect them ...
6
votes
2answers
552 views

Webserver on Arduino

How can I run a webserver in a Arduino Uno? I want to use my Arduino to monitor things in my home such as temperature. I want to be able to access this data through the internet.
5
votes
2answers
665 views

Is the arduino hackable when using communication shields?

Let's say I have an arduino Uno connected to a W5100 ethernet shield. The arduino communicates with the ethernet shield using the tx0 and rx0 pins. When I upload a new script to the arduino using USB, ...
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 }; ...
5
votes
2answers
5k views

What's the difference between different Ethernet Shields?

I am working on a project with Arduino and I need an Ethernet shield. but after searching in some electronics shops I found there isn't only one but a lot. I don't know which one is better and what ...
5
votes
1answer
337 views

Disconnect Ethernet Shield

I'm trying to use the Ethernet Shield and the EasyVR (voice recognition) together. The Ethernet shield uses the same pins that the EasyVR, but the easyVR works fine if I don't call Ethernet.begin(). ...
5
votes
1answer
4k views

How to disable Arduino Yun to work as Access Point and set it to work as needed?

I am using Arduino Yun and I would like to disable it to work as Access Point. That is, I don't want that it is displayed in the list of available networks. Then I would like to set and use it (...
5
votes
1answer
668 views

Uno with LCD acting strangely - power issue?

I've got a Uno (Elegoo UNO R3) running with - Ethernet shield (Kuman K15), - 4 relay board (Elegoo 4 Channel DC 5V Relay Module with Optocoupler ) - Matrix Orbital 2041 LCD connected via I2C (11mA ...
4
votes
5answers
11k views

MQTT client on Arduino + SIM900

I have used the pubsubclient library for Arduino for communicating with an MQTT broker in the past, however the library works only with Ethernet connecction. I need to use GSM in my application and am ...
4
votes
0answers
5k views

Arduino Ethernet shield server and client at the same time

Hardware: Arduino Mega 2560 Rev3 Ethernet Shield Rev3 A sensor Goal: Take value from sensor, upload it to ThingSpeak. Host a web page on the Arduino. Question: I've done both things in the past. ...
3
votes
2answers
4k 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. ...
3
votes
2answers
512 views

Help putting an Arduino project on the Internet

I'm working on quite a big project and I need few advices. Basically, Arduino will be receiving data (Strings) and will work with it. No problems with that, but I don't know what to do with receiving ...
3
votes
5answers
7k views

Arduino communicating back and forth with PHP server

I am researching to find the best method to work with in order to control the arduino from a web interface (hosted on a web server using PHP) and also sending data from arduino to webserver and save ...
3
votes
1answer
551 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 ...
3
votes
2answers
3k views

PHP/My SQL Database -> to Arduino Serial Monitor

I'm using this domain http://www.decathlon.commonarchitecture.ca/ to host my phpmyadmin database and php code. I would like to read a specific column of the database in the serial monitor, displaying ...
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.) ...
3
votes
2answers
2k views

Wired IoT sensor network with PoE?

Objective: Maybe I'm a bad Googler, but I am finding very little on wired Internet of Things sensor networks using Arduino. Project Goals: Arduino based sensor nodes that connect to the local ...
3
votes
1answer
76 views

Read information from Twitch's API and execute actions depending on the output

i'm trying to create a display that notifies me when someone goes live on twitch. I need to acess the API and check if the 'stream' object is null or not. Then, perform an action depending on this. ...
3
votes
1answer
1k views

USB mouse/keyboard passthrough feasible?

I'm looking to achieve the following: USB HID Mouse (or Keyboard) -> [ Arduino device ] -> PC | `-> Internet ...
3
votes
1answer
4k views

What are the parameters of the browseUrl() callback in the Ethercard library?

I'm reading a code that uses Arduino as a webclient and when he tries to catch the info from the site, he uses a callback with the following parameters: static void response_callback (byte status, ...
3
votes
0answers
58 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 ...
3
votes
0answers
199 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 ...
2
votes
1answer
940 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 ...
2
votes
2answers
2k views

Is it possible to read VGA with an arduino

In this forum thread on arduino.cc http://forum.arduino.cc/index.php?topic=107375.0 they talk about it not being possible to get 800 x 600 video in color with the arduino. My case is a bit different: ...
2
votes
1answer
1k views

Arduino two Ethernet shields

Is it possible to connect two Ethernet shields to arduino? And if yes, how can I distinguish them in the code?
2
votes
1answer
32 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 ...
2
votes
2answers
5k views

Compilation Error: “cannot declare 'client' to be of abstract type 'Client'”

I know, it isn't my original code, but I'm using this for a larger project that I am currently working on. I keep getting this error message: "cannot declare 'client' to be of abstract type 'Client'". ...
2
votes
3answers
2k views

Ethernet shield/WebServer problem: 'server is at 0.0.0.0'. Any suggestions how to debug it?

Ethernet shield problem. When running the WebServer example sketch, the Serial Monitor shows that server is at 0.0.0.0. Any suggestions how to debug it?
2
votes
2answers
1k views

W5100 Ethernet shield DHCP fails with a Switch

we are using Arduino W5100 Ethernet shield. The code is to try DHCP first and if that fails, then try the static IP. we do the Ethernet Initialization and stop every time. The library is Arduino ...
2
votes
2answers
574 views

Arduino hangs after less than a minute, but not on USB

I have arduino uno + ethernet shield + 9V/200mA adapter. I am trying to send some data with HTTP connection. When it's connected to USB it works perfectly, but when I plugged out USB, hangs (after ...
2
votes
3answers
1k views

Using Browser window to display sensor values in realtime [closed]

The title pretty much says it all: What would be the most obvious way to setup the Arduino (shields?), the Sketch (libraries?) and PC (webserver, ajax, plain html?) so that I get the following system ...
2
votes
2answers
65 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) ...
2
votes
4answers
357 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 ...
2
votes
2answers
11k views

Connecting ethernet shield to computer

What configuration settings do I need to change on my computer to use the ethernet shield mounted on my Arduino UNO as I don't want to connect the ethernet shield to the router?
2
votes
1answer
3k views

Possible to create IP-to-USB HID (keyboard) device using Arduino?

Is it possible to create an IP-to-USB HID (keyboard) using Arduino? I'd like to connect an Arduino to my network using Ethernet, and then send it commands using TCP/IP and have those commands ...
2
votes
1answer
810 views

Saving byte array in PROGMEM instead of SRAM

For an ethernet project I do, I need to store the Ethernet Shield's MAC address. I store it like that: byte mac[] = { 0x90, 0xA2, 0xDA, 0x0F, 0xE1, 0x85 }; That works OK, but in my project I need ...
2
votes
1answer
1k views

micro arduino and w5100

I would like to ask if it is possible and how to connect the following module http://www.ebay.com/itm/TOP-Mini-W5100-LAN-Ethernet-Shield-Network-Module-board-for-Arduino-Best-NEW-/251981053942?pt=...
2
votes
1answer
3k views

Arduino Ethernet Shield: May I connect it to a PC connected to the internet via wifi?

I have an Arduino Ethernet shield. May I connect it to a machine that´s connected wirelessly to the internet in order to get the arduino into the internet? Or do I need to connect it only to a ...
2
votes
1answer
728 views

Ethernet shield programming

This is first time programming with Ethernet shield . I want to test the web server application with my Arduino. I have an Arduino Uno, Ethernet shield, and a potentiometer. Below code being uploaded. ...
2
votes
1answer
2k views

Send HTTP request from Arduino Ethernet to server on PC

I am simply trying to send a simple HTTP request from an Arduino Uno with w5500 Ethernet Shield to a local server running on my PC. The two are connected via a crossover ethernet cable and I am able ...
2
votes
1answer
68 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
8k 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 ...
2
votes
1answer
875 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
565 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 ...
2
votes
1answer
728 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
2 3 4 5
7