{"id":447,"date":"2022-07-29T15:18:05","date_gmt":"2022-07-29T15:18:05","guid":{"rendered":"http:\/\/bechele.de\/?p=447"},"modified":"2022-09-23T13:36:10","modified_gmt":"2022-09-23T13:36:10","slug":"electronics","status":"publish","type":"page","link":"https:\/\/bechele.de\/?page_id=447","title":{"rendered":"Electronics"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Properties of the electronics of the scale<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">The scale electronics consists of the following parts:<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Required electronic components:<\/h3>\n\n\n\n<p>1 Arduino pro mini &#8211; I used one with Atmega 328p 16Mhz 5V<br>1 LCD Display 16 x 2 HD44780 with an I\u00b2C to Parallel converter PCF8574<br>1 Weight cell 5 KG with HX711 Weight controller &#8211; best is to buy a kit.<br>1 Perforated board (electronics PCB) 19.5 mm x 50 mm in raster 2.54 mm<br>1 Battery connector with wires for 9V block battery<br>2 4 pin female pin header raster 2.54 mm<br>1 4 pin male pin header raster 2.54 mm<br>1 Voltage regulator&nbsp; AMS 1117 5V<br>1 Transistor BC516<br>2 Transistors BC 547<br>2 Diodes 1N4148<br>2 Micro keys \/ switches<br>2 Resistors 18K<br>1 Resistor 27K<br>1 Resistor 33K<br>1 Resistor 100K<br>1 Resistor 270K<br>1 Capacitor 10nF<br>1 Capacitor 100uF<br>1 Capacitor 10uF tantalum small size<br>1 Capacitor 47uF tantalum low leak current<br>Some very thin isolated wires to wire&nbsp; the circuits<br>Cyan acrylate glue<\/p>\n\n\n\n<p>Here you may download the circuit diagram of the scale:<\/p>\n\n\n\n<p><a href=\"https:\/\/bechele.de\/images\/attach\/156-scale_wiring.pdf\">156-scale_wiring.pdf<\/a><\/p>\n\n\n\n<p>The 47uF capacitor is a bit critical. Here you have to take care to use a type with a very low leak current, because this has an effect on the switch on and switch off delay of the zero power circuit. To be safe, better use a tantalum type.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Zero power circuit:<\/h2>\n\n\n\n<p>To realize the zero power circuit, I used a perforated board.<\/p>\n\n\n\n<p>See the photos furrther down to see how to wire it. The schematics you find the the attached PDF.<\/p>\n\n\n\n<p>Make sure your components fit into the case. There is very little space, so if you use larger parts or you change the orinetation, you may run into trouble &#8211; so keep this in focus.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Operation buttons:<\/h2>\n\n\n\n<p>The operation keys or buttons are very small (5 x 5 x 1.5 mm) These are common buttons. The thickness is critical, because the mechanical space in between button support and front cover is optimized for these buttons. So try to get&nbsp; the same type. If you search on the internet for &#8220;micro SMD button&#8221; you will find a source. <img decoding=\"async\" src=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/156-1.jpg\"><\/p>\n\n\n\n<p>I glued two of these buttons using cyan acrylate glue onto the button support and applied some wires:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/156-3.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Weight controller PCB<\/h2>\n\n\n\n<p>During testing of the weight cell and its HX711 PCB I noticed, that the board is extremely sensitive to changes of the resistance of some parts. In fact, I had bad difficulties to get a stable output signal &#8211; the drift was quite high.&nbsp; Also I noticed, by breathing upon the circuit, the values changed dramatically. So I decided to cover the complete PCB with some transparent paint. After that the drift became very small.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wiring of the circuit:<\/h2>\n\n\n\n<p>After glueing the electronics PCBs into the PCB holder I wired the inter board connections using thin isolated wires according to the diagram &#8211; see the subsequent photos. On top of the weight cell controller board, I put a small piece of isolation tape, since the board is in mounted position very close to the display. Not respecting this, could cause short circuits &#8230;&nbsp;<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Here you find the wiring diagram:<\/p>\n\n\n<iframe loading=\"lazy\" class=\"embed-pdf-viewer\" src=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/scale_wiring.pdf\" height=\"852\" width=\"852\" title=\"scale_wiring\"><\/iframe>\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/156-4.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/156-6.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/156-7.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/156-8.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bechele.de\/wp-content\/uploads\/2022\/07\/156-5.jpg\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Properties of the electronics of the scale The scale electronics consists of the following parts: Required electronic components: 1 Arduino pro mini &#8211; I used&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":435,"menu_order":1,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-447","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=447"}],"version-history":[{"count":8,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/447\/revisions"}],"predecessor-version":[{"id":465,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/447\/revisions\/465"}],"up":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/435"}],"wp:attachment":[{"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}