Question - can a servo motor like this run straight off a 9V battery via Arduino or would this burn the motor immediately if no resistance is used? If resistance is necessary, how much? Thanks!
If you give 9 volt directly to servo it will damage but you can give 9v to arduino than arduino to servo because arduino have voltage regular..if you want to run servo with 9v than use voltage regulator lm7805 or a buck converter..instead of resisitor
@@hi-techelectronics5118 ah ok thanks, i want to use this servo in my project so how would i make it move for longer, at the moment its goes one way for a second when triggered then back for a second, i would like it to go for 4 or 5 seconds, thanks for your help, much apprecatied
bro... dont we need a battery to power the circuit?? don't we need battery to power the aurdino... once the program is uploaded in the aurdino, should i take my laptop to school to show it working or else just the aurdino with the circuit. please help...sorry I'm a starter. studying in school. any help will be valuable.. thanks
Yes 9 volt battery can be added ...it works fine with laptop ..but if you cant bring laptop to school you can also connect the cable with power bank...
Arduino: 1.8.9 Hourly Build 2019/01/24 07:33 (Windows 7), Board: "Arduino/Genuino Uno" Sketch uses 4376 bytes (13%) of program storage space. Maximum is 32256 bytes. Global variables use 291 bytes (14%) of dynamic memory, leaving 1757 bytes for local variables. Maximum is 2048 bytes. avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x5f avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x5f avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x5f avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x5f avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x5f avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x5f avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x5f avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x5f avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x5f avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x5f Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
@@hi-techelectronics5118 no your not understanding my question. the wires that are flat on the board. you didnt show them being installed so we have no idea where they came from and how were they installed. i have not seen that type of install before. is it soldered in there or? the video doesnt show anything about it
@@carlamannon4974 ok got it...yes these wires are just jumper wires ..Red for +5v and yellow for the ground... We have to give the voltages to both sensor and the servo motor...and these wires are not soldered just like that as we put jumper wires
@@hi-techelectronics5118 no i am not sure how to be more specific. The wires i am talking about(flat on the breadboard) are not inserted in the board in the video. What and how do i put those wires there? you dont talk about them in the video at all. I dont mean speech. I mean you dont insert them or write text on the video to explain their presence. Do i use jumper wires in their place or is it something else? i want to know as i am beginner in many ways. i havent seen them flat like that. i know the usual jumper wires as i have gone to arduino workshops but havent done anything with servo motors before. so its the wires that are flat on the breadboard. btw what breadboard do i need. i did have one but somehow i lost it. i see the one you have in the video is longer than the one i have. thought i would get one from aliexpress
i want ti add one more servo motor the same circuit, do i need to add another servo to the same circuit and one more pin do i need to put what pin number ?🙏🙏
@@hi-techelectronics5118 no it's not working as per requirement..... I want that as soon as i remove the hand from the ultrasonic sensor the servo motor should stop at the exact position where it is.... So if u have any idea please help brother
@@hi-techelectronics5118 no.... It should stop at the exact angle when i remove the hand that if i the angle was at around 33 degree then after removing hand it should stop there itself not at 90 or 0degree
@@hi-techelectronics5118 bro! But when I am connect led and upload blinking code using battery it work properly but your project can't run. So what can I do??m🙏🙏🙏
Basically servo motor have high torque as compared to other dc motors...but you can rotate it only 0 to 180 degree ..so in any application where moment required between these angle with high torque servo can be use
I didn't connect any of the "out" pins but it still doesn't work, the servo motor only acts 4 times in a long period of time but the sensor doesn't detect when I approach it😢🙏🏻🙏🏻🙏🏻🙏🏻
at last, I found a good working one, JazakAllah Khair.
Shukreya...❤❤
@@hi-techelectronics5118 can you make a code and circuit diagram for inductive proximity sensor controlling a servo motor?
@@krizzy1502 kindly mention exact sensor
@@hi-techelectronics5118 hy sir please help me project in not work
@@captain_kanu whatsap me
finnally a clear proper tutorial with link to code given. Thankyou!
Hi can you give me the code? It is already unsupported in the link😭
Please sand you send the code link it is corroupted
Thank you soooo much. The code of other videos did not work but in yours it worked!
Thanku for this video keep working, 👍👍
Question - can a servo motor like this run straight off a 9V battery via Arduino or would this burn the motor immediately if no resistance is used? If resistance is necessary, how much? Thanks!
If you give 9 volt directly to servo it will damage but you can give 9v to arduino than arduino to servo because arduino have voltage regular..if you want to run servo with 9v than use voltage regulator lm7805 or a buck converter..instead of resisitor
@@hi-techelectronics5118 awesome thanks so Much!!
Learning this so I can automate a robot using servo positioning
Nice work, trying to use it in a project im working on now, which part of the code would I change to change, The speed and how for the motor spins
Its a servo motor it can not spin...and speed is fixed...so you have to use stepper motor for spin and speed
@@hi-techelectronics5118 ah ok thanks, i want to use this servo in my project so how would i make it move for longer, at the moment its goes one way for a second when triggered then back for a second, i would like it to go for 4 or 5 seconds, thanks for your help, much apprecatied
@@GsWorkshop91 y increase delay value if you want to incrase time 1000 meana 1 second...
@@hi-techelectronics5118 thats for the time inbetween the movements yeah? i want the servo to move futher
@@GsWorkshop91 sorry this servo motor only can move between 0 to 180 degree
bro... dont we need a battery to power the circuit?? don't we need battery to power the aurdino...
once the program is uploaded in the aurdino, should i take my laptop to school to show it working or else just the aurdino with the circuit. please help...sorry I'm a starter. studying in school. any help will be valuable.. thanks
Yes 9 volt battery can be added ...it works fine with laptop ..but if you cant bring laptop to school you can also connect the cable with power bank...
@@hi-techelectronics5118 bro thank you very much. God bless you bro.... helped me a lot
@@nettrikan6333 welcome
I have an SG90 servo motor, and it doesn't work with the code you provided. What change have i gotta do?
Code is same for both..you have any other problem...
hi im just want to ask you...can you show me how to make a simulation using a proteus
No sir
Arduino: 1.8.9 Hourly Build 2019/01/24 07:33 (Windows 7), Board: "Arduino/Genuino Uno"
Sketch uses 4376 bytes (13%) of program storage space. Maximum is 32256 bytes.
Global variables use 291 bytes (14%) of dynamic memory, leaving 1757 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x5f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x5f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x5f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x5f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x5f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x5f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x5f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x5f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x5f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x5f
Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
whate is is problam bro plz help me plz
Can u whatsap me video of problem..?
@@hi-techelectronics5118 no bro its not your problam so how to fix bro
@@hi-techelectronics5118 bro youhave telegram orinstagram plz
Yes i have instagram
hi the orange in the yellow cable that is in the breadboard(twice) do we add that and how?
Yes one for the sensor and otherone for the servo
@@hi-techelectronics5118 no your not understanding my question. the wires that are flat on the board. you didnt show them being installed so we have no idea where they came from and how were they installed. i have not seen that type of install before. is it soldered in there or? the video doesnt show anything about it
@@carlamannon4974 ok got it...yes these wires are just jumper wires ..Red for +5v and yellow for the ground... We have to give the voltages to both sensor and the servo motor...and these wires are not soldered just like that as we put jumper wires
@@hi-techelectronics5118 no i am not sure how to be more specific. The wires i am talking about(flat on the breadboard) are not inserted in the board in the video. What and how do i put those wires there? you dont talk about them in the video at all. I dont mean speech. I mean you dont insert them or write text on the video to explain their presence. Do i use jumper wires in their place or is it something else? i want to know as i am beginner in many ways. i havent seen them flat like that. i know the usual jumper wires as i have gone to arduino workshops but havent done anything with servo motors before. so its the wires that are flat on the breadboard. btw what breadboard do i need. i did have one but somehow i lost it. i see the one you have in the video is longer than the one i have. thought i would get one from aliexpress
@@carlamannon4974 kindly whatsap me i will explain you each and every thing...
can you make a code and circuit diagram for inductive proximity sensor controlling a servo motor?
Can you specify the exact sensor
Ultrasonic sensor HC SR04
what if i use different type of servo motor? MG995 360 Degree rotation. Is the code is the same or i need to change a bit?
You have to change
Which part? I really need ur help pls🙏🏻
@@syamirulizam6792 i used one a time MG995 with same code you have to change only the angle which you want
@@hi-techelectronics5118 okay thanks saviour 👍
Thanks bro I was struggling to find it thank you so much 🎉🎉
i want ti add one more servo motor the same circuit, do i need to add another servo to the same circuit and one more pin do i need to put what pin number ?🙏🙏
Define any output pin which is empty.add servo 2 on that pin.
Can you help i need the motor spin with the sensor , but when I put off my hand the motor stays there and when I put mi hand the motor spins again
What do you mean you want to rotate it 360 degree or something else
@@hi-techelectronics5118what I mean is I want the servo make a spin any time I put my hand in the same way , and never spin the other way
@@germanhinojosa9777 you mean if it move 0 angle to 90 angle it should not come zero next time it should move 90 to 180 degree and so on..?
@@hi-techelectronics5118 yesss
Can you help me in a project if you can send me something that help me in this project, please i really need help
Broooooo thanks u save my project
Can you help me somehow if I want to also connect i2c oled screen to it?
Yes
hello, I'm using MG996R Servo motor, why is it keep on spinning? does my servo motor has a problem?
Kindly check the connectivity in signal wire... Or replace signal wire...
dude, thanks so much!! Awesome!
how would I be able to integrate a buzzer as well ?
Its easy just define a pin and place buzzer at that pin...and after servo motor command give a command digitalpin high..
I have a question.. Will the code be the same if i use arduinodroid?? Or i must use the same software to use the same code???
Code will be same...u can use ..it will work
Bhai using ultrasonic control the +serovo+buzzer+led can you do it
Yes its easy...
Please can you send me the codes with the added buzzer?
Whatsap me
i want to work it under 20cm and higher 75cm
so what should i write in the code?
plz help me
For 20 cm just change sensor range 10 to 20..for 75 copy paste same logic and change distance >75
Hey wat battery can i conect with it
Yes
And a 2.5v or a 9 v
@@vince_placido use 9 volt battery with 5.5mm battery to jack connector
Aa tank you
Hi! Can you give me the code it’s already unsupported in the link😭
Whatsap me
Man i need this code. The link in the description has expired
Link is working bro..whatsap me.i will send you there
i want to make the servo stop at the exact position as soon as i remove the hand above the Ultrasonic sensor....HOW CAN I ACHIEVE THAT ....PLEASE HELP
Decrease the delay time..
@@hi-techelectronics5118 no it's not working as per requirement..... I want that as soon as i remove the hand from the ultrasonic sensor the servo motor should stop at the exact position where it is.... So if u have any idea please help brother
@@PranayBawne007 you want to stop servo at 90 degree angle..?
@@PranayBawne007 or you want when you putt hand front of sensor it goes to 90 and when you remove hand it comes.back to zero but quickly..?
@@hi-techelectronics5118 no.... It should stop at the exact angle when i remove the hand that if i the angle was at around 33 degree then after removing hand it should stop there itself not at 90 or 0degree
Do you know about tiva microcontroller
And control technique of servo using ultrasonics sensor
No sir i only know about arduino
Hi, can u give the code just in text like word plz?
What'sap m
i want to add buzzer to it how can i?
Buzzer+Servo..?
@@hi-techelectronics5118 yes sir
@@hi-techelectronics5118 with ultrasonic sensor
@@harshkumar4774 ok i will edit code than send you
@@hi-techelectronics5118 thank you very much
Hey can uh give me a code it's unable to open now
What'sap me
WOW!!!!
Awesome😀
Thank you❤❤
How can I slow down the speed of the servo motor?
Tilutorials are avalible on youtube... If you find difficulty whatsap me...
You can find the answer here th-cam.com/video/xyOQ4J4BroE/w-d-xo.html
what else can we connect on the motor
It's up to you what you can make..like door opening system...automatic hand sanitizer...car parking system etc
Bro the code is working properly but when I conect the arduino board with 9v battery it cant run.please help🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏😭🙏🙏🙏😭😭
Maybe the voltage regulator of arduino is damage
@@hi-techelectronics5118 bro!
But when I am connect led and upload blinking code using battery it work properly but your project can't run.
So what can I do??m🙏🙏🙏
@@crazytech3833 connect 9v adapter and than check..
@@hi-techelectronics5118 is the problem solve if I change the coding??
@@crazytech3833 ok go and change
someone pls answer this: what does the servo motor serve as a function like what does it do????
Basically servo motor have high torque as compared to other dc motors...but you can rotate it only 0 to 180 degree ..so in any application where moment required between these angle with high torque servo can be use
Bro I need to do it nano board how can I proceed?
Just select arduino nano while uploading code ..program and connections will be same
@@hi-techelectronics5118 ok I will it bro
@@hi-techelectronics5118 I should give the connection trigg ech and servo pin in which side in digital or Analog thats confusion
@@NaveenKumar-rm2ws digital side ....
@@NaveenKumar-rm2ws you can see clearly in video i have connected wires on digital line
Bro how to add 3 more motors in this pls tell running late
Define two servo motors where already 1 define ..and give bo like 8 9
Please give me the code file it's not working 🥺
Whatsap me
If I serial monitor it shows correct distance but servo is not turning
check servo signal wire or replace
or connect led to signal pin check it glow or not
why it didnt work to me...
Check voltage on servo and sensor With DMM
why the files can't open
Which software you are using
wheres the code ??
In the description link...
unfortunately I use the SRF 05 model sensor, how to connect one more pin? because the sensor I bought is a 5-pin model, please explain😢🙏🏻🙏🏻🙏🏻🙏🏻
Don't use 5th pin..use same code and diagram it will work fine..
I didn't connect any of the "out" pins but it still doesn't work, the servo motor only acts 4 times in a long period of time but the sensor doesn't detect when I approach it😢🙏🏻🙏🏻🙏🏻🙏🏻
@@ardaus_ try to purchase Sr 04 .it is very cheap. Maybe you have problem in sensor
@@hi-techelectronics5118 thanks i try it
how can i open the code file?
@@Thenikebboy use Arduino software
bro nice video but can you give me a digram for this
I think all wires are properly visible...if u watch the video...its not a complex circuit....
Whatsap me if u have any problem...
Code is not open please give me solution 🙏🙏🙏
Not opening or not downloading..?
Code is not open
Open in laptop
vientos
Comment in english
hola .where is the code?
Code is in the description link
Can you paste code in description box not its link the whole code
Now i do not have the code in laptop....just clicknon link you will get ino code file...
Whatsap me i will send u file there after downloading from link...if you are not getting this from link...
@@hi-techelectronics5118 it shows me that this file format is not supported
What's your number on which i should WhatsApp you
Check cover page of channel
Plz sir send me the code and it's library..plz 🙏🙏🙏
Code is givenbin the link...open link from laptop
@@hi-techelectronics5118 bt sir I am not having laptop 😔😔
@@vaibhavkanade3240the code will not open in mobile...so how you will upload the code in arduino.....?
@@hi-techelectronics5118 using Arduino ide software in mobile
@@hi-techelectronics5118 I have uploaded many codes using that app
Merci sa marche
@@Camille-o5y kindly comment in english..
Thank you
Thanks bro
Where i the code link bai
@@panikumar4583 code link is in description ..kindly check
Please give the code
Code is given in the description
@@hi-techelectronics5118 i cant give it
@@sudarshanirathnayaka6830 whatsap me ..
Murshad ❤
Bro daha detay versen
Please ask in english
ty bro
Hy
Yes
Helo brother
Please give me the code
Thank you (;
Servo motor is not turning
Check your wiring closely if the program uploads ok
Hi bro
yes bro
bot eeee
Bhai
Yes