IOT for Beginners-with Node Mcu
by creative sam in Circuits > Wireless
1999 Views, 2 Favorites, 0 Comments
IOT for Beginners-with Node Mcu
Hi I,m Samarth in this tutorial, iwill be teaching you how to create your own IOT projects using the NODE MCU wifi module and Blynk app.
Supplies
1.Windows PC or MAC
2.Android or IOS phone
3.Node mcu - ESP8266
4.led
5.Breaddboard
6. jumpers
What Is Node Mcu and Blynk ?
NODE MCU
NodeMCU is an open source firmware for which open source prototyping board designs are available. The name "NodeMCU" combines "node" and "MCU" (micro-controller unit).[8]. The term "NodeMCU" strictly speaking refers to the firmware rather than the associated development kits.[citation needed]
Both the firmware and prototyping board designs are open source.
BLYNK
Blynk is a Platform with IOS and Android apps to control Arduino, Raspberry Pi and the likes over the Internet. It's a digital dashboard where you can build a graphic interface for your project by simply dragging and dropping widgets.
Installing Blynk App
:-Install blynk app on your iPhone or android device
Link to download blynk on ios:
https://apps.apple.com/us/app/blynk-control-arduin...
Link to download blynk on android:
Create Your First Iot Project - 1
now that you have done installing blynk, we can move on to creating your first iot project.
>create a Blynk account and login
>once you have logged into your account, click on new project
>Give your project a name, select the board as NODEMCU, the connection type as wifi and create project
>Drag button icon on the main screen and then click on that button icon
> Click the '+' button and add a switch to control your led
>Change Pin to whatever pin you want to connect your led in output section. I connected led to D7 so i changed pin to D7. Then change the mode type if you want it as switch. Please refer the image
>Go back to main screen
>Check your email and copy the auth token sent by Blynk
Installing the Board in Arduino Ide and the Blynk Library
Now we have to install the node mcu board in the arduino ide and install Blynk library.
>Open arduino ide and click on tools.
>click on board
>click 'board manager'
>now search for node mcu in the search box and install the board.
Now that we have installed the board in the arduino ide, we have to install the Blynk library
click on this github link and download the library:
https://github.com/blynkkk/blynk-library/releases
UPloading the Code to the Node Mcu
>Import the blynk library to your code.
>Under examples, select Blynk esp8266 standalone.
>Change the SSID and password with your SSID and password
>Paste the auth token which you copied from your email.
>Compile and upload your code.
Connecting the Led to the Node Mcu
>Connect the power pin of the led to Digital pin 7 of the node mcu.
>Connect the GND pin to GND on the node mcu.
Testing Your First IOT Project !!!
Now let us check if our iot project works
So you guys can see the photos and video and the node mcu iot project is working perfectly fine.
If you liked my tutorial, like, comment and share it.