{"id":281,"date":"2016-07-16T16:17:19","date_gmt":"2016-07-16T14:17:19","guid":{"rendered":"http:\/\/tronche.com\/blog\/?p=281"},"modified":"2019-02-02T16:18:45","modified_gmt":"2019-02-02T15:18:45","slug":"30cm-linear-servo-actuator-driven-by-arduino-nano-h-bridge","status":"publish","type":"post","link":"https:\/\/tronche.com\/blog\/2016\/07\/30cm-linear-servo-actuator-driven-by-arduino-nano-h-bridge\/","title":{"rendered":"30cm linear servo (actuator) driven by arduino nano + H-bridge"},"content":{"rendered":"\n<p>For the Almabraxas boat, I dropped the idea of using a rudder in \nfavor of a differential thruster system, because I think the rudder \ncontrol mecanism is too complex, both from the mechanical and \nwaterproofing point of view. However, since I had selected some \ncomponents, I built a control card, just for training. We can see the \nresult is quite simple. \n<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>It&#8217;s really an actuator and the servo part is done &#8220;by hand&#8221; \nusing the nano. The actuator ships with a potentiometer attached to it, \nso you can sense the extension length.\n<\/p>\n\n\n\n<p>Although there are some small integrated linear servos (such as \nFirgelli&#8217;s), it&#8217;s more difficult to find big ones. This one can extend \nto 30cm, which you may think as big if you see what&#8217;s on the market, but\n small if you consider the need to steer an approximately 1 x 2m boat. I\n found this one through Aliexpress from Chinese company Sky Land Linear \nMotion Technology Co., Ltd., which I found very helpful and competent by\n the way. It can handle 24V, but for now I&#8217;m using only 12V, because I&#8217;m\n powering the electronic part from the H-bridge board regulator, which \ncan only work until 12V in my understanding. The actuator maximum \ntraction strength is 1000N.\n<\/p>\n\n\n\n<p>The H-bridge breakout board is controlled by an Arduino Nano, \nwhich reads the voltage from the actuator potentiometer, converts it \ninto centimeters and drives the motor with 2 digital lines. Note that \nthe calibration (conversion from ADC reading into mm) is different if \nthe nano is powered by USB or the board&#8217;s regulator. For this demo, it \nonly extends and retracts the servo.\n<\/p>\n\n\n\n<p>The display is an Olimex one. It needs both 5V and 3.3V, so the \n3.3V is provided by the Nano. On the display, you can see an arrow \nshowing the direction, the raw value read on the ADC, the conversion in \nmm, which is the actual extension of the actuator, and the target \nextension, in mm.\n<\/p>\n\n\n\n<p>I built the card on a simple perfboard. The breakout boards are \nmounted on headers for the sake of reusability&nbsp;! Except the H-bridge \none, for which I haven&#8217;t drilled the board yet.\n<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"30cm linear servo \/ actuator driven by arduino nano + H-bridge\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/ibmTeS0C4S4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>For the Almabraxas boat, I dropped the idea of using a rudder in favor of a differential thruster system, because I think the rudder control <a class=\"mh-excerpt-more\" href=\"https:\/\/tronche.com\/blog\/2016\/07\/30cm-linear-servo-actuator-driven-by-arduino-nano-h-bridge\/\" title=\"30cm linear servo (actuator) driven by arduino nano + H-bridge\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":283,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[142],"tags":[145,144,143,146],"class_list":["post-281","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-robotics","tag-arduino","tag-arduino-nano","tag-h-bridge","tag-linear-actuator"],"_links":{"self":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/comments?post=281"}],"version-history":[{"count":4,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/281\/revisions"}],"predecessor-version":[{"id":289,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/281\/revisions\/289"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/media\/283"}],"wp:attachment":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/media?parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/categories?post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/tags?post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}