{"id":352,"date":"2016-11-09T20:11:14","date_gmt":"2016-11-09T20:11:14","guid":{"rendered":"https:\/\/zhutarduino.wordpress.com\/?page_id=352"},"modified":"2020-10-12T16:39:13","modified_gmt":"2020-10-12T16:39:13","slug":"how-to-use-analog-meter-gauges-with-your-arduino-project","status":"publish","type":"page","link":"https:\/\/thezhut.com\/?page_id=352","title":{"rendered":"How to use analog meter gauges with your ARDUINO project"},"content":{"rendered":"<h1><\/h1>\n<p><a href=\"https:\/\/thezhut.com\/wp-content\/uploads\/2016\/11\/analogmeter.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-357\" src=\"https:\/\/thezhut.com\/wp-content\/uploads\/2016\/11\/analogmeter.jpg?w=300\" alt=\"analogmeter\" width=\"650\" height=\"433\" srcset=\"https:\/\/thezhut.com\/wp-content\/uploads\/2016\/11\/analogmeter.jpg 5184w, https:\/\/thezhut.com\/wp-content\/uploads\/2016\/11\/analogmeter-300x200.jpg 300w, https:\/\/thezhut.com\/wp-content\/uploads\/2016\/11\/analogmeter-768x512.jpg 768w, https:\/\/thezhut.com\/wp-content\/uploads\/2016\/11\/analogmeter-1024x683.jpg 1024w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>Analog gauges can be a cheap alternative to using a LCD screen when you dont need a 100% accurate read out of the value, The following tutorial will show you how to configure and use a analog meter gauge with your arduino project.<\/p>\n<p>This tutorial will use a potentiometer to send a reading to the ARDUINO board and then a representation of the value will be shown on the analog meter, you could also use a photo resistor, photo transistor or any other component that will put out A variable output to use to control something.<\/p>\n<h1><a href=\"https:\/\/www.facebook.com\/zarduino\/\" target=\"_blank\" rel=\"noopener noreferrer\">Check us out on Facebook!<\/a><\/h1>\n<h1>Please watch the video below for a tutorial on how to use the meter with your arduino&#8230;..<\/h1>\n<p><iframe loading=\"lazy\" title=\"How to use analog meter gauges with your ARDUINO project\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/t0XHqRjnSMU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h1>Parts List:<\/h1>\n<p>#affiliate links#<\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=arduino board&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=7bcf882dd8b36b40e206e6c194295cd8\" target=\"_blank\" rel=\"noopener noreferrer\">ARDUINO Board<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=Analog meter gauge&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=3fd4545b295893f4586eddc8640bad2a\" target=\"_blank\" rel=\"noopener noreferrer\">Analog meter gauge<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=resistors&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=3434314650f0a408236a2c9d9a71427b\" target=\"_blank\" rel=\"noopener noreferrer\">Resistor<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=potentiometer&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=aaee473fa4ac07633c6f57b68e934222\" target=\"_blank\" rel=\"noopener noreferrer\">Potentiometer<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=arduino jumper wires&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=c6a29179fb4ea7303ee121e5eaf75059\" target=\"_blank\" rel=\"noopener noreferrer\">Jumper Wires<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=arduino breadboard&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=156b6f25eaf00baf7cee1a6ee70f8c41\" target=\"_blank\" rel=\"noopener noreferrer\">Breadboard<\/a><\/p>\n<h1>ARDUINO IDE Sketch:<\/h1>\n<p>int meter = 3; \/\/analog meter on pin 3<br \/>\nint pot = A1; \/\/ potentiometer on pin A1<br \/>\nint val; \/\/ value of potentiometer<\/p>\n<p>void setup() {<\/p>\n<p>}<\/p>\n<p>void loop() {<br \/>\nval = analogRead(pot);<br \/>\nval \/=4;<br \/>\nanalogWrite(meter, val);<br \/>\ndelay(50);<\/p>\n<p>}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Analog gauges can be a cheap alternative to using a LCD screen when you dont need a 100% accurate read out of the value, The following tutorial will show you how to configure and use a analog meter gauge with &hellip; <a href=\"https:\/\/thezhut.com\/?page_id=352\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":10,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-352","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=352"}],"version-history":[{"count":3,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/352\/revisions"}],"predecessor-version":[{"id":1611,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/352\/revisions\/1611"}],"up":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/10"}],"wp:attachment":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}