Questions tagged [networking]

For question related to environment with networks.

Filter by
Sorted by
Tagged with
1 vote
0 answers
21 views

Feather M0 RFM69 serial over radio IP over serial works for UDP packets but fails for TCP sessions

I'm trying to build a serial over radio transmitter module using two Feather M0 boards with RFM69HCW chips on board. As a test I'm trying to run a slip IP over serial session. This seems to work ...
Lukas's user avatar
  • 11
3 votes
1 answer
87 views

How do I set the DHCP pool for an ESP-WIFI-MESH? [closed]

I'm building a mesh with ESP32 dev kits (ESP32-DevKitC V4) using the ESP-IDF VS Code extension and the ip_internal_network example project. The code for the example, common project components, and the ...
diomed's user avatar
  • 51
3 votes
1 answer
229 views

Mobile hotspot with wemos d1 mini

I recently got a wemos d1 mini and now am trying to connect it to my IPhone 13's hotspot, however it doesn't connect, I tried to run the wifiscan example - and it doesn't even detect it there. I tried ...
Arthur Isnt original's user avatar
3 votes
1 answer
166 views

The gateway is not working in Arduino EthernetENC

I am using ENC28J60 and EthernetENC library to connect an Arduino UNO with ATmega328 to the network. Everything works fine within the local network, but outside of it, I cannot ping the device. What ...
ArgusLibovski's user avatar
1 vote
0 answers
49 views

Code not checking for updated sensor values after connecting to firebase?

I am using a project with an MQ138 sensor and want to push the real time sensor reads to firebase. Currently, the wifi/firebase part and sensor part work fine separately. The code connects to wifi and ...
Rena W's user avatar
  • 11
-2 votes
1 answer
150 views

Connect to 8Base API with TLS on Arduino Uno Wifi Rev2

I'm trying hit some endpoints on the 8Base API with the Arduino Uno Wifi Rev2. I was able to get this API call to work with Postman, but I've had no luck once I convert it to my Arduino code. In ...
jobrien9's user avatar
1 vote
1 answer
92 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 ...
aditya gupta's user avatar
2 votes
0 answers
174 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 ...
Mark's user avatar
  • 357
1 vote
3 answers
623 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 ...
kevinlinxc's user avatar
1 vote
1 answer
2k 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* ...
Petr Marek's user avatar
2 votes
1 answer
508 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 ...
brad's user avatar
  • 201
0 votes
1 answer
2k 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 ...
brad's user avatar
  • 201
1 vote
0 answers
939 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....
brad's user avatar
  • 201
0 votes
1 answer
44 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 ...
brad's user avatar
  • 201
2 votes
1 answer
268 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 ...
Petr Marek's user avatar
1 vote
0 answers
117 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 ...
Konstantinos P.'s user avatar
1 vote
0 answers
3k 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&...
adrianTNT's user avatar
  • 252
0 votes
0 answers
418 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 ...
kleines Filmröllchen's user avatar
0 votes
1 answer
142 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 ...
BrainTrance's user avatar
1 vote
0 answers
57 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 ...
j0h's user avatar
  • 882
0 votes
2 answers
145 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. ...
Woodstock's user avatar
  • 115
1 vote
0 answers
49 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 ...
Desert Digital's user avatar
0 votes
1 answer
215 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 ...
BruceJohnJennerLawso's user avatar
0 votes
1 answer
213 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 ...
Cowboy_Patrick's user avatar
1 vote
0 answers
1k 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/...
Jordan Klaers's user avatar
0 votes
1 answer
1k 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 ...
PeterD's user avatar
  • 1
0 votes
1 answer
3k 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. ...
Martin Ocando Corleone's user avatar
1 vote
0 answers
64 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 ...
FarO's user avatar
  • 339
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 ...
khalid's user avatar
  • 31
1 vote
1 answer
917 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 ...
khalid's user avatar
  • 31
1 vote
0 answers
169 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 ...
khalid's user avatar
  • 31
-1 votes
3 answers
119 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 ...
user avatar
2 votes
1 answer
73 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 ...
Shounak's user avatar
  • 21
-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,...
Thomas PomTom Steel's user avatar
1 vote
0 answers
53 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 ...
Ameer Taweel's user avatar
0 votes
1 answer
1k 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 ...
Kyle Chesney's user avatar
0 votes
1 answer
5k 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 ...
Shan-Desai's user avatar
1 vote
1 answer
2k 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 ...
Albert MN.'s user avatar
1 vote
2 answers
802 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 ...
Mr. Mxyxptlik's user avatar
0 votes
1 answer
521 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 ...
guyd's user avatar
  • 993
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 ...
Murey Tasroc's user avatar
1 vote
1 answer
300 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 ...
FutureCake's user avatar
1 vote
0 answers
168 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/...
Ben Gubler's user avatar
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 ...
nemewsys's user avatar
  • 215
1 vote
1 answer
493 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....
Mheruian's user avatar
  • 123
1 vote
1 answer
142 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 ...
Safa Seed's user avatar
1 vote
2 answers
8k 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 ...
KarmaCoding's user avatar
2 votes
2 answers
2k 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 ...
resolver101's user avatar
1 vote
0 answers
489 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 ...
Basj's user avatar
  • 398
2 votes
3 answers
412 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 ...
Andrei Lerca's user avatar