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 revisionBoth sides next revision
en:navody [2019/01/31 14:11] – [Tower arrangement] fluktuaciaen:navody [2019/02/03 14:43] fluktuacia
Line 1: Line 1:
-====== General hints concerning modules ======+FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)//
  
-This page sums up the possibilities and means of MLAB modules' use. The individual paragraphs contain various different applications and special cases.+====== Rules for designing new modules ======
  
-Beginners can make us of [[en:guide|a guide for beginners]].   +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.
  
-===== Obtaining a module =====+The module design itself uses a following [[en:tools|software tools]].
  
-In order to begin a 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 modules]]. In case you do not find the necessary module, you can build it according to [[en:rules|rules guaranteeing the compatibility]].+===== Identification of modules =====
  
-===== Tools =====+Each modules has to carry a unambiguous identification mark consisting of its name, version and module revision - e.g. [[cs:jtagft2232v|JTAGFT2232V02A]].
  
-==== Mechanical tools ====+  - JTAGFT2232 -  the name of the module, depicting the nature of the module (here probably a J-tag programmer with FTDI FT2232 chip). 
 +  - (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)
  
-Work with MLAB modules requires only basic mechanical tools: a hexagonal socket wrench 5.5 mm with knurled edge for tightening using a hand, a hex key (in case of older models a cross screwdriver) and a lot of M3 nuts+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:
  
