{"id":1487,"date":"2024-07-02T08:00:00","date_gmt":"2024-07-02T06:00:00","guid":{"rendered":"https:\/\/www.fuhselab.de\/?p=1487"},"modified":"2025-05-27T13:36:03","modified_gmt":"2025-05-27T11:36:03","slug":"arduino-bargraphanzeige","status":"publish","type":"post","link":"https:\/\/www.fuhselab.de\/index.php\/2024\/07\/02\/arduino-bargraphanzeige\/","title":{"rendered":"Arduino Bargraphanzeige"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Eine 10-Segment Bargraphanzeige soll nun per Arduino zum Leben erweckt werden\u2026<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Schaltungsaufbau:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eine Durchgangspr\u00fcfung mit dem Multimeter hatte bereits ergeben, dass die gegen\u00fcberliegenden Pins verbunden sind und ein Segment ansteuern.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die 10 Pins auf der linken Seite (wenn rote Segmente oben sind) habe ich \u00fcber 560 Ohm Widerst\u00e4nde an den Arduino Ground gebracht.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die gegen\u00fcberliegenden 10 Pins der <a href=\"https:\/\/www.reichelt.de\/bargraph-anzeige-10-elemente-3x-rot-7x-gruen-dc-7cgk3surkwa-p358482.html?CCOUNTRY=445&amp;LANGUAGE=de&amp;trstct=pos_11&amp;nbc=1&amp;&amp;r=1\">B<\/a><a href=\"https:\/\/www.reichelt.de\/bargraph-anzeige-10-elemente-3x-rot-7x-gruen-dc-7cgk3surkwa-p358482.html?CCOUNTRY=445&amp;LANGUAGE=de&amp;trstct=pos_11&amp;nbc=1&amp;&amp;r=1\">argra<\/a><a href=\"https:\/\/www.reichelt.de\/bargraph-anzeige-10-elemente-3x-rot-7x-gruen-dc-7cgk3surkwa-p358482.html?CCOUNTRY=445&amp;LANGUAGE=de&amp;trstct=pos_11&amp;nbc=1&amp;&amp;r=1\">ph<\/a><a href=\"https:\/\/www.reichelt.de\/bargraph-anzeige-10-elemente-3x-rot-7x-gruen-dc-7cgk3surkwa-p358482.html?CCOUNTRY=445&amp;LANGUAGE=de&amp;trstct=pos_11&amp;nbc=1&amp;&amp;r=1\">anzeige<\/a> f\u00fchren zu den Arduino-Pins 1 bis 10.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Programmierung:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Hardwareaufbau: alle Widerst\u00e4nde an Ground - gegen\u00fcberliegende Pins der Bargraphanzeige an Arduino Pins 1 bis 10.\n\nint d= 100;\n\nvoid setup() {\npinMode(1, OUTPUT);\npinMode(2, OUTPUT);\npinMode(3, OUTPUT);\npinMode(4, OUTPUT);\npinMode(5, OUTPUT);\npinMode(6, OUTPUT);\npinMode(7, OUTPUT);\npinMode(8, OUTPUT);\npinMode(9, OUTPUT);\npinMode(10, OUTPUT);\n}\n\nvoid loop() {\ndigitalWrite(1, HIGH);\ndelay(d);\ndigitalWrite(1, LOW);\ndelay(d);\ndigitalWrite(2, HIGH);\ndelay(d);\ndigitalWrite(2, LOW);\n\ndelay(d);\ndigitalWrite(3, HIGH);\ndelay(d);\ndigitalWrite(3, LOW);\n\ndelay(d);\ndigitalWrite(4, HIGH);\ndelay(d);\ndigitalWrite(4, LOW);\n\ndelay(d);\ndigitalWrite(5, HIGH);\ndelay(d);\ndigitalWrite(5, LOW);\n\ndelay(d);\ndigitalWrite(6, HIGH);\ndelay(d);\ndigitalWrite(6, LOW);\n\ndelay(d);\ndigitalWrite(7, HIGH);\ndelay(d);\ndigitalWrite(7, LOW);\n\ndelay(d);\ndigitalWrite(8, HIGH);\ndelay(d);\ndigitalWrite(8, LOW);\n\ndelay(d);\ndigitalWrite(9, HIGH);\ndelay(d);\ndigitalWrite(9, LOW);\n\ndelay(d);\ndigitalWrite(10, HIGH);\ndelay(d);\ndigitalWrite(10, LOW);\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eine 10-Segment Bargraphanzeige soll nun per Arduino zum Leben erweckt werden\u2026<\/p>\n","protected":false},"author":1,"featured_media":48,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[22],"class_list":["post-1487","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","tag-arduino-gruppe-peine"],"_links":{"self":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/comments?post=1487"}],"version-history":[{"count":2,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1487\/revisions"}],"predecessor-version":[{"id":2802,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1487\/revisions\/2802"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media\/48"}],"wp:attachment":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media?parent=1487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/categories?post=1487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/tags?post=1487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}