About: Love electronics stuff, and expert in Hardware projects.....Many projects are on the way in my future Instructables. (Expect atleast a instructable every month in 2022)

Hi Guys,

In this instructable , let us learn how to control movement of a servo motor through WiFi using Node MCU and Blynk App.

Step 1: Components Required

  1. Node MCU
  2. SG 90 Micro Servo Motor
  3. Male-Female Jumper Wires
  4. 5v power supply (9v Battery will be good)
  5. Bread Board

Step 2: Connections

  • Use a 9v Battery in the Place of 5v mentioned in the circuit diagram.
  • Connect the Signal Pin of the servo to the D8 PIN of the Node MCU.
  • Connect the GND of the Servo Motor, Battery and the Node MCU together.


  • SIGNAL -- ORANGE pin
  • VCC / +ve terminal -- RED pin
  • GND / -ve terminal -- BROWN pin

Step 3: Code

Upload the Following Code in your Node MCU.

Before that, if you don't have NODE MCU and Blynk Libraries.

Follow these steps to add them first.

Step 1:
Click the links separately -> For Blynk For Node MCU

zip files will be downloaded.

(For the Node MCU click on Clone or download button and download zip file)

Step 2: open Sketch ->Libraries ->Add zip library -> a new window will popup

Step 3:search for the downloaded libraries and click open. The library will be added.

Step 4: Blynk App

Download Blynk App from Playstore

  1. Login with Facebook/Gmail
  2. Click create new project
  3. Type a project name and Select node MCU board
  4. Author token will be sent to your Gmail.
  5. Click on the + icon in the new window and Select Slider button
  6. Click on the Slider button , Set pin as V3 (Virtual pin)
  7. Click on the back button and your Blynk App will be ready.
  8. Switch ON your Mobile Hot spot.
  9. Keep the Data (Internet) ON in your mobile.
  10. Click on the Play button on the Project widow
  11. Now, Click on the Board icon on the top.
  12. Your Node MCU will be connected to your Phone.

Step 5: It Works!

After the Node MCU is connected to the Blynk App,
Slide the Slider button and release it to move the servo motor.

Refer to my previous INSTRUCTABLES to know more about Node MCU.

Be the First to Share


    • Lamps Challenge

      Lamps Challenge
    • Rice & Grains Challenge

      Rice & Grains Challenge
    • CNC and 3D Printing Contest

      CNC and 3D Printing Contest