        <style>
            #donation_buttons td{
                border:medium none;
                background: inherit !important;
            }
            #donation_buttons table{               
                border:medium none;
                margin: auto;
                width: auto;
            }
        </style>
        {"id":6077,"date":"2020-12-04T12:59:18","date_gmt":"2020-12-04T12:59:18","guid":{"rendered":"http:\/\/rogerbit.com\/wprb\/?p=6077"},"modified":"2021-04-10T03:00:33","modified_gmt":"2021-04-10T03:00:33","slug":"how-to-make-a-water-level-meter-with-uln2803-first-part","status":"publish","type":"post","link":"https:\/\/rogerbit.com\/wprb\/2020\/12\/how-to-make-a-water-level-meter-with-uln2803-first-part\/","title":{"rendered":"How to make a water level meter with uln2803 first part"},"content":{"rendered":"<p><iframe loading=\"lazy\" title=\"\ud83d\udca6 Como hacer un medidor de nivel de agua con uln2803 primera parte PCBWay.es\" width=\"1160\" height=\"653\" src=\"https:\/\/www.youtube.com\/embed\/deTEp3B7FRo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>In this tutorial we will see how to make a water level meter circuit with the built-in uln2803.<br \/>\nThe printed circuit is included, the operation of the same will be explained, as well as we will see the characteristics.<br \/>\nIt will explain how to assemble the zonda, to measure the water level in a water tank.<br \/>\nThis is the first video of two, in the second video, we will bring the measurement data to the internet, with some cloud service.<\/p>\n<hr \/>\n<p>You may be interested in projects in Arduino, pic, robotics, telecommunications,\u00a0<a href=\"http:\/\/www.youtube.com\/user\/carlosvolt?sub_confirmation=1\">subscribe http:\/\/www.youtube.com\/user\/carlosvolt?sub_confirmation=1<\/a>\u00a0videos with full source code and diagrams<\/p>\n<div id=\"ubm-banners-rotation-n1\" class=\"ubm_banners_rotation\" data-interval=\"4000\"><div id=\"ubm-banners-rotation-n1\" data-interval=\"4000\" class=\"ubm_banners_rotation\" style=\"overflow: hidden; width: 200px; height: 150px;\"><div id=\"3_ubm_banner\" class=\"ubm_rotating_banner\"><a href=\"https:\/\/bit.ly\/3aXRDAu\" target=\"_blank\" rel=\"dofollow\"><img src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/useful_banner_manager_banners\/3-2-logo youtube.png\" width=\"100%\" height=\"100%\" alt=\"SUSCRIBETE A NUESTRO CANAL DE YOUTUBE, TUTORIALES GRATIS\" \/><\/a><\/div><\/div><\/div>\n<div data-interval=\"4000\"><\/div>\n<div data-interval=\"4000\">\n<hr \/>\n<p>The\u00a0ULN2803\u00a0integrated circuit is used as a power interface for circuits with CMOS and TTL technology. This integrated has inside 8 NPN transistors in Darlington configuration with protective diodes, to be able to control\u00a0motors, inductive loads,relays, and more. Each output can control up to 500 mA so you can control different types of loads. Outputs can be connected in parallel when higher loads need to be handled, however it is advisable not to exceed the total power of the circuit.<\/p>\n<p><b>Features:<\/b><\/p>\n<ul>\n<li>\n<ul>\n<li>8 NPN Darlington transistors in common emitter<\/li>\n<li>8 reverse voltage suppression diodes to handle inductive loads, with common cathode connections<\/li>\n<li>Outputs of 0.5A (500mA) max.<\/li>\n<li>Transistors can be connected in parallel for greater current capacity<\/li>\n<li>Output support voltage: -0.5V to 50V<\/li>\n<li>Max power: 1.47 W<\/li>\n<li>Input resistance to the base: 2.7k<\/li>\n<li>Input voltage: -0.5V to 30V<\/li>\n<li>5V TTL and CMOS compatible inputs<\/li>\n<li>Encapsulated: DIP 18-pin<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><b>Applications:<\/b><\/p>\n<ul>\n<li>Command of relays, lamps, or displays (LED or gas discharge), etc.<\/li>\n<li>Logical buffers<\/li>\n<li>Line drivers<\/li>\n<li>Among other applications<\/li>\n<\/ul>\n<h4><strong>Operation<\/strong><\/h4>\n<p>To activate each output of this integrated circuit, the water must not be pure, in its contents it must have some salts, which help to conduct electricity, that when reaching each of the levels in the container, closes the electrical circuit of the ulN2803 inputs, which detect the high voltage level and turns on the LED corresponding to each output. At each output we can connect for example a relay, a buzzer and even the pump of an engine to refill a water tank, if necessary, up to a certain level and disconnect the water pump when reaching the desired limit.<\/p>\n<p>The following figure shows the ULN2803 pinout. Comes with 8 input pins and 8 output pins.<\/p>\n<p><a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-6.png\"><img loading=\"lazy\" class=\"alignnone wp-image-5321 size-full\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-6.png\" alt=\"\" width=\"509\" height=\"378\" srcset=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-6.png 509w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-6-300x223.png 300w\" sizes=\"(max-width: 509px) 100vw, 509px\" \/><\/a><\/p>\n<p>The following figure shows the logical diagram of ULN2803. It is a visual representation and arrangement of how diodes are connected in the component.<\/p>\n<p><a href=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-4-768x1360.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-5319 size-medium\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-4-768x1360-151x300.png\" alt=\"\" width=\"151\" height=\"300\" srcset=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-4-768x1360-151x300.png 151w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-4-768x1360-516x1024.png 516w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-4-768x1360.png 583w\" sizes=\"(max-width: 151px) 100vw, 151px\" \/><\/a><\/p>\n<p>The following figure shows the schematic diagram for each pair of Darlington.<\/p>\n<p><a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-5-768x440.png\"><img loading=\"lazy\" class=\"alignnone wp-image-5320 size-full\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-5-768x440.png\" alt=\"\" width=\"706\" height=\"313\" srcset=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-5-768x440.png 706w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-5-768x440-300x133.png 300w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/introduction-to-uln2803-5-768x440-600x266.png 600w\" sizes=\"(max-width: 706px) 100vw, 706px\" \/><\/a><\/p>\n<h4>Materials<\/h4>\n<p>8 resistors of a 1K<\/p>\n<p><a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/1k.jpg\"><img loading=\"lazy\" class=\"alignnone wp-image-5309 size-thumbnail\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/1k-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/1k-150x150.jpg 150w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/1k.jpg 300w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>8 10K resistors<\/p>\n<p><a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/10k.jpg\"><img loading=\"lazy\" class=\"alignnone wp-image-5308 size-thumbnail\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/10k-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/10k-150x150.jpg 150w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/10k-300x300.jpg 300w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/10k.jpg 500w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>Male pins<\/p>\n<p><a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2019\/12\/pines.jpg\"><img loading=\"lazy\" class=\"alignnone wp-image-5257 size-thumbnail\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2019\/12\/pines-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>An integrated circuit uln2803apg<\/p>\n<p><a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/ic.png\"><img loading=\"lazy\" class=\"alignnone wp-image-5310 size-thumbnail\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/ic-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>An 18-pin socket<\/p>\n<p><a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/zocalo-18-pines.jpg\"><img loading=\"lazy\" class=\"alignnone wp-image-5311 size-thumbnail\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/zocalo-18-pines-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>A printed circuit<\/p>\n<p><a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/pcb.png\"><img loading=\"lazy\" class=\"alignnone wp-image-5312 size-medium\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/pcb-264x300.png\" alt=\"\" width=\"264\" height=\"300\" srcset=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/pcb-264x300.png 264w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/pcb.png 431w\" sizes=\"(max-width: 264px) 100vw, 264px\" \/><\/a><\/p>\n<p>Download gerber\u00a0<a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/Gerber_circuito-medidor-de-nivel-de-agua_20200124220413.zip\">file Gerber_circuito water level meter<\/a><\/p>\n<h4>Diagram<\/h4>\n<p><a href=\"http:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/diagrama-1.png\"><img loading=\"lazy\" class=\"alignnone wp-image-5313 size-large\" src=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/diagrama-1-1024x576.png\" alt=\"\" width=\"1024\" height=\"576\" srcset=\"https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/diagrama-1-1024x576.png 1024w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/diagrama-1-300x169.png 300w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/diagrama-1-768x432.png 768w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/diagrama-1-600x338.png 600w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/diagrama-1-820x461.png 820w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/diagrama-1-1320x743.png 1320w, https:\/\/rogerbit.com\/wprb\/wp-content\/uploads\/2020\/01\/diagrama-1.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>This tutorial is in Spanish<\/strong><\/span><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"4QZX2cgHUy\"><p><a href=\"https:\/\/rogerbit.com\/wprb\/2020\/10\/medidor-de-nivel-de-agua-remoto-con-modulos-lora-drf1276dm-drf1278dm-y-arduino\/\">Medidor de nivel de agua remoto con m\u00f3dulos lora DRF1276DM\/DRF1278DM y Arduino<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"\u00abMedidor de nivel de agua remoto con m\u00f3dulos lora DRF1276DM\/DRF1278DM y Arduino\u00bb \u2014 RogerBit\" src=\"https:\/\/rogerbit.com\/wprb\/2020\/10\/medidor-de-nivel-de-agua-remoto-con-modulos-lora-drf1276dm-drf1278dm-y-arduino\/embed\/#?secret=4QZX2cgHUy\" data-secret=\"4QZX2cgHUy\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<hr \/>\n<p>SUBSCRIBE TO OUR NEWSLETTERS, RECEIVE IN YOUR EMAIL THE MOST OUTSTANDING NEWS, JUST BY ENTERING YOUR EMAIL<\/p>\n<p style=\"text-align: left;\">[wysija_form id=&#8221;1&#8243;]<\/p>\n<hr \/>\n<p style=\"text-align: left;\"><div class=\"page-sidebar widget\" id=\"donation_buttons\"><form action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" target=\"_blank\" ><input type=\"hidden\" name=\"business\" value=\"donacion@rogerbit.com\"><input type=\"hidden\" name=\"bn\" value=\"mbjtechnolabs_SP\"><input type=\"hidden\" name=\"cmd\" value=\"_donations\"><input type=\"hidden\" name=\"item_name\" value=\"Ayuda a RogerBit.com\"><input type=\"hidden\" name=\"item_number\" value=\"www.rogerbit.com\"><input type=\"hidden\" class=\"set_donation_button_amount\" name=\"amount\" value=\"1\"><table ><tbody><tr><td><label for=\"rogerBit necesita de tu ayuda para seguir existiendo :-)\">rogerBit necesita de tu ayuda para seguir existiendo :-)<\/label><\/td><\/tr><\/tbody><\/table><table ><tbody><tr><td><input style=\"margin-top:10px;\" type=\"image\" name=\"submit\" border=\"0\" src=\"https:\/\/www.paypal.com\/en_US\/i\/btn\/btn_donateCC_LG.gif\" alt=\"PayPal - The safer, easier way to pay online\"><\/td><\/tr><\/tbody><\/table><input type=\"hidden\" name=\"currency_code\" value=\"USD\"><input type=\"hidden\" name=\"notify_url\" value=\"https:\/\/rogerbit.com\/wprb\/?Donation_Button&#038;action=ipn_handler\"><\/form><\/div><\/p>\n<hr \/>\n<p style=\"text-align: left;\"><strong>RECOMMENDED PROJECT<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"\ud83d\udca6 Medidor de nivel de agua remoto con m\u00f3dulos lora DRF1276DM\/DRF1278DM y Arduino - PCBWay.es\" width=\"1160\" height=\"653\" src=\"https:\/\/www.youtube.com\/embed\/8NRqiber7Iw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<\/div>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>In this tutorial we will see how to make a water level meter circuit with the built-in uln2803. The printed circuit is included, the operation of the same will be explained, as well as we will see the characteristics. It will explain how to assemble the zonda, to measure the water level in a water [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":6078,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[648],"tags":[940,1014,1013,7,613,941,938,939,1012],"_links":{"self":[{"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/posts\/6077"}],"collection":[{"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/comments?post=6077"}],"version-history":[{"count":5,"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/posts\/6077\/revisions"}],"predecessor-version":[{"id":6345,"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/posts\/6077\/revisions\/6345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/media\/6078"}],"wp:attachment":[{"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/media?parent=6077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/categories?post=6077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rogerbit.com\/wprb\/wp-json\/wp\/v2\/tags?post=6077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}