===== MB-LRE8x2CS rev 4.6 ===== //**16 LEDrings / 16 Encoders Control Surface PCB**// Welcome to the wiki page of the control surface board featuring: * DINx4 module, * Improved DOUTx4 module, * 16 LEDrings of (15+1) LEDs each, * 16 encoders (with or without switch). The last revision of the PCB is rev 4.6. It is a very practical and cheap way to make a midi controller with adding only a core or make a more important controller without having to wire LEDrings. ==== PCB ==== The PCB have components soldered on the two sides.\\ Top side: Encoders and LEDs.\\ Back side: All others components (see [[http://www.midibox.org/dokuwiki/doku.php?id=mb-lre8x2cs_rev4.6#bom |BOM below]]).\\ The board is 3,335 x 13,452 inch (341,7 x 85,1 mm): slightly less than 2U standard.\\ The previous revision (2.5) was 3,368 x 13,472 inch (342,2 x 85,5 mm).\\ The (external) diameter of each LEDring is 34 mm with the use of 3mm LED.\\ To comply to the footprint of 2x5x7mm rectangular LEDs, the diameter (from the centers of the LEDs -except the lowest one) of the LEDring is now slightly less than 31mm instead of 30mm. The pitch between each controller remains the same as in the previous version (1,684 inch). ====Pictures==== |Actual PCB| |{{http://midibox.org/forums/uploads/gallery_7662_237_87413.jpg?800 |Top_Rev_4.7!}}| |{{http://midibox.org/forums/uploads/gallery_7662_237_94830.jpg?800 |Bottom_Rev_4.7!}}| ==Mix of the Rev2.5 and protoboard pictures (Note this is not the last versions but they have practically the same dimensions and LEDs/Encoders positioning):== |{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/top1.jpg?800 |Top1}}| |{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/top2.jpg?400 |Top2}}|{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/back1.jpg?400 |Back}}| |{{http://jeromebo.free.fr/Wiki/PCB5.jpg?400 |PCB}}|{{http://jeromebo.free.fr/Wiki/PCB6.jpg?400 |PCB}}| ==Protoboard in action:== |{{http://jeromebo.free.fr/Wiki/PCB2.jpg?400 |PCB}}|{{http://jeromebo.free.fr/Wiki/PCB7.jpg?400 |PCB}}| |{{http://jeromebo.free.fr/Wiki/PCB8.jpg?400 |PCB}}|{{http://jeromebo.free.fr/Wiki/PCB9.jpg?400 |PCB}}| You can see the LEDring animation in this [[http://www.youtube.com/watch?feature=player_detailpage&v=3QYxTF6gutA |poorly quality video]]. ====Dimensions==== All measurements are given in mils unless otherwise indicated. 1 mil = 0,001 inch = 0,0254 mm. You can use this [[http://www.convertunits.com/from/mils/to/mm |converter utility]]. |{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/Dimensions_MB-LRE8x2CS_Rev4.6.png?800 |Dimensions}}| ====Layout==== |{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/Layout_MB-LRE8x2CS_Rev4.6.png?800 |Layout}}| You can download a better definition version (without ground surfaces for better visibility) [[http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/Layout_MB-LRE8x2CS_Rev4.6.pdf |here]]. ====Silkscreen==== [[http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/Top_silk_MB-LRE8x2CS_Rev4.6.pdf |Top silkscreen]]. [[http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/Botton_silk-mirrored_MB-LRE8x2CS_Rev4.6.pdf |(mirrored) Bottom silkscreen]]. ====Schematic==== |{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/schematic_MB-LRE8x2CS_Rev4.6.png?200 |Schematic}}| You can download a better definition version [[http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/Schematic_MB-LRE8x2CS_Rev4.6.pdf |here]]. ====Coordinates==== The origin (0;0) is the bottom left corner of the board. **//Note: Be very careful if you use vectorial software (to draw your front panel e.g.) because usually it takes as origin of each part the left corner of the part and not __the center of the part__ !!!//** You can take also a look at the [[http://www.midibox.org/dokuwiki/doku.php?id=mb-lre8x2cs_rev4.6#frontpanel_svg_files |*.SVG section]] below. ==LEDs/Encoders== You will find the coordinates of LEDs/Encoders in this [[http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/Coordinates_MB-LRE8x2CSRev4.6.xls |files]]. You will note that the encoders are upside-down because to win some space inside the LEDring. Because they are endless, the use of them is not impacted. ==3mm board holes== Coordinates of the six holes (in inch): ^ X ^ Y ^ | 1,674 | 0,15 | | 6,726 | 0,15 | | 11,778 | 0,15 | | 0,15 | 3,2 | | 6,726 | 3,2 | | 13,302 | 3,2 | ====BOM==== ^**Qty**^**Device**^**Parts**^**REICHELT**^**MOUSER**^**Note**^ |4|74HC165|IC1, IC2, IC3, IC4|[[http://www.reichelt.de/ICs-74HC-DIL/74HC-165/3/index.html?;ACTION=3;LA=446;ARTICLE=3155;GROUPID=2930;artnr=74HC+165;SID=12UC05eH8AAAIAADZ-Tk83280bcbf1bb38ae589b1b56c8f1c3195|74HC165]]|[[http://www2.mouser.com/ProductDetail/STMicroelectronics/M74HC165B1R/?qs=sGAEpiMZZMtsbn1GaJysl6MB7j0Br%2feDsjVmH1Bq4Nc%3d|511-M74HC165]]| |2|ULN2803 Transistors Darlington arrays|IC5, IC6|[[http://www.reichelt.de/ICs-U-ZTK-/ULN-2803A/3//index.html?ACTION=3&GROUPID=2921&ARTICLE=22085&SHOW=1&START=0&OFFSET=16&|ULN2803A]]|[[http://www2.mouser.com/ProductDetail/Texas-Instruments/ULN2803AN/?qs=sGAEpiMZZMupZfs%2fwBb3DB9e3JcsATRuLmxIgE1KUkE%3d|595-ULN2803AN]]| | |4|74HC595|SR1, SR2, SR3, SR4|[[http://www.reichelt.de/ICs-74HC-DIL/74HC-595/3/index.html?;ACTION=3;LA=446;ARTICLE=3269;GROUPID=2930;artnr=74HC+595;SID=12UC05eH8AAAIAADZ-Tk83280bcbf1bb38ae589b1b56c8f1c3195|74HC595]]|[[http://www2.mouser.com/ProductDetail/STMicroelectronics/M74HC595B1R/?qs=sGAEpiMZZMtsbn1GaJyslwzgtjFT6%252bN8B2dPP5ZzTsg%3d|511-M74HC595]]| |8|Ceramic Cap 100nF=0,1uF "104"|C1->C4 & C6->C9|[[http://www.reichelt.de/Multi-layer-leaded-Z5U-20-/Z5U-2-5-100N/3/index.html?;ACTION=3;LA=446;ARTICLE=22977;GROUPID=3163;artnr=Z5U-2%2C5+100N;SID=12UC05eH8AAAIAADZ-Tk83280bcbf1bb38ae589b1b56c8f1c3195|Z5U-2,5 100n]]|[[http://www2.mouser.com/ProductDetail/Kemet/C412C104K5R5HA/?qs=%2fha2pyFadujUupwLInIvN4Ok%2fED44x4z1zwDk22svMvXLs10xlQrAQ%3d%3d|80-C412C104K5R]]| |1|Polarized Electrolytic Capacitor 100 uF|C5|[[http://www.reichelt.de/Electrolyte-Capacitors-radial/RAD-100-16/3/index.html?;ACTION=3;LA=446;ARTICLE=15101;GROUPID=3143;artnr=RAD+100%2F16;SID=12UC05eH8AAAIAADZ-Tk83280bcbf1bb38ae589b1b56c8f1c3195|rad 100/16]]|[[http://www2.mouser.com/ProductDetail/Lelon/REA101M1CBK-0611P/?qs=%2fha2pyFaduihP%2fa%252bRFM5YjfdU8xyvx5EAdO%252bg3xCGxHq%2fI2wtlRu%2f084auw92Qnq|140-REA101M1CBK0611P]]| |8|10k 6 Pin SIL resistor network "103"|RN3->RN10|[[http://www.reichelt.de/5-Resistance-6-Pins/SIL-6-5-10K/3/index.html?;ACTION=3;LA=446;ARTICLE=17791;GROUPID=4497;artnr=SIL+6-5+10K;SID=12UC05eH8AAAIAADZ-Tk83280bcbf1bb38ae589b1b56c8f1c3195|SIL 6-5 10K]]|[[http://www2.mouser.com/ProductDetail/Xicon/264-10K-RC/?qs=sGAEpiMZZMuVmbMdVqM8/AejIFOVsQF2|264-10K-RC]]| |16|220 Ohm metal film resistor|R1->R16|[[http://www.reichelt.de/1-4W-1-100-Ohm-976-Ohm/METALL-220/3/index.html?;ACTION=3;LA=446;ARTICLE=11627;GROUPID=3077;artnr=METALL+220;SID=12UC05eH8AAAIAADZ-Tk83280bcbf1bb38ae589b1b56c8f1c3195|METALL220]]|[[http://fr.mouser.com/ProductDetail/KOA-Speer/MF1-4DCT52R2200F/?qs=sGAEpiMZZMu61qfTUdNhG%2fDQawzJ6c7Pvwf5CGzltL8%3d|MF1/4DCT52R2200F]]|You won't be able to use resistor network this time because each resistor is 60° rotated| |2|2x5 pins DIL Shrouded Header|"IN", "OUT"|[[http://www.reichelt.de/Stiftleisten/MPE-087-2-016/3/index.html?ACTION=3;ARTICLE=22816;SEARCH=WSL%2010G|WSL 10G]]|[[http://www2.mouser.com/ProductDetail/Wurth-Electronics/61201021621/?qs=%2fha2pyFadujEIp2%2fjsKWLXg%252bb4e8v61jj1J6zp6AkGGUW5Lrb6Z%2fiw%3d%3d |710-61201021621]]|[[http://www.ebay.com/itm/5-Pcs-2x5-10-Pins-Box-Header-IDC-Male-Sockets-Straight-2-54mm-/400313854211?pt=LH_DefaultDomain_0&hash=item5d3490a903 |Cheap model on Ebay]]| |1|1x16 pins SIL Header|"TO_SWITCH_BOARD"|[[http://www.reichelt.de/Strip-connectors/SL-1X36G-2-54/3/index.html?;ACTION=3;LA=446;ARTICLE=19504;GROUPID=3220;artnr=SL+1X36G+2%2C54;SID=12UC05eH8AAAIAADZ-Tk83280bcbf1bb38ae589b1b56c8f1c3195|SL1X36G 2,54]]|[[http://fr.mouser.com/ProductDetail/FCI/68001-416HLF/?qs=%2fha2pyFaduj2kX7F%2fjLYsz3Ub4meObGdqvb1PukbIIRu5ukyLqoPwg%3d%3d |649-68001-416HLF]]|Optional (switched encoders)| |16|PEC16-4020F-N0024|ENC1->ENC16|-|[[http://www2.mouser.com/ProductDetail/Bourns/PEC16-4020F-N0024/?qs=%2fha2pyFaduidMAYXvh4P%252bEanIsGgmf2%2f0x52XmivDsxMksvDEy77TF6d7yR15tkq|652-PEC16-4020FN0024]]|Undetended - without build-in switch| | //or//|PEC16-4020F-S0024| |-|[[http://www2.mouser.com/ProductDetail/Bourns/PEC16-4020F-S0024/?qs=%2fha2pyFaduidMAYXvh4P%252bBRWlDqCgjW9Zaz1UYvxiiu4QrPXX2IsiUoSeMNo9bgu|652-PEC16-4020FS0024]]|Undetended - with build-in switch| |10|Socket 16 pins|-|[[http://www.reichelt.de/Sockets-IC/GS-16/3/index.html?;ACTION=3;LA=446;ARTICLE=8208;GROUPID=3215;artnr=GS+16;SID=12UC05eH8AAAIAADZ-Tk83280bcbf1bb38ae589b1b56c8f1c3195|GS 16]]|[[http://www2.mouser.com/ProductDetail/TE-Connectivity-AMP/1-390261-4/?qs=sGAEpiMZZMs%2fSh%2fkjph1tvt1%2fmEPT%2fXoNq7gP2OHJlQ%3d|571-1-390261-4]]|[[http://www.ebay.com/itm/10-x-16-pin-DIP-IC-Sockets-Adaptor-Solder-Type-/250865607065?pt=LH_DefaultDomain_0&hash=item3a68c16199 |Cheap model on Ebay]]| |2|Socket 18 pins|-|[[http://www.reichelt.de/Sockets-IC/GS-18/3/index.html?;ACTION=3;LA=446;ARTICLE=8210;GROUPID=3215;artnr=GS+18;SID=12UC05eH8AAAIAADZ-Tk83280bcbf1bb38ae589b1b56c8f1c3195|GS 18]]|[[http://www2.mouser.com/ProductDetail/TE-Connectivity-AMP/1-390261-5/?qs=sGAEpiMZZMs%2fSh%2fkjph1tvt1%2fmEPT%2fXoZIDJRoSu7Is%3d|571-1-390261-5]]|[[http://www.ebay.com/itm/10-x-18-pin-DIP-IC-Sockets-Adaptor-Solder-Type-Socket-/260827963537?pt=LH_DefaultDomain_0&hash=item3cba8ee091 |Cheap model on Ebay]]| |256|LED 3mm or rectangular (2x5x7mm)|LED1->LED256|[[http://www.reichelt.de/LEDs-standard-hell/LED-3MM-RT/3/index.html?;ACTION=3;LA=446;ARTICLE=10228;GROUPID=3018;artnr=LED+3MM+RT|LED 3MMRT]]|-|Reichelt model recommended|\\ ====LED black list==== Since Tk discovered a [[http://midibox.org/forums/topic/17378-control-surface-pcb-for-16-encodersledrings-bulk-order/page-12#entry154421|brightness problem]] with some rectangular 5x2x7mm LEDs, we found useful to create a list of LEDs wich are successfully or unsuccessfully tested. Members are welcome to edit this page to add their LED feedback. ^Model^Type^Mcd^Link^Good^Not good^With ULNs^Author^ |Kingbright WP103HD|2x5x7mm rectangular| 2 |[[http://fr.mouser.com/ProductDetail/Kingbright/WP103HD/?qs=sGAEpiMZZMs4quMj8r4lmhjquLrW8G4%252b6fJ5ym%2fib3s%3d |Mouser]]| | X | ? |Tk| |LED 3MM RT|3mm round| 1.3>5 |[[http://www.reichelt.de/LEDs-standard-hell/LED-3MM-RT/3/index.html?;ACTION=3;LA=446;ARTICLE=10228;GROUPID=3018;artnr=LED+3MM+RT |Reichelt]]| X | | ? |Tk| |"10001"|2x5x7mm rectangular| ? |[[http://www.auspiciousmall.com/index.php?main_page=product_info&cPath=78_1_2&products_id=19 |auspiciousmall.com]]| X | X | No(prototype) |Fairlightiii| |Kingbright L-934ID|3mm round| 25 |[[http://www.segor.de/#Q=LED%203%20rt%20diffus%2050mcd%20630 |Segor Electronics]]| X | | ? |rvlt| |Kingbright WP132XID|3mm round| 10>25 |[[http://fr.mouser.com/ProductDetail/Kingbright/WP132XID/?qs=sGAEpiMZZMs4quMj8r4lmsNxrQ0ZQMdoZ/c/v7yOhNA= |Mouser]]| X | | No |grizz| |Kingbright WP132XID|3mm round| 10>25 |[[http://de.mouser.com/ProductDetail/Kingbright/WP132XID/?qs=sGAEpiMZZMs4quMj8r4lmsNxrQ0ZQMdoZ%2fc%2fv7yOhNA%3d |Mouser]]| | X | Yes |MaG2k| |Kingbright WP113SRDT|2x5x7mm rectangular| 36>60 |[[http://de.mouser.com/ProductDetail/Kingbright/WP113SRDT/?qs=%2fha2pyFadugD%2fTsmQfHeoZzOEu7l2adZD53TPtc4aU1OtJcXIaccXQ%3d%3d |Mouser]]| | X | Yes |MaG2k| |smashTV is selling|3mm round| ? |[[http://www.avishowtech.com/buy.html |smashTV]]| | X | Yes |MaG2k| |Tayda Electronics|3mm round| ? |[[http://www.taydaelectronics.com/leds/round-leds/3mm-leds/led-3mm-red.html |Tayda Electronics]]| X | | Yes |MaG2k| //Note: Regarding condition of each test (ambient luminosity, etc...) and sensibility of each person, this results should be taken with reserve.// ====Components==== ==LEDs & LEDring== Each LEDring is composed of 16 LEDs: 15 on the LEDring itself and one on the lowest part of the LEDring. Thorsten advised me about this type of implementation (odd number of LEDs) because it is an [[http://www.dolphinmusic.co.uk/shop_image/product/3711-nord-lead-3-rack-large.jpg|industry standard]] and to have better feedback for some controls (PAN//oramic// e.g.). Note that the lowest LED (LED1 in the drawing below) is not at the same distance (459 mils) of the center of the encoder than the other LEDs of the LEDring (610 mils). You can use 3mm LEDs or 2x5x7mm rectangular LEDs (because the different angles of the LEDs in the LEDring) or all other LED with 0.1 inch (2,54 mm) leads spacing.\\ //There's not enough space for 5mm LEDs.// |{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/LEDring_MB-LRE8x2CS_Rev4.6.png |LEDring}}| The LED polarity: the cathode (short leg) has to show to the center of the LED ring: |{{http://www.ucapps.de/midibox_ng/lre8x2_led_polarity.jpg |LED polarity}}| In this revision (4.6) the silkscreen of the LEDring#1 indicate the "+" (anode) and the "-" (cathode). ==Encoder== You can use 16mm "standard" encoders (ALPS STEC16, Bourns PEC16-4xxxF-Nxxxx series, encoders sell by [[http://www.voti.nl/winkel/catalog.html?SW-ROT-01|voti]], ...).\\ You can use instead PEC16-4xxxF-Sxxxx series (with built-in switch). Probably others built-in switch encoders comply the PCB footprint but you have compare their [[http://www.bourns.com/pdfs/pec16.pdf|datasheets]].\\ ==16 pins SIL header== If you use switched encoders, one of the two pins of the built-in switch is grounded while the other pin is connected to a pin of this SIL connector. The silkscreen include the name of each switch. ==2x5 pins DIL headers== They are 1:1 with J8/J9 of Core8/Core32/LPC17 so you can use practical [[http://www.bikeland.info/images/ecu/idc001.jpg |IDC female Connector]] or still more easier [[https://dlnmh9ip6v2uc.cloudfront.net/images/products/8/5/3/5/CAB-08535-03-L.jpg |pre-built 2x5 Pin IDC Ribbon Cable]]. Be careful to the [[http://midibox.org/forums/topic/17378-control-surface-pcb-for-16-encodersledrings-bulk-order/page-11#entry154303|connection to the MBHP_CORE_LPC17 module]] because it could be confusing, since the SO pin of J8/9 has to be connected to the SI pin of the LRE2x8 board, and SI to the SO pin (for MBHP_DOUT/DIN we usually have the same names for these signals, this detail has been overlooked). //All should be OK in this revision.// |{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/IDC.png |IDC}}| ==ULN2803== This component provide more current to the matrix LED than the 74HC595 shift registers can and improve the brightness of the LEDs.\\ Thorsten made deepest tests on this component and he conclued that it improves greatly the current toward the LEDs matrix so it is now highly recommanded to use them. ==10kOhm 6 Pin SIL resistor network== Be careful when sourcing SIL resistor networks because a 6 Pin SIL resistor network can be 5 commoned resistors (what you need here) or __3__ independant resistors. A dot on the silkcreen prevent to solder upside-down the resistor networks (a dot is also indicated on the resistor network). ==Polarized Electrolytic Capacitor 100 uF== It is the only polarized cap of the board. The silkscreen indicate the "+" and "-" signs on the board. ====Diagram interconnection==== ==One board connection== |{{http://jeromebo.free.fr/Wiki/1boardconnection.png?800 |Diagram interconnection}}| Only one 2x5 Pin IDC Ribbon Cable is necessary to connect the board. |{{http://www.ucapps.de/midibox_ng/lre8x2_core_connection.jpg?800 |}}| ==Global interconnection== |{{http://jeromebo.free.fr/Wiki/Diagram_interconnection.png?800 |Diagram interconnection}}| You can download a better definition version [[http://jeromebo.free.fr/Wiki/Diagram_interconnection.pdf |here]]. You can chain up to **8** //(the drawing above indicates 4)// of this board (MIDIbox NG). You only have to connect the "OUT" connector to the "IN" connector of the following board. You can connect yours extra DIN/DOUT modules before ("IN" connector) or after ("OUT" connector). ====Software configuration==== I refer you to the threads opened by Thorsten about the configuration of the MIOS in [[http://midibox.org/forums/topic/17543-project-single-lre8x2/|single context]] and [[ http://midibox.org/forums/topic/17576-project-lre8x2x4/|4 boards chained together]]. ====Frontpanel *.SVG files==== This is 2 useful files if you want making a frontpanel: |[[http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/MB-LRE8x2CS_Rev4.6_3mm_LED.svg |3mm round LEDs]]: (6x) 3mm mounting holes + (16x) 10mm encoder holes + (256x) 3mm LED holes.| |{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/MB-LRE8x2CS_Rev4.6_3mm_LED.png?800 |3mm_LED}}| |[[http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/MB-LRE8x2CS_Rev4.6_2x5_LED.svg |2x5x7 rectangular LEDs]]: (6x) 3mm mounting holes + (16x) 10mm encoder holes + (256x) 2x5mm LED holes.| |{{http://jeromebo.free.fr/Wiki/MB-LRE8x2CS_Rev4.6/MB-LRE8x2CS_Rev4.6_2x5_LED.png?800 |2x5_LED}}| Consult your datasheet to check if the opening dimension fit your LED. -------------------------------------------------------------- //I provide all this information without warranty.// **Feel free to contact me to make corrections.** -------------------------------------------------------------- Jerome aka Fairlightiii.