tag:blogger.com,1999:blog-7214097671310478681.post8184452543037311154..comments2024-03-29T07:10:22.878-07:00Comments on RCArduino: Arduino Serial ServosCan_I_Trade?http://www.blogger.com/profile/07867684474123805993noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-7214097671310478681.post-43646168750546530412017-03-02T03:12:04.018-08:002017-03-02T03:12:04.018-08:00Hello Duane Thank You for all this Hard Work and S...Hello Duane Thank You for all this Hard Work and Study.<br />Can you please send me the Original folder.<br /><br />Thank You!<br />tandyandy2@gmail.comAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-87463398568279024552016-01-31T21:18:57.720-08:002016-01-31T21:18:57.720-08:00hallo Duane, can you send your library RCArduinoCh...hallo Duane, can you send your library RCArduinoChannels at my email<br /><br />syaifudin.sholeh10@gmail.commuhammad syaifudin sholehhttps://www.blogger.com/profile/02098927981826480090noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-37176728530438307692015-02-21T20:19:30.601-08:002015-02-21T20:19:30.601-08:00Hi Duane great post! Would you be willing to post ...Hi Duane great post! Would you be willing to post your code on GitHub so we can more easily clone and contribute to it?Gabriel Stapleshttps://www.blogger.com/profile/10071071884455787806noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-21984875475352981442014-10-19T03:59:12.586-07:002014-10-19T03:59:12.586-07:00There is no issue with debugging as the 8-bit Ardu...There is no issue with debugging as the 8-bit Arduinos do not support it.<br /><br />With regards to bugs, the behavior of all Arduino servo libraries is very similar, they use interrupts to toggle pins high/low. If an end user wrote code which accidentally caused interrupts to be turned off, a servo would not care whether it was connected directly to an Arduino PIN being driven by the standard servo library or by a 4017 being driven by the serial servo library, there is equal probability that the pin would be held high (or low).<br /><br />If you really wanted to save battery, you would be better off disconnecting all power to the servos rather than just stopping signal pulses.<br /><br />Duane BCan_I_Trade?https://www.blogger.com/profile/07867684474123805993noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-13314454425364546042014-10-14T15:28:24.513-07:002014-10-14T15:28:24.513-07:00If I understand the 4017, one of the 10 outputs is...If I understand the 4017, one of the 10 outputs is always asserted (the 0 output when reset is high). Since I understand that some (many?) servos should not be operated with the control signal high continuously (they may go to one end of their range and try to continue), one would need to never stop the clocking if all 10 outputs are connected to servos (eg: debugging, or a bug stopping the uC, or even deliberately to save battery). Is that correct?<br /><br />If so I guess that one could use up to 9 servos on outputs 1-9, nothing on output 0, and modify the code to always hold reset high when not wanting to maintain position on any servo (or raise reset briefly and stop clocking).<br /><br />Zephhttps://www.blogger.com/profile/03996874002712303671noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-82776674150182295442013-05-28T11:19:08.597-07:002013-05-28T11:19:08.597-07:00Hi Gary,
I have moved your comment to my Spam fold...Hi Gary,<br />I have moved your comment to my Spam folder so that your email address is not visible on the web. I will send the folder shortly.<br /><br />Duane.Can_I_Trade?https://www.blogger.com/profile/07867684474123805993noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-65488771814093161282013-05-25T23:11:13.026-07:002013-05-25T23:11:13.026-07:00Send me you email address through the Arduino foru...Send me you email address through the Arduino forum and I will send you the original folder<br /><br />Duane Can_I_Trade?https://www.blogger.com/profile/07867684474123805993noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-27129150365021877232013-05-25T22:50:12.522-07:002013-05-25T22:50:12.522-07:00Duane,
You are right indeed, there are some "...Duane,<br />You are right indeed, there are some "extra" characters when I cut and paste the code..<br />However, it gave me the same compiling error even copying the code into notepad first, and then to the Arduino IDE. <br /><br />Any ideas ???<br /><br />Regards<br />GaryAnonymoushttps://www.blogger.com/profile/05605261175282274646noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-35771618146034617572013-05-25T03:44:21.412-07:002013-05-25T03:44:21.412-07:00Hi,
My guess is that some additional characters ...Hi,<br /> My guess is that some additional characters may have been copied across as you cut and paste the code. If your using windows try pasting the code ino notepad first and then copying and pasting it from notepad to the Arduino ID.<br /><br />Let me know<br /><br />Duane.Can_I_Trade?https://www.blogger.com/profile/07867684474123805993noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-66500330629475974012013-05-24T08:22:02.019-07:002013-05-24T08:22:02.019-07:00Duane,
I tried to compile the sketch but it gives ...Duane,<br />I tried to compile the sketch but it gives me compile error "stray \240 in program"<br /><br />What did I do wrong ??Anonymoushttps://www.blogger.com/profile/05605261175282274646noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-66817766875472694742012-08-26T12:15:26.959-07:002012-08-26T12:15:26.959-07:00You are correct, but its not a problem, I consider...You are correct, but its not a problem, I considered putting a padding area at the end of the pulse train like the standard servo library does, but I have RC Transmitters which operate at 50 pulses a second, 60 pulses a second and 91 pulses a second. I didn't know until I measured the pulse rate and have been interchanging these transmitters for years without knowing they had different refresh rates. You will often come across people looking for higher refresh rates, it increases stability in quad copters and holding torque in robot arms for example. 250Hz - five times faster than standard is a fairly common request in quadcopter circles, I have a new library which gets upto that speed very efficiently, but thats a post for next week. In the meantime I figured if we have the advantage of increased torque, response time and stability in standard applications, why specifically write code to throw away this free bonus ? Nice to see someone reads the code though. Duane BCan_I_Trade?https://www.blogger.com/profile/07867684474123805993noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-51186347651892181472012-08-26T10:23:31.392-07:002012-08-26T10:23:31.392-07:00If I read this correctly then if all the servos mo...If I read this correctly then if all the servos move from, say left to right. Then the time between signal pulses changes for all the servos. 090x10 vs. 180x10. Does that not cause any problems if the time between pulses changes this much? <br />I think inside the box all the time :( so I would've used every second output on the 4017, let's say 1,3,5,7,9 and left 2,4,6,8,0 disconnected for time adjustment so each round of pulses would take exactly the same time. Andsetinnhttps://www.blogger.com/profile/05566955903893010237noreply@blogger.comtag:blogger.com,1999:blog-7214097671310478681.post-75052410847243850002012-08-22T16:12:08.625-07:002012-08-22T16:12:08.625-07:00Very useful :)Very useful :)Anonymousnoreply@blogger.com