Comments on: ESP32/ESP8266: DHT Temperature and Humidity Readings in OLED Display https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 22 Jun 2023 16:19:26 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: English or Polish https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-842298 Thu, 22 Jun 2023 16:19:26 +0000 https://randomnerdtutorials.com/?p=85288#comment-842298 Hi Sara and Rui, thanks for the nice project. But why everything works and shows how it is powered by a cable with a plug connected to the programming. Note!!, and the display does not show anything when the voltage of 3.3 V or 5 V is connected to the ESP 32 board.
Tiles and display as in your photos. Thanks for the good advice on this problem.

]]>
By: Marcus26 https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-771376 Wed, 27 Jul 2022 16:21:08 +0000 https://randomnerdtutorials.com/?p=85288#comment-771376 Is it version 0.9.3b or any other version..?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-771372 Wed, 27 Jul 2022 15:59:19 +0000 https://randomnerdtutorials.com/?p=85288#comment-771372 In reply to Marcus26.

Hi.
It’s fritzing.
Regards,
Sara

]]>
By: Marcus26 https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-771371 Wed, 27 Jul 2022 15:53:20 +0000 https://randomnerdtutorials.com/?p=85288#comment-771371 Can you please tell me which software do you use to draw the above circuits..??

]]>
By: Joel https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-717961 Sun, 09 Jan 2022 18:43:24 +0000 https://randomnerdtutorials.com/?p=85288#comment-717961 Is there a way to update changes in the temperature & humidity without issuing the
display.clearDisplay(); command?
How could I clear just a row, or any previous values at a location specified by the
display.setCursor(column, row); command?

Thanks for any assistance

]]>
By: Sparky https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-685566 Mon, 18 Oct 2021 13:03:27 +0000 https://randomnerdtutorials.com/?p=85288#comment-685566 Code…this fixes degree & percent symbols…
Also configures for multi displays…

#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels

// Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)
Adafruit_SSD1306 Display1(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
Adafruit_SSD1306 Display2(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);

void setup() {
if(!Display1.begin(SSD1306_SWITCHCAPVCC, 0x3C)) {
Serial.println(F(“SSD1306 allocation failed”));
for(;;);
}
delay(10);
Display1.cp437(true);
Display1.clearDisplay();
Display1.setTextColor(WHITE,BLACK);

if(!Display2.begin(SSD1306_SWITCHCAPVCC, 0x3D)) {
Serial.println(F("SSD1306 allocation failed"));
for(;;);

}
delay(10);
Display1.cp437(true);
Display2.clearDisplay();
Display2.setTextColor(WHITE,BLACK);
}

void loop() {
// Correction: 248 is code for Degree Symbol…not 167
Display1.write(248);
// Correction: 37 is code for Percent Symbol…
Display1.write(37);
}

]]>
By: Iain Timmins https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-625407 Thu, 10 Jun 2021 00:21:10 +0000 https://randomnerdtutorials.com/?p=85288#comment-625407 In reply to Pascual.

Hi Pascual it may not be my place to say this but this is what I think you should do.

Start a new project in IDE , delete the lines at the top that come with a new file.
Go to the project in RNT below the code is a button “raw code” click on that and the code opens in a new page. Copy and paste that into your new project.
You cannot copy code off a web page as you can get all sorts of weird errors.

Hope that helps Iain.

]]>
By: Pascual https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-625395 Wed, 09 Jun 2021 23:32:27 +0000 https://randomnerdtutorials.com/?p=85288#comment-625395 Hi,

Actually the full error message is :

WARNING: Category ‘Network’ in library lwIP_PPP is not valid. Setting to ‘Uncategorized’
WARNING: Category ‘Network’ in library lwIP_enc28j60 is not valid. Setting to ‘Uncategorized’
WARNING: Category ‘Network’ in library lwIP_w5500 is not valid. Setting to ‘Uncategorized’
WARNING: Category ‘Network’ in library lwIP_w5500 is not valid. Setting to ‘Uncategorized’
Build options changed, rebuilding all
Multiple libraries were found for “DHT.h”
In file included from C:\Users\p******\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp:20:
Used: C:\Users\p******\Documents\Arduino\libraries\DHT_sensor_library
C:\Users\p******\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.h:30:10: fatal error: Adafruit_I2CDevice.h: No such file or directory
Not used: C:\Users\p******\Documents\Arduino\libraries\Grove_Temperature_And_Humidity_Sensor
30 | #include <Adafruit_I2CDevice.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Any help would be appreciated, as i am a beginner 🙂
Thank you

]]>
By: Iain Timmins https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-624735 Wed, 09 Jun 2021 01:42:55 +0000 https://randomnerdtutorials.com/?p=85288#comment-624735 In reply to Pascual.

That library is an Ethernet Library which I don’t think is used in that project…

]]>
By: Pascual https://randomnerdtutorials.com/esp32-esp8266-dht-temperature-and-humidity-oled-display/#comment-624734 Wed, 09 Jun 2021 01:31:54 +0000 https://randomnerdtutorials.com/?p=85288#comment-624734 Hi,
The error messages are :
WARNING : Category ‘Network’ in library 1wIP_enc28j60 is not valid. Setting to ‘uncategorized’
WARNING : Category ‘Network’ in library 1wIP_w5500 is not valid. Setting to ‘uncategorized’

Regards

]]>