{"id":462,"date":"2022-11-03T00:16:03","date_gmt":"2022-11-03T00:16:03","guid":{"rendered":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/?p=462"},"modified":"2022-11-30T17:51:28","modified_gmt":"2022-11-30T17:51:28","slug":"designing-a-mount-for-a-28byj-48-stepper-motor","status":"publish","type":"post","link":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/2022\/11\/03\/designing-a-mount-for-a-28byj-48-stepper-motor\/","title":{"rendered":"Designing a Mount for a 28BYJ-48 Stepper Motor"},"content":{"rendered":"<p>For my first-year engineering class, I had to design and 3D print a mount for a 28BYJ-48 Stepper Motor to be used in the final project. I imported and scaled an image of the schematics into OnShape and used it to design the mount. The image of the motor I used is from Cookie robotics. <a href=\"https:\/\/cookierobotics.com\/042\/drawing.png\">Here is the link. <\/a>To import an image into OnShape, you must first begin a sketch. Once in the sketch, click on the dropdown arrow next to insert DXF or DWG and select insert Image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-463\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/InsertDXF-300x39.png\" alt=\"\" width=\"300\" height=\"39\" srcset=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/InsertDXF-300x39.png 300w, https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/InsertDXF.png 326w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-464\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/InsertImage-300x84.png\" alt=\"\" width=\"300\" height=\"84\" srcset=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/InsertImage-300x84.png 300w, https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/InsertImage.png 409w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Make sure Insert Image is selected and not Insert DXF or DWG. After selecting Insert image, a new window will open. Click the Import button at the bottom to open up your files.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-465\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/SelectImport-156x300.png\" alt=\"\" width=\"156\" height=\"300\" srcset=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/SelectImport-156x300.png 156w, https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/SelectImport.png 307w\" sizes=\"(max-width: 156px) 100vw, 156px\" \/><\/p>\n<p>Then select the image you want to be imported into OnShape.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-466\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/SelectImage-300x185.png\" alt=\"\" width=\"300\" height=\"185\" \/><\/p>\n<p>Next, select the Imported file and draw a rectangle of any size.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-468\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/SelectImport-1-156x300.png\" alt=\"\" width=\"156\" height=\"300\" srcset=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/SelectImport-1-156x300.png 156w, https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/SelectImport-1.png 307w\" sizes=\"(max-width: 156px) 100vw, 156px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-467\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/Placing-Image-300x258.png\" alt=\"\" width=\"300\" height=\"258\" \/><\/p>\n<p>Now that the image has been successfully imported into OnShape, it is time to scale it, so the dimensions on the image are correct. Before doing this, make sure the units in OnShape are correct. Click on the lines next to the document&#8217;s name and select workspace units.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-471\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/Screenshot-2022-11-01-145209-175x300.png\" alt=\"\" width=\"175\" height=\"300\" srcset=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/Screenshot-2022-11-01-145209-175x300.png 175w, https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/Screenshot-2022-11-01-145209.png 237w\" sizes=\"(max-width: 175px) 100vw, 175px\" \/><\/p>\n<p>Then make sure the default length unit matches the one in the image, in this case, millimeters.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-472\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/Screenshot-2022-11-01-145238-206x300.png\" alt=\"\" width=\"206\" height=\"300\" srcset=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/Screenshot-2022-11-01-145238-206x300.png 206w, https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/Screenshot-2022-11-01-145238.png 286w\" sizes=\"(max-width: 206px) 100vw, 206px\" \/><\/p>\n<p>To do this, draw a line in OnShape and make its dimensions the same as one of the lines on the image. For this project, I am using a line that is 35 mm long. Next, click on the dimension tool and then on one of the edges of the image to begin scaling it. Then use the up and down arrow keys to scale it to match the line. You can position the line over the image to help you match it exactly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-473\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/Screenshot-2022-11-01-150020-290x300.png\" alt=\"\" width=\"290\" height=\"300\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-474\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/Screenshot-2022-11-01-150141-300x269.png\" alt=\"\" width=\"300\" height=\"269\" \/><\/p>\n<p>Once the line and the image match up, the image is now properly scaled. After I finished designing the mount, I sliced it using the Prusa Slicer and printed it using these settings:<\/p>\n<p>Printer: Orignial Prusa MINI &amp; MINI+<\/p>\n<p>Filament: Generic PLA<\/p>\n<p>Infill: 10%<\/p>\n<p>Print settings: 0.15mm QUALITY (modified)<\/p>\n<p>Here is the finished print and the motor connected to the mount.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-478\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/thumbnail_20221102_135856-300x164.jpg\" alt=\"\" width=\"300\" height=\"164\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-477\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/11\/thumbnail_20221102_135826-300x174.jpg\" alt=\"\" width=\"300\" height=\"174\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For my first-year engineering class, I had to design and 3D print a mount for a 28BYJ-48 Stepper Motor to be used in the final project. I imported and scaled an image of the schematics into OnShape and used it to design the mount. The image of the motor I used is from Cookie robotics. [&hellip;]<\/p>\n","protected":false},"author":1821,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"<p>To import an image into OnShape, you must first begin a sketch. Once in the sketch, click on the dropdown arrow next to insert DXF or DWG and select insert Image.<img class=\"alignnone size-medium wp-image-463\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/InsertDXF-300x39.png\" alt=\"\" width=\"300\" height=\"39\" \/><\/p><p><img class=\"alignnone size-medium wp-image-464\" src=\"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-content\/uploads\/sites\/1702\/2022\/10\/InsertImage-300x84.png\" alt=\"\" width=\"300\" height=\"84\" \/><\/p><p>Make sure Insert Image is selected and not Insert DXF or DWG. After selecting Insert image, a new will open.<\/p>","_et_gb_content_width":"","footnotes":""},"categories":[8,9],"tags":[],"class_list":["post-462","post","type-post","status-publish","format-standard","hentry","category-engr-199","category-fire-fighting-robot"],"_links":{"self":[{"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/posts\/462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/users\/1821"}],"replies":[{"embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/comments?post=462"}],"version-history":[{"count":8,"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/posts\/462\/revisions"}],"predecessor-version":[{"id":486,"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/posts\/462\/revisions\/486"}],"wp:attachment":[{"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/media?parent=462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/categories?post=462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/portfolio.wcu.edu\/jclay2-engr\/wp-json\/wp\/v2\/tags?post=462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}