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
0
votes
1answer
39 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
38 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
69 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
16 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
22 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
83 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
68 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
49 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
51 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
24 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-...
1
vote
0answers
181 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
56 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 ...
0
votes
1answer
36 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
27 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
117 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
25 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 ?...
1
vote
0answers
74 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
36 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
141 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 "...
0
votes
1answer
782 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
30 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
141 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
181 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
90 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
0answers
25 views

connected collar with GPS, temperature and heart rate sensors + microphone

I am taking part in a project as part of a challenge and I'm in charge of the embedded systems part, this is my first time working on a project of this scale. I am looking for a way to wirelessly send ...
0
votes
1answer
57 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 ...
0
votes
0answers
196 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 ...
0
votes
0answers
80 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
245 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 ...
0
votes
0answers
189 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 ...
0
votes
0answers
16 views

Not able to receive data on node mcu from pubnub

I am trying to send data from one node mcu to another using the same wifi for now. I can publish the data since I can see it from my pubnub analytics but not able to receive the data. When I used 2 ...
0
votes
0answers
111 views

ESP8266 http.get() issue due to wifi authentication failure

Facing a weird issue while reading data from esp8266. I am trying to read dynamic data from a demo text file on test server on same network in deep sleep mode. Case1: Joining new network I am using ...
0
votes
1answer
98 views

MXCHIP IoT DevKit too many initializers for 'unsigned char [0]

Question Trying to call the Display draw API using the sample code for the azure logo bitmap sample code. I'm unable to reach a point where I can the API because breaks when constructing the bitmap ...
0
votes
0answers
335 views

MQTT subscribe callback fails to be called in ESP8266 deepsleep mode

Refer to ESP8266 deep sleep and MQTT I executed the code in the given link. However i am not able to receive the subscribe message that are send from MQTT test broker(MQTT Lens) on the serial ...
0
votes
2answers
207 views

How to get a list of IPs in a LAN using NodeMcu?

I'm going to create an IoT system. I use a Raspberry Pi as a MQTT broker and as a webserver. Every day, the Pi gets a new IP address, so I need to find its new IP address via ESP8266 to use this ...
0
votes
0answers
50 views

Is it possible to send data at 100Hz using Wifi bee ESP V1.0 to Mobile (Xamarin)?

Im currently using WifiBee ESP V1.0 and Lilypad Arduino as well as AD8232 for ECG. We are trying to send the data to mobile phone by connecting to PubNub.` if(Serial.available()>0){ str = Serial....
0
votes
0answers
31 views

Arduino clients suddenly not able to connect (or publish) to MQTT

we are struggling with a project that has things (arduinos as clients) communicating to our MQTT broker (mosquitto) running on a DigitalOcean droplet (inside a docker). We have about 200 things at ...
0
votes
1answer
81 views

Not able to convert String to Integer when receiving data from pubnub?

I did managed to upload mpu9250 sensor data on PubNub and nodeMcu but not able to use the received data to control servo Look at the Port reading and see that servo angle is still showing '0' Code:-...
1
vote
0answers
308 views

How to achieve active 4G LTE communication?

I'm not sure if this is correct place to post this, if not PLEASE redirect me to the proper page, as this matter is quite pressing to me. My entire day was spent researching different methods of ...
-1
votes
1answer
142 views

How to upload sensor data on pubnub IOT with JSON Format?

I am trying to send MPU9250 sensor data to Pubnub IOT platform using node mcu, but not able to do it since the sensor data is not in JSON format. I know about publishing string but don't know about ...
0
votes
1answer
786 views

How to interface MPU9250 and NodeMcu?

I am trying to send MPU sensor data to Pubnub IOT platform but not able to do it since there is some unknown problem. There is no error in code but following issue pops up in com port:- It looks like ...
0
votes
2answers
332 views

Is it possible to connect miband2 and arduino nano (?)

I want to make an IOT project using an Arduino nano and I need heart rate sensors. I I have a miband2. So, is it possible to connect them ?
0
votes
2answers
256 views

Arduino SIM5320e HTTP GET request to 000webhost.com

Im having trouble getting a successful HTTP GET request to a domain under 000webhost.com I am trying to do a GET request which sends data to a php file on my domain and save it to MySQL database. I ...
0
votes
0answers
24 views

Can't connect to the server

I am working on a specific project that requires a database. I have done the 'connection' and the "write" of data using a PHP file. I have even reconfigured everything so it would be possible to ...
0
votes
0answers
176 views

How to use ESP8266 with Google API for GPS as well as controlling Arduino pins

I am working on IoT based project and I want to control the device using mobile App. Everything works fine, I can switch the load and get the status back on mobile app, but I want to use my ESP8266 as ...
0
votes
1answer
304 views

Can't extract basic data using ThingspeakHTTP

I don't know anything about HTML, but I want to extract the % probability of the Northern lights being visible from this webpage http://aurorawatch.ca/. I entered this into the URL field, and selected ...
0
votes
1answer
58 views

WSO2 IoTS : No Data shown on Server by Arduino connected via Ethernet

Description: While enrolling Arduino device on WSO2 IoT server, I made necessary(WiFi to Ethernet connection) changes in the sketch that I downloaded from the server and uploaded it. The following ...
0
votes
1answer
380 views

Websockets with the ESP8266 using arduino uno board

I'm trying to make an iot device that connects to my wifi, establishes a socket connection with my golang backend and then starts to send sensor data from the ardunio. I've got an ardunio uno board ...
-1
votes
1answer
1k views

Arduino sketch for NodeMCU v1.0 (ESP8266-12E) has no error of compiling but does not run on NodeMCU v1.0 (ESP8266-12E) Board

i compiled a Arduino Sketch for NodeMCU v1.0 (ESP8266-12E) which have no error while i test with verifiy button in Arduino IDE 1.8.6 but i don't know what is the problem when i upload and test it . it ...
0
votes
1answer
91 views

The right way to find and understand the libraries

I am working on a project to send sensor values from esp8266's Wemos D1 mini to MySQL. I tried using the library MySQLconnection.h but I couldn't make it to connect to wifi. So I uploaded a simple ...