Arduino - Code:
// For a connection via I2C using Wire include
#include <Wire.h> // Only needed for Arduino 1.6.5 and earlier
#include "SH1106Wire.h" //alis for `#include "SH1106Wire.h"`
#include "Graphic_esp8266_dht22_oledi2c.h"
#include <DHT.h>
#define DHTPIN D5 // what pin we're connected to
#define DHTTYPE DHT22 // DHT 11
// Initialize the OLED display using Wire library
SH1106Wire display(0x3c, D2, D1);
// Initialize DHT sensor for normal 16mhz Arduino
DHT dht(DHTPIN, DHTTYPE);
void setup() {
// Initialising the UI will init the display too.
display.init();
display.flipScreenVertically();
display.setFont(ArialMT_Plain_16);
display.setTextAlignment(TEXT_ALIGN_LEFT);
dht.begin(); // initialize dht
}
void displayTempHumid() {
// Reading temperature or humidity takes about 250 milliseconds!
// Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)
float h = dht.readHumidity();
// Read temperature as Celsius
float t = dht.readTemperature();
// Read temperature as Fahrenheit
// float f = dht.readTemperature(true);
// Check if any reads failed and exit early (to try again).
if (isnan(h) || isnan(t) ) { // || isnan(f)
display.clear(); // clearing the display
display.drawString(5, 0, "Failed DHT");
display.display();
return;
}
display.setColor(WHITE);
display.clear();
display.drawXbm(0, 15, 128, 35, img_esp8266);
display.display();
delay(3000);
display.clear();
display.drawXbm(47, 0, 32, 64, dht_logo);
display.display();
delay(3000);
display.clear();
display.setFont(ArialMT_Plain_16);
display.drawString(0, 0, "TEMPERATURA");
display.setFont(ArialMT_Plain_24);
display.drawString(0, 26, String(t) + " C");
display.drawXbm(100, 20, 20, 40, temp_logo);
display.display();
delay(5000);
display.clear();
display.setFont(ArialMT_Plain_16);
display.drawString(0, 0, "HUMIDITY");
display.setFont(ArialMT_Plain_24);
display.drawString(0, 26, String(h) + " %");
display.drawXbm(94, 20, 29, 40, humi_logo);
display.display();
delay(5000);
display.clear();
display.drawXbm(31, 0, 67, 64, ok_01);
display.display();
delay(3000);
}
void loop() {
display.clear(); // clearing the display
displayTempHumid();
delay(2000);
}
Graphic_esp8266_dht22_oledi2c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FF, 0XFF, 0XFF, 0XFF, 0XFF, 0X0F,
0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00,
0X00, 0X00, 0X00, 0X10, 0X00, 0XC0, 0X00, 0X20, 0X00, 0X00, 0X02, 0X00, 0X00, 0X08, 0X80, 0X00,
0X00, 0X00, 0X00, 0X00, 0X00, 0X80, 0X00, 0X20, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X80, 0X00,
0X00, 0X00, 0XDE, 0X9B, 0XF7, 0X9E, 0XBC, 0X77, 0XDE, 0X7B, 0XF3, 0XDE, 0X7B, 0XF8, 0XDE, 0X79,
0X00, 0X00, 0X42, 0X10, 0XE7, 0X9E, 0XBC, 0X20, 0X42, 0X4A, 0X12, 0X5E, 0X48, 0XF8, 0X82, 0X70,
0X00, 0X00, 0X52, 0X10, 0X84, 0X82, 0X84, 0XA4, 0X42, 0X4A, 0X92, 0X42, 0X48, 0X19, 0X92, 0X42,
};
const uint8_t dht_logo[] PROGMEM = { // 32 x 64
0XC0, 0XFF, 0XFF, 0X03, 0XC0, 0XFF, 0XFF, 0X03, 0X20, 0X00, 0X00, 0X04, 0X18, 0XC0, 0X03, 0X18,
0X18, 0XC0, 0X03, 0X18, 0X18, 0X20, 0X04, 0X18, 0X04, 0X20, 0X04, 0X20, 0X04, 0X20, 0X04, 0X20,
0X04, 0XC0, 0X03, 0X20, 0X04, 0XC0, 0X03, 0X20, 0X03, 0X00, 0X00, 0XC0, 0X03, 0XDE, 0X7B, 0XC0,
0X03, 0XDE, 0X7B, 0XC0, 0X03, 0XDE, 0X7B, 0XC0, 0X03, 0XDE, 0X7B, 0XC0, 0X03, 0X00, 0X00, 0XC0,
0XFF, 0XDE, 0X7B, 0XFF, 0XFF, 0XDE, 0X7B, 0XFF, 0XFF, 0XDE, 0X7B, 0XFF, 0XFF, 0XDE, 0X7B, 0XFF,
0X03, 0X00, 0X00, 0XC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, 0X08, 0X00, 0X01, 0X88, 0X7F, 0X01, 0X08, 0X00, 0X01, 0X08, 0X78,
0X01, 0X08, 0X00, 0X01, 0X88, 0X7F, 0X01, 0X08, 0X00, 0X01, 0X08, 0X78, 0X01, 0X08, 0X00, 0X01,
0X68, 0X40, 0X01, 0XE8, 0X60, 0X01, 0XE8, 0X7F, 0X01, 0XE8, 0X7F, 0X01, 0XE8, 0X7F, 0X01, 0XE8,
0X7F, 0X01, 0XE8, 0X7F, 0X01, 0XE8, 0X7F, 0X01, 0XE4, 0X7F, 0X02, 0XF2, 0XFF, 0X04, 0XFA, 0XFF,
0X05, 0XF9, 0XFF, 0X09, 0XFD, 0XFF, 0X0B, 0XFD, 0XFF, 0X0B, 0XFD, 0XFF, 0X0B, 0XFD, 0XFF, 0X0B,
0XF9, 0XFF, 0X09, 0XFA, 0XFF, 0X05, 0XF2, 0XFF, 0X04, 0XE4, 0X7F, 0X02, 0XC8, 0X3F, 0X01, 0X10,
};
const uint8_t humi_logo[] PROGMEM = { // 29 x 40
0X00, 0X00, 0X00, 0X00, 0XC0, 0X00, 0X00, 0X00, 0XE0, 0X00, 0X00, 0X00, 0XE0, 0X01, 0X00, 0X00,
0XF0, 0X01, 0X00, 0X00, 0XF0, 0X03, 0X00, 0X00, 0XF8, 0X07, 0X04, 0X00, 0XFC, 0X07, 0X0E, 0X00,
0XFC, 0X0F, 0X0F, 0X00, 0XFC, 0X0F, 0X1F, 0X00, 0XFE, 0X9F, 0X3F, 0X00, 0XFE, 0X9F, 0X3F, 0X00,
0XFF, 0X1F, 0X7F, 0X00, 0XFF, 0X1F, 0X7F, 0X00, 0XFD, 0X3F, 0XFF, 0X00, 0XFD, 0X3F, 0XFF, 0X01,
0XFD, 0X3F, 0XFF, 0X01, 0XF9, 0X1F, 0XFF, 0X03, 0XF2, 0X1F, 0XFF, 0X03, 0XE6, 0X9F, 0XFF, 0X07,
0XCC, 0X8F, 0XFF, 0X07, 0XF8, 0XC7, 0XFF, 0X07, 0XC0, 0XE0, 0XFF, 0X0F, 0X00, 0XF0, 0XFF, 0X0F,
0X00, 0XFC, 0XFF, 0X0F, 0X00, 0XFF, 0XFF, 0X1F, 0X00, 0XFB, 0XFF, 0X1F, 0X00, 0XF9, 0XFF, 0X1F,
0X00, 0XF9, 0XFF, 0X1F, 0X00, 0XF9, 0XFF, 0X1F, 0X00, 0XF9, 0XFF, 0X1F, 0X00, 0XF3, 0XFF, 0X1F,
0X00, 0XF3, 0XFF, 0X0F, 0X00, 0XE7, 0XFF, 0X0F, 0X00, 0X86, 0XFF, 0X0F, 0X00, 0X0E, 0XFE, 0X07,
};
const uint8_t ok_01[] PROGMEM = { //67 x 64
0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0XF8, 0X00, 0X00, 0X00,
0X00, 0X00, 0X00, 0X00, 0X00, 0XCE, 0X03, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X03, 0X06,
0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X80, 0X01, 0X0C, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X80,
0X00, 0X08, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X80, 0X00, 0X18, 0X00, 0X00, 0X00, 0X00, 0X00,
0X00, 0X80, 0X00, 0X10, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0XC0, 0X00, 0X10, 0X00, 0X00, 0X00,
0X00, 0X00, 0X00, 0X40, 0X00, 0X10, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X40, 0X00, 0X10, 0X00,
0X00, 0X00, 0X00, 0X00, 0X00, 0X40, 0X00, 0X10, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X60, 0X00,
0X18, 0X00, 0X00, 0X00, 0X00, 0X00, 0XC0, 0X3F, 0X00, 0X18, 0X00, 0X00, 0X00, 0X00, 0X00, 0X78,
0XE0, 0X01, 0X08, 0X00, 0X00, 0X00, 0X00, 0X00, 0X0E, 0X00, 0X07, 0X0C, 0X00, 0X00, 0X00, 0X00,
0X00, 0X03, 0X00, 0X0C, 0X06, 0X00, 0X00, 0X00, 0X00, 0X80, 0X01, 0X00, 0X38, 0X03, 0X00, 0X00,
0X00, 0X00, 0XC0, 0X00, 0X00, 0XE0, 0X01, 0X38, 0X00, 0X00, 0X00, 0X60, 0X00, 0X00, 0XC0, 0XE0,
0XFF, 0X07, 0X00, 0X00, 0X30, 0X00, 0X00, 0X80, 0X79, 0X6E, 0X3C, 0X00, 0X00, 0X18, 0X00, 0X00,
0X00, 0X0F, 0X7B, 0XE0, 0X00, 0X00, 0X08, 0X00, 0X00, 0X00, 0X03, 0X7F, 0XC0, 0X01, 0X00, 0X0C,
0XE0, 0X03, 0X00, 0X82, 0X03, 0XC0, 0X07, 0X00, 0X04, 0X00, 0X1F, 0X00, 0X82, 0X01, 0X40, 0X0F,
0X00, 0X04, 0X00, 0X70, 0X00, 0X06, 0X00, 0XE0, 0X1A, 0X00, 0X06, 0X00, 0XE0, 0X01, 0X04, 0X00,
0XE0, 0X1F, 0X00, 0X02, 0X00, 0X80, 0X03, 0X04, 0X1E, 0X00, 0X36, 0X00, 0X02, 0X00, 0X00, 0X0E,
0X04, 0X3F, 0X00, 0X66, 0X00, 0X02, 0X00, 0X00, 0X18, 0X84, 0X61, 0X00, 0XC6, 0X00, 0X02, 0X00,
0X00, 0X30, 0X86, 0X40, 0XF0, 0X80, 0X00, 0X02, 0X00, 0X00, 0X60, 0XC2, 0XDE, 0XF8, 0X83, 0X01,
0X02, 0X00, 0X00, 0XC0, 0X43, 0X9F, 0X0C, 0X03, 0X01, 0X02, 0X78, 0X00, 0XC0, 0X4D, 0XBF, 0X7C,
0X06, 0X03, 0X06, 0XC0, 0X01, 0X80, 0X7C, 0XBF, 0XFC, 0X0C, 0X03, 0X04, 0X00, 0X07, 0X80, 0XC0,
0XBF, 0XEC, 0X0C, 0X02, 0X04, 0X00, 0X1C, 0X80, 0X80, 0XDF, 0XFC, 0X08, 0X02, 0X0C, 0X00, 0X30,
0X80, 0X00, 0X4F, 0XFC, 0X08, 0X06, 0X08, 0X00, 0X60, 0X80, 0X3F, 0X66, 0XF8, 0X08, 0X06, 0X18,
0X00, 0XC0, 0XC0, 0XF1, 0X3C, 0X78, 0X0C, 0X04, 0X30, 0X00, 0X80, 0X61, 0XF0, 0X1C, 0X30, 0X3F,
0X04, 0X60, 0X00, 0X00, 0X39, 0X60, 0X08, 0XE0, 0X21, 0X04, 0XC0, 0X00, 0X00, 0X0F, 0XC0, 0X08,
0XE0, 0X00, 0X04, 0X80, 0X01, 0X00, 0X01, 0XC0, 0X01, 0X20, 0X00, 0X04, 0X00, 0X07, 0X00, 0X01,
0XC0, 0X07, 0X00, 0X1F, 0X06, 0X00, 0X1E, 0X80, 0X01, 0XC0, 0X3D, 0X00, 0X17, 0X06, 0X00, 0XF8,
0XF0, 0X00, 0X80, 0XE3, 0XFF, 0X01, 0X02, 0X00, 0XC0, 0XBF, 0X01, 0X80, 0X0F, 0X3C, 0X00, 0X02,
0X00, 0X00, 0X80, 0X01, 0X80, 0X1D, 0X3C, 0X00, 0X03, 0X00, 0X00, 0X00, 0X01, 0X00, 0XF7, 0X17,
0X00, 0X01, 0X00, 0X00, 0X00, 0X03, 0X00, 0X8F, 0X19, 0X80, 0X01, 0X00, 0X00, 0X00, 0X02, 0X00,
0X3A, 0X08, 0X80, 0X01, 0X00, 0X00, 0X00, 0X06, 0X00, 0X7E, 0X0C, 0XC0, 0X00, 0X00, 0X00, 0X00,
0X0C, 0X00, 0XDC, 0X04, 0X40, 0X00, 0X00, 0X00, 0X00, 0X0C, 0X00, 0X98, 0X06, 0X60, 0X00, 0X00,
0X00, 0X00, 0X18, 0X00, 0XF0, 0X03, 0X30, 0X00, 0X00, 0X00, 0X00, 0X30, 0X00, 0X00, 0X00, 0X18,
0X00, 0X00, 0X00, 0X00, 0X60, 0X00, 0X00, 0X00, 0X0C, 0X00, 0X00, 0X00, 0X00, 0XC0, 0X01, 0X00,
0X00, 0X06, 0X00, 0X00, 0X00, 0X00, 0X80, 0X03, 0X00, 0X80, 0X03, 0X00, 0X00, 0X00, 0X00, 0X00,
0X0E, 0X00, 0XE0, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00, 0X78, 0X00, 0X3C, 0X00, 0X00, 0X00, 0X00,
};
Dear Friend,
RăspundețiȘtergereIt is not working to me, the Arduino IDE is showing an Error to compile to board NodeMCU 1.0 (ESP-12E Module).
Do you know what is happen
The problem is with the code posted by me?
ȘtergereI am not sure what is happen, the code is yours, but the IDE can not compile to the board NodeMCU 1.0 (ESP-12E module). Could you send me the links to dowload the libraries used here?
RăspundețiȘtergereThank you very much.
In my code is an example for OLED with the SH1106 controller.
RăspundețiȘtergereYou can find the OLED library here: https://github.com/ThingPulse/esp8266-oled-ssd1306
Hi , How to convert this image ? software name please ?
RăspundețiȘtergerehttps://crisselectronicprojects.blogspot.com/p/bitmap.html
ȘtergereGood demonstration. Pease, i need the ESP8266 library for proteus. bouyomhyacinthe@gmail.com
RăspundețiȘtergereI'm sorry but I don't have the esp8266 model for proteus. I don't even know if it is.
ȘtergereI got everything working, except the numbers seem to be integers instead of floating point. But I am using a cheaper temp sensor, so I think that's the problem, not your code. Thanks for publishing this project!
RăspundețiȘtergereIt's bullshit, waste of time. Where did you get that libraries...
RăspundețiȘtergere