Questions tagged [networking]
For question related to environment with networks.
97
questions
2
votes
4
answers
161
views
How to make better looking webpages on an Arduino webserver?
I have a Teensy 4.1 with ethernet, but I have other networked MCUs like a D1 mini, various esp8266s and Arduino ethernet shields. My question is: how I can make better looking web pages on these ...
1
vote
1
answer
42
views
Arduino Uno stops accepting command from PS3 Wireless controller?? although it remains connected!
so I was trying to control a bot wirelessly with the help of ps3 controller and USB host shield, i am using Arduino UNO as micro-controller. I was able to connect PS3 controller with Arduino and ...
1
vote
0
answers
66
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
3
answers
185
views
Can I pass data from an Arduino Nano to a Websocket Server via USB?
I have an Arduino Nano, and a local Java WebSocket server (ws://localhost:8888) run by a .jar file on my computer.
I'm wondering if it's possible to send data (text, numbers etc.) from the Arduino ...
1
vote
0
answers
368
views
ESP8266 - How to recieve UDP multicast packet?
how can I recieve udp multicast packets in ESP8266? I have this piece of code:
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
const char* ssid = "my_wifi_ssid";
const char* ...
2
votes
1
answer
139
views
How do I get an HTTP_POST response?
I have a function for HTTP_POST responses but it is never called when I post to it. I get the webpage instead.
I call on it with
server.on("/",HTTP_POST,response);
But I only get the url in ...
0
votes
1
answer
687
views
esp32-cam stuck in repeat boot
I am trying to bring the esp32 example code live. I am able to upload the image error free but when I remove the jumper and then press the reset switch, instead of seeing it logon to my network via ...
1
vote
0
answers
409
views
incompatible types in assignment of 'const String' to 'char [32] using server.arg
I am trying to create a class and getting getting the error
incompatible types in assignment of 'const String' to 'char [32]
when I declare
char inString[32];
and try to set it as
inString = server....
0
votes
1
answer
41
views
How do I make two (or more) pins available on my server url?
I have a webserver configured on my esp8266 with is set to fire off electrical relay0 on my 8 port relay board.
The device initializes relay0 perfectly and without errors.
But when I configure the ...
2
votes
1
answer
201
views
What is the best way to init wifi communication between two devices (get IP address)?
what is the best way to init wifi communication between two devices without knowing IP of second device, let's say Raspberry Pi and ESP8266?
I want to build simple home automation system for my ...
1
vote
0
answers
72
views
Two SSL connections at the same time on Uno WiFi rev 2
So I want to have one persistent SSL connection to a cloud server (Azure IoT Hub) to upload telemetry and another SSL connection to a server to perform a simple GET request every 30 minutes.
I've ...
1
vote
0
answers
1k
views
TCP client readStringUntil only when data exists
I have the attached script that reads data from a socket server (it is PHP at the server end).
My problem (I think) is that the readStringUntil() needs a test above it, so that it "reads up to \r&...
0
votes
0
answers
311
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
1
answer
106
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 ...
1
vote
0
answers
45
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
2
answers
95
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.
...
1
vote
0
answers
47
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
1
answer
114
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
1
answer
170
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 ...
1
vote
0
answers
788
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
1
answer
651
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 ...
1
vote
0
answers
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
0
answers
57
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 ...
1
vote
0
answers
54
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 ...
1
vote
1
answer
802
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 ...
1
vote
0
answers
137
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
3
answers
113
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 ...
2
votes
1
answer
60
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
1
answer
1k
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,...
1
vote
0
answers
51
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
1
answer
740
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
1
answer
4k
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
1
answer
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
2
answers
634
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
1
answer
502
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
1
answer
3k
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
0
answers
212
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
1
answer
263
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 ...
1
vote
0
answers
137
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
1
answer
1k
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
1
answer
397
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....
1
vote
0
answers
80
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
2
answers
7k
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
2
answers
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 ...
1
vote
0
answers
421
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 ...
2
votes
3
answers
385
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
1
answer
5k
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
1
answer
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
1
answer
309
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
1
answer
564
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 ...