7
votes
Accepted
Arduino Uno with ESP8266 Wifi transceiver or ESP8266 NodeMCU board?
In my opinion, it is more desirable to program the ESP8266 directly. I'm always shivering when I see a Uno (ab)using the ESP8266 as a WiFi bridge when the ESP8266 already has everything needed for the ...
6
votes
Accepted
how to transfer json to string?
That's one of the peculiarities of the C language: the == operator compares the string addresses, not their content. It makes sense when you think of them as pointers, but it can be confusing for ...
5
votes
Water pump relay switching too fast
The problem lies in the specification itself. According to your rules,
what should the pump do if the water level is exactly 2 cm?
Granted, there is no such thing as an exact physical measurement. But
...
4
votes
Accepted
Arduino Nano IoT Power Consumption
Two of those 10mA come from the ATECC608 crypto chip which idles at 2mA. That leaves 8mA for you to track down.
The WiFi-NINA module has multiple "sleep" modes that range from 30mA down to 4.5µA. ...
4
votes
Arduino SIM5320e HTTP GET request to 000webhost.com
Try just using IP address for the Host line instead. I did the same thing for POST and it works fine for me.
Example:
Host: 13.xxx.xx.xx
4
votes
Simple GET request with ESP8266HTTPClient
As Musa said, I needed to suply the website certificate footprint to http.begin.
void loop() {
HTTPClient http;
String thumbprint="08:3B:71:72:02:43:6E:CA:ED:42:86:93:BA:7E:DF:81:C4:BC:62:30";
...
3
votes
ESP8266 disconnects after few hours
As long as I know you need at least 170mA to power the esp8266 also you need 100-200mA for the arduino and 100mA for the relay so I recommend to use a 1A power supply and solder some capacitors on the ...
3
votes
How do you take the simplest continuous reading from a Garmin Lidar Lite V4 using I2C on a Particle Boron v4.1.0?
As romkey pointed out, I had the pull-up resistors wired wrong. Pull-up resistors are connected to power, not to ground.
Then I had to include wire.h and initiate Wire.begin(); in setup.
2
votes
Accepted
Reading Data from Google Sheets using Nodemcu
I think you'll need to modify your Google Script for that Sheet so that whatever function you are invoking to GET row data takes in an additional parameter for the row value.
Then just add the ...
2
votes
Accepted
esp8266 not defined in scope while using in class
When you added the class you obviously deleted/moved code into it from elsewhere.
One bit of code that you missed in that moving around will be the code that declares what esp8266 is:
SoftwareSerial ...
2
votes
Accepted
Changing outputs infinitely for no reason
You had the following general problem:
The code you were using was configuring a pin into INPUT mode and reading the value on it. On this pin you conencted a button without extern pullup or pulldown ...
2
votes
Accepted
ESP8266 disconnects after few hours
After quite long research I found the solution for my problem.
I did some changed power connection to ESP-8266.
ESP 8266 --------- Arduino Uno
Vcc ---------> 3.3v
CH_PD ---------> ...
2
votes
Unable to find/connect I2C devices (SHT31 & SGP30)
one can code an I2C sensor (I'm using a SHT31) using custom GPIO ports like so:
//I2C Bus Pins
#define SDA 8
#define SCL 9
#include "Adafruit_SHT31.h"
TwoWire I2Cbus ...
2
votes
Unable to find/connect I2C devices (SHT31 & SGP30)
I had a similar problem, but the fix turned out to be simple. All the tutorials for SHT3x sensors say to connect the VIN to the 3.3V GPIO. I checked using a test meter, the SHT3x was getting voltage ...
2
votes
esp32 http client response only 200 didn't receive the data after that
A 200 response doesn't guarantee that your payload will actually contain any data. It depends on the server. The server might determine to respond with a 200 code but still not return any JSON code ...
2
votes
Accepted
Using ESP32 Cam internal RAM
If there is continuity between 3.3V and GND your board is dead. Most likely (from my experience) the ESD protection diode on the ESP module is fried which leaves you no chance to repair it. Even if ...
2
votes
variable name standards, e.g best method to send motion_detect=true
No, there is no "industry standard". You are free to choose what you like.
If you want to be completely generic you could choose to do something like:
p1name=Temperature&p1units=celcius&...
2
votes
variable name standards, e.g best method to send motion_detect=true
I don't think there is. It also kind of depends on how you are going to store the data.
I'd go with motion=true instead of pir=true, as it describes what you are detecting, instead of what sensor type ...
2
votes
variable name standards, e.g best method to send motion_detect=true
Yes, there are systems designed to continuously receive such data and the data exchange is standardized, even some Units are standardized.
OPC DA
An example is OPC Data Access for real time values. It ...
2
votes
Arduino MKR GMS alternative
There are multiple options for this project as you just want to send/ upload data on the cloud server rather than using Arduino MKR 1400 you can use any of the following.
Arduino UNO with GSM module: ...
2
votes
Accepted
How to make better looking webpages on an Arduino webserver?
Your method of embedding SVG seems unnecessarily complicated to me. You don't need to give a URL of anything. Below is valid for putting SVG onto a web page:
<!DOCTYPE html>
<html lang="...
2
votes
Problem with "converting a string constant to 'char*'" in the WiFi library
It's basically a bug in the library which is expecting "char *" when you are supplying "const char *.
You could work around it by changing:
#define SSID "wifi name"
#define ...
2
votes
How to pass AT commands to LoRa from ESP32 UART?
I am new to Lora module and ESP32 and only playing around for a week.
I have successfully sent AT commands to RYLR998 module via ESP32 and received messages via other RYLR998 connected to another ...
1
vote
Fixing serial communication , condition for serial data available checks out even after reading all the data sent
I cannot really narrow down the source of your observed problems, since the problem descriptions are not clear enough. But there are some obvious problems/potential for making it better in your code.
...
1
vote
Arduino MKR 10100 control DC Motor
The TIP120 is a poor choice because of the approximate 10% - 14% voltage drop across it. Try the circuit with a logic level, low Rds MOSFET.
For a more in-depth answer, please see this answer: https:/...
1
vote
Relay board not working with nodemcu
From the description and comments it looks like the problem is HW related. I recommend you to do a relay module test (wthout NodeMCU):
Try to switch the relays on/off just by connecting the power ...
1
vote
Accepted
The right way to find and understand the libraries
You should break your problem down into simple parts, which it seems you are on-track to do. Your ultimate goal appears to break down into the following sub-tasks (not in order):
Read sensor value
...
1
vote
Arduino DDS IOT ESP8266 controlling AD9834
You have two sketches in the project folder ESP_WiFi_VFO. First is ESP_WiFi_VFO.ino and second is AD9834_Test.ino. Booth sketches have defined same functions, constants and variables so the final ...
1
vote
Accepted
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?
No. The ESP8266 has to be awake to communicate with the MQTT server.
The best you ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
iot × 112esp8266 × 49
arduino-uno × 28
nodemcu × 20
wifi × 16
esp32 × 12
mqtt × 11
http × 8
arduino-nano × 6
arduino-mega × 5
arduino-ide × 5
gsm × 5
home-automation × 5
serial × 4
sensors × 4
c++ × 4
relay × 4
json × 4
mkr1000 × 4
blynk × 4
power × 3
web-server × 3
raspberrypi × 3
mkr1010 × 3
thingspeak × 3