Hot answers tagged

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 ...
user avatar
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"; ...
user avatar
  • 279
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
user avatar
  • 41
3 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. ...
user avatar
  • 103k
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 ...
user avatar
  • 668
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 ...
user avatar
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 ...
user avatar
  • 103k
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 ...
user avatar
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 ---------> ...
user avatar
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 ...
user avatar
  • 216
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 ...
user avatar
  • 1,773
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&...
user avatar
  • 103k
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 ...
user avatar
  • 11.1k
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 ...
user avatar
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: ...
user avatar
  • 247
2 votes

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="...
user avatar
  • 35.3k
1 vote

Random characters transmitted from ESP8266 to Arduino

The baud rates, voltages, and timing all have to match up for serial communication to work right. So, set both of your devices to the same baudrate (you specify the number in Serial.begin()), and ...
user avatar
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. ...
user avatar
  • 14k
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:/...
user avatar
  • 2,503
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 ...
user avatar
  • 116
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 ...
user avatar
  • 6,932
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 ...
user avatar
  • 16.4k
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 ...
user avatar
  • 103k
1 vote

Adding WiFi to my Arduino Keypad Lock

Can I directly connect an ESP GPIO pin to the base of the transistor where the arduino is connected? No. You will effectively be connecting two outputs together, and that is very bad. Instead you ...
user avatar
  • 103k
1 vote

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

The ArduinoHttpCliemt library's HttpClient.stop() method does two things. It resets the state of the HttpClient object and stops the underlying Client connection (TCP connection). If HttpClient.stop() ...
user avatar
  • 16.4k
1 vote
Accepted

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

In C++ you are not allowed to declare non-static member arrays with unspecified size (empty []). Supplying an in-class brace-or-equal (BoE) initializer for such non-static member array does not ...
user avatar
1 vote

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

You should use mDNS. Install (if it isn't already) avahi-daemon on your Raspberry. Then check out the ESP8266mDNS library and the examples it has. Especially the mDNS-SD_Extended example, which ...
user avatar
  • 103k
1 vote

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

This is the code which worked for me:- msg.remove(0,1); msg.remove(msg.length()); pos = msg.toInt(); Serial.print("value of servo angle: "); Serial.println(pos); ...
user avatar
1 vote

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

This is the format which helped me to upload the data successfully. I didn't knew what JSON format was and got stuck. In case if someone stumbles on a similar problem. char buf[5] = {}; sprintf(buf,...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible