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
1
vote
2answers
923 views

Can a 9V battery be used as a backup power supply (to Arduino Uno) while plugged directly into Vin and ground?

Sorry if this has been asked before, but I've read tons of threads and it seems the answer is only implied on a couple of occasions. I'm an electrical noob, but I understand that a 9v battery ...
1
vote
0answers
115 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 ...
0
votes
1answer
2k views

Ethernet shield or Wifi sheild - Arduino?

To control some LEDs through internet using Arduino UNO, which type of connection is better ? Ethernet or Wifi? (Later, I may connect some relays instead of LEDs, and control (turn on and off) some ...
2
votes
2answers
10k 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?
1
vote
0answers
304 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 "...
1
vote
0answers
630 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
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 ...
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, ...
0
votes
2answers
224 views

How to approach an complex Arduino Uno project (Serial, SPI, Ethernet) in pure C, without libraries?

I have a college assignment where I need to get serial output, the Ethernet shield and SPI communication with other boards to work. We are not allowed to use any existing libraries, though we can use ...
1
vote
1answer
1k views

How to recover from DHCP Renewal and Rebind failures?

I'm using an Ethernet shield with the built-in Ethernet library. I obtain an IP address using DHCP, and call Ethernet.maintain() periodically to ensure that the DHCP lease is renewed as required. So ...
0
votes
1answer
89 views

Interfacing 9-Axes Motion Shield with RPi and WiFi Shield

I recently purchased the Arduino 9-Axes Motion Shield. I have two questions: Q1. The official Arduino page says that the shield doesn't have any external power source and can only be powered up by ...
0
votes
3answers
5k views

Posting Arduino data via ethernet to PHP server problems

I am currently having difficulties sending data from an Arduino using an ethernet shield to a PHP database in MySQL. My problem is that it appears that the server is receiving the data as there is a ...
-1
votes
1answer
330 views

IOt application example Error

I have downloaded code from below linkLink of code. I am trying test code from below. I am getting warning for below code.I couldnot able to find how to sort out #include <SPI.h> #include <...
-2
votes
1answer
140 views

Controlling arduino over webserver

I want to control arduino through Internet without using Ethernet shield. I know there is a way. So can you help me what things I'll be needing for that
0
votes
2answers
4k views

Simple webpage serve with Arduino ethernet shield on SD card

I have been experiment with the arduino uno board from few days but can't seem to make it serve web page stored in SD card of ethernet shield. If I print the contents of the file to serial it works ...
0
votes
5answers
5k views

A simple login page on Arduino Uno

I'm trying to setup home automation system controlled with webpage stored in SD card of Arduino, I was thinking if it was possible to set a login page, only combination of correct user id & ...
0
votes
1answer
1k views

Is there a practical way to broadcast and receive ascii payloads over ethernet or wifi?

How best might arduino nodes pass incoming serial ascii messages out as ascii network broadcasts for all others to receive and pass out through their serial ports? ie: typing a msg from the IDE ...
0
votes
2answers
4k views

MQTT broker and Arduino + Sensors NRF24L01

I am newbie, I have never used MQTT before, so I have some questions. Here is my topology. I have several sensors (Arduino Pro Mini + NRF24L01) and main server/handler(Arduino Mega + Ethernet Shield ...
0
votes
0answers
239 views

Arduino ethernet shield error

As I mention in the title, that when I am trying to upload the code of WebServer to the Ethernet Shield it shows me an error messages. Please if any one can help me to fix it, and here is the ...
1
vote
0answers
381 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 ...
-1
votes
2answers
2k views

Unable to connect Ethernet shield W5100 to localhost

I have an Arduino Uno and a W5100 Ethernet Shield. I am trying to post some data from the Arduino board to the WAMP server running on my computer. I do not have a router so I have directly connected ...
3
votes
1answer
72 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. ...
0
votes
1answer
285 views

Arduino Ethernet intermittently connects to server

Here is my code: #include <SPI.h> #include <OneWire.h> #include <EthernetV2_0.h> #include <EthernetClientV2_0.h> #include <EthernetServerV2_0.h> #include <...
2
votes
1answer
762 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 ...
1
vote
1answer
346 views

Why does Ethernet.begin() require a MAC address when WiFi.begin() doesn't?

I am working on an Arduino application which is dependant on a certain library. This library uses the Ethernet class for network communications, but ideally, I would like it to be wireless (I have ...
1
vote
1answer
70 views

Update code over Ethernet?

I've got an Arduino faithfully monitoring our sewer lift pump. It talks to the world over Ethernet (with PoE). I'm wondering if there is any way to load new code over the Ethernet as well. Any ideas ...
1
vote
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
551 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 ...
-1
votes
1answer
1k views

Ethernet shield reset problems

I know there are multiple threads about ethernet shields not starting properly after power up and that there are versions that don't have those problems. But which versions are okay? Which versions do ...
1
vote
3answers
3k views

Connect ethernet cable wires directly to pins

Is it possible to uncrimp a RJ45 plug and connect the wires directly to the Arduino pins? I guess I'd have to decrypt the ethernet signal then on my Arduino which might not have enough processing ...
0
votes
1answer
842 views

connecting RTC DS1307 to ethernet shield

What is the easiest way to mount DS1307 to ethernet shield? I tried to do this: https://learn.adafruit.com/ds1307-real-time-clock-breakout-board-kit/wiring-it-up but my program just freezes when I ...
-1
votes
1answer
71 views

Control the ethernet shield with Chrome and Safari

I am trying to communicate with ethernet shield. When I enter the IP in Chrome the job is done (simply an LED turns off and on with IP/$1 and IP/$2) but with Safari it is not. Any idea what the ...
1
vote
0answers
257 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 ...
0
votes
1answer
1k views

Arduino with DS18b20 and ENC28J60 to thingspeak

Can anyone help me to make this work? I have been trying for a couple of days to make this work, but no luck. I use a DS18b20 Temperature sensor and an ENC28J60 Ethernet module. The last code that I ...
1
vote
1answer
361 views

Is there something I can use to control Arduinos easily over Ethernet with .NET?

I'm wondering if there's anything out there that maybe works pretty similarly to Firmata, runs on Unos or Megas, and can be controlled over Ethernet. I am writing a home automation system with .NET, ...
1
vote
2answers
178 views

TCP connection CPU usage, multiple signals?

I'm connecting a client (java program) to an arduino (server). What I want to know is, how high the CPU usage is, and what to do if there are no clients that are trying to connect to arduino? Should I ...
3
votes
2answers
499 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 ...
1
vote
0answers
262 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"; ...
0
votes
2answers
318 views

Arduino read from Server periodically

I have an arduino attached with a RGB-Shield. I want to query my server for the RGB values periodically. I basically got it working using the Ethernet Shield but it takes too long to get the value (~...
0
votes
1answer
312 views

Making Laser Tripwire with Phone Messaging

I am looking at Arduino and Raspberry Pi and I want to do a pretty advanced project. I want to make a laser triggered security project that sends a message to either a android or iPhone. First I don'...
0
votes
1answer
719 views

Arduino ethernet shield not responding to every request because it is busy

I have a simple HTTP server that monitors a serial port and responds to HTTP requests by sending the value. The serial port constantly outputs data, so that apart from a brief moment when the device ...
0
votes
1answer
329 views

Arduino W5100 AVR

I'm trying to use a W5100 Arduino Ethernet Shield on a ATMega2560 using avr code. There exists a library written in C, which should work http://www.seanet.com/~karllunt/w5100_webserv.zip from http://...
0
votes
5answers
1k views

Relay doing opposite to digital pin

I have a Arduino UNO with a Ethernet shield which hosts a basic HTML page with a button on it which controls a Relay module. I'm trying to connect to a computer's power button so I can turn it on ...
0
votes
1answer
42 views

Arduino communicate between 2 different router in different location

I am on my final year project in I.T. my project is that i want to create a helicopter or quadcopter with a camera attached to it. And i want to control the copter via wifi from an android phone in ...
0
votes
1answer
42 views

Does Arduino.cc sell the Ethernet Shield?

I can't find more information on the Ethernet Shield. Arduino.cc has docs about it but where do I buy it? Is Arduino.org the sole provider? I've read about the political schism between the two ...
0
votes
2answers
1k views

Json gets corrupted after first HTTP request

I'm a web developer and I started building a small environment logger that will post to my website`s API. I'm really new to this kind of coding so bare with me. Since yesterday, the whole Arduino ...
0
votes
2answers
10k views

How do I connect Arduino directly to MySQL server using the URL?

I started a project with my Arduino Mega 2560 that gets some values from sensors. I'm using MySQL Connector, https://launchpad.net/mysql-arduino, and this library allows me to connect to a server ...
0
votes
1answer
2k views

Connect my arduino with ethernet shield to new router

I just changed the router for my webserver and I'm having trouble to connect my arduino with the LAN. I'm using a router which uses Zhone technology, and I've been working with NetGear for a while ...
0
votes
1answer
657 views

Integrating two Arduino Ethernet libraries in one sketch

I am trying to integrate two different Arduino Ethernet libraries, EtherShield and UIPEthernet in one sketch. EtherShield library is used to control LEDs via Android mobile application. While ...
0
votes
1answer
114 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....