A new paradigm where many, typically microcontroller-driven embedded systems are connected by the Internet, and they are cooperating with eachother to reach common goals, without requiring human-to-human or human-to-computer interaction.
Questions tagged [iot]
112 questions
5
votes
2 answers
Simple GET request with ESP8266HTTPClient
I am trying to do a simple GET request. But I always get status code -1. Here is my complete code.
#include
#include
#include
WiFiClient client;
#define AP_SSID "CCR"
#define AP_PASSWORD …
Ccr
- 279
- 1
- 4
- 10
4
votes
1 answer
How do you take the simplest continuous reading from a Garmin Lidar Lite V4 using I2C on a Particle Boron v4.1.0?
Hey there Stack community.
I'm working with the Particle Boron v4.1.0.
I'm connecting a Garmin Lidar Lite V4 on I2C.
I'm using the LIDARLite_v4LED.h header file found in the library given for this device, "LIDAR-Lite" and my goal here is to op-check…
Katie Neeley
- 71
- 5
4
votes
1 answer
How to listen to multiple server ports with ESP8266?
I'm using WeMos D1 R2. I'm trying to listen to both ports 1992 and 1993. This is my current code:
#include
WiFiServer server_1992(1992);
WiFiServer server_1993(1993);
void setup() {
Serial.begin(9600);
WiFi.begin("MySSID",…
MoonFan
- 43
- 1
- 5
3
votes
1 answer
how to transfer json to string?
I am getting a json object from aws iot MQTT. Assuming that json from aws is {status:opened}.
Here is my code.
#include
void messageHandler(char *topic, byte *payload, unsigned int length)
{
StaticJsonDocument<32> doc;
…
Jess
- 53
- 2
3
votes
1 answer
Connect ESP32 via MQTT
For a project I am working on, I need to connect my ESP32 board to another server via MQTT protocol. I am using the Mosquitto MQTT Broker and it is presently on my laptop. Following is the test code I am using, which I'll build around this…
P_K
- 57
- 7
3
votes
0 answers
how to get live view of esp32cam at remote sever using ssh tunneling?
I have found many projects involving esp32cam, but in all projects video is being seen on local server only.For its of no use.As for a home security project user can view the video at remote location like MI robotic camera.
Also i do not want any…
user65895
- 31
- 2
3
votes
3 answers
ESP8266 disconnects after few hours
My system looks like this:
ESP8266 is connected to Arduino Uno (2, 3 pins) and a relay's data input to Arduino's pin 12 and power for relay is provided from another source.
Arduino gets data from server and switches on/off relay according to that…
Sachith Muhandiram
- 121
- 2
- 12
2
votes
0 answers
CUT HERE FOR EXCEPTION DECODER --------------- Exception (0): esp8266
Why does my program end up with CUT HERE FOR EXCEPTION DECODER for esp8266?
I am triying to integrate gps and accelerometers with a website. integrating gps is the hardest one since it always refuse to be connected. gps.location.isValid() and…
Marifin -
- 29
- 2
2
votes
1 answer
Software serial communication problem between ESP8266 and Arduino Mega for plant monitoring system (using Blynk IoT)
We're using the ESP8266 to receive data from the Arduino Mega board, where our sensors are connected. Supposedly, our ESP is connected to the Blynk App. However, the values showing up in our dashboard are 0 but, the app says that the device is…
Earth_Lovers
- 21
- 2
2
votes
2 answers
Why does my Arduino stop uploading to the Thingspeak server after several hours?
I'm using a Maduino Zero 4G SIM7600 device to upload data from 28 sensors to a ThingSpeak IoT server. It works well for a few hours, then stops uploading the data. Sometimes it starts again after an inconsistent amount of time (an hour or two),…
Zurn
- 21
- 1
2
votes
0 answers
Azure IoT times out while trying to send a message from an ESP32
I am looking for a working example of an ESP32 sending telemetry data to Azure IoT hub. I find nothing working around the internet: below is the code I am trying to make it working.
As you can see in the logs, after a successful connection to the…
Stéphane de Luca
- 173
- 9
2
votes
5 answers
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 devices, where having a filesystem is limited by…
j0h
- 902
- 4
- 13
- 30
2
votes
0 answers
How to fix this problem of invalid conversion from 'const char*' to 'char' [-fpermissive]
Im working with node mcu ESP 8266 and trying to make it a webserver but keep encountering this problem.
#include
WiFiClient client;
WiFiServer server(80);
void setup()
{
Serial.begin(9600);
…
Stars and planet
- 21
- 2
2
votes
0 answers
Multiple MQTT topics
I have 3 nodemcu's(ESP32) each connected with a sensor, from which I get data and send it to aws IoT-core. How can I send all 3 sensor's data by a single MQTT subscription? The below code is for a single MQTT using one nodemcu.
#include…
Shridatha Hegde
- 21
- 2
2
votes
3 answers
Unable to find/connect I2C devices (SHT31 & SGP30)
I have recently purchased an Arduino Nano 33 IOT together with two sensors:
Adafruit SHT31-D (https://learn.adafruit.com/adafruit-sht31-d-temperature-and-humidity-sensor-breakout)
Adafruit SGP30…
YouKnowNothingJohn
- 63
- 4