Skip to content

Instantly share code, notes, and snippets.

View EDISON-SCIENCE-CORNER's full-sized avatar
🏠
Working from home

RAJESH K T EDISON-SCIENCE-CORNER

🏠
Working from home
View GitHub Profile
#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).
#include <dht.h>
dht DHT;
#define DHT11_PIN 7
void setup(){
Serial.begin(9600);
}
@EDISON-SCIENCE-CORNER
EDISON-SCIENCE-CORNER / colour changing chemelon.ino
Last active April 10, 2020 13:33
colour changing chemelon
// 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;
//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>
//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
//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;
//EDISON SCIENCE CORNER//
//EDISON SCIENCE CORNER//
//EDISON SCIENCE CORNER//
//EDISON SCIENCE CORNER//
//EDISON SCIENCE CORNER//
// 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;
// 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
//www.edisonsciencecorner.blogspot.com
//https://www.youtube.com/channel/UCESZHuYTzx0Eyd3yJ8u60Fg
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>