REGISTER NOW !

IoT using IPCS NodeMCU Training Board v1.0 (Part-1)


IoT using IPCS NodeMCU Training Board

NodeMCU is a low-cost open source IoT platform. It has firmware which runs on the inbuilt ESP8266 Wi-Fi module from Espressif Systems, and hardware which is based on the ESP-12 module. The term “NodeMCU” refers to the firmware rather than the development kits. Lua scripting language is the programming language used to program NodeMCU. This is based on the eLua project and built on the Espressif Non-OS SDK for ESP8266. NodeMcu can be programmed using the Arduino IDE.

History of NodeMCU

NodeMCU was created after the ESP8266 WiFi module came out. On December 30, 2013, Espressif Systems started to manufacture ESP8266. The ESP8266 is a Soc with Wi-Fi and a Tensilica Xtensa LX106 core integrated with it for  IoT applications. NodeMCU started on 13 Oct 2014, Hong submitted the first file of NodeMCU-firmware to GitHub. Two months later, Huang R expanded this project as an open-hardware platform the Gerber file of an ESP8266 board, named devkit v0.9. NodeMCU was able to support the MQTT IoT protocol by using Lua Script to access the MQTT broker.

Programming NodeMCU Using Arduino IDE:

In this blog post, we will learn how to program the NodeMCU module using Arduino IDE. If you’re new to NodeMCU and Arduino IDE learn some basic programming structure from here https://www.arduino.cc/ .

First of all, I thank the guys who ported the ESP8266 into Arduino IDE and helping us to programme faster without much knowledge of programming. Let us begin with Installing  ESP8266 support into Arduino IDE.

Installing ESP8266 Support:

Step1:

Install latest Arduino IDE from the Arduino web site https://www.arduino.cc/en/Main/Software . The Arduino IDE should be above version 1.6 and above.

Step2:

After installing the software open it and go to File -> Preference. Paste the following URL in the Additional boards Manager

http://arduino.esp8266.com/stable/package_esp8266com_index.json

and then click OK to close the preference Tab.

Step3:

After completing the above steps, go to Tools -> Board-> Board Manager and search for esp8266 by esp8266 community and install the software for Arduino IDE.

Once all the above steps have been completed correctly. We are now ready to program our esp8266 with Arduino IDE.

LED Blinking Using NodeMCU:

Watch the video

For this example, we have used “IPCS NodeMCU Training Board v1.0” which is Embedded with LoLin NodeMCU Module ver 0.1.

Connect “IPCS NodeMCU Training Board v1.0” using USB cable into your laptop or desktop. It required CH340 driver which can be download from https://sparks.gogo.co.nz/ch340.html. Now note down the COM port assigned to the NodeMCU module in your system.

Select Tools -> Board as  NodeMCU 1.0 (ESP-12E Module) , CPU Frequency as 80MHZ, Flash size as 4M(3M SPIFFS),  Upload speed as 115200(this is default uploading speed in NodeMCU don’t confuse with Serial communication baud rate) and select the correct COM port to run the program on your esp8266 device..

Connect D0 to a led in IPCS NodeMCU Training board using jumper wire.  Use the following led blink code for testing

int ledpin=D0;

void setup(){

// initialize digital pin D0 as an output.

pinMode(ledpin,OUTPUT);

}

// This loop function runs again and again forever

void loop() {

digitalWrite(ledpin,HIGH);    //Turn the LED on

delay(1000);    //wait for a second

digitalWrite(ledpin,LOW);     //Turn the LED on

delay(1000);    //wait for a second

}

 

Finally, upload the program and see the results.

For Exmaple watch the video

Summary
Article Name
IoT using IPCS NodeMCU Training Board v1.0 (Part-1)
Description
NodeMCU is a low cost open source IoT platform. It has firmware which runs on the inbuilt ESP8266 Wi-Fi module from Espressif Systems, and a hardware which is based on the ESP-12 module. The term "NodeMCU" refers to the firmware rather than the development kits. Lua scripting language is the programming language used to program NodeMCU. This is based on eLua project, and built on the Espressif Non-OS SDK for ESP8266. NodeMcu can be programmed using Arduino IDE.
Author
Publisher Name
IPCS Automation Coimbatore
Publisher Logo

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *

