User Tools

Site Tools


fadercore_-_vlr-3x8but

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
Last revisionBoth sides next revision
fadercore_-_vlr-3x8but [2014/07/27 21:55] novskifadercore_-_vlr-3x8but [2014/07/27 22:15] novski
Line 35: Line 35:
   * 2x10pin Header, 517-30310-6002                                                                                                                     * 2x10pin Header, 517-30310-6002                                                                                                                  
   * 5x100nF,594-K104K15X7RF53K2    * 5x100nF,594-K104K15X7RF53K2 
-  * 2x10k, 774-77061103P         +  * 2x10k Network, 774-77061103P         
-  * 3x220R, 652-4816P-T1LF-220                                                                                         +  * 3x220R Array, 652-4816P-T1LF-220                                                                                         
   * 1x74HC165D, 771-HC165D652   * 1x74HC165D, 771-HC165D652
   * 4x74HC595D, 771-74HC595D                                                    * 4x74HC595D, 771-74HC595D                                                 
-  * 24xLED RGB, +  * 24xLED RGB, 604-WP154A4SUREQBFZW 
 +  * 24x1N4148, 512-1N4148TR
  
-Project Order Basket on Mouser: [[http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=a6dbae9ab7]]+Project Order Basket on Mouser: [[http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=1f42b04e6d]]
  
