Servo Motor Control using New Blynk2.0- 0 to 180 Degree Angle Control with ESP32 & NodeMCU

  Рет қаралды 38,034

SME Dehradun

SME Dehradun

Күн бұрын

This Video will guide you, how you can control angles of servo motor through Blynk2.0. You will get the working programming code for both, ESP32 as well as NodeMCU ESP8266 with circuit diagram. All the related material for this video available in the below description.
Note: All the programming codes are well tested and worked perfectly with hardware. Please like, subscribe and share our channel and gets notified for latest update for research as well as industrial projects related to IoT.
Key Moments:
0:35 List of the Components
0:59 Circuit diagram of servo control through blynk2.0
1:46 Conning SG90 servo motor with blynk2.0
2:01 Configure blynk2.0
2:15 Create template for your blynk project
2:56 How to define data stream in blynk2.0
3:06 How to create virtual pin in blynk2.0
3:59 Add widgets in web dashboard
4:10 how to configure Gauge in web dashboard
4:24 how to configure Super chart in Blynk2.0
5:12 SG90 Servo Control program for ESP32
5:50 Servo motor library for ESP32
6:24 How to add Library to Arduino IDE- 2 alternate method
9:32 How to install ESP32 board in Arduino IDE
9:57 Download Blynk2.0 mobile app
10:30 Add new device to blynk2.0 mobile app
11:39 add slider to Blynk mobile app
12:31 How to configure Super Chart in Blynk2.0 mobile app
12:50 Live demonstration of SG90Servo motor control through Blynk2.0 mobile app
13:50 Live demonstration of SG90Servo motor control through Blynk2.0 Web dashboard
So here is the list of components you need for this project-
• ESP32 Wifi Board
• SG90/ MG995 Servo Motor
• 3 male to female connecting wires
Important Links:
Programming code for Servo Motor (ESP32):
drive.google.c...
Programming code for Servo Motor (NodeMCU ESP8266):
drive.google.c...
Download the code from Github Library:
github.com/its...
Circuit diagram for ESP32:
drive.google.c...
Circuit diagram for NodeMCU/ ESP8266:
drive.google.c...
Blynk 2.0 Library:
drive.google.c...
ESP32 Servo Motor Library:
drive.google.c...
Servo Library for NodeMCU:
drive.google.c...
How to install ESP32 board in Arduino IDE:
www.nuttyengin...
How to install NodeMCU ESP8266 board in Arduino IDE:
www.nuttyengin...
Blynk cloud server:
blynk.cloud/
Link to download winzip:
www.winzip.com...
Link to download WinRAR:
www.win-rar.co...
Arduino IDE Software:
www.arduino.cc...
Atmel AVR Studio:
www.microchip....
NuttyFi Wifi Development board:
www.nuttyengin...
Contact link for Nutty Engineer Company:
www.nuttyengin...
Contact link for SME:
www.smedehradu...
Our Other Video for Blynk2.0: Stay tuned with us for more videos.
Our Channel: / smedehradun
How to start with Blynk 2.0- with Web & Mobile Dashboard- LED control
: • How to Start with New ...
Home Automation with manual control:
• Home Automation using ...
DHT11 sensor interfacing with /blynk2.0:
• DHT11 Sensor Data to N...
TDS sensor based Safe Water Quality Meter with Blynk2.0
• TDS sensor based Safe ...
Smart Dustbin with Blynk2.0 - ESP32
• Smart Dustbin with New...
Live Testing of Long Range LoRa SX1278 with Arduino Customized Atmega328 with working code DIY
• LoRa Module Testing wi...
For more, visit to our channel.
For any query, you can comment on comment box below.
Like, subscribe & follow us at
KZbin channel: / @smedehradun
Twitter: / itsbhupendra
LinkedIn: / schematics-micro-elect...
Facebook: / schematicslab
Instagram: / itsbhupendrasingh
Blog: schematicslab....
Website: www.smedehradu...
#blynk2 #servo #sg90 #esp32 #nodemcu #iot #smedehradun #servomotors #sg90 #newblynk #arduino #blynk #angle #servo

