This file contains 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_PRINT Serial // Comment this out to disable prints and save space | |
#include <SPI.h> | |
#include <ESP8266WiFi.h> | |
#include <BlynkSimpleEsp8266.h> | |
#include <SimpleTimer.h> | |
#include <DHT.h> | |
// You should get Auth Token in the Blynk App. | |
// Go to the Project Settings (nut icon). |
This file contains 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 <dht.h> | |
dht DHT; | |
#define DHT11_PIN 7 | |
void setup(){ | |
Serial.begin(9600); | |
} |
This file contains 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 // | |
// EDISON SCIENCE CORNER // | |
// EDISON SCIENCE CORNER // | |
// EDISON SCIENCE CORNER // | |
const int s0 = 8; | |
const int s1 = 9; | |
const int s2 = 12; | |
const int s3 = 11; |
This file contains 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 | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space | |
#include <SPI.h> | |
#include <ESP8266WiFi.h> | |
#include <BlynkSimpleEsp8266.h> | |
#include <SimpleTimer.h> | |
#include <DHT.h> |
This file contains 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 | |
//edison science corner | |
//edison science corner | |
#define t 30 | |
#define t1 20 | |
#define t2 100 | |
#define t3 50 | |
void setup() { | |
// set up pins 2 to 13 as outputs |
This file contains 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 | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
#include "pitches.h" | |
int led=13; | |
int noteDuration; | |
int pauseBetweenNotes = 0; |
This file contains 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// | |
//EDISON SCIENCE CORNER// | |
//EDISON SCIENCE CORNER// | |
//EDISON SCIENCE CORNER// | |
//EDISON SCIENCE CORNER// |
This file contains 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
// www.edisonsciencecorner.blogspot.com | |
// https://www.youtube.com/channel/UCESZHuYTzx0Eyd3yJ8u60Fg | |
#include <ESP8266WiFi.h> | |
char ssid[] = "edison science corner"; // ssid | |
char pass[] = "eeeeeeee"; // password | |
int readD1; | |
int readD2; | |
int Pin_D1 = 4; | |
int Pin_D2 = 5; |
This file contains 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
// www.edisonsciencecorner.blogspot.com | |
// https://www.youtube.com/channel/UCESZHuYTzx0Eyd3yJ8u60Fg | |
#include <Servo.h> | |
Servo myservo; // create servo object to control a servo | |
int potpin = 0; // analog pin used to connect the potentiometer | |
int val; // variable to read the value from the analog pin |
This file contains 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
//www.edisonsciencecorner.blogspot.com | |
//https://www.youtube.com/channel/UCESZHuYTzx0Eyd3yJ8u60Fg | |
#define BLYNK_PRINT Serial | |
#include <ESP8266WiFi.h> |
OlderNewer