{"id":11921,"date":"2016-01-26T09:15:36","date_gmt":"2016-01-26T17:15:36","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=11921"},"modified":"2021-06-16T14:28:45","modified_gmt":"2021-06-16T21:28:45","slug":"prototyping-a-project","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/prototyping-a-project\/","title":{"rendered":"Prototyping a Project"},"content":{"rendered":"<p>Hello and welcome back to the Digilent Blog!<\/p>\n<p>When designing something, especially for the first time, it&#8217;s almost always recommended that you first create a prototype. This can come in many different forms: sewing pieces of scrap fabric together, painting in the corner, a miniaturized\u00a0version, or just an improvised\u00a0contraption. Arguably, this is the nice thing about prototyping, figuring out if something works without putting the full amount of effort into a project that might flop. But what should you expect to do in prototyping an electronics project?<\/p>\n<p>We recent came out with our\u00a0own <a href=\"https:\/\/digilent.com\/shop\/digilent-pcb-ruler\/\" target=\"_blank\" rel=\"noopener\">PCB ruler<\/a>.\u00a0In addition to just being fun,\u00a0you can make small projects directly on the ruler.<\/p>\n<figure id=\"attachment_12080\" aria-describedby=\"caption-attachment-12080\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-12080\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/01\/Digilent-PCB-Ruler-Project-600x163.jpg\" alt=\"Digilent PCB Ruler with the Pmod8LD\" width=\"600\" height=\"163\" \/><figcaption id=\"caption-attachment-12080\" class=\"wp-caption-text\">A project using the Digilent PCB Ruler with the Pmod8LD.<\/figcaption><\/figure>\n<p>However,\u00a0I found that this project left something to be desired. Like a set of wheels and an ensuing\u00a0trail of flame. While I&#8217;m fairly certain that fire is generally unaccepted in most work environments (effectively stopping that particular goal), making a drag racing ruler is much more feasible. However, having never worked a racing vehicle outside of Hot Wheels cars in my younger days, I needed to test out a prototype to confirm that I could actually make a racing ruler without it performing terribly.<\/p>\n<p>http:\/\/littlemisskate.ca\/wp-content\/uploads\/2014\/04\/Hot-wheels-HWtrackbuilder-1.jpg<\/p>\n<figure style=\"width: 2437px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/littlemisskate.ca\/wp-content\/uploads\/2014\/04\/Hot-wheels-HWtrackbuilder-1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/littlemisskate.ca\/wp-content\/uploads\/2014\/04\/Hot-wheels-HWtrackbuilder-1.jpg\" alt=\"\" width=\"2437\" height=\"2716\" \/><\/a><figcaption class=\"wp-caption-text\">A very accurate representation of my Hot Wheels experience. Image from <a href=\"http:\/\/littlemisskate.ca\/giveaway\/build-your-ultimate-hot-wheels-track-giveaway-hwtrackbuilder\/\" target=\"_blank\" rel=\"noopener\">LittleMissKate.ca<\/a><\/figcaption><\/figure>\n<p>Before I ever actually build a prototype though, I always mentally walk through a checklist of what I need for my electronic prototype: an idea of what the final project would look like, access to most of the components or their equivalents, easily adjustable &#8220;settings&#8221;, being unafraid of jerry-building the prototype, and being mentally prepared for it not to work the first time. Or even the fourth time. I&#8217;ll walk through what I did to help paint a slightly better idea of what I mean.<\/p>\n<p>Ideally, this drag racing ruler would be as light as possible with a pair of dolly wheels, a single or a pair of drive wheels with their corresponding motor(s), the Digilent ruler, an H-Bridge motor driver, a microcontroller to direct the H-Bridge, a battery, and any wires as appropriate.<\/p>\n<p>Once I knew how my glorious final project was going to look, I looked around to see what I had available to test the project for feasibility. The biggest thing that I wanted to use was a breadboard since using the Digilent ruler will likely require soldering (to ensure a clean look) but soldering does not lend itself towards correcting any mistakes or adjustments you might want to make. The breadboard is definitely heavier than the ruler so it&#8217;s not truly representative how sleek and fast the racing ruler will be, but it&#8217;ll essentially work the same. This is the same idea for the motors; you just need them to be able to spin, not be the final set of motors at your desired voltage and torque in order to test the project.<\/p>\n<p>I also looked for easy ways to get everything together. Naturally, the breadboard played a big part in this, but jumper wires were also a huge help in being able to switch around which digital pins were being used as well as how the various power sources were routed around the project. Similarly, tape was used to help hold things either in place, like the 9V battery, or out of the way like all of the wires connecting the microcontroller to the dual H-Bridge to the motors.<\/p>\n<figure id=\"attachment_12083\" aria-describedby=\"caption-attachment-12083\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-12083\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/01\/Racing-Ruler-Prototype-600x247.jpg\" alt=\"Drag Racing Ruler prototype. It might not leave a trail of flames, but watch out!\" width=\"600\" height=\"247\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/01\/Racing-Ruler-Prototype-600x247.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/01\/Racing-Ruler-Prototype.jpg 640w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-12083\" class=\"wp-caption-text\">Drag Racing Ruler prototype. It might not leave a trail of flames, but watch out!<\/figcaption><\/figure>\n<p>But the biggest thing that I made sure to do for this prototype, and arguably what is needed for all of the prior steps, was the mental preparation that it may not work as planned the first time or for many subsequent times. It doesn&#8217;t have to be a catastrophic failure, but perhaps the racer drives in a circle rather a straight line, the wheels might fall off since the hot glue doesn&#8217;t hold them on the motors super well, or wires connecting all of the power disconnect and stop the motors from running. If all of these examples seem like they are specific enough to indicate that I had some experience with them, you are correct.<\/p>\n<p>I won&#8217;t pretend that this post is the end-all be-all reference for your prototyping needs, but I hope that I gave some inspiration and encouragement to push through the initial creation phase. What sort of project are you working on?<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-11921 jlk' data-task='like' data-post_id='11921' data-nonce='8896bc70a6' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-11921 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-11921 jlk' data-task='unlike' data-post_id='11921' data-nonce='8896bc70a6' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-11921 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-11921 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>What&#8217;s the best way to prototype a project?<\/p>\n","protected":false},"author":17,"featured_media":12084,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[38,1563,1561,4324],"tags":[95],"ppma_author":[4469],"class_list":["post-11921","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expansion-modules","category-guide","category-applications","category-research-rapid-prototyping","tag-projects"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/01\/A-creative-prototyping-desk.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4469,"user_id":17,"is_guest":0,"slug":"jamescolvin","display_name":"James Colvin","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/8aa85f7d11711acc7e571e1ed26c901b614a7064a2e15e522f54d9f26792ea9e?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/11921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=11921"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/11921\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/12084"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=11921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=11921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=11921"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=11921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}