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+...
0
votes
1
answer
2k
views
Problem with "converting a string constant to 'char*'" in the WiFi library
error:
C:\Users\mrtas\Desktop\sketch_may23a\sketch_may23a.ino: In function 'void setup()':
C:\Users\mrtas\Desktop\sketch_may23a\sketch_may23a.ino:41:24:
warning: ISO C++ forbids converting a string ...
2
votes
0
answers
166
views
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 ...
2
votes
5
answers
3k
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 ...
2
votes
0
answers
562
views
How to fix this problem of invalid conversion from 'const char*' to 'char' [-fpermissive] [closed]
Im working with node mcu ESP 8266 and trying to make it a webserver but keep encountering this problem.
#include<ESP8266WiFi.h>
WiFiClient client;
WiFiServer server(80);
void ...
1
vote
2
answers
427
views
How to read wireless doorbell's indicator LED circuit
I have a cheap wireless doorbell. My plan is to include an ESP8266 and power the doorbell from the microcontroller 3.3V output as the doorbell also runs on 3V
I specifically chose a model with a LED, ...
1
vote
0
answers
96
views
Arduino MKR NB 1500 websockets
I am trying to implement websockets for MKR1500 and I am having trouble finding a perfect example to implement it. Can someone guide me to an example that works with MKR1500?
1
vote
1
answer
145
views
Audrino mkr1500 keeps going offline
I am using a MKR1500 with an Arduino SIM. I am able to upload the code on the device using the web editor. But when once I am done uploading the code, the device shows status offline and I am unable ...
1
vote
0
answers
98
views
Can I add my Wi-Fi credentials to ESP module remotely?
I am working on Home automation project and I am stuck somewhere on connecting my smart switch board to internet through my home WIFI. Actually I want to connect my ESP module with my home Wi-Fi ...
2
votes
0
answers
1k
views
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 ...
3
votes
1
answer
3k
views
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 ...
0
votes
1
answer
293
views
I can't turn on the motor by Arduino IoT Cloud
I'm trying to turn ON/OFF a DC motor from Arduino Iot Cloud. I have to turn it ON/OFF physically and through the cloud, physically it works well but from the cloud it does nothing. I'm using an ...
1
vote
1
answer
569
views
Arduino MKR GMS alternative
I’m starting on a project about monitoring the soil in the agriculture field and also to visualise the data remotely. The aim of this project is collect the atmospheric data as well as the soil ...
1
vote
0
answers
202
views
ESP8366: ets Jan 8 2013,rst cause:4, boot mode:(1,7)
I am trying to control esp8266 esp 01 with Alexa
This is my code:
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include "fauxmoESP.h"
#define ssid "admin"
#define ...
0
votes
1
answer
81
views
Any explanation for this behavior?
For the below code snippet
const char* fr_fbdb(char tag[30]) // fn for retrieving data
{
char full_path[120];
const char *_dt ;
strcpy(full_path , base_path);
strcat(full_path , tag);
...
-1
votes
1
answer
1k
views
Reading a string from Firebase and storing it as a CString
I have a mobile app (done using MIT App Inventor) storing some values to a Firebase database. App inventor stores all the values as strings (i.e. with quotes, and strings have quotes enclosed within ...
1
vote
0
answers
49
views
4004 (NOT_FOUND) ON MQTT
I tried to send random data to MQTT but it's not working and I get:
{
"m2m:rsp" : {
"rsc" : 4004,
"rqi" : "123456",
"pc" : "Resource not found",
"to" : "5a185cedc6ad749b:...
0
votes
1
answer
66
views
What are the Arduino hardware options for experimenting with IoT?
Just starting to learn about Arduino and IoT. I'd like to know what the Arduino hardware options are to try the following:
Use FreeRTOS as SO
WiFi and BLE connectivity
Solderless board
Test OTA ...
1
vote
1
answer
192
views
Send commands from cPanel website to client ESP8266
I have a project where I want to remotely turn on and off a relay using an Arduino,(ESP8266) over the internet.
I have a remote web server that hosts my existing hobby website, cPanel hosted by ...
1
vote
1
answer
159
views
How to increase the frequency of data transmission of SIM900A GSM Module connected to Arduino Uno? [closed]
I have a SIM900A GSM Module hooked onto an Arduino Uno board. The Arduino is connected to a MPU6050 Accelerometer which is constantly monitoring data at 1 second interval. I am trying to transmit the ...
1
vote
3
answers
174
views
variable name standards, e.g best method to send motion_detect=true
I am working with some sensors and sending data to a public web server via http, I was thinking this server can be possibly used by more people to send their data and server displays a chart.
I was ...
1
vote
1
answer
928
views
Raspberry Pi 3B+ BLE communication to Arduino Nano 33 IOT
I have an Arduino Nano 33 IOT and it uses BLE. I want it to talk to my Pi 3B+ and send all of its sensor data. I cannot figure out a way to do it using Python for the Pi and ArduinoBLE library for my ...
1
vote
0
answers
39
views
How can I use Arduino Analog Uno pins as Digital pins? [duplicate]
How can I use Arduino Uno Analog Pins as Digital pins, So that I can Attach more components like sensors to the Arduino? My 13 pins are preoccupied and I want more.
1
vote
1
answer
999
views
Programming ESP8266 to avoid random exceptions?
Below is the code that I have done on Lolin Wemos D1 R2 and mini it works fine but it throws exceptions every time, I tried understanding my problem by reading this: NodeMCU 1.0 - Exception 9 `Fatal ...
1
vote
0
answers
58
views
serially parse integer after serially read
I want to write below code but I don't know where I doing wrong, so please help me solve this issue.
Serially read some text like number then I want to serially parse integer value into some variable ...
1
vote
0
answers
166
views
Send message to multiple number
sim.println("AT+CMGS=\"+91xxxxxxxxxx\"\r");
I don't want to write this. I want to write mobile number on serial monitor in Arduino and on that number, i want to send message. how ...
1
vote
0
answers
375
views
Send data from GSM module to cloud server like firebase
I am trying to search for anything to send my sensor data from Arduino + GSM SIM900A to a cloud server, preferably firebase. Does anyone know how can I achieve this operation to firebase or any other ...
0
votes
2
answers
1k
views
Using ESP32 Cam internal RAM
I am new to the ESP32 series of boards.I powered up my ESP32 Cam board using the Vcc pin supplying about 7.4V using two 18650 batteries only to find out later that was a completely incorrect way to ...
-1
votes
1
answer
1k
views
Error "cstddef: No such file or directory" on use AzureIoTHub
Good Morning
I'm trying to integrate with Azure IoT with Arduino Mega 2560.
I imported the AzureIoTHub and AzureIoTUtility lib.
I just created this part of the code
#include <AzureIoTHub.h>
...
0
votes
1
answer
81
views
circuit breaker/fuse necessary for IoT home monitor?
In most 12v CCTV power supplies, each power cable is behind a glass fuse. I haven't seen fuses or circuit breakers used when distributing 5v power used in IoT projects. Is there a reason overcurrent ...
1
vote
1
answer
1k
views
Relay with NodeMCU is not working
I'm using a Relay Channel and NodeMCU(8266-WIFI). When i trigger the connection, LED Turns ON in Node MCU But the Relay connection is not working. I'm not sure what is the issue, Please help to fix it....
0
votes
1
answer
3k
views
esp32 http client response only 200 didn't receive the data after that
i am using esp32 as a client and using following example. So here i am getting header response only that is 200. I am not getting any response after that. here is the example
#include <WiFi.h>
#...
0
votes
0
answers
76
views
What methods are there for tracking presence in rooms?
Im wanting to automate the lighting in my house, e.g. turn on lights when entering a room without having to fumble around with my phone or switches.
I have looked at audio, PIR and radar sensors, are ...
0
votes
1
answer
954
views
how to get esp32 ip address ,which is being connected to local network
I need to know the IP address of ESP32 on the local network(without printing ip on serial monitor ). The idea is to do mDNS or UDP broadcast to send the IP to the android application. The app will ...
1
vote
0
answers
240
views
Saving Power :: Reducing Power Consumption
For Arduino Nano 33 IoT, I want to turn off everything except Bluetooth and Wireless since I don't use them.
My question please: Can I switch off / deactivate the IMU sensors completely? If yes, How ...
3
votes
0
answers
2k
views
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 ...