fadercore_-_vlr-3x8but
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
fadercore_-_vlr-3x8but [2014/07/27 21:41] – novski | fadercore_-_vlr-3x8but [2014/07/28 07:31] (current) – novski | ||
---|---|---|---|
Line 8: | Line 8: | ||
A PCB to add 24 Buttons with RGB LEDs for each. | A PCB to add 24 Buttons with RGB LEDs for each. | ||
- | {{: | + | {{: |
- | {{: | + | {{: |
Eagle Files: [[https:// | Eagle Files: [[https:// | ||
- | {{: | + | {{: |
- | {{: | + | {{: |
==== BOM ==== | ==== BOM ==== | ||
Line 23: | Line 23: | ||
And look for Local dealers preferred. [[http:// | And look for Local dealers preferred. [[http:// | ||
- | == The Encoders | + | == The Buttons |
- | I was fascinated | + | I thaught a long time about how to make a Button PCB that does not explode in material cost. |
- | Its not the cheapest but i sell them for a reasonable price. | + | The best solution was to buy rubberbuttons from Sparkfun and cut them because |
- | + | ||
- | **And its still possible to use a non Illuminated Encoder.** | + | you will need two of them: |
+ | [[https:// | ||
== The other Materials: Mouser == | == The other Materials: Mouser == | ||
- | * 2x10pin Header, 517-30310-6002 | + | * 2x10pin Header, 517-30310-6002 |
- | * 2xULN2803, 595-ULN2803ADWR | + | * 5x100nF, |
- | * 9x100nF, | + | * 2x10k Network, 774-77061103P |
- | * 6x10k, 774-77061103P | + | * 3x220R Array, 652-4816P-T1LF-220 |
- | * 4x220, 652-4816P-T1LF-220 | + | * 1x74HC165D, 771-HC165D652 |
- | * 3x220, 660-MF1/ | + | * 4x74HC595D, 771-74HC595D |
- | * 3x74HC165D, 771-HC165D652 | + | * 24xLED RGB, 604-WP154A4SUREQBFZW |
- | * 3x74HC595D, 771-74HC595D | + | * 24x1N4148, 512-1N4148TR |
- | * 3xTPIC6B595, | + | |
- | * 88xLED RED, 604-WP3A8HD | + | |
- | * 88xLED holder 6mm Height, 749-ELM-5-6MM | + | |
- | Project Order Basket on Mouser: [[http:// | + | Project Order Basket on Mouser: [[http:// |
- | The PCB is available under: | + | The PCB is available under: [[https:// |
- | + | ||
- | * 8 Encoder, 652-PEL12T4226FS1024 **not on Projectlist because i deliver cheaper and with cap included..** | + | |
- | The Encoder on VLRlabs.com | + | |
Line 58: | 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 |
==== 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# Switch Columns |
- | 2# Encoder | + | \\ |
- | 3# Encoder Button | + | |
**Outputs: | **Outputs: | ||
- | 1# RED Shaft LED 1-8\\ | + | 1# ROW Outputs |
- | 2# GREEN shaft LED 1-8\\ | + | 2# RED LEDs |
- | 3# BLUE shaft LED | + | 3# GREEN LEDs |
- | 4# LED Ring Row | + | 4# BLUE LEDs 1-8\\ |
- | 5# LED Ring Selct 1-8\\ | + | \\ |
- | 6# LED Ring Select 9-11\\ | + | Assuming that the VLR-3x8But |
- | + | ||
- | 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 89: | Line 80: | ||
LCD " | LCD " | ||
\\ | \\ | ||
- | # Encoder configuration\\ | + | LCD " |
+ | LCD " | ||
+ | LCD " | ||
+ | LCD " | ||
+ | LCD " | ||
+ | LCD " | ||
+ | LCD " | ||
+ | LCD " | ||
\\ | \\ | ||
- | ENC n= 1 sr=1 pins=0: | + | # In this demo we configure individual brightness levels for the LEDs from EVENT_BUTTON events\\ |
- | ENC n= 2 sr=1 pins=2: | + | |
- | ENC n= 3 sr=1 pins=4: | + | |
- | ENC n= 4 sr=1 pins=6: | + | |
- | ENC n= 5 sr=2 pins=0: | + | |
- | ENC n= 6 sr=2 pins=2: | + | |
- | ENC n= 7 sr=2 pins=4: | + | |
- | ENC n= 8 sr=2 pins=6: | + | |
\\ | \\ | ||
- | # LEDring configuration\\ | + | LCD "@(1:10:1)RGB Demo #2"\\ |
- | DOUT_MATRIX n= 1 | + | |
\\ | \\ | ||
- | # Encoder events\\ | + | DIN_MATRIX |
- | EVENT_ENC id= 1 fwd_id=LED_MATRIX:1 type=CC chn= 1 cc= 24 lcd_pos=1:1:2 label=" | + | DOUT_MATRIX n=1 |
- | EVENT_ENC id= 2 fwd_id=LED_MATRIX: | + | |
- | EVENT_ENC id= 3 fwd_id=LED_MATRIX: | + | |
- | EVENT_ENC id= 4 | + | |
- | EVENT_ENC id= 5 fwd_id=LED_MATRIX: | + | |
- | EVENT_ENC id= 6 fwd_id=LED_MATRIX: | + | |
- | EVENT_ENC id= 7 fwd_id=LED_MATRIX: | + | |
- | EVENT_ENC id= 8 fwd_id=LED_MATRIX: | + | |
\\ | \\ | ||
- | # 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 | + | EVENT_BUTTON |
- | EVENT_BUTTON | + | EVENT_BUTTON |
- | EVENT_BUTTON | + | EVENT_BUTTON |
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
\\ | \\ | ||
- | EVENT_BUTTON | + | EVENT_BUTTON |
- | EVENT_BUTTON | + | EVENT_BUTTON |
- | EVENT_BUTTON | + | EVENT_BUTTON |
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
\\ | \\ | ||
- | EVENT_BUTTON | + | EVENT_BUTTON |
- | EVENT_BUTTON | + | EVENT_BUTTON |
- | EVENT_BUTTON | + | EVENT_BUTTON |
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
+ | EVENT_BUTTON | ||
\\ | \\ | ||
- | EVENT_BUTTON | + | Im using my VLR-8oDisp board to show the Values of every item. You can change it to any other type of Display-setting... |
- | EVENT_BUTTON | + | |
- | EVENT_BUTTON | + | |
- | \\ | + | |
- | EVENT_BUTTON | + | |
- | EVENT_BUTTON | + | |
- | EVENT_BUTTON | + | |
- | \\ | + | |
- | EVENT_BUTTON | + | |
- | EVENT_BUTTON | + | |
- | EVENT_BUTTON | + | |
- | \\ | + | |
- | EVENT_BUTTON | + | |
- | EVENT_BUTTON | + | |
- | EVENT_BUTTON | + | |
- | \\ | + | |
- | EVENT_BUTTON | + | |
- | EVENT_BUTTON | + | |
- | EVENT_BUTTON | + | |
- | \\ | + | |
- | 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 | + | |
- | LED_MATRIX_PATTERN n=2 pos=11 | + | |
- | LED_MATRIX_PATTERN n=2 pos=12 | + | |
- | LED_MATRIX_PATTERN n=2 pos=13 | + | |
- | LED_MATRIX_PATTERN n=2 pos=14 | + | |
- | 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 Question: Forum Thread??? |
fadercore_-_vlr-3x8but.1406497294.txt.gz · Last modified: 2014/07/27 21:41 by novski