tag:blogger.com,1999:blog-1772226649100237907.post6864662891990902096..comments2024-03-16T02:18:02.826-07:00Comments on Make it easy!: Arduino - Motor PID speed controlengineer2youhttp://www.blogger.com/profile/01972103283461196792noreply@blogger.comBlogger71125tag:blogger.com,1999:blog-1772226649100237907.post-36386780525708099642020-08-12T14:29:32.121-07:002020-08-12T14:29:32.121-07:00Is it possible to have the datasheet of the motor ...Is it possible to have the datasheet of the motor used? in the video, which is the value in sec of the x axis? whithout datasheet, how I can determine that the encoder gives 200 counts per rounds. Which is the raise time of the motor, otherwise how you can choose a period of .1 sec for the PID control? In particolar, for the motor that you cited on AMAZON, there is no datasheet available. Thanks for your tie and answer.Anonymoushttps://www.blogger.com/profile/04257391433821337931noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-77813522127750598202020-08-12T14:25:22.833-07:002020-08-12T14:25:22.833-07:00ssssssssssssAnonymoushttps://www.blogger.com/profile/04257391433821337931noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-39714583110712374282020-06-27T04:36:51.947-07:002020-06-27T04:36:51.947-07:00For a fraction of that cost, you can find a recond...For a fraction of that cost, you can find a reconditioned used motor that will outlive any car you put it in. Actually, <a href="https://truwarranty.co/" rel="nofollow">car dealer F&I products</a> I've known of some that have outlived 2 cars.Lewishttps://www.blogger.com/profile/09001152979693960229noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-10261328461532074512020-06-24T23:06:51.592-07:002020-06-24T23:06:51.592-07:00Hi,
I want to use MATLAB Guide instead of Visual S...Hi,<br />I want to use MATLAB Guide instead of Visual Studio, may I get the code for MATLAB Guide.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-78081501127049542622020-06-09T13:21:33.640-07:002020-06-09T13:21:33.640-07:00Electric motor repair can take many forms, ac moto...Electric motor repair can take many forms, <a href="https://usamotorrepair.com/" rel="nofollow">ac motor repair</a> depending on what kind of electric motor you have and the nature of its use in your business.Lewishttps://www.blogger.com/profile/09001152979693960229noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-10339769877031531702019-10-28T23:16:47.509-07:002019-10-28T23:16:47.509-07:00Hi, schematic is from this post https://www.engine...Hi, schematic is from this post https://www.engineer2you.com/2016/12/arduino-motor-speed-control-pwm.htmlengineer2youhttps://www.blogger.com/profile/01972103283461196792noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-26804384061424344862019-10-27T04:55:11.057-07:002019-10-27T04:55:11.057-07:00Can you give me scematick arduino-motor? Can you give me scematick arduino-motor? Anonymoushttps://www.blogger.com/profile/15418596127287713353noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-39242004458354639882019-06-11T23:35:59.200-07:002019-06-11T23:35:59.200-07:00Hi, you can only use Pin 2 or Pin 3 (where is used...Hi, you can only use Pin 2 or Pin 3 (where is used for INT0 or INT1) for encoder A. Please try again with each section of code, you will understand. Thank you.engineer2youhttps://www.blogger.com/profile/01972103283461196792noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-53084560201103714642019-06-08T08:01:07.316-07:002019-06-08T08:01:07.316-07:00Dear sir, I am using the motor shield l293d in my ...Dear sir, I am using the motor shield l293d in my project ,thus istead of using pin 2 for encoder A, I use pin 19 which is also an interrupt pin. However the output pwm_pulse is always 0 even with any kp ki kd values. Then I try to divide the code into mutilple parts and try to see if it work properly. At first I tested the encoder function, it only work when i hidden the timer setup. Then I add the ISR() function and try to print out the pv_speed, but at this point I only got the 0 value on the monitor. so i guess the problem is from here. Could you please suggest me any idea to fix the problem ? thank you in advance.Lee276https://www.blogger.com/profile/14219715651291253545noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-58887280933758409532019-05-28T04:33:44.502-07:002019-05-28T04:33:44.502-07:00Great Article
Internet of Things Final Year Proj... Great Article<br /> <a href="http://projectcentersinchennai.co.in/Final-Year-Projects-for-CSE/Final-Year-Projects-for-CSE-IOT-Domain" title="Internet of Things Final Year Project" rel="nofollow">Internet of Things Final Year Project</a><br /> <a href="http://projectcentersinchennai.co.in" title="Final Year Project Centers in Chennai" rel="nofollow">Final Year Project Centers in Chennai</a> Jackie Co Kadhttps://www.blogger.com/profile/04015282241330616565noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-6993441343925108972019-05-11T16:06:50.796-07:002019-05-11T16:06:50.796-07:00HI, if by estimation, you can control it by PWM, p...HI, if by estimation, you can control it by PWM, please visit this link<br />https://www.engineer2you.com/2016/12/arduino-motor-speed-control-pwm.htmlengineer2youhttps://www.blogger.com/profile/01972103283461196792noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-9156125286934233052019-05-11T07:42:53.260-07:002019-05-11T07:42:53.260-07:00can i control speed without encoder by estimation ...can i control speed without encoder by estimation ?? Anonymoushttps://www.blogger.com/profile/18392452163042309273noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-18809301988008519472019-05-02T15:56:42.659-07:002019-05-02T15:56:42.659-07:00Hi, i have just update picture of connection betwe...Hi, i have just update picture of connection between Arduino and H-bridge on Step1. Please take a look.engineer2youhttps://www.blogger.com/profile/01972103283461196792noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-72654946201974113462019-05-02T15:37:08.624-07:002019-05-02T15:37:08.624-07:00Hi, firstly, you have to make sure that Arduino ca...Hi, firstly, you have to make sure that Arduino can communicate to Visual Studio by COM communication. Please come here<br />https://www.engineer2you.com/2016/12/arduino-serial-communication-visual.html<br />After confident about communication COM between Arduino and Studio, you will be able to show motor speed.engineer2youhttps://www.blogger.com/profile/01972103283461196792noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-12943103172710969092019-05-02T07:44:00.210-07:002019-05-02T07:44:00.210-07:00sir for me current speed in visual studio not disp...sir for me current speed in visual studio not displaying,what shall i do???<br />No waveform is coming but motor working fine.i dont know motor parameters,i am just trying z-n tuning method.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-51263598428767983952019-05-01T05:46:54.506-07:002019-05-01T05:46:54.506-07:00serial.available()<=0 means what???data not ava...serial.available()<=0 means what???data not available???can you justify this line of your code.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-32595849282529726312019-04-29T00:51:06.156-07:002019-04-29T00:51:06.156-07:00Yes, Arduino Pin 4&5 to H-bridge IN1&2
Ard...Yes, Arduino Pin 4&5 to H-bridge IN1&2<br />Arduino Pin6 to H-bridge ENA<br />Just try it, you will get it :)fumikhttps://www.blogger.com/profile/12728872818193244107noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-64836722813240182772019-04-28T21:12:50.704-07:002019-04-28T21:12:50.704-07:00sir pin 4 of H-bridge, if high then motor rotates ...sir pin 4 of H-bridge, if high then motor rotates in forward direction correct or not???same goes with pin5???sir ardiuno it is given IN1,IN2,IN3,IN4 as inputs for two motors and two enable pins En A ,En B .so pin 4 and 5 of H-BRIDGE IS EQUIVALENT TO IN1 AND IN2???Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-61486417317129213422019-04-21T23:57:46.071-07:002019-04-21T23:57:46.071-07:00Hi, please visit this link, you will understand fu...Hi, please visit this link, you will understand function of pin 2 ~ 6, then you can replace it by UNO<br />https://www.engineer2you.com/2016/12/arduino-motor-speed-control-pwm.html<br />engineer2youhttps://www.blogger.com/profile/01972103283461196792noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-23696644957182564632019-04-21T23:52:35.012-07:002019-04-21T23:52:35.012-07:00Yes. Please replace it with your max speed.
If i ...Yes. Please replace it with your max speed. <br />If i make this kind of KIT with 50$ (motor, H-bridge, Arduino UNO, mechanical assembly parts), ship over the world. Will you purchase with pre-pay by Paypal? How to you think?engineer2youhttps://www.blogger.com/profile/01972103283461196792noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-62011545475159946972019-04-21T23:22:07.768-07:002019-04-21T23:22:07.768-07:00so if my motor rated speed is 225 , then i have us...so if my motor rated speed is 225 , then i have use 225 in place of 4000 right???what -4000 indicates , reverse direction of motor???Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-67809307156191888932019-04-21T23:18:49.660-07:002019-04-21T23:18:49.660-07:00can please explain why you selected 2,3,4,5,6 pins...can please explain why you selected 2,3,4,5,6 pins???if i am using arduino uno can it be ok same pins ???can u give description why you used those pins.kartheekhttps://www.blogger.com/profile/02860758628697397902noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-87913949139566586962019-04-21T23:07:00.325-07:002019-04-21T23:07:00.325-07:00you're right. this prevents motor reaching rat...you're right. this prevents motor reaching rated speed in case of wrong PID parameter.engineer2youhttps://www.blogger.com/profile/01972103283461196792noreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-48099969158975429332019-04-21T23:03:55.466-07:002019-04-21T23:03:55.466-07:00Sir
if (e_speed_sum >4000) e_speed_sum = 4000;...Sir <br />if (e_speed_sum >4000) e_speed_sum = 4000;<br /> if (e_speed_sum <-4000) e_speed_sum = -4000;<br />what above lines in code are doing???is it assigning rated shaft speed if it exceeds rated speed value???<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1772226649100237907.post-30346664909951489582019-04-04T15:55:37.075-07:002019-04-04T15:55:37.075-07:00Hi, please visit this link to know about function ...Hi, please visit this link to know about function "serialEvent"<br />https://www.engineer2you.com/2016/12/arduino-serial-communication-visual.htmlengineer2youhttps://www.blogger.com/profile/01972103283461196792noreply@blogger.com