Questions tagged [networking]

For question related to environment with networks.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

ESP8266 constantly crashes in malloc-related “check_poison_neighbors(unsigned short)” when networking happens

My project involves a bunch of peripherals, but most importantly for this project, a request to an NTP time server is done using the standard NTPClient library. Suddenly, after modifying some ...
0
votes
1answer
33 views

I can't run shell commands on Linux through AVR sketch (Arduino Yun)

I'm a little confused with some Process.h methods. I'm trying to run the command "nc 192.168.1.15 9911" to the Linux processor through a sketch. The appropriate netcat listener is waiting on ...
0
votes
0answers
34 views

how to set up an ESP8266 as a webserver

I would like to set up an esp8266, connected arduino as a webserver, specifically, one that has its own IP, and is stand alone, not connected to other networks, and offers its sensor info as the ...
0
votes
2answers
41 views

Getting external data to the Arduino

I have a new Uno R3, it's pretty cool and I've enjoyed playing with it. Now I want to build a couple of things: 1) a market price LCD tracker. 2) a servo motor type thing to open my electric gate. ...
0
votes
0answers
22 views

Read the respiration data to Arduino serial console

Currently working with ADS1292rShield library. Is there any way to read the value of the respiration and heart rate without using the Protocentral GUI. Printing DataPacketHeader to the console just ...
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
1answer
59 views

Low power error with serial connection

So I want to create an application where I can send data with a SIM-Module, and when it's not needed it should fall into a "standby-mode" because it's battery powered. But I always get this exact ...
0
votes
0answers
25 views

Data transfer unit (DTU) compatible with Arduino

I want to connect my arduino to the internet via 4G. I tried it with an MKR-GSM 1400 but it didn't really work. So I think the quickest solution for me right now would be to buy a all-in-one data ...
0
votes
0answers
366 views

ESP32 CAM sending a file via POST method

I'm using HTTPClient.h for sending the image file that taken by ESP32-cam, but it sends just headers. the important part of code : File fsUploadFile2 = SPIFFS.open("/picture.jgp", "r"); ...
1
vote
0answers
178 views

How to parse data most efficiently coming through mqtt with ESP8266

I am writing a program that is currently set up like so: Python script running on my computer. Raspberry pi is the broker for the mqtt data transmission An ESP8266 is programmed to listen to/...
0
votes
0answers
94 views

What the best way to connect an Arduino to 3G/4G

I want to make a connection to the mobile data network with an Arduino in an area with low signal quality. For this I already bought a better antenna and I am using a simcard wich is open to every ...
0
votes
1answer
181 views

Udp.endPacket fails

I am trying to send measurements over UDP, but the function Udp.endPacket continuously fails. I use an Arduino Uno WiFi rev 2, WiFiNINA library version 1.4.0 and WiFiNINA firmware version 1.2.1 which ...
0
votes
0answers
463 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. ...
0
votes
0answers
39 views

How can I control a slave ESP8266 from a local server and also from another ESP8266?

I have a power strip with a ESP8266 which is supposed to turn it on upon command from a OpenHAB server, or to stay on for a predefined time upon command from another ESP8266 (serverless). The reason ...
0
votes
0answers
43 views

I got a problem in sending voice file

I wrote a code that can send a file. If I send a text file it will work perfectly, but when I try to send voice it will send the whole file form the Sender side, but in the receiver side he won't ...
0
votes
1answer
282 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
93 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
votes
3answers
87 views

Image Processing

I have a project I am working on where I need to check the pressure on a gauge using a camera. I am familiar with a little openCV programming using a laptop webcam. However, for this application, I ...
1
vote
1answer
45 views

Connecting NodeMCU through internet [closed]