-The PCB is available under: [[http://vlrlab.com/lang/17-8enc.html]] +The PCB is available under: [[]]
- +
-  * 8 Encoder, 652-PEL12T4226FS1024 **not on Projectlist because i deliver cheaper and with cap included..** +
-The Encoder on VLRlabs.com [[https://www.vlrlab.com/encoder/13-bourns-rgb-led-encoder.html]]+
  
  
Line 55: Line 53:
  
 ==== Prepare the PCB ==== ==== Prepare the PCB ====
-Start with the SMD parts and then go on the the conventional parts also on the Bottom side. Don't forget the R11,12,13+Start with the SMD parts and then go on the the conventional parts also on the Bottom side. 
-Then go on with the Topside and the LEDs before soldering the Encoder as last.+Then go on with the Topside and the LEDs.
 Check the Connections with a Lens. Check the Connections with a Lens.
  
 ==== Prepare the Connection ==== ==== Prepare the Connection ====
  
-Connect the core on J8/9 to J1 of the VLR-8Enc board.+Connect the core on J8/9 to J1 of the VLR-3x8But board.
  
 ==== Test it in MIOS ==== ==== Test it in MIOS ====
- +\\ 
-To make it work with MIOS .NGC  File we need to know how the shift-registers are connected. +To make it work with MIOS .NGC  File we need to know how the shift-registers are connected.\\ 
 +\\
 **Inputs:**\\ **Inputs:**\\
-1# Encoder         1-4\\ +1# Switch Columns  1-8\\ 
-2# Encoder         5-8\\ +\\
-3# Encoder Button  1-8\\ +
 **Outputs:**\\ **Outputs:**\\
-1# RED Shaft LED   1-8\\ +1# ROW Outputs     1-6\\ 
-2# GREEN shaft LED 1-8\\ +2# RED LEDs        1-8\\ 
-3# BLUE shaft LED  1-8\\ +3# GREEN LEDs      1-8\\ 
-4# LED Ring Row    1-8\\ +4# BLUE LEDs       1-8\\ 
-5# LED Ring Selct  1-8\\ +\\ 
-6# LED Ring Select 9-11\\ +Assuming that the VLR-3x8But is the first device on the chain of J8/9 we need to configure it like this:\\
- +
-Assuming that the VLR-8Enc is the first device on the chain of J8/9 we need to configure it like this:+
 \\ \\
 RESET_HW\\ RESET_HW\\
Line 86: Line 80:
 LCD "%C"\\ LCD "%C"\\
 \\ \\
-# Encoder configuration\\+LCD "@(1:1:1)OLED1"\\ 
 +LCD "@(2:1:1)OLED2"\\ 
 +LCD "@(3:1:1)OLED3"\\ 
 +LCD "@(4:1:1)OLED4"\\ 
 +LCD "@(5:1:1)OLED5"\\ 
 +LCD "@(6:1:1)OLED6"\\ 
 +LCD "@(7:1:1)OLED7"\\ 
 +LCD "@(8:1:1)OLED8"\\
 \\ \\
-ENC n=  1   sr=1 pins=0:  type=detented2\\ +# In this demo we configure individual brightness levels for the LEDs from EVENT_BUTTON events\\
-ENC n=  2   sr=1 pins=2:  type=detented2\\ +
-ENC n=  3   sr=1 pins=4:  type=detented2\\ +
-ENC n=  4   sr=1 pins=6:  type=detented2\\ +
-ENC n=  5   sr=2 pins=0:  type=detented2\\ +
-ENC n=  6   sr=2 pins=2:  type=detented2\\ +
-ENC n=  7   sr=2 pins=4:  type=detented2\\ +
-ENC n=  8   sr=2 pins=6:  type=detented2\\+
 \\ \\
-# LEDring configuration\\ +LCD "@(1:10:1)RGB Demo #2"\\
-DOUT_MATRIX n=  rows=16 mirrored_row=0 inverted_sel=sr_dout_sel1= 4  sr_dout_sel2= 0 sr_dout_r1= 5 sr_dout_r2= 6\\+
 \\ \\
-# Encoder events\\ +DIN_MATRIX  n=1  rows= sr_dout_sel1=1  sr_din1=1                     button_emu_id_offset=1001\\ 
-EVENT_ENC id= 1  fwd_id=LED_MATRIX:  type=CC chn= 1 cc= 24  lcd_pos=1:1:2 label="^std_enc" LED_MATRIX_PATTERN=2\\ +DOUT_MATRIX n=1  rows=4  sr_dout_r1=2    sr_dout_g1=3 sr_dout_b1=4     led_emu_id_offset=1025\\
-EVENT_ENC id= 2  fwd_id=LED_MATRIX:  type=CC chn= 1 cc= 25  lcd_pos=2:1:2 label="^std_enc" LED_MATRIX_PATTERN=2\\ +
-EVENT_ENC id= 3  fwd_id=LED_MATRIX:  type=CC chn= 1 cc= 26  lcd_pos=3:1:2 label="^std_enc" LED_MATRIX_PATTERN=2\\ +
-EVENT_ENC id= 4  fwd_id=LED_MATRIX:  type=CC chn= 1 cc= 27  lcd_pos=4:1:2 label="^std_enc" LED_MATRIX_PATTERN=2\\ +
-EVENT_ENC id= 5  fwd_id=LED_MATRIX:  type=CC chn= 1 cc= 28  lcd_pos=5:1:2 label="^std_enc" LED_MATRIX_PATTERN=2\\ +
-EVENT_ENC id= 6  fwd_id=LED_MATRIX:  type=CC chn= 1 cc= 29  lcd_pos=6:1:2 label="^std_enc" LED_MATRIX_PATTERN=2\\ +
-EVENT_ENC id= 7  fwd_id=LED_MATRIX:  type=CC chn= 1 cc= 30  lcd_pos=7:1:2 label="^std_enc" LED_MATRIX_PATTERN=2\\ +
-EVENT_ENC id= 8  fwd_id=LED_MATRIX:  type=CC chn= 1 cc= 31  lcd_pos=8:1:2 label="^std_enc" LED_MATRIX_PATTERN=2\\+
 \\ \\
-Encoder Buttons\\+These button functions forward their value also to LEDs\\ 
 +# it's possible to set the rgb levels in the button event, it will be forwarded as well!\\
 \\ \\
-EVENT_BUTTON   id=117     hw_id=17   fwd_id=LED: type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=1:1:label="R^std_btn"\\ +EVENT_BUTTON  id=1001  fwd_id=LED:1025  type=NoteOn key=36 chn=1  rgb=15:0:lcd_pos=1:1:label="^std_btn"\\ 
-EVENT_BUTTON   id=117     hw_id=17   fwd_id=LED:16 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=1:1:4 label="G^std_btn"\\ +EVENT_BUTTON  id=1002  fwd_id=LED:1026  type=NoteOn key=37 chn=1  rgb=15:0:0 lcd_pos=2:1:2 label="^std_btn"\\ 
-EVENT_BUTTON   id=117     hw_id=17   fwd_id=LED:24 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=1:1:label="B^std_btn"\\+EVENT_BUTTON  id=1003  fwd_id=LED:1027  type=NoteOn key=38 chn=1  rgb=15:0:lcd_pos=3:1:2 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1004  fwd_id=LED:1028  type=NoteOn key=39 chn= rgb=15:0:0 lcd_pos=4:1:2 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1005  fwd_id=LED:1029  type=NoteOn key=40 chn=1  rgb=15:0:0 lcd_pos=5:1:2 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1006  fwd_id=LED:1030  type=NoteOn key=41 chn=1  rgb=15:0:0 lcd_pos=6:1:2 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1007  fwd_id=LED:1031  type=NoteOn key=42 chn=1  rgb=15:0:lcd_pos=7:1:2 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1008  fwd_id=LED:1032  type=NoteOn key=43 chn= rgb=15:0:0 lcd_pos=8:1:label="^std_btn"\\
 \\ \\
-EVENT_BUTTON   id=118     hw_id=18   fwd_id=LED: type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=2:1:3 label="R^std_btn"\\ +EVENT_BUTTON  id=1009  fwd_id=LED:1033  type=NoteOn key=52 chn=1  rgb=0:15:lcd_pos=1:1:3 label="^std_btn"\\ 
-EVENT_BUTTON   id=118     hw_id=18   fwd_id=LED:15 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=2:1:4 label="G^std_btn"\\ +EVENT_BUTTON  id=1010  fwd_id=LED:1034  type=NoteOn key=53 chn=1  rgb=0:15:lcd_pos=2:1:3 label="^std_btn"\\ 
-EVENT_BUTTON   id=118     hw_id=18   fwd_id=LED:23 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=2:1:label="B^std_btn"\\+EVENT_BUTTON  id=1011  fwd_id=LED:1035  type=NoteOn key=54 chn=1  rgb=0:15:lcd_pos=3:1:3 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1012  fwd_id=LED:1036  type=NoteOn key=55 chn= rgb=0:15:0 lcd_pos=4:1:3 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1013  fwd_id=LED:1037  type=NoteOn key=56 chn=1  rgb=0:15:0 lcd_pos=5:1:3 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1014  fwd_id=LED:1038  type=NoteOn key=57 chn=1  rgb=0:15:0 lcd_pos=6:1:3 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1015  fwd_id=LED:1039  type=NoteOn key=58 chn=1  rgb=0:15:0 lcd_pos=7:1:3 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1016  fwd_id=LED:1040  type=NoteOn key=59 chn=1  rgb=0:15:lcd_pos=8:1:label="^std_btn"\\
 \\ \\
-EVENT_BUTTON   id=119     hw_id=19   fwd_id=LED: type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=3:1:label="R^std_btn"\\ +EVENT_BUTTON  id=1017  fwd_id=LED:1041  type=NoteOn key=68 chn=1  rgb=0:0:15 lcd_pos=1:1:4 label="^std_btn"\\ 
-EVENT_BUTTON   id=119     hw_id=19   fwd_id=LED:14 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=3:1:4 label="G^std_btn"\\ +EVENT_BUTTON  id=1018  fwd_id=LED:1042  type=NoteOn key=69 chn=1  rgb=0:0:15 lcd_pos=2:1:4 label="^std_btn"\\ 
-EVENT_BUTTON   id=119     hw_id=19   fwd_id=LED:22 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=3:1:label="B^std_btn"\\+EVENT_BUTTON  id=1019  fwd_id=LED:1043  type=NoteOn key=70 chn=1  rgb=0:0:15 lcd_pos=3:1:label="^std_btn"\\ 
 +EVENT_BUTTON  id=1020  fwd_id=LED:1044  type=NoteOn key=71 chn=1  rgb=0:0:15 lcd_pos=4:1:4 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1021  fwd_id=LED:1045  type=NoteOn key=72 chn=1  rgb=0:0:15 lcd_pos=5:1:4 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1022  fwd_id=LED:1046  type=NoteOn key=73 chn=1  rgb=0:0:15 lcd_pos=6:1:4 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1023  fwd_id=LED:1047  type=NoteOn key=74 chn=1  rgb=0:0:15 lcd_pos=7:1:4 label="^std_btn"\\ 
 +EVENT_BUTTON  id=1024  fwd_id=LED:1048  type=NoteOn key=75 chn=1  rgb=0:0:15 lcd_pos=8:1:label="^std_btn"\\
 \\ \\
-EVENT_BUTTON   id=120     hw_id=20   fwd_id=LED:5  type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=4:1:3 label="R^std_btn"\\ +Im using my VLR-8oDisp board to show the Values of every item. You can change it to any other type of Display-setting... lcd_pos=6:1:5 {6=Display number : 1= X-axis : 5= Y-Axis (row)}
-EVENT_BUTTON   id=120     hw_id=20   fwd_id=LED:13 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=4:1:4 label="G^std_btn"\\ +
-EVENT_BUTTON   id=120     hw_id=20   fwd_id=LED:21 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=4:1:5 label="B^std_btn"\\ +
-\\ +
-EVENT_BUTTON   id=121     hw_id=21   fwd_id=LED: type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=5:1:3 label="R^std_btn"\\ +
-EVENT_BUTTON   id=121     hw_id=21   fwd_id=LED:12 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=5:1:4 label="G^std_btn"\\ +
-EVENT_BUTTON   id=121     hw_id=21   fwd_id=LED:20 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=5:1:5 label="B^std_btn"\\ +
-\\ +
-EVENT_BUTTON   id=122     hw_id=22   fwd_id=LED: type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=6:1:3 label="R^std_btn"\\ +
-EVENT_BUTTON   id=122     hw_id=22   fwd_id=LED:11 type=cc   chn=  cc=15   range=0:127    button_mode=OnOff lcd_pos=6:1:4 label="G^std_btn"\\ +
-EVENT_BUTTON   id=122     hw_id=22   fwd_id=LED:19 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=6:1:5 label="B^std_btn"\\ +
-\\ +
-EVENT_BUTTON   id=123     hw_id=23   fwd_id=LED: type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=7:1:3 label="R^std_btn"\\ +
-EVENT_BUTTON   id=123     hw_id=23   fwd_id=LED:10 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=7:1:4 label="G^std_btn"\\ +
-EVENT_BUTTON   id=123     hw_id=23   fwd_id=LED:18 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=7:1:5 label="B^std_btn"\\ +
-\\ +
-EVENT_BUTTON   id=124     hw_id=24   fwd_id=LED: type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=8:1:3 label="R^std_btn"\\ +
-EVENT_BUTTON   id=124     hw_id=24   fwd_id=LED: type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=8:1:4 label="G^std_btn"\\ +
-EVENT_BUTTON   id=124     hw_id=24   fwd_id=LED:17 type=cc   chn=1   cc=15   range=0:127    button_mode=OnOff lcd_pos=8:1:5 label="B^std_btn"\\ +
-\\ +
-LED_MATRIX_PATTERN n=2  pos= 0  pattern=1111110000000000\\ +
-LED_MATRIX_PATTERN n=2  pos= 1  pattern=0111110000000000\\ +
-LED_MATRIX_PATTERN n=2  pos= 2  pattern=0011110000000000\\ +
-LED_MATRIX_PATTERN n=2  pos= 3  pattern=0001110000000000\\ +
-LED_MATRIX_PATTERN n=2  pos= 4  pattern=0001110000000000\\ +
-LED_MATRIX_PATTERN n=2  pos= 5  pattern=0000110000000000\\ +
-LED_MATRIX_PATTERN n=2  pos= 6  pattern=0000010000000000\\ +
-LED_MATRIX_PATTERN n=2  pos= M  pattern=0000111000010000\\ +
-LED_MATRIX_PATTERN n=2  pos= 8  pattern=0000010000000000\\ +
-LED_MATRIX_PATTERN n=2  pos= 9  pattern=0000011000000000\\ +
-LED_MATRIX_PATTERN n=2  pos=10  pattern=0000011000000000\\ +
-LED_MATRIX_PATTERN n=2  pos=11  pattern=0000011100000000\\ +
-LED_MATRIX_PATTERN n=2  pos=12  pattern=0000011110000000\\ +
-LED_MATRIX_PATTERN n=2  pos=13  pattern=0000011110000000\\ +
-LED_MATRIX_PATTERN n=2  pos=14  pattern=0000011111000000\\+
  
-Im using my VLR-8oDisp board to show the Values of every item. You can change it to any other type of Display-setting... lcd_pos=6:1:5 {6=Display number : 1= X-axis : 5= Y-Axis (row)}+For any Comment or QuestionForum Thread???
fadercore_-_vlr-3x8but.txt · Last modified: 2014/07/28 07:31 by novski