OLED / DHT22 / thnikspeak / OLED big font

Knihovna: https://github.com/ThingPulse/esp8266-oled-ssd1306/tree/e2286ba37b4454fd2e0e22697a522ac222ffadbc Užití: https://techtutorialsx.com/2019/03/09/esp32-arduino-ssd1306-changing-font-size/     Nutno jestě upravit – aktuálně zobrazuje pouze venkovní teplotu. #include <Wire.h> #include <DHT.h> #include <ESP8266WiFi.h> //#include <ACROBOTIC_SSD1306.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define OLED_RESET LED_BUILTIN Adafruit_SSD1306 display(OLED_RESET); // replace with your channel’s thingspeak API key, String apiKey = „yyyyyyy“; String apiKey2 = „xxxxxx“; const char* ssid = „Brno4“; const char* … Číst dál

NodeMCU / OLED i2C

Testovací demo pro displej OLED   Zdroj: http://arduino-er.blogspot.cz/2016/04/nodemcu-esp8266-to-display-on-128×64.html   /********************************************************************* This is an example for our Monochrome OLEDs based on SSD1306 drivers Pick one up today in the adafruit shop! ——> http://www.adafruit.com/category/63_98 This example is for a 128×64 size display using I2C to communicate 3 pins are required to interface (2 I2C and one reset) … Číst dál

NodeMCU / I2C scanner

i2c Scanner pro NODEMCU Zdroj: http://www.instructables.com/id/ESP8266-I2C-PORT-and-Address-Scanner/ /* * i2c_port_address_scanner * Scans ports D0 to D7 on an ESP8266 and searches for I2C device. based on the original code * available on Arduino.cc and later improved by user Krodal and Nick Gammon (www.gammon.com.au/forum/?id=10896) * D8 throws exceptions thus it has been left out * */ #include … Číst dál

NodeMCU / 2x DTH / 1x OLED / Thinkspeak

Načítá teploty ze 2 čidel, posílá na thinkspeak a zobrazuje na OLED displeji   #include <Wire.h> #include <DHT.h> #include <ESP8266WiFi.h> #include <ACROBOTIC_SSD1306.h> // replace with your channel’s thingspeak API key, String apiKey = „DTQ**********“; String apiKey2 = „HE5**********“; const char* ssid = „Brno4“; const char* password = „**********“; const char* server = „api.thingspeak.com“; #define DHTPIN … Číst dál