I have a NodeMCU and a website (free website domain provided by http://www.hpage.com) and I have to send and receive some data (suppose a 8bit number) from the website to the NodeMCU via internet. The ...
-1
votes
1answer
481 views

NodeMCU Ping working on one but not another

Update 2: Have tested by pinging various devices on different subnets / vlans and did a pcap on the wifi AP I can see the icmp requests going through for each request except for ones on the 4.x subnet,...
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
1answer
493 views

ESP8266 Peer to Peer with AP and STA - Cache AP Clients, Flush Their Requests?

I'm fairly inexperienced with Arduino and entirely new to networking, so bear with me. I've programmed a couple of NodeMCU devices to communicate the use of an instrument via activation of an LED. I ...
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
1answer
1k views

Secure HTTPS request fails 90% of the time

I'm using a NodeMCU, which is connected to an enterprise network at a school. The information given in the GET requests that the ESP8266 sends is sensitive, so naturally we want to make it secure and ...
1
vote
2answers
444 views

Can client IP address be obtained from Arduino Ethernet2 library for W5500 during client.connected() call?

I've found posts explaining how to get client IP by modifying the W5100 Ethernet library and the Adafruit CC3000 library but not the Ethernet2 lib for W5500 chip, which is different enough that the ...
0
votes
1answer
149 views

Regain WIFI connectivity

I wrote a code to be implemented in a SONOFF device (ESP8266 chip). My question is regarding disconnection due to failure/ power fail in wifi network - when such event happens, does wifi connectivity ...
0
votes
2answers
267 views

Can I control a Arduino from an apache server? [closed]

So I have a PC running a few services for my house. I'm trying to automate my home a little and would like to control various things in my house. Is it possible to control an Arduino from my HTML ...
0
votes
1answer
2k views

Every so often ESP8266 hangs… WifiClient seems to be at fault

This code works fine without any freezes: #include <ESP8266WiFi.h> #include <Servo.h> #include <WiFiClient.h> #include <ESP8266WiFiMulti.h> Servo turn; ESP8266WiFiMulti ...
0
votes
0answers
131 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
vote
1answer
223 views

Multiple node network communication over I²C [closed]

I am working on a project where I want to send data from and to different Arduinos on a network. At the moment I²C seems the best option for my needs since I can specify where to send the data. But ...
0
votes
0answers
100 views

Set up mesh network with RF Transceivers

I would like to set up a mesh network of Arduinos with the following features/capabilities: No master node Arduinos capable of bootloading other Arduinos through RFs Capable of communicating over TCP/...
0
votes
1answer
674 views

ESP8266 cannot create TCP connections to this particular server

EDIT: I have created an issue about this here: https://github.com/esp8266/Arduino/issues/4593 I have this server: 185.205.210.197 (Check that it works: http://185.205.210.197/) And I have this code ...
0
votes
1answer
249 views

Peer to Peer using Ethernet Module

I'm beginner here at arduino stuff. i just started learning arduino and i have this small homework where i NEEDED to connect 2 arduino using ethernet shield or module ONLY over a distance of 20 meters....
0
votes
4answers
149 views

ESP8266 networking [closed]

I am new to IoT. I have been reading articles to connect IoT sesors and updating data to Server. I want to connect 7 water pump stations ( all in different locations, and distance between each of ...
1
vote
0answers
59 views

Problem communicating with ENC28J60

I want to send/receive strings to/from an ENC28J60 via a C# application. I used my own "protocol" to do this. For example I send "" to Arduino and it replies with a string containing temperature ...
1
vote
2answers
5k views

Finding ESP8266 in a network

I am connecting an ESP8266 to my home network (WiFi). After successful connection, an IP is assigned to it. I am sending commands to the ESP8266 from an Android app. What can I do to find the ESP8266 ...
2
votes
2answers
1k views

Is there a way to update Arduino uno Over The Air [duplicate]

I have the Arduino uno with a Ethernet W5100 Shield and would like to remotely sketches. Is there a way to update Arduino uno over the air? If not, is there a wired network arduino solution that ...
0
votes
0answers
386 views

Wifi radio with an Arduino

I've done a Wifi radio with a headless Raspberry Pi in the past (connecting a radio MP3 stream available on internet directly on boot, without any user input), and now I'm wondering: would it be ...
1
vote
3answers
341 views

Can you connect more sensors of the same type to a single board while not using up more pins than if you were to use a single sensor?

I'm as new as you can be at Arduino programming and specific electronics, so I don't even know if I'm asking the correct question. I've ordered an Arduino a breadboard and some PCBs and now I'm ...
0
votes
1answer
4k views

My Arduino Ethernet shield is not working

Actually I'm using a W5100 Hanrun HR911105A 16/02 Ethernet shield with an Arduino Uno (original). I tried this code from the examples: #include <SPI.h> #include <Ethernet.h> // Enter a ...
0
votes
1answer
3k views

Error 400. The request has an invalid header name ESP8266 (HTTP-POST)

I'm trying to send a http post to my server from an esp8266-Wifi (I use the ESP8266 library) I check all my http post format, and I guess is okay... but at the response, the monitor serial answer me ...
0
votes
1answer
293 views

WiFi connections being lost on connection reset

Look at the trick in the last few lines of this code: #include <ESP8266WiFi.h> const char* ssid = "xxxxx"; const char* password = "yyyyyyy"; // Create an instance of the server // specify the ...
0
votes
1answer
491 views

Best way to send text to ESP8266 remote display

I need a remote display to show information sent via WiFi from another ESP8266. What needs to be sent is a string along with some variables, for example a string to be displayed along with two ...
2
votes
2answers
6k views

List of connected clients to server

I have a server on my arduino (WiFi) and want to save the clients that connect, so that I can send to them (to each separately) data later. Is the best data structure a linked list? How can I see if ...
1
vote
1answer
2k 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, ...
2
votes
1answer
911 views

2G/3G vs 4G/LTE Cell Connectivity for Sensor Prototype? [closed]

Would love any advice on Arduino cell connectivity. From what I understand: 2G (GSM/GPRS) is a dying technology. AT&T is shutting down its 2G network on Jan 1, 2017. 2G (CDMA) will have a longer ...
-1
votes
2answers
110 views

MAC address arduino

The MAC address is hardwired onto the NIC card when a device is manufactured. How is it that, we get to set a 48 bit MAC address of our choice while programming the arduino ?
2
votes
3answers
809 views

Arduino Mega 2560 + ESP8266 Problem with GET Request

I have an ESP8266 module connected to my Arduino Mega 2560. My goal is to send a GET request as below to the network: api.pushingbox.com/pushingbox?devid=vEB39F555B1B8295?tempData=cabbages If that ...
0
votes
2answers
5k views

Cannot ping ESP8266's IP address from a computer on the same network

I have an ESP8266 module connected to my Arduino Mega 2560. I sketched a simple code to pass whatever command I typed from the Serial Monitor to ESP8266 and vice versa: void setup() { Serial.begin(...
0
votes
1answer
205 views

where does access point's IP address come from for sketch AP_SimpleWebServer.ino in Github WiFi101 examples

I don't understand where the access point's IP comes from. Sketch uses WiFi.beginAP( ssid ) ..to start the AP. Then, printWifiStatus() gets the access point's IP with: IPAddress ip = WiFi.localIP();...