{"id":14196,"date":"2016-10-06T10:00:34","date_gmt":"2016-10-06T17:00:34","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=14196"},"modified":"2021-06-16T13:51:49","modified_gmt":"2021-06-16T20:51:49","slug":"the-right-tool-for-the-circuit-validation-job","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/the-right-tool-for-the-circuit-validation-job\/","title":{"rendered":"The Right Tool for the (Circuit Validation) Job"},"content":{"rendered":"<p>&#8220;The right tool for the job.&#8221; It\u2019s a phrase that is hard to truly appreciate until you have found yourself banging you head against a wall after hours of trying to make something\u00a0work with the wrong tool without success. I recently had the pleasure of being able to say this phrase about a little black box known as the<a href=\"https:\/\/digilent.com\/shop\/powerbricks-breadboardable-dual-output-usb-power-supplies\/\"> PowerBRICK.<\/a> But first, let\u2019s start with the problem it solved.<\/p>\n<p>I recently began a little project to create a contraption that could measure and log voltage data from an operating robot platform for later examination. The board I am choosing to work with for this has analog pins that are only tolerant of signals up to 1.8V, which is an obvious problem if I want to measure pretty much anything on a robot. So to solve this, I decided to incorporate some voltage divider circuits to allow specific higher voltage ranges to be measured, while still only presenting the pin with voltages around 1.8V. After some brief white board number crunching with resistor values, I came up with various sets of components that would provide me a viable solution. What works on paper does not always work in practice, so I needed a way to easily test my circuits with real voltage values to validate my calculations.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14201 aligncenter\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/testCkt-322x600.jpg\" alt=\"testCkt\" width=\"322\" height=\"600\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/testCkt-322x600.jpg 322w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/testCkt-768x1433.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/testCkt-549x1024.jpg 549w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/testCkt-643x1200.jpg 643w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/testCkt.jpg 1641w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/p>\n<p>I intended for this device to monitor various voltage levels on an <a href=\"https:\/\/digilent.com\/shop\/fpga-programmable-logic\/\">FPGA<\/a> board with motors, so I would need to be able to take measurements at 3.3V, 5V, and 12V simultaneously. The <a href=\"https:\/\/digilent.com\/shop\/powerbricks-breadboardable-dual-output-usb-power-supplies\/\">PowerBRICKS<\/a> provided me with a perfect way of testing the functionality of my circuit in reading these three voltage levels at the same time. So instead of digging around for pieces that would allow me to hack together various power supplies to my resistor sets, I was able to power everything easily from the USB port on my laptop. This validation step is critical for anyone trying to incorporate analog circuits with a <a href=\"https:\/\/digilent.com\/shop\/embedded-processors\/\">microcontroller<\/a> or FPGA board to make sure you won\u2019t fry anything.\u00a0This also\u00a0allows you a means of determining the accuracy of your voltage calculations after data collection, since you can measure the outputs of each brick easily here with a digital multimeter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-14199 aligncenter\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/measuredOutput-600x169.jpg\" alt=\"measuredOutput\" width=\"600\" height=\"169\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/measuredOutput-600x169.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/measuredOutput-768x217.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/measuredOutput-1024x289.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/measuredOutput-800x226.jpg 800w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14198 aligncenter\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/calcVerification.jpg\" alt=\"calcVerification\" width=\"499\" height=\"144\" \/><\/p>\n<p>And now I can continue with my project, with some data to give confidence\u00a0that I will (hopefully) not fry my board. So if you find yourself in a position where you need to combine some analog bits with the digital bits of your project, I hope you recall that while \u00a0steps of design, validation, and testing can be tedious, it can be made quicker and easier when you have the right tool for the job.<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-14196 jlk' data-task='like' data-post_id='14196' data-nonce='b99b93a390' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-14196 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-14196 jlk' data-task='unlike' data-post_id='14196' data-nonce='b99b93a390' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-14196 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-14196 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Nate explains some of his troubleshooting process from his latest project!<\/p>\n","protected":false},"author":34,"featured_media":14200,"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":[35],"tags":[1662,104],"ppma_author":[4486],"class_list":["post-14196","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fpga","tag-fpga","tag-project-2"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/05\/Power_Bricks.png","jetpack_sharing_enabled":true,"authors":[{"term_id":4486,"user_id":34,"is_guest":0,"slug":"naeastland","display_name":"Nate Eastland","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/3f5e2ba0db9ba8026bfe6989caeaf75ea4a9dbf81731c88925a83de714bfc1c1?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\/14196","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\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=14196"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/14196\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/14200"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=14196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=14196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=14196"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=14196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}