Skip to main content

BLINK

Hello folks!this post is about my hands on with a microcontroller ESP8266.Its a low-cost wifi device.I used arduino an opensource frimware as a SDK(software development kit) to programme a blink operation in LED.Now I gonna give you my protocol.

COMPONENTS NEEDED:
SOFTWARE PART:
  • After completion of Arduino installation,please click Tools option and check for board details.I am damn sure,there will be no ESP8266 modules.so follow the below.
  • Click Files option and then select preferences.In preferences window just paste this link http://arduino.esp8266.com/stable/package_esp8266com_index.json and seleck ok.
  • Then further click board manager from board.In that type esp8266 and check it.It will show you esp8266 modules.click that and install it.
  • Now you are ready to blink a LED.

BLINK:
  • Connect the ESP8266 with USB cable to your computer
  • In Arduino IDE check for the port.
  • Then in the board select node mcu1.0.......
  • connect the jumper wires to D7 and LED in the bread board.
  • And ground it.
  • Now just paste  the following code in the IDE and upload it to the ESP8266.
void setup() {
  pinMode(D7, OUTPUT);     // Initialize the LED_BUILTIN pin as an output
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(D7, LOW);   // Turn the LED on (Note that LOW is the voltage level
                                    // but actually the LED is on; this is because 
                                    // it is acive low on the ESP-01)
  delay(1000);                      // Wait for a second
  digitalWrite(D7, HIGH);  // Turn the LED off by making the voltage HIGH
  delay(1000);                      // Wait for two seconds (to demonstrate the active low LED)
}
  • After uploading,you can see a blinking LED.
  • The below video is my blinking LED folks.

Comments

Popular posts from this blog

SUPERGLUES

welcome back!In this post i am gonna discuss about super glues.We all know that these super glues are used to bond any broken materials.It may also used in various other aspects. These super glues are nothing but  cyanoacrylate .Most of our superglues are composed of  Methyl 2-cyanoacrylates and Ethyl 2-cyanoacrylates. Fevi kwik by pidilite Discovery:  It was during the middle of world war-II,a group of scientist led by Dr.Harry coover Jr were searching for a suitable materials in the production of plastic gun sight.But they discovered this sticky substance.So they abandoned their work.Interestingly during this war soldier used this sticky gum to seal their wounds.Many years later Dr.harry and his colleague rediscovered this cyanoacrylate again at kotak labs and marketed it as Eastman #910.   Now we shall see its medicinal uses. fevi kwik applied on cut Skin closure treatment These superglues can be used in skin closure of small cuts effective...

BIOLOGICAL WEAPONS

Welcome back!In this post we gonna see about some Biological weapons in recent times.This Bio-weapons may be existed in ancient times too,But they didnt have any techniques to optimise it. TIMELINE: 6th century BC Assyrians where the first to use Fungus as a weapon. 14th  century  Mongols threw the dead bodies of their soldiers due to plaque into the walls of their enemy.Many historians believe this was the reason for black death. During world war-I Germans used Anthrax to infect the horse and mules of their enemy. After World war-II Britan,Japan,USA and Russia started preparing their Bio-weapons. MODERN BIO-WEAPONS: You know USA and Russia both preserved smallpox virus which is known as eradicated.Though powerful nations have some dangerous biological weapons,they cannot use them as many treaties block their usage.Now a days only terrorist organisations uses these kind of weapons.Let us see about Amerithrax incident. AMERITHRAX: It was after 9/11 attacks j...

PYTHON FACTS...

TREE PYTHON Hello everyone.In this post we gonna see about a computer language "Python". FACT BEHIND ITS NAME: The name of this language is not derived from the snake.Actually the creator of python coding,Guido Van Rossom was a big fan of british comedy troop called "the pythons".so he named it as python. CODE BLOCKS IN PYTHON: In python the indentations for code block is just white spaces,such a programmer friendly it was. SOME OF THE REALTIME APPLICATIONS THAT USES PYTHON GOOGLE Most of the core search algorithms at Google are written in Python and C++. Various build systems, log analysis, code review tools etc are written in Python by Googlers. YouTube   :  Previously it was written in PHP but eventually it was replaced by Python and the site uses Python heavily for various purposes like view video etc. google uses python for its AI works too. DROPBOX This file hosting service application is originally written in python Bot...