This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Adafruit_GFX.h> | |
| #include <Adafruit_ST7796S.h> | |
| #include <math.h> | |
| #include <Wire.h> | |
| #include <AHTxx.h> | |
| // ---------------- TFT PINS ---------------- | |
| #define TFT_CS 2 | |
| #define TFT_DC 5 | |
| #define TFT_RST 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Wire.h> | |
| #include <Adafruit_GFX.h> | |
| #include <Adafruit_SSD1306.h> | |
| #define SCREEN_WIDTH 128 | |
| #define SCREEN_HEIGHT 32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| ESP32 DAC - Musical Fruit | |
| espdac-touch-music.ino | |
| ESP32 DAC & Touch Switch Demo | |
| Uses DacESP32 Library - https://github.com/yellobyte/DacESP32 | |
| DroneBot Workshop 2022 | |
| https://dronebotworkshop.com | |
| */ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Wire.h> | |
| #include <Adafruit_GFX.h> | |
| #include <Adafruit_SSD1306.h> | |
| // OLED settings | |
| #define SCREEN_WIDTH 128 | |
| #define SCREEN_HEIGHT 64 | |
| Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1); | |
| // Ultrasonic sensor pins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <DHT11.h> | |
| DHT11 dht11(4); | |
| int analogInPin = A0; // Analog input pin | |
| int sensorValue; // Analog Output of Sensor | |
| int temperature = 0; | |
| int humidity = 0; | |
| float calibration = 0.23; // Check Battery voltage using multimeter & add/subtract the value | |
| int bat_percentage; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://youtu.be/4WgKgwAZ9FE (Please watch and if liked then subscribe) | |
| //EDISON SCIENCE CORNER | |
| //EDISON SCIENCE CORNER | |
| #include <DS3232RTC.h> | |
| #include <TimeLib.h> | |
| #include <Time.h> | |
| #include <Wire.h> | |
| #include <FastLED.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //EDISON SCIENCE CORNER | |
| //www.esclabs.in | |
| #include <SoftwareSerial.h> | |
| SoftwareSerial GSM(11, 10); //SIM800 Tx & Rx is connected to Arduino | |
| char phone_no[]="+919074213906"; //your number with country code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <ESP8266WiFi.h> | |
| #include <ESPAsyncTCP.h> | |
| #include <ESPAsyncWebServer.h> | |
| #include <AsyncJson.h> | |
| #include <ArduinoJson.h> | |
| #include <DNSServer.h> | |
| #include <ESP8266mDNS.h> | |
| #include <FS.h> // For SPIFFS | |
| #include <FastLED.h> | |
| #define NUM_LEDS 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Wire.h> | |
| #include <TEA5767Radio.h> | |
| #include <Arduino.h> | |
| #include <U8g2lib.h> | |
| #ifdef U8X8_HAVE_HW_SPI | |
| #include <SPI.h> | |
| #endif | |
| #ifdef U8X8_HAVE_HW_I2C | |
| #include <Wire.h> | |
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define BLYNK_TEMPLATE_ID "TMPL3zt3E3vMt" | |
| #define BLYNK_TEMPLATE_NAME "temp" | |
| #define BLYNK_AUTH_TOKEN "HTWA-NwX2X-EQy2XglVjx2o40LTtWYCA" | |
| #define BLYNK_PRINT Serial | |
| #include <WiFi.h> | |
| //#include <ESP8266WiFi.h> | |
| #include <BlynkSimpleEsp32.h> | |
| char auth[] = BLYNK_AUTH_TOKEN; | |
| char ssid[] = "edison science corner"; // type your wifi name | |
| char pass[] = "eeeeeeee"; // type your wifi password |
NewerOlder