{"id":3198,"date":"2018-07-23T16:35:25","date_gmt":"2018-07-23T19:35:25","guid":{"rendered":"https:\/\/arduxop.com.br\/loja\/?post_type=product&#038;p=3198"},"modified":"2024-07-25T07:55:45","modified_gmt":"2024-07-25T11:55:45","slug":"sensor-de-tensao-25v-cc","status":"publish","type":"product","link":"https:\/\/arduxop.com.br\/loja\/produto\/sensor-de-tensao-25v-cc\/","title":{"rendered":"Sensor De Tens\u00e3o 25v Cc"},"content":{"rendered":"<p>Sensor de tens\u00e3o DC.<\/p>\n<p>Especifica\u00e7\u00f5es t\u00e9cnicas:<\/p>\n<p>Tens\u00e3o entrada: 0-25 VDC<br \/>\nFaixa de detec\u00e7\u00e3o: 0.02445-25 VDC<br \/>\nResolu\u00e7\u00e3o tens\u00e3o anal\u00f3gica: 0.00489 VDC<\/p>\n<p>O que acompanha?<\/p>\n<p>01 x Sensor de tens\u00e3o<\/p>\n<p>&nbsp;<\/p>\n<section class=\"main-section item-description \">\n<div id=\"description-includes\" class=\"item-description__content \">\n<div class=\"item-description__text\">\n<p>C\u00f3digo Exemplo Arduino<\/p>\n<p>\/*<br \/>\nDC Voltmeter Using a Voltage Divider<br \/>\nBased on Code Created By<br \/>\nT.K.Hareendran<br \/>\n*\/<\/p>\n<p>int analogInput = A1;<br \/>\nfloat vout = 0.0;<br \/>\nfloat vin = 0.0;<br \/>\nfloat R1 = 30000.0; \/\/<br \/>\nfloat R2 = 7500.0; \/\/<br \/>\nint value = 0;<br \/>\nvoid setup(){<br \/>\npinMode(analogInput, INPUT);<br \/>\nSerial.begin(9600);<br \/>\nSerial.print(&#8220;DC VOLTMETER&#8221;);<br \/>\n}<br \/>\nvoid loop(){<br \/>\n\/\/ read the value at analog input<br \/>\nvalue = analogRead(analogInput);<br \/>\nvout = (value * 5.0) \/ 1024.0; \/\/ see text<br \/>\nvin = vout \/ (R2\/(R1+R2));<\/p>\n<p>Serial.print(&#8220;INPUT V= &#8220;);<br \/>\nSerial.println(vin,2);<br \/>\ndelay(500);<br \/>\n}<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section id=\"reviewsCard\" class=\"vip-section-reviews ui-view-more main-section main-section--gradient\">\n<div class=\"vip-card\">\n<h2 class=\"main-section__title\">Opini\u00f5es sobre<\/h2>\n<\/div>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>Sensor de tens\u00e3o DC. Especifica\u00e7\u00f5es t\u00e9cnicas: Tens\u00e3o entrada: 0-25 VDC Faixa de detec\u00e7\u00e3o: 0.02445-25 VDC Resolu\u00e7\u00e3o tens\u00e3o anal\u00f3gica: 0.00489 VDC O que acompanha? 01 x Sensor de tens\u00e3o &nbsp; C\u00f3digo Exemplo Arduino \/* DC Voltmeter Using a Voltage Divider Based on Code Created By T.K.Hareendran *\/ int analogInput = A1; float vout = 0.0; float [&hellip;]<\/p>\n","protected":false},"featured_media":3202,"template":"","meta":[],"product_brand":[],"product_cat":[196,178],"product_tag":[],"class_list":{"0":"post-3198","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-medidores","7":"product_cat-sensores","9":"entry","10":"has-media","12":"first","13":"outofstock","14":"shipping-taxable","15":"purchasable","16":"product-type-simple","17":"has-product-nav","18":"col","19":"span_1_of_3","20":"owp-content-center","21":"owp-thumbs-layout-horizontal","22":"owp-btn-normal","23":"owp-tabs-layout-horizontal"},"_links":{"self":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product\/3198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/media\/3202"}],"wp:attachment":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/media?parent=3198"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_brand?post=3198"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_cat?post=3198"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_tag?post=3198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}