{"id":1651,"date":"2016-11-01T15:42:44","date_gmt":"2016-11-01T14:42:44","guid":{"rendered":"http:\/\/dronesonen.hibu.no\/?p=1651"},"modified":"2016-12-07T20:26:24","modified_gmt":"2016-12-07T19:26:24","slug":"oppgradert-steppermotor-og-driver","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=1651","title":{"rendered":"Oppgradert steppermotor og driver"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Da steppermotoren og driveren som fulgte med arduinosettet er litt svake, har vi f\u00e5tt l<\/span><span style=\"font-weight: 400\">\u00e5ne<\/span><span style=\"font-weight: 400\">\u00a0av skolen 2 steppermotorer og 2 drivere. Vi skal bruke de til \u00e5 \u00e5pne og lukke to skuffer i v\u00e5rt Magic Mirror. Vi vil dele det vi har funnet ut om steppermotor og driver i dag.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Steppermotor NEMA17<a href=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.19-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1653 alignright\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.19-1-216x300.jpg\" alt=\"2016-11-01-15-32-19-1\" width=\"216\" height=\"300\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.19-1-216x300.jpg 216w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.19-1-768x1066.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.19-1-738x1024.jpg 738w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.19-1.jpg 2000w\" sizes=\"auto, (max-width: 216px) 100vw, 216px\" \/><\/a><\/span><\/h2>\n<p><span style=\"font-weight: 400\">Den er merket med f\u00f8lgende: <\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400\">Longs Stepper Motor<\/span><\/li>\n<li>Model: 17HS3404N<\/li>\n<li>0.4A(U) 1.8 deg\/step<\/li>\n<li><a href=\"http:\/\/www.longs-motor.com\"><span style=\"font-weight: 400\">www.longs-motor.com<\/span><\/a><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">P\u00e5 siden fant vi f\u00f8lgende spesifikasjoner.<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">Series<\/span><\/p>\n<p><span style=\"font-weight: 400\">Mode<\/span><\/td>\n<td><span style=\"font-weight: 400\">Step Angle<\/span><\/p>\n<p><span style=\"font-weight: 400\">( \u00b0)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Motor Length<\/span><\/p>\n<p><span style=\"font-weight: 400\">(mm)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Rated<\/span><\/p>\n<p><span style=\"font-weight: 400\">Current<\/span><\/p>\n<p><span style=\"font-weight: 400\">(A)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Phase<\/span><\/p>\n<p><span style=\"font-weight: 400\">Resistance<\/span><\/p>\n<p><span style=\"font-weight: 400\">( \u03a9 )<\/span><\/td>\n<td><span style=\"font-weight: 400\">Phase<\/span><\/p>\n<p><span style=\"font-weight: 400\">Inductance<\/span><\/p>\n<p><span style=\"font-weight: 400\">(mH)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Holding<\/span><\/p>\n<p><span style=\"font-weight: 400\">Torque<\/span><\/p>\n<p><span style=\"font-weight: 400\">(N.cm Min)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Detent<\/span><\/p>\n<p><span style=\"font-weight: 400\">Torque<\/span><\/p>\n<p><span style=\"font-weight: 400\">(N.cm Max)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Rotor<\/span><\/p>\n<p><span style=\"font-weight: 400\">Torque<\/span><\/p>\n<p><span style=\"font-weight: 400\">(g.c\u33a1)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Lead<\/span><\/p>\n<p><span style=\"font-weight: 400\">Wire<\/span><\/p>\n<p><span style=\"font-weight: 400\">(No.)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Motor<\/span><\/p>\n<p><span style=\"font-weight: 400\">Weight<\/span><\/p>\n<p><span style=\"font-weight: 400\">(g)<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">17HS3404<\/span><\/td>\n<td><span style=\"font-weight: 400\">1.8<\/span><\/td>\n<td><span style=\"font-weight: 400\">34<\/span><\/td>\n<td><span style=\"font-weight: 400\">0.4<\/span><\/td>\n<td><span style=\"font-weight: 400\">30<\/span><\/td>\n<td><span style=\"font-weight: 400\">35<\/span><\/td>\n<td><span style=\"font-weight: 400\">28<\/span><\/td>\n<td><span style=\"font-weight: 400\">1.6<\/span><\/td>\n<td><span style=\"font-weight: 400\">34<\/span><\/td>\n<td><span style=\"font-weight: 400\">4<\/span><\/td>\n<td><span style=\"font-weight: 400\">220<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400\">Annet navn for motor er 42BYGH<\/span><\/p>\n<p><span style=\"font-weight: 400\">Link: <\/span><a href=\"http:\/\/www.longs-motor.com\/productinfo\/detail_12_25_112.aspx\"><span style=\"font-weight: 400\">http:\/\/www.longs-motor.com\/productinfo\/detail_12_25_112.aspx<\/span><\/a><\/p>\n<h2><span style=\"font-weight: 400\">Driver<a href=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.35-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1654 alignright\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.35-1-190x300.jpg\" alt=\"2016-11-01-15-32-35-1\" width=\"190\" height=\"300\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.35-1-190x300.jpg 190w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.35-1-768x1213.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.35-1-649x1024.jpg 649w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2016\/11\/2016-11-01-15.32.35-1.jpg 1866w\" sizes=\"auto, (max-width: 190px) 100vw, 190px\" \/><\/a><\/span><\/h2>\n<p><span style=\"font-weight: 400\">Driveren har mikrobrytere. Hvordan de skal st\u00e5 er preget inn p\u00e5 kortet. Det er valg for <\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">running current &#8211; str\u00f8mstyrken kan justeres fra 0.3 til 3 A<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">stop current &#8211; stop current kan v\u00e6re 20 % eller 50 %<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">excitation mode &#8211; vi kan melllom single step, half step, \u215b step og 1\/16 step<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Decay setting &#8211; kan justeres til 0%, 25%, 50%, 100%<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Link til beskrivelse <\/span><a href=\"http:\/\/www.sainsmart.com\/zen\/documents\/20-019-200\/Tb6560%20stepping%20motor%20driver%20...pdf\"><span style=\"font-weight: 400\">http:\/\/www.sainsmart.com\/zen\/documents\/20-019-200\/Tb6560%20stepping%20motor%20driver%20&#8230;pdf<\/span><\/a><\/p>\n<h2><span style=\"font-weight: 400\">Koblinger<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Steppermotor: <\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400\">Sort <\/span> <span style=\"font-weight: 400\">A+ Motor phase<\/span><\/li>\n<li>Gr\u00f8nn <span style=\"font-weight: 400\">A &#8211;<\/span><\/li>\n<li>R\u00f8d <span style=\"font-weight: 400\">B+ Motor phase<\/span><\/li>\n<li>Bl\u00e5 <span style=\"font-weight: 400\">B &#8211;<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Driver: <\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400\">24V &#8211; kan brukes fra DC 10V &#8211; 35V<\/span><\/li>\n<li>GND<\/li>\n<li>A+ Motor phase<\/li>\n<li>A-<\/li>\n<li>B+ Motor phase<\/li>\n<li>B-<\/li>\n<li>CLK + positive puls<\/li>\n<li>CLK &#8211;<\/li>\n<li><span style=\"font-weight: 400\">CM + direction clockwise<\/span><\/li>\n<li>CM &#8211;<\/li>\n<li>EN + enable holding current<\/li>\n<li>EN &#8211;<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Arduino:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400\">D8 &#8211; direction<\/span><\/li>\n<li>D9 &#8211; puls<\/li>\n<li>GND<\/li>\n<\/ul>\n<h2>Konklusjon<\/h2>\n<p>Denne driveren trenger bare to signaler fra arduino &#8211; et signal som styrer retning og et som styrer antall pulser\/tid. Det gj\u00f8r at vi m\u00e5 forandre den opprinnelige koden v\u00e5r. Dette blir neste oppgave.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Da steppermotoren og driveren som fulgte med arduinosettet er litt svake, har vi f\u00e5tt l\u00e5ne\u00a0av skolen 2 steppermotorer og 2 drivere. Vi skal bruke de til \u00e5 \u00e5pne og lukke to skuffer i v\u00e5rt Magic Mirror. Vi vil dele det vi har funnet ut om steppermotor og driver i dag. Steppermotor NEMA17 Den er merket [&hellip;]<\/p>\n","protected":false},"author":49,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[40],"class_list":["post-1651","post","type-post","status-publish","format-standard","hentry","category-magicmirror","tag-magicmirror"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/1651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1651"}],"version-history":[{"count":1,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/1651\/revisions"}],"predecessor-version":[{"id":1655,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/1651\/revisions\/1655"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}