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.

Filter by
Sorted by
Tagged with
1
vote
0answers
43 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
0answers
27 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
votes
0answers
49 views

Controlling smart bulb with ESP8266

I want to control a smart light bulb (something like this: https://www.amazon.com/MagicLight-Required-Multicolor-Equivalent-Compatible/dp/B07VQLZBNW) with ESP8266. Is there any library for that? ...
1
vote
0answers
29 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
0answers
18 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 ...
-1
votes
2answers
34 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 ...
0
votes
1answer
25 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
1answer
27 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 ...
0
votes
0answers
35 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
1answer
64 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
0answers
42 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
0answers
45 views

Is there possible implement websocket using AT Command?

For example I have a sim800l module to communicate to a server using websocket (socket.io) but that module allows AT Command to operate. I have successfully made an HTTP request, but I don't know how ...
0
votes
1answer
75 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
1answer
44 views

Arduino Nano IoT 33 Char Array size constraints

I would like to save data that I am receiving from API calls in a char array. The problem is the data is around 80KB however my Arduino IoT 33 has 32KB of memory. It will save data in a char array ...
0
votes
0answers
64 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 ...
0
votes
0answers
57 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 ...
0
votes
0answers
51 views

Which Protocol to use to control WiFi (esp 32) enabled Led Light

I am developing a Wifi based Led light (for learning purpose). I have little knowledge about web server, clients, Web protocols. I will be using ESP32 as Controller cum WiFi module. There are two ...
0
votes
1answer
42 views

nodemcu doesnt response in at command mode

I want to sent AT command into node mcu esp8266 module with arduino IDE through serial monitor. I connect the node mcu to arduino uno board in following sequence: RX to pin 2 of arduino TX to pin 3 ...
0
votes
1answer
44 views

How does code typed in Arduino IDE runs on a nodemcu?

I actually have a series of questions regarding Nodemcu and esp8266. How does code typed in Arduino IDE run on Nodemcu? What firmware is present on the nodemcu? How do I upload the above firmware on ...
0
votes
1answer
27 views

Can a MEMS accelerometer sensor be used as a shock sensor?

I am trying to make an IOT project- SMART DOOR where I have used a serve motor and NodeMcu and for adding further functionality I have been thinking of adding a theft detection feature where whenever ...
0
votes
0answers
61 views

node mcu disconnect from mqtt server

/* Basic ESP8266 MQTT example This sketch demonstrates the capabilities of the pubsub library in combination with the ESP8266 board/library. It connects to an MQTT server then: - ...
-1
votes
1answer
65 views

NodeMCU unable to connect to mobile hotspot when I include codes for reading the temperature sensor

Good day. The NodeMCu successfully connected to mobile hotspot when i didn't put any others codes except the Wifibegin etc. Howveer when I include some codes for temparature sensor, it keeps on ...
0
votes
0answers
108 views

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 (...
0
votes
2answers
516 views

NodeMCU ESP8266 disconnected from WiFi after several hours running

I tried to test NodeMCU ESP8266 with this code from here #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h&...
0
votes
0answers
19 views

Missing ArduinoJson/DynamicJsonBuffer.hpp

I have read other posts regarding ArduinoJson that recommend using a library version no later than 5.14.3. That recommendation is more than a year old - is it still the recommended library version?
0
votes
1answer
48 views

Firebase.failed() returns 0 after Firebase.begin(), but returns 1 while reading or writing from/to firebase from ESP8266

The program was running fine, a few days ago, but now it just wouldn't read/write to the database. I'm running on ArduinoJson 5.13.5 and using FirebaseArduino library. I have set all the rules to true,...
0
votes
0answers
173 views

ESP8266 not posting to firebase, Firebase.error() does not return anything

Below is the code that i tried and it was working before i added NTP client and WiFiUdp . The credentials are all right. I even tried commenting the newly added portions, but now, all I am getting is ...
0
votes
0answers
345 views

Cheaper alternative to Arduino Nano 33 IoT with BLE?

The Arduino Nano 33 IoT looks great with its builtin Bluetooth chip. At ~€20 (Germany) it's pricey though and seems overkill for what I need anyway. What is a good, cheap alternative for a simple ...
0
votes
1answer
78 views

Random characters transmitted from ESP8266 to Arduino

Below is the code for getting a value from Firebase and sending the received data to arduino for performing necessary action. The code here here sends a string "o" to arduino once //uploaded to ...
0
votes
1answer
63 views

Fixing serial communication , condition for serial data available checks out even after reading all the data sent

I have been working on monitoring an aquaculture , where I log the environment variables (temp. , humidity, gas sensor data) to firebase and control feeding mechanism via an app(where data can also be ...
0
votes
0answers
46 views

How to set ALPN ProtocolName when negotiating SSL using ArduinoBearSSL

I am trying to set up an Arduino MKR Wifi 1010 to push MQTT messages to AWS IOT. I am following this tutorial https://create.arduino.cc/projecthub/Arduino_Genuino/securely-connecting-an-arduino-mkr-...
0
votes
0answers
606 views

Why i'm i getting “Error compiling for board NodeMCU 1.0 (ESP-12E Module)” with AzureIoT libraries

Hey guys am sure you are tired of seeing this question on many posts, truth is until now I have not come close to a solution and am just a beginner/intern trying to send some temp/humidity data to the ...
0
votes
2answers
129 views

Arduino MKR 10100 control DC Motor

Thank you for reading my post. I have been stuck on this for several weeks now! I am trying to turn ON/OFF a DC motor from Arduino IOT Cloud. I have set up the cloud and added the switch. Everything ...
-1
votes
1answer
55 views

aRest.io - how does it work?

With aRest.io you are able control your Arduino/Esp from all over the world - but how? In the Client SourceCode (found here) you only find the PubSubClient, which is an MQTT client. I'm assuming: ...
0
votes
0answers
47 views

Dragino Lora shield for Arduino sensor use

I am new to arduino and lora technology and i have dragino lorashield for arduino Uno and dragino gateway. I have also MQ-3 gas sensor and I want to detect the alcohol value and to send it to the ...
0
votes
1answer
1k views

Arduino Nano IoT Power Consumption

I am trying to reduce the power of my Arduino Nano IoT. I would like to run it using a battery over a longer time period. I thought this would be possible when putting it to sleep most of the time. ...
0
votes
0answers
37 views

Arduino MKR QoS 1 logging with ArduinoMqttClient

I am collecting data with Arduino MKR GSM 1400 and sending data to Azure Cloud (IOT HUB). Currently I use ArduinoMqttClient ArduinoMqttClient My question is, how to ensure both parties accepted QoS1 ?...
0
votes
0answers
109 views

esp8266 using thingspeak for iot light on project via google assistant fatal error everytime

fatal error timeout and unable to connect to thingspeak for fetching data sent via google assistant (ifttt) #include <LiquidCrystal.h> #include <SoftwareSerial.h> //ESP is connected to ...
0
votes
0answers
49 views

Interface gps and ultrasonic sensor simultaneously

I am able to interface gps and the ultrasonic sensor and obtain data successfully for individual interfacing with the Arduino UNO. When I combined the code for these two, I only get the data values ...
0
votes
1answer
236 views

Relay board not working with nodemcu

This is the relay board I am using nodemcu to make a home automation project which is controlled by google assistant. This is the code i am using is this one #include <ESP8266WiFi.h> #include "...
-1
votes
1answer
2k views

Reading Data from Google Sheets using Nodemcu

I want to read and writ data on Google sheets using ESP8266 WIfi Nodemcu and I'm able to do it but the time interval between two writing row is 3 seconds which is too much. I can read data but I am ...
0
votes
0answers
106 views

ESP 01 calling Pushing Box API

I want to write my data on google sheets using ESP 01 and Arduino Nano. So I copied code from some website I don't remember the website "how to send data on a local server" and modified it a bit. But ...
0
votes
1answer
243 views

Waking an ESP8266 from Light-Sleep using a signal from MQTT?

I was wondering if it would be possible to wake an ESP8266 from a request over MQTT while it is in Light-Sleep mode? I am planning to implement a smart switch that would receive messages from a ...
0
votes
0answers
292 views

ESP8266 WiFi.begin() isn't working

I did a project for IoT attendance system using ESP8266 and RDM6300. However, I can connect to wifi using WiFiMulti.addAP() function for my home WiFi. I tried WiFi.begin() instead of WiFiMulti.addAP(...
0
votes
1answer
136 views

Charge lipo battery while using

I have a system that uses Arduino and some modules. The system needs 5v dc power with 3A current at maximum(The system needs 3A current for some seconds every 5 minutes and after that the current will ...
0
votes
1answer
68 views

Adding WiFi to my Arduino Keypad Lock

I'm a really passionate beginner with arduino and electronics and I've built a Keypad lock for my room's door (inside the house). I've used an arduino that activates a motor using a transistor to ...
1
vote
0answers
366 views

Blynk.Begin(auth, ssid, pass) causing watchdog reset

I am trying to follow this tutorial and I keep hitting a problem repeatedly. I checked in my code that every time it hits the line Blynk.begin(auth, ssid, pass);, the serial monitor shows me that ...
1
vote
0answers
148 views

ESP8266 webserver does not return latest HTTP response

I tried getting a HTTP response from an ESP8266 which is in HTTP server mode, I am getting a response but not the latest one, response is always one command previous to that of my request to the ESP. ...
0
votes
1answer
410 views

creating HTTP persistent connection, to create 'smooth' data over GSM sending

Project goals Send data over GSM to firebase Fast sampling - need to send 16 bytes every half second to firebase Send data using GET or POST to server with PHP script, that redirect data to firebase ...
1
vote
0answers
245 views

Send data from arduino to server using GSM, TCP

My actual connection is like: Arduino -> GPRS(http)-> my server(php script)-> firebase <-android plotting app But it only allows to send some data once every 2 - 3 seconds (depending of ping to my ...