-{{: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.
  
-==== Electronic tools ====+===== Creating a new module ===== 
 +==== Using a mlabgen script ====
  
-=== Multimeter ===+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]].   
 + [[http://wiki.mlab.cz/doku.php?id=cs:tools#github|A basic guide for using github]].
  
-Multimeter of almost any type is sufficient, however we recommend digital one.+The directory structure can be created either manually or using  [[https://github.com/MLAB-project/mlabgen|mlabgen]] tool, which 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:
  
-{{:multimetr.jpg?direct&200|An example of an adequate multimeter}}+  mlabgen-module-init NAMEVERREV
  
-More advanced users can use [[en:ut804|table 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.
  
-=== Oscilloscope ===+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.
  
-An oscilloscope is a very useful tool when tuning any signal systemWe use a following Rigol DS1052E, which, in its basic versionis 50MHz, but a firmware change can update it to 100MHz  +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. 
-  +
-{{: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. 
  
-=== Soldering iron ===+==== Manual module creation ==== 
 +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: 
  
-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 an excellent heat power and tips of a high quality. +In the appropriate folder category we create a folder with the name of the new module using format ''NAMEVERREV’’. 
 +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}} 
  
-It is even possible to agree on purchasing a 100W version with parameters exceeding even high class micro soldering irons from Weller+  <NAMEVERREV>
-  +  ├── doc* 
-When soldering peaces 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).+  │   ├── img* 
 +  │   │   ├── <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
  
-{{:trafopajka-elektricka-125w.jpg?direct&200|An example of transformer soldering iron}}+The file ''<NAMEVERREV.json>'' should contain the information concerning the module.
  
-When buying a transformer soldering ironmake sure you are buying the one with a horizontal soldering tipas shown on the picture. Transformer soldering irons with vertical tips are more suitable for sheet soldering or welding / cutting of 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[]": [] 
 +  }
  
-**All types of soldering irons require tube tin and a flux, otherwise they will not work properly.** For more information see chapter about flux -[[http://www.mlab.cz/Articles/HowTo/How_to_make_PCB/DOC/HTML/How_to_make_PCB.cs.html]]+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]].
  
-=== An aid for smoke extraction ===+===== Module power supply =====
  
-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 a noise, the ventilator can be put onto a piece of rubber, for example from an old inner tube of a bike.+You can find more detailed examples of connectors and an explanation of their use at  [[en:navody|Manuals]].
  
-==== Using the tools ====+==== MLAB connectors configuration ====
  
 +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
  
-=== Connecting the oscilloscope probe ===+{{:low_power_connectors.png?direct&400|}} 
  
-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 the 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.+**Power supply connectors are doubled in order to allow smyčkování napájení (??).** 
 +==== Externí napájecí zdroje ====
  
-The signal probe input can be connected to MLAB in a following way: the connecting cable is cut to halfpart of the cable is stripped of an 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.+For power supply with higher powers, the FASTON connectors or WAGO256 terminal blocks are used.
  
-===== Connecting of modules =====+{{ :cs:wago256.jpg?100 |}}
  
-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+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.
  
-==== Power supply ====+=== Cylindrical power supply connector ===
  
-Power provided by [[en:napajeci_zdroje|power supplies]] is distributed, among the modules, via cables different from the usual interconnecting ones. Furthermore, they are coloured according to the different power voltages, thus reducing the possibility of a fatal mistake during their connecting. +=== Power supply +5V from USB ===
  
-=== Power supply up to +5V ===+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.
  
-This power voltage is distributed by a red-blue power cable with a three-pin connector.+=== High voltage ===
  
-{{:cs:low_power_cable.jpg?350|Power cable for a low voltage}} 
  
-== 3.3V ==+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
  
-Power voltage of 3.3 V is lead by the same cable as the +5V power supply, only the red wire is replaced by an orange one.+{{:shv_zasuvka.jpg?200|SHV zásuvka}} {{:cs:shv_vidlice.jpg?200|SHV vidlice}}
  
-=== Voltage higher than +5V ===+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.    
 +   
 +===== 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. 
  
-{{:cs:powering_cable_yellow-black.jpg?350|Power cable for higher voltages}}+==== Schéma modulu ====
  
-=== Symmetrical power supply ===+Správně nakreslené schéma (nejenom modulů MLAB) dodržuje tyto zásady:
  
-This kind of power supply, conventionally +12V and -12V, is used in analogue constructionswhich 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 framing. (kostra ??+  Spoje se musí co nejméně křížit 
 +  - 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. 
  
-{{:cs:powering_cable_symmetric.jpg?350|A cable for symmetrical power supply}}+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.)
  
-=== High voltage power supply === 
  
-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 cables 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. +==== Ochranné odpory ====
  
-=== Very high voltage power supply ===+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.  
  
-It includes power voltage in range of hundreds of volts to ones of kV. Such powering is used for certain special detectors or gas discharge lamps, LASERs, etc. It is distributed via a coaxial cable with SHV or MHV connectors. 
  
-==== High-frequency signals ==== +==== Ochranné diody ====
-=== Asymmetrical signals ===+
  
-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.+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
  
-{{:cs:sma_cable.jpg?320|SMA cable}}+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
  
 +===== Geometrie modulů =====
  
-**Caution** the connector in the picture contains a sample error - a missing shrinking tube over a crimped connector ferrule. Without it, there is gradual breaking of the cable sheet from the connector.+==== Rozměr ====
  
-**Crimped connectors’ ferrules have to be proteced by shirnking 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 +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.
  
 +Názorný příklad pro modul zabírající 3 otvory na ALBASE:
  
-=== Differential symmetrical signals  === 
  
-Fast digital signals, such as those of AD converters’ clocks or sequence circuits, are in MLAB usually distributed differentially in order to limit interferenceWe usually use PECL or LVDS logic. Signals are lead via a standard direct (??) SATA cable - chosen for its defined impedance and good availability. +{{ :cs:modul.png?400 |}}
  
-{{:cs:sata_cable.jpg?350|SATA cable}} 
  
-==== Digital buses ====+   Délka hrany 4x10,16 - 0,254 -0,254 40,132 mm 
 +   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
  
-Digital buses, such as I2C, TWI or 1-wire are distributed between the modules via standard cables, usually only adjusted so that one plastic ending contains all the bus’s wires, possibly together with a power supply.+==== Rohové šrouby ====
  
-===== Maintenance and cleaning =====+Š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). 
  
-==== Interconnecting cables ====+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.   
  
-Due to a gradual wear by a mechanical switching, the interconnecting cables’ connectors loose 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 revel this states simply by checking, that the cable sleeve (?? Dutinka kablíku) does not hold onto the pin (?? Hřebínek). 
-The above-mentioned state can be repaired by napružení kontaktu konektoru (??) using a screwdriver or other similar tool. The procedure is done from outside at the connector's lock, applying a pressure on the spring against a table. 
-==== Modules ==== 
  
-Most of the modules do not require any additional maintenance. Sometimes it happens, that a 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.   
  
-<WRAP info> It is not possible to use electrostatic duster for a dust removal as it might cause a destruction of certain electronic circuits in modules </WRAP> 
  
-When a module is extremely dirty, it can be cleaned in an ultrasonic cleaner. However, there are some modules (sensors, GPSthat might be damaged by this process, that is why it cannot be universally recommended.+==== Layout (návrh plošného spoje====
  
-===== External connectors =====+**Mezní možnosti výroby:** 
 +  Min. tloušťka cesty 0,1 mm 
 +  Min. izolační mezera 0,1 mm
  
-Connector for switching in other devices. 
  
-==== Power supply ====+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í).
  
-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.+Spoje jsou dále vedeny takaby 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čale třeba i výstupy logických obvodů typu CMOS a TTL
  
-{{:cs:dc_cylindric_connector.jpg?200|Cylindrical connector 5.5mm / 2.1mm}}+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)
  
-Cylindrical connectors of different voltages are distinguished using shrinking tube around a connector - yellow = 12Vred = 5V.+Moduly by měly mít všechny čtyři šrouby spojené stejným potenciálem 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í moduluzvláště u vícevrstvých plošných spojů
  
-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]].+=== Pouzdra součástek ===
  
-In 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)   +Preferovaná pouzdra součástek jsou z našich [[https://github.com/MLAB-project/kicad-mlab|ověřených knihoven na githubu.]] 
  
-{{:cs:deans-plug-tplug-t-plug-rc-lipo-battery-plug-connectors-rc-t-plug-ts3u.jpg?200|T connectors}}  +Proferovaná velikost SMD pouzder je aktuálně řada 0805.
  
  
-==== General terminal blocks ====+=== Rozmisteni soucastek ===
  
-=== Screw terminal ===+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. 
  
-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 a quality and convenience of their use.  
  
-The first type is more common mostly due to its low price. However, thanks to using a sheet metal washer under screws, it is not possible to fasten a naked wire of small diameter well into this type of screw terminal. Furthermore, the sheet metal washers often fall out or block the pulling out of the wire.  +=== Vrstvy ===
  
-{{:cs:bad-screw-terminal-block.jpg?200|}}+  F.Cu měděná vrstva ze strany součástek 
 +  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ů
  
-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 of conductive connection.  
-  
-{{:cs:ok-screw-terminal-block.jpg?200|}}   
-  
-=== Spring terminal block === 
  
-Spring terminal block 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 regulation the compressing of connection. 
  
-One of the commonly used spring terminal block is WAGO256. 
  
-{{:cs:wago256.jpg?100|MLAB WAGO256}} +Pri navrhu dvouvrstveho plosneho spoje, je jedna vrstva se vyhrazena pro zem a napajeni. Tato vrstva se 
 +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
  
  
 +=== Prokovy ===
  
-==== High-frequency signals ====+**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** 
  
-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.+  Minokruží 0,1 mm (průměr prokovu = průměr vrtání + 0,2 mm) 
 +   
 +V případech kde to není nutné nenavrhujeme na této mezi. Prodražuje cenu PCB.
  
-In order to connect distant devices, such as receiving antenna, F-connector is a good choice, mainly thanks to its easy assembly and disassembly, allowing for an easy placement of coaxial cabels.  
  
-==== Data connectors ====+Texty v potisku modulu nesmí překrývat prokovy. (Jinak dojde k nečitelnosti potisku v místě prokovu)
  
-=== USB === 
  
-The most widely found external bus used with modules is a [[http://en.wikipedia.org/wiki/Universal_Serial_Bus|USB]] with USB-B connector. A reason for using USB B is that it is the most robust USB connector, it has outlets through the board and thus it does not brake away from PCB (like other variants of USBmicro connectors). +==== Konstrukční části ====
  
-{{:cs:usb-b.jpg?200|USB connector on MLAB modules}} +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 a 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é je, ploš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. 
  
-Using a USB connector on a module requires placing a current fuse into the charing from USB (usually 750mA PTC). Otherwise a short circuit can cause a fall of HOST system and thus a data loss (of a tuned program).  +=== LED ===
  
-=== RS-232 ===+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" a 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]].  
  
-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+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 ohybemMontáž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-485 ===+=== Krystaly ===
  
-In industrythis bus is used with terminal blocksTherefore it is practical to use e.g. [[en:inputuni|INPUTUNI01A]] module+Pro krystaly v modulech MLAB bylo jako základní pouzdro zvoleno HC49/Smalý krystal s nožičkovými vývodyJe to z toho důvodu, žmůže být umístěn na modulu z vrchní strany a je vždy viditelná jeho frekvenceKonstruktér tak má během laborování s moduly vždy přehled o používaných frekvencích
  
-=== CAN ===+{{:mlab_crystal.jpg?200|MLAB HC49/S standardní krystal}}
  
-To distribute CAN bus over longer distancesfor example in housewe recommend using UTP cable and RJ-45 connectors.+Pro modulykde lze předpokládat občasnou výměnu krystalu za krystal s jinou frekvencí se na modulech osazuje speciální držák krystaludo kterého je možné po zkrácení nožiček krystal pohodlně zasunout a kdykoli vyměnit za jiný
  
-===== Test constructions =====+{{:mlab_crystal_holder.jpg?200|MLAB držák krystalu}}
  
-==== Standard arrangement ==== 
  
-Test constructions consist of one of the [[en:base1621|base boards]].+=== Rezervní pozice pro součástky ===
  
-{{:mlab_plc_board.jpeg?200|MLAB as PLC (optimised for higher voltage)}} +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á.
  
 +===== Potisk na modulech =====
  
-==== Measuring arrangement ====+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. 
  
-The following way of assembly, when we use úhelníky (??), for example form Merkur building kit, in order to attach the corner screws, has an advantage in that you can access both sides of the board without any problems and carry out measurements also on a PCB. It is thus suitable for reviving new modules.+==== Písmo ====
  
-{{:mlab_testing_mount1.jpg?direct&200|}} {{:mlab_testing_mount2.jpg?direct&200 |}}+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 modulu, popisky, výstrahy, označení autora. Rů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.
  
-==== Direct mounting ====+=== Zarovnání ===
  
-Modules can also be screw directly to each other, feature advantageous mainly for undemanding constructions made of several modules of similar size.+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 styl jednotlivých popisků u jednoho konektoru
  
-{{:direct_mounting.jpg?direct&200|}}+Popisky jednotlivých signálů na hřebínku se zarovnávají ke konektoru, aby byla minimalizována možnost řádkové chyby při zapojování.
  
-==== Tower arrangement ====+=== Velikosti Písma ===
  
-Metal MLAB mounts can be stack on onto another using threaded rods. Such arrangement saves space and enables a construction of more complicated and large-scale systems.+Nejčastější používané velikosti písma jsou:
  
-{{:mlab_tower.jpg?direct&200|Tower arrangement of MLAB boards}}+  Width 1,5 mm, Height 1,5mm, Thickness 0,3mm  - název modulu, důležité informace a popisky hřebínků 
 +  Width 1,3 mm, Height 1,3mm, Thickness 0,3mm  - popisky jednotlivých vývodů hřebínků
  
-The threaded rods used in the example are of M5 type and each board is fastened by 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. Cutting length (?? Řezná délka) in case of two boards above each other is 12 cm. This length was chosen because 1m threaded rod can be divided into 8 columns and there are 4cm left for cutout  (?? Prořez) and tolerance+Velikost písma menší než 1,3 mm je problematická je třeba ji používat pouze v opodstatněných případech
  
-===== Permanent installations =====+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: 
  
-We can easily construct permanent or semi-permanent installations from the kit by screwing the tuned constructions with the base board to the bottom of the junction boxIn 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 and, at the same time, robust and adjustable if necessary.   +{{:cs:isl2902001a_top_big.jpg?direct&300|}}
  
-==== Stand-alone construction ====+ISL2902001A je celý název tohoto modulu, avšak ten není možné na modul umístit, proto je zalomen u verze jako ISL29020  a 01A.
  
-We can easily fit the module construction in the [[en:unibox|UNIBOX]] metal box.+==== QR kódy ==== 
 +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ř
  
-{{:cs:designs:unibox01a_big.jpg?300|}} {{:cs:designs:measuring:gmcount_parts.jpg?300|}} +  qrencode -s 15 -l L "http://www.mlab.cz/" -o "MODUL01A_QRcode.png"
-  +
-==== Installation into the distribution board  ====+
  
-In a similar mannermodules can be installed in the low-voltage parts of distribution boards. You can use plastic clips (??) (available at good electro shops) to attach them onto a DIN panel.+Pokud jste pro vytvoření modulu použili mlabgenQRkód by měl být vytvořen při vytváření základní adresářové struktury.
  
-{{:wall_box_din_mount.jpg?200|MLAB in home distribution board}}+<WRAP info round> 
 +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>
  
-==== Installation into the electrical box ==== 
  
-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 === 
 + 
 +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ř.  
 + 
 +  * 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.txt · Last modified: 2023/01/15 12:59 by 94.112.192.193