Questions tagged [iot]
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.
112 questions
2
votes
0
answers
452
views
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 ...
2
votes
1
answer
189
views
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 ...
1
vote
1
answer
176
views
Water pump relay switching too fast
I'm using a water level sensor with two outputs, a 5V fan and a water pump. Here's the wiring .
What I want to do with this project is:
When the water reaches 2 cm, then the water pump is on while ...
2
votes
2
answers
226
views
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 ...
4
votes
1
answer
171
views
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 ...
1
vote
1
answer
2k
views
How to pass AT commands to LoRa from ESP32 UART?
I have connected a Reyax RYLR998 LoRa module to an ESP32's UART2, but AT commands passed through Hardware serial are not working.
#define RXD2 16
#define TXD2 17
void setup() {
Serial.begin(...
-1
votes
1
answer
402
views
what is 400 bad request and how to solve this
AT+CIPSEND=65
link is not valid
ERROR
OK
OK
OK
OK
STATUS:2
OK
\x0BQ\xADUART_DEF=115200,8,1,0,0ATE0
AT+CWMODE=3
AT+CIPMUX=0
AT+CIPMODE=0
AT+CIPSTATUS
AT+CIPSTART="TCP","api....
1
vote
0
answers
138
views
ESP-07s only connects to my wifi very occasionally
I've got an ESP-07s and I used an example code from the internet. When I power it and the program starts, it should just connect to my Wifi network. It has a simple webpage that should be locally ...
1
vote
0
answers
142
views
Debug Macro Not working
I wrote simple program to test debug macros, but it gives me compilation error
Program:
#include <Arduino.h>
#define DEBUG
#ifdef DEBUG
#define DPRINT(...) Serial.print(__VA_ARGS__)
#...
1
vote
0
answers
67
views
esp8266 r1 mini stops serial print during execution
The setup includes an WEMOS/ESP8266 R1 mini compatible board, a DHT11, a photo resistor and a magnetic reed.
The libs used are:
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include &...
1
vote
0
answers
120
views
How to connect to AWS iot?
I am trying to connect esp8266-12f to aws iot core following this tutorial. Below is my code.
main.cpp
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include "config.h"
#include &...
3
votes
1
answer
1k
views
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 <ArduinoJson.h>
void messageHandler(char *topic, byte *payload, unsigned ...
1
vote
0
answers
449
views
Connect Arduino + ESP8266 to Azure IoT Hub Device via X509 certificate
I would like to connect ESP8266 with Azure IoT Hub Device via X509 certificate. Currently, I can connect using the symmetric key connection to my device, but I have devices that I want to authenticate ...
0
votes
0
answers
121
views
Arduino MQTT Library sending disconnect packets even though it is not called
I am trying to connect to AWS IoT through the Arduino Portenta H7 and I am following this blog (https://create.arduino.cc/projecthub/Arduino_Genuino/securely-connecting-an-arduino-mkr-wifi-1010-to-aws-...
1
vote
0
answers
844
views
HTTP POST maximum speed at command SIMCom A7672
I'm trying to build a device for my startup IoT-related, using an A7672S.
Here is the code:
mySerial.println("AT+HTTPINIT";
checkresponse("OK\r\n");
mySerial.println("AT+...