Пікірлер: 203
@eugeneritu1639
@eugeneritu1639 2 жыл бұрын
Heartily thanks from the bottom of the heart , new bylnk app confuses me so much atlast u taught me completely
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Most welcome @Eugene Ritu
@mehedihasan2809
@mehedihasan2809 2 жыл бұрын
Hello Dear, Your code is really perfect working, But I faced another problem like Servo is Run in one way continuously!! Can you say why is this happened?? Please give the ans ASAP!!!
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi, Once change the servo & then check.
@stevep6108
@stevep6108 2 жыл бұрын
THANK YOU !! THE ONLY VIDEO that i found that shows you how to do this from start to finish !!! solved my issues - works 100% easy to setup as well thanks for the video
@SMEDehradun
@SMEDehradun 2 жыл бұрын
You are most welcome 🙏
@MuthukumarK-sn6id
@MuthukumarK-sn6id 2 жыл бұрын
Sir my servo motor turns only 90 degrees when controlled in blynk, but it turns 180 degrees in sweep function. I'm using esp8266. Pls reply
@SMEDehradun
@SMEDehradun 2 жыл бұрын
K. You need to set the maximum angle limit in datastream tab. If you want to turn servo till 90, then you need to set that to 90.
@MOHJH59
@MOHJH59 2 жыл бұрын
Thank you so much...you solve my problem with servo...why you use DOUBLE not INTEGER?..thank again
@SMEDehradun
@SMEDehradun 2 жыл бұрын
In double we can also store the float values.
@janjobertcortez9478
@janjobertcortez9478 Жыл бұрын
Do you have programming code for Stepper Motor (ESP32)? please reply asap
@SMEDehradun
@SMEDehradun Жыл бұрын
Yes. I will post the video on it soon.
@garenagenius
@garenagenius Жыл бұрын
Thank you bro for giving esp8266 programing code
@SMEDehradun
@SMEDehradun Жыл бұрын
🙏 thanks
@sdivyakusuma6690
@sdivyakusuma6690 Жыл бұрын
sir can u help me plz i am using a ESP32 board when i followed the same process as u showed in the vide it shows me that my board is not compatible is there any way that it can be solved
@SMEDehradun
@SMEDehradun Жыл бұрын
Try to upload any program & let me know that your board working or not?
@woolfy02
@woolfy02 Жыл бұрын
Will this work over an LTE cell network, connected to my wifi?
@SMEDehradun
@SMEDehradun Жыл бұрын
It my be. Try once & if found error, let me know. You can also use another method to connect with new blynk app. Below video will guide you- kzbin.info/www/bejne/enPVfYNmebaUsMU
@woolfy02
@woolfy02 Жыл бұрын
@@SMEDehradun Thank you. I'll take a look at it
@southbronxny5727
@southbronxny5727 2 жыл бұрын
3:22 Is the first 180 the angle of the servo? I have a 270 degree servo motor, should I write 270 instead of 180 both times?
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Yes. you can write 270 instead of 180.
@baseerahmad250
@baseerahmad250 2 жыл бұрын
Sir, The codes in links are not for this project. Those are for LED projects. Please check them. Thank you.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi @Baseer Link & codes are for servo control, & well tested & verified. Plz check again what you have downloaded?
@johanclaassen3584
@johanclaassen3584 2 жыл бұрын
Sir - Thank you very much for a VERY informative video. I wish Blynk will post detailed videos like this!! I do have a question though - I'm using a WeMos D1 ESP32 board. Everything worked well as outlined in your video, up until I tried to connect the device to my Blynk app. When trying to add the device, I can connect to it on WiFi, but when choosing my home SSID, the device configures WiFi, Reconnect back to cloud, but then gets stuck on "Waiting for device online". After several minutes it gives an error message stating "Your device couldn't connect to the network". I've tried this several times, and using the Android as well as IOS devices. Any idea what the problem may be?
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi @Johan Claassen, Thanks for valuable comment. There is some network issues in your wifi, either there is wrong user name or password or slow internet. Try to connect it with other wifi or hotspot. It may resolve your problem.
@johanclaassen3584
@johanclaassen3584 2 жыл бұрын
@@SMEDehradun Thank you sir. You are correct ... my mobile devices were connected to the 5GHz side of my WiFi network. I switched it to 2.4GHz and it solved the problem. Thank you again!!
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Congrats. Most welcome
@johanclaassen3584
@johanclaassen3584 2 жыл бұрын
@@SMEDehradun Please tell me what email address I can reach you on.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Reach us at schematicslab@gmail.com
@letruongngochai915
@letruongngochai915 2 жыл бұрын
i can't connect to wifi in Blynk can you help me ? I'm using Esp8266. I compile not error.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Yes. What’s the error you are getting while connecting to blynk.
@letruongngochai915
@letruongngochai915 2 жыл бұрын
​@@SMEDehradun When I load the code into esp8266, this led goes off. I can't find Wifi esp8266. But I try to download the code to run Servo not connecting to Blynk it works
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Ohk. So you need to erase the eeprom of your Board then try again. See this video to fix errors in new blynk kzbin.info/www/bejne/e4HLipKeedStm9E
@rasyidrahim
@rasyidrahim Жыл бұрын
how can we add led or buzzer to be signal when its on
@SMEDehradun
@SMEDehradun Жыл бұрын
Simple write a command to digitally high the pin while it is on certain angle.
@Actsofmrbeasst
@Actsofmrbeasst 2 жыл бұрын
Sir I need help.. I am using esp8266 and everything is going good but the servo motor is not rotating.. I hope I get a solution for this
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi, Plz check what you have feed the minimum & maximum value you have to virtual pin that control the servo. And also check the servo maximum rotation angle. This will help you to resolve the problem.
@Actsofmrbeasst
@Actsofmrbeasst 2 жыл бұрын
@@SMEDehradun I have given 0 to 180 sir
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Then check your servo motor.
@Actsofmrbeasst
@Actsofmrbeasst 2 жыл бұрын
@@SMEDehradun sir. I changed the servo motor ... Now it's working . Thank You sir ❤️
@SMEDehradun
@SMEDehradun 2 жыл бұрын
That’s great. Congrats. Plz refer my channel to your friends.
@fay3dlab
@fay3dlab 2 жыл бұрын
hi.. thank you for a very informative video.. i was wondering how to set the speed of the servo so it wont rotate so fast?
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Thanks @ecks5452
@SaiRam-li7os
@SaiRam-li7os 2 жыл бұрын
Where did you gave the wifi details to the nodemcu? I haven't noticed in the entire video an I'm unable to controll it with esp8266
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hello Sai Ram, This is new Blynk2.0 IoT version. It is elite different from the blynk legacy version. You just need to connect your NodeMCU or ESP32 board to wifi through the new Blynk IoT app. If you watch the full video, you will understand how we connect it & there is no alternate for it.
@SaiRam-li7os
@SaiRam-li7os 2 жыл бұрын
@@SMEDehradun I have finally got the controll over servi motor successfully, but sir its only rotating 90 degrees in both clockwise and anti clockwise. But I want it to move 180 degrees. Can u please help me. Is there anything to change in the code? Tomorrow i have to submit this project in my college.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
It can b due to maximum value set to 90 in datastream or may be servo maximum angles are 90 degree. Check both conditions.
@SaiRam-li7os
@SaiRam-li7os 2 жыл бұрын
My servo model name is sg90. I don't know about the servo motor max angles. But I kept the value in the datastreem as 180 degrees only.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Sg90 comes is variant- 90, 180, 360. So it may be.
@lemontbleu
@lemontbleu Жыл бұрын
Thank you so much sir, now I finally got to make it work. You sir are a lifesaver!!!!
@SMEDehradun
@SMEDehradun Жыл бұрын
🫡👍
@muhdazim1729
@muhdazim1729 Жыл бұрын
@@SMEDehradun can u solve my problem ? my servo motor rotate slowly I cant sliding fast that slider button like the video , cos when i slide fast on the blynk , motor are not rotated . I using esp8266 . Can I use phone charger adapter as power source ?
@SMEDehradun
@SMEDehradun Жыл бұрын
@@muhdazim1729 Hi, Go to the slider setting and turn off the "send values on Release only" option. It will resolve your problem.
@muhdazim1729
@muhdazim1729 Жыл бұрын
@@SMEDehradun I already turn off , the motor still slow to rotate
@SMEDehradun
@SMEDehradun Жыл бұрын
It may due to power shortage in the NodeMCU. You can use USB mobile charger for this. But be careful. Also check the internet speed, may another cause for this issue. Try it. If possible check the maximum angle of the motor.
@PeerawatSornphao
@PeerawatSornphao 2 жыл бұрын
Sir, I use NodeMCU ESP8266 V.3 I follow you every step but, I can’t connect device with my phone. Can you please help me is there something that I can check?
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Have you uploaded the code to your NodeMCU? If possible install the blynk to other Mobile. Some time, android do not support the Blynk2.
@PeerawatSornphao
@PeerawatSornphao 2 жыл бұрын
@@SMEDehradun I have no problem connect to my phone by using this kzbin.info/www/bejne/d6e2dHSul9aprKc but, I really need to use servo for my project and I found out that you channel is very useful So, I try to study about code that you wrote.
@PeerawatSornphao
@PeerawatSornphao 2 жыл бұрын
Now, the only problem is conect to my phone because when I upload code my servo move a little bit.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Follow the instruction as shown in the video. It will work.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
@@PeerawatSornphao thanks.
@borathnarak9891
@borathnarak9891 Ай бұрын
Have u got the code for two servo control
@SMEDehradun
@SMEDehradun Ай бұрын
I have already posted a video on multiple servo motor. Below video may help you. kzbin.info/www/bejne/enPVfYNmebaUsMU
@karlsaariste
@karlsaariste 2 жыл бұрын
Hi! Ikeep getting this error, could you help me? The error: Arduino: 1.8.19 (Windows 10), Board: "ESP32 Wrover Module, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), QIO, 80MHz, 921600, None" Sketch uses 1024574 bytes (78%) of program storage space. Maximum is 1310720 bytes. Global variables use 41948 bytes (12%) of dynamic memory, leaving 285732 bytes for local variables. Maximum is 327680 bytes. esptool.py v3.0-dev Serial port COM1 Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch _ A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi, Select the com port of your ESP32 board. It’s com port error. Also don’t change any setting in board selection.
@trishool4635
@trishool4635 2 жыл бұрын
Sir plz help me I have esp8266 it not working
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi, Plz watch the complete video. I have shown all the steps.
@naveenuics4747
@naveenuics4747 Жыл бұрын
U gained new subscriber from india 😊. Can u please make esp8266 rfid lock with blynk
@SMEDehradun
@SMEDehradun Жыл бұрын
Sure. Already in progress. Try to post as soon as possible.
@luutrung786
@luutrung786 2 жыл бұрын
i have problem when using esp8266 with servo it only rotates 90 degree instead of 180 degree
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi, Kindly check the maximum angles set on datastream tab in blynk web dashboard and servo motor also.
@luutrung786
@luutrung786 2 жыл бұрын
@@SMEDehradun i try it but it not working
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Have you tested the servo motor? If you have alternate servo motor, then you can replace & check
@luutrung786
@luutrung786 2 жыл бұрын
@@SMEDehradun sorry i not check my servo it working at max 90°
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Ohk. Great.
@Kai-dg4go
@Kai-dg4go 2 жыл бұрын
Hello, I get an error at #include "BlynkEdgent.h" when writing to the IDE. How can I get rid of it?
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi, Install the new blynk library in your Arduino ide as well as header files must be include in the program. Watch this video to fix errors. kzbin.info/www/bejne/e4HLipKeedStm9E
@Kai-dg4go
@Kai-dg4go 2 жыл бұрын
@@SMEDehradun Thank you for your reply. I will refer to the video of the URL. It's been about two months since I started, so I don't know anything. Also thank you.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Ohk. Thanks. If you need any kind of help, let me know. I will help you.
@Kai-dg4go
@Kai-dg4go 2 жыл бұрын
@@SMEDehradun It helps, I'm Japanese so I don't know the explanation, but I'm doing what I should do from Video. Please let me know if you have any questions. thank you.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
👍
@vaibhavjha1219
@vaibhavjha1219 Жыл бұрын
The esp2886 code is not visible in the description!
@SMEDehradun
@SMEDehradun Жыл бұрын
Hi, Plz look on the description properly. There is a link to download the code.
@vaibhavjha1219
@vaibhavjha1219 Жыл бұрын
Yes it is there but link is not working! If u can share the ss of it then it will be more good!! By the way thank you so much! But please provide code for esp8266 by ss
@vaibhavjha1219
@vaibhavjha1219 Жыл бұрын
Or this programming code file is only supported in pc and laptop
@SMEDehradun
@SMEDehradun Жыл бұрын
Hi, Code is working with Arduino IDE in laptop & PC. & the code is available for esp32. I will try to date the code for esp8266 as soon as possible.
@vaibhavjha1219
@vaibhavjha1219 Жыл бұрын
@@SMEDehradun actually sir i need it so urgently!! I am gonna use that for INS project
@inichannel9623
@inichannel9623 2 жыл бұрын
you use 12V adaptor for esp32?
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Yes.
@jimohabdullahi1352
@jimohabdullahi1352 Жыл бұрын
Please sir, make video to control servo motor to certain position and returned back to initial position, using blynk
@SMEDehradun
@SMEDehradun Жыл бұрын
Hi, You can do it by simply adding little bit commands as per your requirements. If you want to control multiple servo motors using blynk then this video can help you. kzbin.info/www/bejne/enPVfYNmebaUsMU
@Yozora765
@Yozora765 Жыл бұрын
excuse me, i want to ask how to controll 4 servo motor?
@SMEDehradun
@SMEDehradun Жыл бұрын
Hi, You can control multiple servo using New Blynk2.0 This is the link to control multiple servo motor Multiple Servo Motor kzbin.info/www/bejne/enPVfYNmebaUsMU
@Yozora765
@Yozora765 Жыл бұрын
Thank you for your help
@ayeshazia4744
@ayeshazia4744 2 жыл бұрын
Sir.. I'm not able to add my arduino on Blynk app.. even tho my Esp32 is in running state Kindly guide me a way out to this issue
@SMEDehradun
@SMEDehradun 2 жыл бұрын
What error you are getting while you try to connect ESP32 board to Blynk2.
@ayeshazia4744
@ayeshazia4744 2 жыл бұрын
@@SMEDehradun It is just loading forever.. and not showing the device
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Sorry I didn’t get you point? Which blynk you are using blynk1 or Blynk2?
@ayeshazia4744
@ayeshazia4744 2 жыл бұрын
@@SMEDehradun Kindly check your mail.. I've mailed you my issue in detail
@SMEDehradun
@SMEDehradun 2 жыл бұрын
K
@injamulhaque5439
@injamulhaque5439 2 жыл бұрын
i have problem on i2c lcd with blynk and analog pin will you please make a video on it please
@SMEDehradun
@SMEDehradun 2 жыл бұрын
K. Can you explain what the problem you are facing on it?
@injamulhaque5439
@injamulhaque5439 2 жыл бұрын
i am writing code on main loop but lcd will show unknown char but blynk shows
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Try to define that char as global char means define that char at the top of the program. It can work.
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
Sit then which id we will write in the place of auth id
@SMEDehradun
@SMEDehradun 2 жыл бұрын
You need to add the blynk credentials in the program from the blynk template. Se the video properly & follow all the steps. I have shown all the steps in the video
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
Sir i have the code which the code want auth id ,ssid,pass
@SMEDehradun
@SMEDehradun 2 жыл бұрын
That’s was an blynk1.0 version. It will not work with the new Blynk
@muzakidian
@muzakidian 2 жыл бұрын
hi where can i find the code? i can't see your description, thank you
@SMEDehradun
@SMEDehradun 2 жыл бұрын
There is option “more” to see the description. You will get the code there.
@muzakidian
@muzakidian 2 жыл бұрын
@@SMEDehradun thank you so much for helping me, keep the great work sir
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Welcome 🙏
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
Which id we want to add in auth id
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Plz check the video properly. This is the Only way you can go with blynk2
@nickshaylongmailai2717
@nickshaylongmailai2717 10 ай бұрын
Followed all the steps am still getting error help me with this please
@SMEDehradun
@SMEDehradun 10 ай бұрын
What error you are getting
@nickshaylongmailai2717
@nickshaylongmailai2717 10 ай бұрын
@@SMEDehradun error: 'WIFI_OFF' was not declared in this scope error: 'WIFI_STA' was not declared in this scope error: 'class WiFiClass' has no member named 'persistent'; did you mean 'setPersistent'? error: 'class WiFiClass' has no member named 'enableSTA' many more are there is there any way how do i fix it
@SMEDehradun
@SMEDehradun 10 ай бұрын
@nickshaylongmailai2717 You need t watch the video completely. The headers files must inside your coding folder. Below video may help you. kzbin.info/www/bejne/e4HLipKeedStm9E
@mr.experimentalhacker6049
@mr.experimentalhacker6049 2 жыл бұрын
Sir can you please make a vedio on how to control multiple servos with esp8266 with new blynn iot
@mr.experimentalhacker6049
@mr.experimentalhacker6049 2 жыл бұрын
Please sir
@mr.experimentalhacker6049
@mr.experimentalhacker6049 2 жыл бұрын
Try to make it under 4 days it's an urgent please sir
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi, Not possible to make video at this time but I can help you personally. so mail your problem at schematicslab@gmail.com or WhatsApp at 9927715123.
@mr.experimentalhacker6049
@mr.experimentalhacker6049 2 жыл бұрын
Please reply my comment and mail please and make the vedio on topic how to control multiple servos with esp8266
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Check your mail
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
Sir what is blynk credentials
@SMEDehradun
@SMEDehradun 2 жыл бұрын
See the complete video, I have explained it with live.
@psykopat81
@psykopat81 Жыл бұрын
why we didn't write any BLYNK_AUTH_TOKEN.. ?
@SMEDehradun
@SMEDehradun Жыл бұрын
Because you have to add your board to blynk using blynk IoT App. If you see video carefully, will will every single steps to connect.
@SuitableBat9
@SuitableBat9 11 ай бұрын
when i try to upload the code i get this error please help In file included from C:\Users\suita\OneDrive\Other\Documents\Arduino\Servo_control_blynk2.0\Servo_control_blynk2.0\Servo_control_blynk2.0.ino:14: C:\Users\suita\OneDrive\Other\Documents\Arduino\Servo_control_blynk2.0\Servo_control_blynk2.0\BlynkEdgent.h:16:2: error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" ^~~~~ exit status 1 Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME"
@SMEDehradun
@SMEDehradun 11 ай бұрын
If you read the error that you write into the comment, then you need to replace the blynk credentials in code. And you have put all the header files inside programming code folder. Alternatively, you can do it with another method. Below is the link that can help you. kzbin.info/www/bejne/enPVfYNmebaUsMU
@sefcaz2538
@sefcaz2538 2 жыл бұрын
sorry you can do the same with the servo but after 10 minutes the servo turns off (so it returns from 180° to 0°)
@SMEDehradun
@SMEDehradun 2 жыл бұрын
It may be power source issue due to continue running of servo.
@remsuuu
@remsuuu Жыл бұрын
Good Work! Thank you so much!
@SMEDehradun
@SMEDehradun Жыл бұрын
🙏
@nuttyengineer6095
@nuttyengineer6095 2 жыл бұрын
Awesome explained
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Thank you @NuttyEngineer.
@creativeworld6736
@creativeworld6736 2 жыл бұрын
How can we control a normal dc motor with nodemcu?
@SMEDehradun
@SMEDehradun 2 жыл бұрын
You can use L293D motor driver for it. It’s very easy.
@creativeworld6736
@creativeworld6736 2 жыл бұрын
@@SMEDehradun but how to do its wiring
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Check the circuit diagram. You can download it from the video description.
@alexiematthewnagpala5284
@alexiematthewnagpala5284 2 жыл бұрын
Why does it say BlynkEdgent.h No such file exist
@SMEDehradun
@SMEDehradun 2 жыл бұрын
There could be few reason behind it- - blynk library not properly installed, - if you are selecting proper board like NodeMCU or ESP32.
@alexiematthewnagpala5284
@alexiematthewnagpala5284 2 жыл бұрын
@@SMEDehradun I encountered another problem it says that In included file: typedef redefinition with different types ('int' vs '_ssize_t' (aka 'long long'))
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi, Plz follow all the instructions as shown in the video. Other wise you may miss the things. And if you were using old blynk then remove that library. And use the latest or as shown in the video. Blynk2 is quite different from the old one.
@pussaki488
@pussaki488 2 жыл бұрын
can i use this video on esp8266?
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Yes you can.
@pussaki488
@pussaki488 2 жыл бұрын
@@SMEDehradun thank you very much i love this video
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Welcome
@runoobff9712
@runoobff9712 2 жыл бұрын
Thank you bro 👏👍💪
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Welcome @pro222yt
@mohdazhanhjhashim5862
@mohdazhanhjhashim5862 2 жыл бұрын
how to control servo motor more than one
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hi, You need to add code for second servo in the program
@mohdazhanhjhashim5862
@mohdazhanhjhashim5862 2 жыл бұрын
@@SMEDehradun can you share with me coding to control more than servo
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Mail me your requirement at schematicslab@gmail.com
@techuk6454
@techuk6454 2 жыл бұрын
well explained
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Thank you
@abdullahshaikh5914
@abdullahshaikh5914 2 жыл бұрын
My servo motor is rotating only 90 degree even after setting it at 180 degrees it is capable to rotate 180 but still it is rotating 90 degrees
@SMEDehradun
@SMEDehradun 2 жыл бұрын
It can be due to power issue. Provide 5V DC power to servo without any load. And also check the blynk slider values.
@jamiejacob5931
@jamiejacob5931 Жыл бұрын
I have a Tower Pro SG-90 servo motor. I tried replacing attach(D2) with attach(D4,544,2400) and it solved my issue. We're setting the minimum and maximum pulse widths. I think those values may change for different servo motors.
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
How we will get ssid
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Once you download the blynk IoT app, then you need configure it via that aap. Check out the complete video, you will understand
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
Sir please make 4Dof robotic arm with node mau esp8266
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Hmmm k. Whenever I got time, I will try to make video
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
Sir sir thanks sir
@SMEDehradun
@SMEDehradun 2 жыл бұрын
👍
@thinkbeyond5360
@thinkbeyond5360 Жыл бұрын
Dosent work, i tried... Had to write a seperate code
@SMEDehradun
@SMEDehradun Жыл бұрын
Hi, All the information in videos to operate the servo motor with new blynk. And it’s soo easy if you follow all the instructions. You can also do it with alternate method. Below video may help you kzbin.info/www/bejne/enPVfYNmebaUsMU
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
Sir how i can get password and ssid
@SMEDehradun
@SMEDehradun 2 жыл бұрын
In blynk 2.0, you can add the board only Through the Blynk2 mobile app. No other way to do it.
@eng.abdullahalfuraiji4321
@eng.abdullahalfuraiji4321 2 жыл бұрын
It was hard to listen to your explanation because of the background music.
@SMEDehradun
@SMEDehradun 2 жыл бұрын
First time, I got this kind of comment.
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
I am making robotic arm from node mcu esp8266
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Ok good.
@JameelSWay
@JameelSWay 7 ай бұрын
blynk edgent.h problem
@SMEDehradun
@SMEDehradun 7 ай бұрын
All the headers must be inside the programming folder &change the blynk credentials in code as well. Below video can help you. kzbin.info/www/bejne/e4HLipKeedStm9E You can also connect to new blynk with manual credentials method. This is the link kzbin.info/www/bejne/enPVfYNmebaUsMU
@soniysingh6153
@soniysingh6153 2 жыл бұрын
🙏
@SMEDehradun
@SMEDehradun 2 жыл бұрын
🙏
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
I have old code
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Means you are still working with blynk1.o
@Joel_suwartik_wasekar
@Joel_suwartik_wasekar 2 жыл бұрын
Please help me sir
@SMEDehradun
@SMEDehradun 2 жыл бұрын
Let me know how can I help?
Using Servo Motors with ESP32
47:51
DroneBot Workshop
Рет қаралды 234 М.
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 1,2 МЛН
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,9 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 31 МЛН
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 19 МЛН
MP3 CDs: a hybrid "format" that never existed, yet was surprisingly common
34:18
Technology Connections
Рет қаралды 768 М.
ESP32 Servo Motor Web Server with Arduino IDE
8:51
Rui Santos
Рет қаралды 135 М.
Servo Motors, how do they work?
15:12
The Engineering Mindset
Рет қаралды 1,9 МЛН
New Blynk IOT Smart Plant Monitoring System
16:54
Viral Science - The home of Creativity
Рет қаралды 403 М.
Arduino To ESP32: How to Get Started!
9:26
Robonyx
Рет қаралды 376 М.
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 1,2 МЛН