User Tools

Site Tools


en:navody

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:navody [2019/02/03 14:43] fluktuaciaen:navody [2023/01/15 12:59] (current) – [General hints concerning modules] 94.112.192.193
Line 1: Line 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)//+====== General hints for use of MLAB modules ======
  
-====== Rules for designing new modules ======+This page sums up the possibilities and means of MLAB modules' use. The individual paragraphs contain various different applications and special cases.
  
-This page serves as a wiki complement to an original article [[http://www.mlab.cz/Articles/HowTo/Rules/DOC/HTML/Rules.cs.html|Proposed rules and standard procedures]]. It also serves as a site for placing additional rules of module design, which are not dealt with in the article.+Beginners can make use of [[en:guide|a guide for beginners]].   
  
-The module design itself uses following [[en:tools|software tools]].+===== Obtaining module =====
  
-===== Identification of modules =====+In order to begin construction, first you have to obtain all the necessary modules - either by [[en:how_to_make_pcb|building your own prototypes]] or by [[http://www.ust.cz/shop/|buying a ready-made module]]. In case you do not find the necessary module, you can build it according to [[en:rules|rules guaranteeing compatibility]].
  
-Each modules has to carry a unambiguous identification mark consisting of its name, version and module revision - e.g. [[cs:jtagft2232v|JTAGFT2232V02A]].+===== Tools =====
  
-  - JTAGFT2232 -  the name of the module, depicting the nature of the module (here probably a J-tag programmer with FTDI FT2232 chip). +==== Mechanical tools ====
-  - (V)02 - the module’s version - there already were some crucial changes during the modules development (in this case, there was CPLD added from version 01) +
-  - A - the module’s revision (in this case there were not corrections of any mistakes)+
  
-Furthermore there are modules with green non-soldering mask and white print and modules with white mask and green print. This kind of module identification was introduced by [[http://www.ust.cz/|UST]] company, which produces modules for MLAB. The meaning of the above-mentioned colour identification is as follows:+Work with MLAB modules requires only basic mechanical tools: a hexagonal socket wrench 5.5 mm with a knurled edge for tightening using a hand, a hex key (in the case of older models a cross screwdriver), and a lot of M3 nuts
  
 +{{:cs:mechanical_tools.jpg?direct&200|}}
  
-  * **Green mask and white print** - a prototype module, often made only in one or few pieces serving as testing samples 
-  * **White mask and black print** - a production version made in large quantities. Compared to the green version, it may contain tiny changes changes even if the module’s identification mark is identical. 
  
-===== Creating a new module ===== +==== Electronic tools ====
-==== Using a mlabgen script ====+
  
-The first step is to create a correct directory structure of a new module in the [[https://guides.github.com/activities/forking/|fork]] of the main [[https://github.com/MLAB-project/Modules|modules' repository]].   +=== Multimeter ===
- [[http://wiki.mlab.cz/doku.php?id=cs:tools#github|A basic guide for using github]].+
  
-The directory structure can be created either manually or using a  [[https://github.com/MLAB-project/mlabgen|mlabgen]] toolwhich will create the directory structure by itself and correctly name all the files. After its installation, a new module can be created using the following command:+A multimeter of almost any type is sufficienthoweverwe recommend digital one.
  
-  mlabgen-module-init NAMEVERREV+{{:multimetr.jpg?direct&200|An example of an adequate multimeter}}
  
-The ''NAMEVERREV'' is the new module’s identification created by us. The ''mlabgen-module-init'' command has to be executed in the folder, where we want to create the new module. If we plan to create module with sensor, it has to be placed in the ''Modules/sensors'' folder.+More advanced users can use [[en:ut804|table multimeter]].
  
-Using the ''mlabgen-module-init'' command is recommended because the script also creates some additional files - for example an QR code for the new module.+=== Oscilloscope ===
  
-Next step is to edit the metadata file ''<NAMEVERREV>.json'' in the directory structure of the module in such waythat it would contain the basic information about the new module. Then we can add the directory structure of the module to the repositoryAfter finishing the module design, it is useful to create a [[https://help.github.com/articles/about-pull-requests/|pull-request]] to the main MLAB repository, which has been forked - this is the best way to make your work visible. +An oscilloscope is a very useful tool when tuning any signal systemWe use the following Rigol DS1052E, which, in its basic versionis 50MHz, but a firmware change can update it to 100MHz  
 +  
 +{{:rigol_ds1052e.jpg?direct&200|An example of an oscilloscope}}
  
-Commit log should be completed with an information that a new module has been added together with its purpose. Further documentation should be already created during the module development. It is therefore useful to create a module’s wiki page here, shorty after the commit of the new module. Creating a page can be done by opening a wiki page from the [[https://www.mlab.cz/modules|List of the MLAB modules]] page.  
  
-==== Manual module creation ==== +=== Soldering iron ===
-If, for some reason, you are reluctant to use MLABgen for creation of the basic directory structure, it is necessary to comply with the following rules: +
  
-In the appropriate folder category we create a folder with the name of the new module using format ''NAMEVERREV’’. +A soldering iron is not necessary for most of the MLAB constructions, it is, however, good investment for any laboratoryWe can recommend Czech [[http://sagat.vyrobce.cz/doku.php?id=mikropajky|micro soldering irons from Sagat company]]. They have excellent heat power and tips of high quality. 
-Inside the folder, we create the following directory structure (obligatory folders/files are marked with an asterisk):+
  
 +{{:ersp50.jpg?direct&200|An example of micro soldering iron - ERSP50}}
  
-  <NAMEVERREV>+It is even possible to agree on purchasing a 100W version with parameters exceeding even high-class micro soldering irons from Weller
-  ├── doc* +  
-  │   ├── img* +When soldering pieces like connectors or thick wires and tinned sheet metal boxes, it is more practical to use a transformer soldering iron because of its higher heat power (150W).
-  │   │   ├── <NAMEVERREV>_QRcode.png* +
-  │   │   └── <NAMEVERREV>_top_big.jpg* +
-  │   ├── pdf +
-  │   │   └──  +
-  │   ├── <NAMEVERREV>.cs.pdf +
-  │   ├── <NAMEVERREV>.en.pdf +
-  │   └── src +
-  │       └── <NAMEVERREV>.tex +
-  ├── hw +
-  │   ├── cam_profi +
-  │   │   ├── <NAMEVERREV>-B.Cu.gbr  +
-  │   │   . +
-  │   │   . +
-  │   │   └── <NAMEVERREV>-PTH.drl +
-  │   └── sch_pcb +
-  │       ├── <NAMEVERREV>.kicad_pcb +
-  │       ├── <NAMEVERREV>.pro +
-  │       └── <NAMEVERREV>.sch +
-  ├── cad +
-  │   ├── src +
-  │   │   └── <NAMEVERREV>.scad +
-  │   └amf +
-  │       └── <NAMEVERREV>.amf +
-  ├── <NAMEVERREV>.json* +
-  └── sw +
-      └── <NAMEVERREV>_exmalpe.py+
  
-The file ''<NAMEVERREV.json>'' should contain the information concerning the module.+{{:trafopajka-elektricka-125w.jpg?direct&200|An example of transformer soldering iron}}
  
-  { +When buying a transformer soldering ironmake sure you are buying one with a horizontal soldering tipas shown in the picture. Transformer soldering irons with vertical tips are more suitable for sheet soldering or welding/cutting plastics
-      "wiki": "None" +
-      "status": "1" +
-      "name": "<NAMEVERREV>",  +
-      "short_en": “Short  description in English",  +
-      "image": “Picture adress, if not available, use QR code",  +
-      "longname_cs": “Czech subtitle",  +
-      "longname_en": “English subtitle”,  +
-      "mark": "50.0",  +
-      "ust": "",  +
-      "doc_cs": "",  +
-      "short_cs": “Short description in Czech",  +
-      "doc_en": "",  +
-      "root": “folder within the repository",  +
-      "author[]": [],  +
-      "category[]": [] +
-  }+
  
-You can find example of a correct filling by checking one of the already existing [[https://github.com/MLAB-project/Modules/blob/master/sensors/ALTIMET01A/ALTIMET01A.json|module]].+**All types of soldering irons require tube tin and a flux, otherwise, they will not work properly.** For more information see the -[[http://www.mlab.cz/Articles/HowTo/How_to_make_PCB/DOC/HTML/How_to_make_PCB.cs.html|blog article chapter about flux ]]
  
-===== Module power supply =====+=== An aid for smoke extraction ===
  
-You can find more detailed examples of connectors and an explanation of their use at  [[en:navody|Manuals]].+During any soldering, the evaporated flux creates a very unpleasant smoke that irritates the respiratory tract. One of the solutions is to build a simple aid from an older PC ventilator. Connect it to an adjustable power supply and set it on a table in a way that it would blow the smoke away from the soldering workplace. In order to reduce noise, the ventilator can be put onto a piece of rubber, for example from an old inner tube of a bike.
  
-==== MLAB connectors configuration ====+==== Using the tools ====
  
-Power supply connectors for low currents have two configurations (??) which are implemented using .. (??) 
-Napájecí konektory pro nízké proudy mají dvě konfigurace a jsou realizovány lámacími hřebínky s roztečí 2,54mm 
  
-{{:low_power_connectors.png?direct&400|}} +=== Connecting the oscilloscope probe ===
  
-**Power supply connectors are doubled in order to allow smyčkování napájení (??).** +An oscilloscope’s probe ground can be easily connected to an MLAB kit thanks to the base [[en:base1621|ALBASE]]. Most of the modules (with an exception of power supply oneshave corner screws connected to GND. That is why it is sufficient to put a screw from below to the base and screw it with a nut from above. You can use the protruding screw as a ground clamp for the oscilloscope’s probe.
-==== Externí napájecí zdroje ====+
  
-For power supply with higher powers, the FASTON connectors or WAGO256 terminal blocks are used.+The signal probe input can be connected to MLAB in the following way: the connecting cable is cut in halfpart of the cable is stripped of insulation and a crimp pin connector is crimped onto the cable. Now the cable, via the crimp pin connector, can be easily attached to the probe’s hook and its second end with the original PC terminal can be connected to the pinch outlets of all modules.
  
-{{ :cs:wago256.jpg?100 |}}+===== Connecting of modules =====
  
-There are always openings for WAGO256 terminal block on PCB, because the terminal blocks and FASTON have the same with and it is thus possible to fit both types of connectors onto one PCB.+Modules are connected via stranded wires with PC connectors. An advantage of this method is that after cutting the wire, both free ends can have any component soldered onto themselves - e.g. LED, resistor, condenser, interference suppressor, etc. Unprotected ends have to be covered with a shrinking tube. This way you have built a reliable and useful component of the kit
  
-=== Cylindrical power supply connector ===+==== Power supply ====
  
-=== Power supply +5V from USB ===+Power provided by [[en:napajeci_zdroje|power supplies]] is distributed, among the modules, via cables different from the usual interconnecting ones. Furthermore, they are colored according to the different power voltages, thus reducing the possibility of a fatal mistake during their connecting. 
  
-It is always a good practice to include a safety current PTC fuse into the USB power supply in case of modules powered from USB that are able to further distribute the power so that the HOST system is not overloaded.+=== Power supply up to +5V ===
  
-=== High voltage ===+This power voltage is distributed by a red-blue power cable with a three-pin connector.
  
 +{{:cs:low_power_cable.jpg?350|Power cable for a low voltage}}
  
-Pro rozvod vysokého napětí k modulům (>250V DC) se používají speciální vysokonapěťové konektory [[http://en.wikipedia.org/wiki/SHV_connector|SHV]], které jsou použitelné až do cca 10kV. Konektory SHV mají oproti ostatním koaxiálním konektorům výhodu že je není možné zaměnit s klasickými měřícími konektory BNC+== 3.3V ==
  
-{{:shv_zasuvka.jpg?200|SHV zásuvka}} {{:cs:shv_vidlice.jpg?200|SHV vidlice}}+The power voltage of 3.3 V is led by the same cable as the +5V power supply, only the red wire is replaced by an orange one.
  
-Vzhledem k běžně velmi dobrým izolačním vlastnostem koaxiálních kabelů je možné použít pro výrobu vysokonapěťových rozvodů i koaxiální kabel RG58.    +=== Voltage higher than +5V ===
-   +
-===== Ochranné prvky na modulech =====+
  
 +This category usually involves 7.2 (2x Li-ion cell) or +12V (lead-acid battery or other power supplies). For safety reasons, it is therefore led via a yellow (+) and black (-) cable, following an example of ATX power supplies. Connectors are four-pin, the middle two pins being + and the outer two -/GND. The connector is symmetrical, so the polarity cannot be easily mixed up.
  
-==== Schéma modulu ====+{{:cs:powering_cable_yellow-black.jpg?350|Power cable for higher voltages}}
  
-Správně nakreslené schéma (nejenom modulů MLAB) dodržuje tyto zásady:+=== Symmetrical power supply ===
  
-  Spoje se musí co nejméně křížit +This kind of power supply, conventionally +12V and -12Vis used in analog constructions, which are using operational amplifiersIt is distributed by power cables with 5 pins the middle two pins are positioned symmetrically around the central pin and the two extreme pins on both sides are GND or chassis.
-  - Signály vedou zleva doprava. +
-  - Kladné napájení vede ze shora doluzáporné zespoda nahoru. +
-  Spoj nesmí křížit žádný nápis.  +
-  - Blokovací kondenzátory se kladným pólem připojují do místa které blokují. (není-li to možné kreslí se nedaleko blokovaného obvodu) +
-  - na jednom spoji musí být minimální množství spojovacích bodů (není například vhodné kreslit vedle sebe dva T uzly ale lepší je nakreslit jeden uzel +). +
-  Hodnoty součástek musí mít jednotnou jmennou konvenci využívající plný název fyzikální veličiny tj. nF, pF atd+
  
-Specifikem schémat MLABu pak je, že hřebínky jsou vždy ve dvojici ale ve schématu se pro přehlednost uvádí, jako jedna součástka(vyžaduje to v některých případech použití vlastních knihoven, ale přehlednost schéma je tím podstatně zlepšena.)+{{:cs:powering_cable_symmetric.jpg?350|A cable for symmetrical power supply}}
  
 +=== High voltage power supply ===
  
-==== Ochranné odpory ====+In cases where we work with high currents (up to tens of Amperes) and, at the same time, high voltages (tens of Volts) (a typical example is a robot’s drive powered from an accumulator), the power is distributed via an individual cable with FASTON connectors. Because the protection against polarity reversal is quite problematic in case of high currents, there is a need for increased caution when connecting such constructions. 
  
-Na vstupech některých modulů, jako jsou například čidla (nebo často moduly pracující na 3,3V) je vhodné umístit ochranné sériové odpory, které zvýší odolnost vůči externímu přepětí. Velikost těchto odporů se obvykle volí v rozsahu 10 Ohm až 1kOhm, podle předpokládaného potřebného proudu IO pinem.  +=== Very high voltage power supply ===
  
 +It includes power voltage in the range of hundreds of volts to ones of kV. Such power is used for certain special detectors or gas discharge lamps, LASERs, etc. It is distributed via a coaxial cable with SHV or MHV connectors.
  
-==== Ochranné diody ====+==== High-frequency signals ==== 
 +=== Asymmetrical signals ===
  
-Prakticky všechny  současné moduly stavebnice MLAB, jsou na vstupu napájení opatřeny ochrannou antiparalelní diodou proti přepólování. Její funkce spočívá ve vyzkratování zdroje v případě připojení napájecího napětí nevhodné polarity. Pro její správou funkci je tedy nutné používat napájecí zdroje s proudovým omezením+Analogue VF signals are distributed in MLAB via a classic VF Pigtail usually made from coax RG-174 with both ends having a screw-type SMA (Male) connector.
  
-Proto není vhodné napájení modulů realizovat přímo z akumulátorů, které mohou diodu při špatném připojení napájení poškodit (odpařit) a tím vyřadí její správnou funkci..   Pro použití modulů společně s akumulátorovým, nebo bateriovým napájením je tedy vhodné použít vhodný napájecí modul, který obsahuje pojistku, nebo měnič s proudovým omezením+{{:cs:sma_cable.jpg?320|SMA cable}}
  
-===== Geometrie modulů ===== 
  
-==== Rozměr ====+**Caution** the connector in the picture contains a sample error - a missing shrinking tube over a crimped connector ferrule. Without it, there is the gradual breaking of the cable sheet from the connector.
  
-Moduly jsou navrženy v rastru 10,16 mm (400mils) jejich rozměry přesahují 200 mils - 10mils od středu rohových děr Modul je o 10mils zmenšen proti přesnému rastru kvůli výrobním tolerancím (Jinak by nemuselo být možné dát na základní desku dva moduly těsně k sobě). Aby bylo možné moduly skládat vedle sebe, je potřeba z každé strany ubral 0,254 mm (10mils). Pro montáž na [[cs:albase1521|ALBASE]] se používá šroubů M3 délky 12 mmproto je potřeba v plošném spoji čtveřice otvorů o průměru 3 mm.+**Crimped connectors’ ferrules have to be protected by shrinking tube! ** [[http://www.youtube.com/watch?v=SuoQfriRhSE|A guide for crimping SMA connectors]] - in the video guidethe connector is covered by a special sleeve instead of a shrinking tube 
  
-Názorný příklad pro modul zabírající 3 otvory na ALBASE: 
  
 +=== Differential symmetrical signals  ===
  
-{{ :cs:modul.png?400 |}}+Fast digital signals, such as those of AD converters’ clocks or sequence circuits, are in MLAB usually distributed differentially in order to limit interference. We usually use PECL or LVDS logic. Signals are led via a standard direct SATA cable - chosen for its defined impedance and good availability
  
 +{{:cs:sata_cable.jpg?350|SATA cable}}
  
-   Délka hrany 4x10,16 - 0,254 -0,254 40,132 mm +==== Digital buses ====
-   Rozteč šroubů 3x10,16 30,48 mm +
-   Vzdálenost otvoru na šroub od okraje desky 5,08 - 0,254 4,826 mm +
-   Průměr otvoru na šroub 3 mm+
  
-==== Rohové šrouby ====+Digital buses, such as I2C, TWI, or 1-wire are distributed between the modules via standard cables, usually only adjusted so that one plastic end contains all the bus’s wires, possibly together with a power supply.
  
-Šrouby musí mít okolo sebe dostatečný prostor pro utažení dvou kontra-matic, které v modulu drží šroub a zároveň fungují, jako distanční podložka mezi plošným spojem a podkladovou deskou. Plošný spoj je tedy na výšku dvou matic umístěný nad základovou deskou tedy cca 5mm, použitelný montážní prostor pro součástky je tedy 4,9mm.  V případě nutnosti použití větších součástek lze modul mírně přizvednout vložením potřebného počtu podložek mezi obě matice (obvykle stačí jedna nebo dvě podložky, jinak je vhodné použít distanční sloupek nebo další matici). +===== Maintenance and cleaning =====
  
-Matice se u modulů používají proto, protože dvě matice umožňují využít efektu [[http://cs.wikipedia.org/wiki/Matice_%28spojovac%C3%AD_materi%C3%A1l%29|kontra matice]] a tudíž se nepovolují na rozdíl od jednoduchých sloupků, které je proti povolení třeba zabezpečit jiným způsobem. Například zalepením anaerobním lepidlem.   +==== Interconnecting cables ====
  
 +Due to gradual wear by mechanical switching, the interconnecting cables’ connectors lose their conductivity. It lasts several hundreds of connections and re-connections until the phenomenon occurs, but it might be speeded up by a careless transport of already connected constructions, during which the connectors undergo a side strain. (For example when carrying more connected boards thrown one other another in a box). You can reveal this state simply by checking, that the cable pin does not hold onto the pin header with perceptible friction.
 +The above-mentioned state can be repaired by slight deforming of the connector spring by using a screwdriver or other similar tool. The procedure is done from outside at the connector's lock, applying pressure on the spring against a table.
  
 +==== Modules ====
  
 +Most of the modules do not require any additional maintenance. Sometimes it happens, that dust piles up intensively onto modules. It might be solved either by blowing it away with an air blower ball (compressed air) or by brushing it off with an anti-static brush.  
  
-==== Layout (návrh plošného spoje) ====+<WRAP info> It is not possible to use an electrostatic duster for dust removal as it might cause the destruction of certain electronic circuits in modules </WRAP>
  
-**Mezní možnosti výroby:** +When a module is extremely dirtyit can be cleaned with an ultrasonic cleanerHoweverthere are some modules (sensors, GPS) that might be damaged by this process, which is why it cannot be universally recommended.
-  Min. tloušťka cesty 0,1 mm +
-  Minizolační mezera 0,1 mm+
  
 +===== External connectors =====
  
-Vedení plošných spojů a jejich rozměry jsou vždy volené tak, aby byla v co největší míře umožněna i amatérská výroba a osazení plošného spoje.  Izolační vzdálenosti, jsou proto maximální a plošky pro součástky o něco delší, než potřebné (zvláště u QFN pouzder, kde to velmi usnadňuje kontrolu kvality pájení).+Connector for switching in other devices.
  
-Spoje jsou dále vedeny tak, aby se co nejvíce minimalizovala možnost vyzařování modulu, což znamená minimální plochy smyček zvláště u spojů, které vedou střídavé proudy s velkou amplitudou, typicky měniče ale třeba i výstupy logických obvodů typu CMOS a TTL. +==== Power supply ====
  
-U dvouvrstvých plošných spojů je preferováno užití horní strany modulu (odvrácené od základové desky) jako zemního potenciáluV nutných případech je ale možné na této straně vést i nízkovýkonové napájeníJe ale nutné se v horní vrstvě vyvarovat vedení datových a vysokofrekvenčních signálů (opět kvůli možnosti vyzařování a snížení integrity signálu)+External power supply for MLAB modules is usually led by cylindrical connectors 5.5/2.1 mm to the main powering modules, e.g. UNIPOWER01A.
  
-Moduly by měly mít všechny čtyři šrouby spojené stejným potenciálem a to pokud možno i v případě, kdy modul nepoužívá zem základové desky (Pokud to zvláštní konstrukční požadavky modulu nevylučují. Vy jímka je například [[cs:eth]]) tato praxe opět pomáhá snížit vyzařování modulu, zvláště u vícevrstvých plošných spojů+{{:cs:dc_cylindric_connector.jpg?200|Cylindrical connector 5.5mm / 2.1mm}}
  
-=== Pouzdra součástek ===+Cylindrical connectors of different voltages are distinguished using a shrinking tube around a connector - yellow 12V, red 5V.
  
-Preferovaná pouzdra součástek jsou z našich [[https://github.com/MLAB-project/kicad-mlab|ověřených knihoven na githubu.]] +Power supplies may also use a PC standard [[http://en.wikipedia.org/wiki/ATX|ATX]] and [[http://en.wikipedia.org/wiki/Molex_connector|MOLEX connector]].
  
-Proferovaná velikost SMD pouzder je aktuálně řada 0805.+In the case of having a power supply supplied only from batteries, it is better to use e.g. BATPOWER02A module. When connecting accumulators, where we expect higher current load, T-connectors are used (the standard cylindrical model-building ones did not work out very well)   
  
 +{{:cs:deans-plug-tplug-t-plug-rc-lipo-battery-plug-connectors-rc-t-plug-ts3u.jpg?200|T connectors}}  
  
-=== Rozmisteni soucastek === 
  
-SMD součástky se umisťují výhradně na jednu stranu desky. Ideálně na stranu přivrácenou k základové desce (vrstva B.Cu). Důvodem je větší odolnost konstrukce, nižší vyzařování a ulehčení osazení v reflow peci. +==== General terminal blocks ====
  
 +=== Screw terminal ===
  
-=== Vrstvy ===+There are two widespread types of commonly used screw terminals on the market. Apart from a considerable difference in their costs, they also differ greatly in the quality and convenience of their use. 
  
-  F.Cu - měděná vrstva ze strany součástek +The first type is more common mostly due to its low priceHowever, thanks to using a sheet metal washer under screws, it is not possible to fasten a naked wire of a small diameter well into this type of screw terminalFurthermore, the sheet metal washers often fall out or block the pulling out of the wire.  
-  B.Cu - měděná vrstva ze strany spojů +
-  F.SilkS - potisk součástek +
-  B.SilkS - potisk strana spojů +
-  F.Mask - maska strana součástek +
-  B.Mask - maska strana spojů +
-  Edge.Cuts - obrys desky +
-  F.Fab - potisk pro osazování strana součástek +
-  B.Fab - potisk pro osazování strana spojů+
  
 +{{:cs:bad-screw-terminal-block.jpg?200|}}
  
 +The second type is more expensive but does not experience the above-mentioned problems. Furthermore, it is possible to fasten even a naked wire. This terminal block guarantees a good quality conductive connection. 
 + 
 +{{:cs:ok-screw-terminal-block.jpg?200|}}  
 + 
 +=== Spring terminal block ===
  
 +Spring terminal blocks are an excellent modern substitute for screw terminals, which are slowly becoming technically obsolete. Their disadvantage, in comparison to screw terminals, is a slightly larger size and an impossibility of regulating the compressing of connection.
  
-Pri navrhu dvouvrstveho plosneho spoje, je jedna vrstva se vyhrazena pro zem a napajeni. Tato vrstva se +One of the commonly used spring terminal blocks is WAGO256.
-pak nastaví jako "Split/Mixed plane" a priradi se k ni signal zem a +
-napájení. To umožní automaticky ukončovat tyto spoje prokovem do této +
-vrstvy.  Je to mnohem lepší než pro tuto vrstvu zadat "copper pour" +
-protoze v takovem případě se spoj špatně edituje+
  
 +{{:cs:wago256.jpg?100|MLAB WAGO256}} 
  
-=== Prokovy === 
  
-**Pro běžné cesty** 
-  0,8 mm průměr prokovu a 0,4 mm průměr vrtání 
-   
-Pro silové cesty je potřeba zvětšit rozměry prokovu, dle přenášených proudů, nebo zvýšit jejich počet.   
-   
-   
-**Mez výroby**  
  
-  Min. okruží 0,1 mm (průměr prokovu průměr vrtání + 0,2 mm) +==== High-frequency signals ====
-   +
-V případech kde to není nutné nenavrhujeme na této mezi. Prodražuje cenu PCB.+
  
 +High-frequency signals are led to external devices in the same way as they are between modules - via coaxial cables with SMA connectors or they are connected via a short pigtail to some other panel [[http://en.wikipedia.org/wiki/RF_connector|RF connector]]. Preferred are the following connectors’ types (in a given order): F, BNC, N, and PL.
  
-Texty v potisku modulu nesmí překrývat prokovy(Jinak dojde k nečitelnosti potisku v místě prokovu)+In order to connect distant devices, such as receiving antennae, F-connector is a good choice, main thanks to its easy assembly and disassembly, allowing for easy placement of coaxial cables
  
 +==== Data connectors ====
  
-==== Konstrukční části ====+=== USB ===
  
-Na moduly kde zbývá volné místo na plošném spoje je možné umístit plošky pro rezervní součástky, obvykle rezistory, nebo kondenzátory v pouzdru 0805. Při vkládání součástek, je vhodné použít dvojitý hřebínek, z něhož jedna řada bude vždy napájení Vcc, nebo zem GND protilehlé piny povedou k rezervním součástkám. Viz. například modul [[http://www.mlab.cz/Modules/AVR/ATmegaTQ3201A/ATmegaTQ3201A_Top_Small.jpg|ATmegaTQ3201A]]. Zajímavou možností také jeplošný spoj v místě umístění rezervních součástek proděrovat, což umožní snadnou kontrolu jejich přítomnosti a navíc umožní i použití SMD LED+The most widely found external bus used with modules is a [[http://en.wikipedia.org/wiki/Universal_Serial_Bus|USB]] with a USB-B connectorA reason for using USB B is that it is the most robust USB connectorit has outlets through the board and thus it does not brake away from PCB (like other variants of USB micro connectors)
  
-=== LED ===+{{:cs:usb-b.jpg?200|USB connector on MLAB modules}} 
  
-Indikační LED jsou na modulech ideálně navrhovány tak, aby svítily skrz plošný spoj na od základní desky odvrácenou stranu. Toho je dosaženo vsazením LED do díry v plošném spoji. Tento způsob montáže se označuje jako "reverse mount" vyrabějí se pro něj i [[http://katalog.we-online.de/en/led/WL-SMRW/156120RS75000?sid=9ba7392491|speciální SMD svítivé diody]].  +Using USB connector on a module requires placing a current fuse into the charging from USB (usually 750mA PTC)Otherwise, a short circuit can cause a fall of the HOST system and thus a data loss (of a tuned program).  
  
-Klasické THT LED s průchozími nožičkami se osazují s montážní podložkou, která usnadňuje osazování chrání led před zbytečným tepelným namáháním a ohybem. Montážní podložka mírně zvětší průměr základny LED s čímž je nutné počítat při návrhu plošného spoje. +=== RS-232 ===
  
-=== Krystaly ===+Another data connector is [[http://en.wikipedia.org/wiki/D-Sub|D-sub]] of DE-9 type. We use it mainly for serial data transfer of [[http://en.wikipedia.org/wiki/RS-232|RS-232]] standard. 
  
-Pro krystaly v modulech MLAB bylo jako základní pouzdro zvoleno HC49/S, malý krystal s nožičkovými vývody. Je to z toho důvodu, že může být umístěn na modulu z vrchní strany a je vždy viditelná jeho frekvence. Konstruktér tak má během laborování s moduly vždy přehled o používaných frekvencích. +=== RS-485 ===
  
-{{:mlab_crystal.jpg?200|MLAB HC49/S standardní krystal}}+In industry, this bus is used with terminal blocksTherefore it is practical to use e.g. [[en:inputuni|INPUTUNI01A]] module. 
  
-Pro moduly, kde lze předpokládat občasnou výměnu krystalu za krystal s jinou frekvencí se na modulech osazuje speciální držák krystalu, do kterého je možné po zkrácení nožiček krystal pohodlně zasunout a kdykoli vyměnit za jiný. +=== CAN ===
  
-{{:mlab_crystal_holder.jpg?200|MLAB držák krystalu}}+To distribute CAN buses over longer distances, for example in buildings, we recommend using UTP cable and RJ-45 connectors.
  
 +===== Test constructions =====
  
-=== Rezervní pozice pro součástky ===+==== Standard arrangement ====
  
-Indikační LED mohou na modulech být v provedení SMD, nebo LED 3mm. SMD diody lze umisťovat i na spodní stranu desky přivrácenou k podkladové desce. V takovém případě je ale vhodné do plošného spoje nad SMD LED navrhnout díru cca 1mm kterou bude SMD LED viditelná.+Test constructions consist of one of the [[en:base1621|base boards]].
  
-===== Potisk na modulech =====+{{:mlab_plc_board.jpeg?200|MLAB as PLC (optimised for higher voltage)}} 
  
-Potisk na modulech by měl respektovat obecná typografická pravidla. Je to důležité hlavně z hlediska nutnosti zachovat čitelnost potisku i po aplikaci sítotiskem.  
  
-==== Písmo ====+==== Measuring arrangement ====
  
-Na jednom modulu se může vyskytovat více velikostí písma(obvykle na modulech stačí méněnež 3)Použivají se v pořadí: název modulupopiskyvýstrahy, označení autoraRůzné velikosti se samozřejmě používají pouze v případech, kdy je k tomu na modulu místo. Na některých modulech je proto jenom jedna velikost písma podřízená čitelnosti a rozměrům modulu.+The following way of assemblywhen we use structural shapesfor example, from the [[https://merkurtoys.cz/| Merkur building kit]]in order to attach the corner screwshas an advantage in that you can access both sides of the board without any problems and carry out measurements also on a PCBIt is thus suitable for reviving new modules.
  
-=== Zarovnání ===+{{:mlab_testing_mount1.jpg?direct&200|}} {{:mlab_testing_mount2.jpg?direct&200 |}}
  
-Signály se stejnou prioritou by měly mít na celém modulu jednotnou velikost písma. Taktéž by měla být sjednocena velikost a styl jednotlivých popisků u jednoho konektoru. +==== Direct mounting ====
  
-Popisky jednotlivých signálů na hřebínku se zarovnávají ke konektoruaby byla minimalizována možnost řádkové chyby při zapojování.+Modules can also be screwed directly into each othera feature advantageous mainly for undemanding constructions made of several modules of similar size.
  
-=== Velikosti Písma ===+{{:direct_mounting.jpg?direct&200|}}
  
-Nejčastější používané velikosti písma jsou:+==== Tower arrangement ====
  
-  Width 1,5 mm, Height 1,5mm, Thickness 0,3mm  název modulu, důležité informace a popisky hřebínků +Metal MLAB mounts can be stacked with one another using threaded rods. Such an arrangement saves space and enables the construction of more complicated and large-scale systems.
-  Width 1,3 mm, Height 1,3mm, Thickness 0,3mm  - popisky jednotlivých vývodů hřebínků+
  
-Velikost písma menší než 1,3 mm je problematická a je třeba ji používat pouze v opodstatněných případech+{{:mlab_tower.jpg?direct&200|Tower arrangement of MLAB boards}}
  
-Na některých malých modulech může vzniknout problém s délkou názvu modulu, v takovém případě se název modulu zalamuje u verze modulu, například: +The threaded rods used in the example are of M5 type and each board is fastened by a nut from above and below. There are washers between the board and the nuts. There is a spring washer used with one of the nuts. The cutting length in the case of two boards above each other is 12 cm. This length was chosen because a 1m threaded rod can be divided into 8 columns and there is 4cm left for cutout and tolerance. 
  
-{{:cs:isl2902001a_top_big.jpg?direct&300|}}+===== Permanent installations =====
  
-ISL2902001A je celý název tohoto moduluavšak ten není možné na modul umístitproto je zalomen u verze jako ISL29020  a 01A.+We can easily construct permanent or semi-permanent installations from the kit by screwing the tuned constructions with the baseboard to the bottom of the junction box. In order to increase the resistance against vibrations we can glue the přívody k hřebíkům (??) with a hot-melt adhesive and tie the cables to the base with a cable tie. Such construction is relatively cheap andat the same timerobust and adjustable if necessary  
  
-==== QR kódy ==== +==== Stand-alone construction ====
-Na všechny moduly které jsou dostatečně velké, aby na ně mohl být umístěn QR kód. Ten obsahuje identifikaci modulu a odkaz na stránku s [[http://www.mlab.cz/PermaLink/|permalinkem na dokumentaci modulu]]. QRkód generujeme nástrojem qrencode do složky <modul>/doc/img/<modul>_QRcode.png. např+
  
-  qrencode -s 15 -l L "http://www.mlab.cz/" -o "MODUL01A_QRcode.png"+We can easily fit the module construction in the [[en:unibox|UNIBOX]] metal box.
  
-Pokud jste pro vytvoření modulu použili mlabgen, QRkód by měl být vytvořen při vytváření základní adresářové struktury.+{{:cs:designs:unibox01a_big.jpg?300|}} {{:cs:designs:measuring:gmcount_parts.jpg?300|}} 
 +  
 +==== Installation into the distribution board  ====
  
-<WRAP info round> +In a similar manner, modules can be installed in the low-voltage parts of distribution boardsYou can use plastic clips (??) (available at good electro shops) to attach them to a DIN panel.
-Vhodnejší by pravděpodobně bylo použití [[http://www.qrcode.com/en/codes/microqr.html|micro QR kódů]]. Utilita qrencode je sice umí generovat. Např. "qrencode  --micro -v 4 -s 15 -l L "BATPOWER04C" -o "microQRcode.png"" ale ještě neexistuje vhodná čtečka do Androidu, která by je uměla číst. +
-</WRAP>+
  
 +{{:wall_box_din_mount.jpg?200|MLAB in home distribution board}}
  
-=== PADS ===+==== Installation into the electrical box ====
  
-Miho pro potřeby generování kódu do potisku plošného spoje vytvořil [[http://www.mlab.cz/~miho/QR/index.php|generátor QR kódů]], který generuje grafiku ve formátu ASC (Původně určeno pro Mentor Graphics PADS) Velikost QR kódů na plošných spojích zatím není sjednocena. Při generování kódů je výchozí velikost pro většinu plošných spojů příliš velká. Momentálně se vhodné nastavení musí vyzkoušet vhodné počáteční nastavení je např.  +An electrical box can be used in a similar way as a distribution board with one exception - there is usually not any problem with attaching the [[en:base1621|base board]].
- +
-  * PADS Size: 20 +
-  * PADS Line Width: 2 +
- +
-Vygenerovaný soubor je ve formě textu na spodní straně stránky. Text je tak nutné ručně vložit do souboru s příponou asc. Po importování vygenerovaného obrázku do potisku plošného spoje je následně třeba nastavit atribut "solid copper" aby motiv byl kompletně vyplněn barvou. +
- +
-=== KiCAD === +
- +
-Obrázky QRkódů se do KiCAD  [[http://www.re-innovation.co.uk/web12/index.php/en/blog-75/230-adding-logo-to-kicad|převedou]] stejně jako logo.  +
- +
-===== Check list před výrobou ===== +
- +
-  - zkontrolovat velikost a spravnost pouzder +
-  - Velikost plosek u konektoru a soucastek skrz desku.  +
-  - velikost der, krystaly ledky, hrebinky, propojky, specialni soucastky. +
-  - odmaskovani plošek, propojky +
-  - obrysy soucastek, oznaceni propojek. +
-  - popisky, napis www.mlab.cz +
-  - Zkontrolovat, ze nejsou prokovy pod pismeny a znaky +
-  - zkontrolovat QR kod a PermaLink. +
- +
- +
-===== Struktura repozitáře MLABu ===== +
- +
- +
-  * Projektová metadata - json +
-  * Commit message - začátek velké písmeno, slova jako added, fixed, removed, started, finished...  +
- +
-==== Jmenná konvence ==== +
- +
-bez_diakritiky_a_specialnich_znaku_mezery_nahrazeny_podtrzitkem_pouze_mala_pismena_strucne_a_srozumitelne +
- +
- +
- +
-==== Adersářová struktura modulu ==== +
- +
-  MODUL01A/ +
-    hw/ +
-      sch_pcb +
-        gerb_ama +
-        gerb_profi +
-      hdl +
-      cad +
-    sw/ +
-    doc/ +
-      src +
-        img +
-      datasheets +
-      MODUL01A.cs.pdf +
-      MODUL01A.en.pdf+
  
 +{{:mlab_electrical_box.jpg?direct&200|LABduino in a box}}
  
 +===== Sample construction =====
  
 +     * [[http://www.mlab.cz/Designs/STOPWATCH02A/DOC/STOPWATCH02A.cs.pdf|Timekeper]] - measures the time of movement between several photoelectric sensors (?? optická závora) 
 +     * [[http://www.mlab.cz/Designs/GPSnavigator/DOC/GPSnavigator.cs.pdf|Simple GPS navigation]]
 +     * [[en:labduino|LABduino]]
 +     * [[en:thermometer|Thermometer]]
en/navody.1549204980.txt.gz · Last modified: 2019/02/03 14:43 by fluktuacia