{"id":1811,"date":"2016-01-05T14:36:54","date_gmt":"2016-01-05T14:36:54","guid":{"rendered":"https:\/\/ibex.tech\/resources\/?p=1811"},"modified":"2022-02-18T15:05:16","modified_gmt":"2022-02-18T15:05:16","slug":"over-votlage-driving-cmos-pins","status":"publish","type":"post","link":"https:\/\/ibex.tech\/resources\/geek-area\/electronics\/interfacing\/over-votlage-driving-cmos-pins","title":{"rendered":"Over votlage driving CMOS pins"},"content":{"rendered":"<p>\nCMOS inputs on virtually all CMOS&nbsp;devices, from the humble&nbsp;74HC00&nbsp;to super complex microcontrollers, incorporate protection diodes internally to GND and to VCC. &nbsp;Not all data&nbsp;sheets show them, but they are there to protect the device from being damaged by any over voltage&nbsp;on the input however brief. &nbsp;Is it OK to actually use these diodes &#8211; yep.&nbsp; If you want to drive an input from a higher voltage source you can connect it via a series resistor to limit the current. &nbsp;The catch is you need to know what the safe amount of current is and for that you need to find the &#39;maximum diode current&#39; specification in the devices datasheet. &nbsp;If it omits to tell you then you really shouldn&#39;t as you don&#39;t know what a safe amount of current is, but often a device will have a &#39;Maximum diode current on any IO pin&#39; type of specification (the diodes are also included on CMOS outputs, hence &#39;IO&#39;) and as long as you ensure you won&#39;t exceed this then you should have no problem. &nbsp;Bear in mind:\n<\/p>\n<p style=\"margin-left: 40px;\">\nSeries resistors can be detremental&nbsp;on&nbsp;fast signals\n<\/p>\n<p style=\"margin-left: 40px;\">\nIf you are doing this on lots of inputs remember that the diode on each input is dissipating the excess voltage as heat, so ensure you won&#39;t cause a problem by too much heat being generated across multiple input diodes&nbsp;(maximum dissipation specifications in conjunction with the IC running current can be&nbsp;used to help with this).\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CMOS inputs on virtually all CMOS&nbsp;devices, from the humble&nbsp;74HC00&nbsp;to super complex microcontrollers, incorporate protection diodes internally to GND and to VCC. &nbsp;Not all data&nbsp;sheets show them, but they are there to protect the device from being damaged by any over voltage&nbsp;on the input however brief. &nbsp;Is it OK to actually use these diodes &#8211; yep.&nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"class_list":["post-1811","post","type-post","status-publish","format-standard","hentry","category-interfacing"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts\/1811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/comments?post=1811"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts\/1811\/revisions"}],"predecessor-version":[{"id":1812,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts\/1811\/revisions\/1812"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/media?parent=1811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/categories?post=1811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/tags?post=1811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}