Questions tagged [networking]
For question related to environment with networks.
101
questions
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 ...
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 ...
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 ...
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 ...
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 ...
-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 ...
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 ...
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 ...
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 ...
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* ...
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 ...
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 ...
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....
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 ...
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 ...
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 ...
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&...
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 ...
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 ...
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 ...
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.
...
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 ...
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 ...
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 ...
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/...
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 ...
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.
...
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 ...
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
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 ...
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 ...
-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 ...
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 ...
-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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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/...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...