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
#include <Wire.h>
#include "LedControl.h"
LedControl lc=LedControl(12,10,11,4); // Pins: DIN,CLK,CS, # of Display connected
struct point
{
int y, x;
int aX, aY;
};
#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//
//EDISON SCIENCE CORNER//
//EDISON SCIENCE CORNER//
//EDISON SCIENCE CORNER//
@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 / arduino touch sensor plant.ino
Last active June 30, 2023 06:09
arduino touch sensing plant
// EDISON SCIENCE CORNER
// EDISON SCIENCE CORNER
// EDISON SCIENCE CORNER
// EDISON SCIENCE CORNER
// EDISON SCIENCE CORNER
// EDISON SCIENCE CORNER
#include <CapacitiveSensor.h>
//EDISON SCIENCE CORNER
//EDISON SCIENCE CORNER
//EDISON SCIENCE CORNER
//EDISON SCIENCE CORNER
//EDISON SCIENCE CORNER
int digit1 = 11; //PWM Display pin 12 (digit1 is common anonds A1 from right side)
int digit2 = 10; //PWM Display pin 9 (digit2 is common A2)
int digit3 = 9; //PWM Display pin 8 (digit3 is common anods A3)
int digit4 = 6; //PWM Display pin 6 (digit4 is common anods, from left side)
int segA = 2; //Display pin 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;