Arduino / LCD shield / RTC3231

Zapojeno LCD shield a k tomu RTC3231   Návrh na vylepšení – datum převést na 4 místný formát ( 18 -> 2018 ) a ostatní čísla na 2 místný (2 -> 02) //Sample using LiquidCrystal library #include <LiquidCrystal.h> #include „Wire.h“ #define DS3231_I2C_ADDRESS 0x68 // select the pins used on the LCD panel LiquidCrystal lcd(8, 9, … Číst dál

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