ONLINE REGISTRATION

    PLACEMENTS / REVIEWS

    Dhanraj Kunjimangalam – Automation Engineers, Kannur

    One of the best automation trainings. Very helpful and knowledgable staff who are always willing to share information and technical... Read All

    Automation Engineer - Kannur, Kerala

    HalGatewood.com Plugins
    4.0
    2018-05-28T05:50:03+00:00

    Automation Engineer - Kannur, Kerala

    One of the best automation trainings. Very helpful and knowledgable staff who are always willing to share information and technical knowledge. I recommend IPCS Calicut to those aspiring to be automation engineers.

    Saheer Zain Pulloor – Malappuram

    The faculty and staff members are very good. They provide good training and placement too. Everyone here was very friendly... Read All

    Malappuram, Kerala

    HalGatewood.com Plugins
    5.0
    2018-05-28T06:07:55+00:00

    Malappuram, Kerala

    The faculty and staff members are very good. They provide good training and placement too. Everyone here was very friendly and the equipment's are well equipped and organised.

    Gopikrishnan R – Automation Engineer Kochi

    Wonderful experience I had,... Good place for Automation training and friendly staffs....

    Automation Engineer, Muvattupuzha, Kochi

    HalGatewood.com Plugins
    5.0
    2018-05-28T06:10:51+00:00

    Automation Engineer, Muvattupuzha, Kochi

    Wonderful experience I had,... Good place for Automation training and friendly staffs....

    Shaakir Ahamed – Electrical Automation Engineer Colombo, Sri Lanka

    I joined here after my bachelor’s degree as a fresh graduate and this is a good place to get hands... Read All

    Electrical Automation Engineer Colombo, Sri Lanka

    HalGatewood.com Plugins
    4.0
    2018-05-28T06:13:36+00:00

    Electrical Automation Engineer Colombo, Sri Lanka

    I joined here after my bachelor’s degree as a fresh graduate and this is a good place to get hands on training in electrical automation. I would recommend to join here after the second year of the degree.

    Govind Raj – BMS Engineer Namakkal, Tamil Nadu

    I had studied my bms course from ipcs automation. Good atmosphere to learn everything and good staff too.

    BMS Engineer, Namakkal, Tamil Nadu

    HalGatewood.com Plugins
    4.0
    2018-05-28T06:16:00+00:00

    BMS Engineer, Namakkal, Tamil Nadu

    I had studied my bms course from ipcs automation. Good atmosphere to learn everything and good staff too.

    Twambaze Aimable – BMS & Automation Engineer, Rwanda, East Africa

    I'm very glad to be one of IPCS Cochin trainee graduated in BMS & AUTOMATION. This a good genesis of... Read All

    BMS & Automation Engineer, Rwanda, East Africa

    HalGatewood.com Plugins
    5.0
    2018-05-28T06:19:35+00:00

    BMS & Automation Engineer, Rwanda, East Africa

    I'm very glad to be one of IPCS Cochin trainee graduated in BMS & AUTOMATION. This a good genesis of my engineering carrier. Aimable TWAMBAZE Kigali _ Rwanda

    Ajish Ashok – Automation Training Trivandrum, Kerala

    Excellent Training Center. Joined here for automation course after M.Tech, and work experience. Good faculty and it is highly job... Read All

    Automation Training Trivandrum, Kerala

    HalGatewood.com Plugins
    5.0
    2018-05-28T11:20:08+00:00

    Automation Training Trivandrum, Kerala

    Excellent Training Center. Joined here for automation course after M.Tech, and work experience. Good faculty and it is highly job oriented training. Best part is they will provide you with numerous job interviews after the training program, so that you can chose as per your own interest.

    Vishnu Vdev V – Automation Placements Trivandrum, Kerala

    Good plc training providers in Trivandrum. Much helpful training for getting jobs in automation field. Placement options offered is also... Read All

    Automation Placements Trivandrum, Kerala

    HalGatewood.com Plugins
    5.0
    2018-05-28T11:56:03+00:00

    Automation Placements Trivandrum, Kerala

    Good plc training providers in Trivandrum. Much helpful training for getting jobs in automation field. Placement options offered is also good.

    Harikrishnan S – Automation Placements Alappuzha, Kerala

    Good training,excellent faculties

    Automation Placements Alappuzha, Kerala

    HalGatewood.com Plugins
    5.0
    2018-05-28T11:59:30+00:00

    Automation Placements Alappuzha, Kerala

    Good training,excellent faculties

    Anil Mohan – Automation Engineer Dubai, UAE

    This place helped me a lot to improve my skills on automation by giving the real industrial exposure . excellent... Read All

    Automation Engineer Dubai, UAE

    HalGatewood.com Plugins
    5.0
    2018-05-29T07:22:35+00:00

    Automation Engineer Dubai, UAE

    This place helped me a lot to improve my skills on automation by giving the real industrial exposure . excellent lab facilities and good training methodologies
    4.7
    10

    WORKSHOPS [ 2 - 5 DAYS ]

    • Corporate Companies
    • Working Professionals
    • Education Institutions

    IPCS AUTOMATION TRAINING INSTITUTE

    IPCS Automation research oriented Training Institute, Providing job oriented training & Government, International certification with 100% placements. IPCS Automation Authorized training center for PLC Training, automation Training, corporate Training, Marine Automation, Process Control Automation, Machine Automation, Industrial Automation, Building Management System Training, SCADA Training, DCS Training, HMI Training, VFD Training, CCTV & Security System Training, BMS Training, Control Panels Designing Training, Calibration Training, EMBEDDED Training.

    IPCS AUTOMATION TRAINING INSTITUTE

    IPCS Automation research oriented Training Institute, Providing job oriented training & Government, International certification with 100% placements. IPCS Automation Authorized training center for PLC Training, automation Training, corporate Training, Marine Automation, Process Control Automation, Machine Automation, Industrial Automation, Building Management System Training, SCADA Training, DCS Training, HMI Training, VFD Training, CCTV & Security System Training, BMS Training, Control Panels Designing Training, Calibration Training, EMBEDDED Training.

    Automation Training: India | Mumbai | Kerala | Cochin | Kochi | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    PLC Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    SCADA Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    VFD Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    DCS Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    HMI Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    Electric Control Panel Designing Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    Process Control Automation Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    Automation Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    Automation Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    Automation Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    Automation Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe

    Automation Training: India | Mumbai | Kerala | Cochin | Calicut | Trivandrum | Tamil Nadu | Coimbatore | Chennai | UAE | Saudi Arabia | Qatar | Singapore | Malaysia | Africa | Nijeria | Ghana | Sudan | Zimbabwe