{"id":39209,"date":"2014-06-16T08:26:32","date_gmt":"2014-06-16T06:26:32","guid":{"rendered":"http:\/\/www.cqdx.ru\/ham\/?p=39209"},"modified":"2023-09-26T15:43:14","modified_gmt":"2023-09-26T13:43:14","slug":"led-vu-meter-with-lm3916","status":"publish","type":"post","link":"https:\/\/www.cqdx.ru\/ham\/diy\/led-vu-meter-with-lm3916\/","title":{"rendered":"LED VU Meter with LM3916"},"content":{"rendered":"<p><a href=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/LED-VU-Meter-2-600x450-1-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-39210 size-full\" src=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/LED-VU-Meter-2-600x450-1.jpg\" alt=\"LED-VU-Meter-2-600x450\" width=\"600\" height=\"450\" srcset=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/LED-VU-Meter-2-600x450-1.jpg 600w, https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/LED-VU-Meter-2-600x450-1-300x225.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<blockquote><p>This was finished months ago and just now I had time to finish the article. LM3916 is a dedicated IC for VU LED meter. Unlike LM3915 which have 3dB step between voltage levels, the LM3916 have nonlinear steps: -20, -10, -7, -5, -3, -1, 0, +1, +2, +3db, just like old school analog VU meters. I saw in YouTube an interesting commercial LED VU meter, which imitates the needle movement in analog VU meters and I thought I can make a similar one. All I needed I found in the datasheet of LM3916.<\/p>\n<p>The LM3916 can be feed with AC signal without any rectification, but I wanted to implement a precision full wave rectification. I chose the schematic on page 13, fig.21 of the datasheet: &#8220;Precision Full-Wave Peak Detector&#8221;. This is the full schematic I designed:<\/p><\/blockquote>\n<div class=\"lyte-wrapper\" title=\"LED VU meter with LM3916\" style=\"width:640px;max-width:100%;margin:5px auto;\"><div class=\"lyMe hidef\" id=\"WYL_qMAbSlZHMEo\"><div id=\"lyte_qMAbSlZHMEo\" data-src=\"https:\/\/i.ytimg.com\/vi\/qMAbSlZHMEo\/maxresdefault.jpg\" class=\"pL\"><div class=\"tC\"><div class=\"tT\">LED VU meter with LM3916<\/div><\/div><div class=\"play\"><\/div><div class=\"ctrl\"><div class=\"Lctrl\"><\/div><div class=\"Rctrl\"><\/div><\/div><\/div><noscript><a href=\"https:\/\/youtu.be\/qMAbSlZHMEo\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.ytimg.com\/vi\/qMAbSlZHMEo\/0.jpg\" alt=\"LED VU meter with LM3916\" width=\"640\" height=\"340\" \/><br \/>Watch this video on YouTube<\/a><\/noscript><\/div><\/div><div class=\"lL\" style=\"max-width:100%;width:640px;margin:5px auto;\"><\/div>\n<p><a href=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/dia1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-39211 \" src=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/dia1-1024x772.png\" alt=\"dia1\" width=\"650\" height=\"490\" srcset=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/dia1-1024x772.png 1024w, https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/dia1-300x226.png 300w, https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/dia1-768x579.png 768w, https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/dia1.png 1203w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>The LEDs are connected via sockets J3 to J12 (only one row LEDs is shown on the schematic) and I found that it&#8217;s cheaper to use a 28 pin IC sockets cut in half than regular 40 pin sockets. Of course LEDs can be soldered directly on the PCB.<\/p>\n<p>The schematic needs bipolar power supply to work correctly, but the negative rail can be as low as -5V or even -3.3V. The positive rail must be bellow +25V and combined voltage of negative and positive rails must not exceed 36V. The minimum positive rail voltage depends on the voltage of the LEDs. For example if the LED have 1.9V forward voltage and we have 7 LEDs on one pin, then the minimum positive voltage will be 7*1.9V + 1.5V (drop voltage at LM3916) = 14.8V. The green LEDs usually have little higher forward voltage &#8211; 2.2V &#8211; 2.4V, so +18V will be sufficient in most cases.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39214  aligncenter\" src=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/Capture1-266x300.png\" alt=\"\" width=\"313\" height=\"353\" srcset=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/Capture1-266x300.png 266w, https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/Capture1.png 766w\" sizes=\"auto, (max-width: 313px) 100vw, 313px\" \/><\/p>\n<p>The LEDs current is determined by R1_REF, and with 2.2k resistance it will be 5 &#8211; 6 mA.<br \/>\nThe formula is Iled = 10 * (1.2V \/ R1_REF).<\/p>\n<p>IC2 is connected as precision full wave rectifier and can be any general purpose dual opamp &#8211; TL072, TL082, LF353.<\/p>\n<p>The output mode can be set with 3-pin jumper JP1. Shorting pins 1-2 will set the bar mode and shorting pins 2-3 will set the dot mode.<\/p>\n<p>The max input voltage of the LM3916 is set to 1.2V, and with R8-R7 we can adjust the input level.<\/p>\n<p>The color of the LEDs is your choice. I used green LEDs for negative levels, yellow for 0dB and red for positive levels. For this project I bought transparent rectangular LEDs, but they have two drawbacks. First &#8211; when one column lights up the adjacent columns also significantly lights up. My solution was to paint the sides of the LEDs with black marker. There also can be used a black tape around the entire collumn.<br \/>\nSecond drawback is that because of the transparency, the LEDs emit light from one point, which is not very pleasant. The solution here was to rasp the top side of the LEDs with rough file, so the light to diffuse more even.<\/p>\n<p><a href=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/Capture2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-39215 \" src=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/Capture2.png\" alt=\"Capture2\" width=\"652\" height=\"560\" srcset=\"https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/Capture2.png 966w, https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/Capture2-300x258.png 300w, https:\/\/www.cqdx.ru\/ham\/wp-content\/uploads\/2014\/06\/Capture2-768x660.png 768w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/diyfan.blogspot.co.at\/2014\/06\/led-vu-meter-with-lm3916.html\" target=\"_blank\" rel=\"noopener\">Link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was finished months ago and just now I had time to finish the article. LM3916 is a dedicated IC for VU LED meter. Unlike LM3915 which have 3dB step between voltage levels, the LM3916 have nonlinear steps: -20, -10, -7, -5, -3, -1, 0, +1, +2, +3db, just like old school analog VU meters.&hellip;<\/p>\n","protected":false},"author":2,"featured_media":39214,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[2],"tags":[],"class_list":["post-39209","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-diy","category-2","description-off"],"_links":{"self":[{"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/posts\/39209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/comments?post=39209"}],"version-history":[{"count":0,"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/posts\/39209\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/media\/39214"}],"wp:attachment":[{"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/media?parent=39209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/categories?post=39209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cqdx.ru\/ham\/wp-json\/wp\/v2\/tags?post=39209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}