Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 3 of 3 < 1 2 3
Topic Options
#219028 - 16/03/2006 23:47 Re: The translucent button effort - in Projects [Re: n2toh]
Snowshoe
new poster

Registered: 04/04/2004
Posts: 16
Loc: Midwest
Firstly if it can be done I'd probably do it to mine, just bc I like to do things to it. Funny as it sounds I like using a magnifying glass to solder hair thickness wires & grains of filtered sand components.
Quote:
I'm pondering is if I should make the 4 RGB LEDs for the knob a single addressable location or seperate

Personally speaking a single location would be just fine, no reason to make it more complicated than it already sounds.

Top
#219029 - 17/03/2006 00:07 Re: The translucent button effort - in Projects [Re: Snowshoe]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Oh, you've got to make them separate. We could have funky circular effects then!

I thought about doing something like this a couple of years back, but never got time to get past the dreaming about it stage. Those tiny leds weren't available then either,
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#219030 - 17/03/2006 00:33 Re: The translucent button effort - in Projects [Re: genixia]
n2toh
journeyman

Registered: 29/01/2001
Posts: 89
Loc: New Jersey, United States
Quote:
Oh, you've got to make them separate. We could have funky circular effects then!

I thought about doing something like this a couple of years back, but never got time to get past the dreaming about it stage. Those tiny leds weren't available then either,


yea I thought so... I'll wire them so they can be individually addressed, but treat them as one for now.

A few years ago I considered making a color based 4x4 keypad for a security app, but at that time RGB LEDs were only sold in 5mm T1 3/4 packages and I was unwilling to shell out the money for tooling to make lite piped push button keys.

from my perspective the expensive part of this project (the crystal buttons) is already done.

NOTE: I'm writing code for this in another window as I type this. first step is to test with a bicolor LED as I have them in stock.
_________________________
The only difference between science fiction and reality is about 60 years.
100GB MK2 Green 080000171 + OEM tuner
v3.00a11 hijack v450 jEmpload v70

Top
#219031 - 17/03/2006 01:29 Re: The translucent button effort - in Projects [Re: n2toh]
FireFox31
pooh-bah

Registered: 19/09/2002
Posts: 2494
Loc: East Coast, USA
n2toh, welcome back to the boards. I've enjoyed reading your recent flood of empeg ideas. You never know when one of those ideas will catch on and become reality.

I know nothing about electrical engineering and next to nothing about empeg coding. So, I'll just cheer you on and hope that you get something worked out. Good luck.

Haha, Simon on the empeg, using the default beeps as tones. I'd probably shatter my display board from over reacting and slamming the buttons too wildly.
_________________________
-
FireFox31
110gig MKIIa (30+80), Eutronix lights, 32 meg stacked RAM, Filener orange gel lens, Greenlights Lit Buttons green set

Top
#219032 - 17/03/2006 18:14 Re: The translucent button effort - in Projects [Re: tman]
n2toh
journeyman

Registered: 29/01/2001
Posts: 89
Loc: New Jersey, United States
Is there anything in the empeg that can be used as an SPI interface?
_________________________
The only difference between science fiction and reality is about 60 years.
100GB MK2 Green 080000171 + OEM tuner
v3.00a11 hijack v450 jEmpload v70

Top
#219033 - 17/03/2006 19:06 Re: The translucent button effort - in Projects [Re: n2toh]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Quote:
Is there anything in the empeg that can be used as an SPI interface?

Nope. All the GPIOs are used. Disconnecting them would mean you lose functionality.

Top
#219034 - 17/03/2006 23:32 Re: The translucent button effort - in Projects [Re: tman]
n2toh
journeyman

Registered: 29/01/2001
Posts: 89
Loc: New Jersey, United States
Quote:
Quote:
Is there anything in the empeg that can be used as an SPI interface?

Nope. All the GPIOs are used. Disconnecting them would mean you lose functionality.


OK thank you

I'll have to find a work around to implement ISP ability.
_________________________
The only difference between science fiction and reality is about 60 years.
100GB MK2 Green 080000171 + OEM tuner
v3.00a11 hijack v450 jEmpload v70

Top
#219035 - 18/03/2006 19:08 Re: The translucent button effort - in Projects [Re: tman]
n2toh
journeyman

Registered: 29/01/2001
Posts: 89
Loc: New Jersey, United States
Update on the RGB+UV buttons project.

I'm doing a bit of research on how to implement the LED drivers, This is what I have so far.

possible solutions for driving the LEDs required.

1. a TI TLC5940 or TLC5941(this 12 bit PWM allows the most control over each LED, but uses an SPI interface)
2. a Philips PCA9532 (only 8 bit PWM and it has an i2c interface.)
3. a Maxim MAX6964 (only 8 bit PWM and worse the top 4 bits are global to all LEDs, but also has an i2c interface.)
4. use an ATMEL uC (this requires coding and debugging and is limited to 10 bit PWM on most chips.)
5. a Philips PCA9533; 4-bit I²C LED dimmer (this is only a 4 channel driver)

solution 1 requires a chip to convert i2c to SPI.
solutions 1,2,3 require two chips to control 32 LEDs, omitting the UV LEDs would allow a single chip solution and the knob to be controlled as a single location.

solution 4 may be done with one chip, but a two chip solution solves the ISP problem.
solution 5 would control all locations at once, also like colors need to be wired in series.)
_________________________
The only difference between science fiction and reality is about 60 years.
100GB MK2 Green 080000171 + OEM tuner
v3.00a11 hijack v450 jEmpload v70

Top
#219036 - 18/03/2006 19:39 Re: The translucent button effort - in Projects [Re: n2toh]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
I wonder if any of the Ring'O'Lights technology would be useful here. Does anyone know how how those are normally driven?

-ml

Top
#219037 - 18/03/2006 20:12 Re: The translucent button effort - in Projects [Re: mlord]
n2toh
journeyman

Registered: 29/01/2001
Posts: 89
Loc: New Jersey, United States
Quote:
I wonder if any of the Ring'O'Lights technology would be useful here. Does anyone know how how those are normally driven?

-ml


I see what you mean neat pic I'm guessing the ring is only on the MK2a?

I also found some chips that may allow the LEDs to be operated from the 1 wire bus, but you would need 3 of them per RGB LED plus some other parts. EDIT: the DS2890 is no bargain at $2.07 each in quantity of 240 from Digi key.

a few ideas for the LED configurations the first example uses two driver chips, and the second only one.

PWM channel 00 top button red
PWM channel 01 top button green
PWM channel 02 top button blue
PWM channel 03 right button red
PWM channel 04 right button green
PWM channel 05 right button blue
PWM channel 06 down button red
PWM channel 07 down button green
PWM channel 08 down button blue
PWM channel 09 left button red
PWM channel 10 left button green
PWM channel 11 left button blue
PWM channel 12 top button ultraviolet or knob red
PWM channel 13 right button ultraviolet or knob green
PWM channel 14 down button ultraviolet or knob blue
PWM channel 15 left button ultraviolet or global 4th color or the unused pin can be used as a generial I\O pin.


Edited by n2toh (19/03/2006 16:02)

Top
#219038 - 21/03/2006 19:11 Re: The translucent button effort - in Projects [Re: tman]
n2toh
journeyman

Registered: 29/01/2001
Posts: 89
Loc: New Jersey, United States
What are the available addresses on the I2C bus in the empeg?
_________________________
The only difference between science fiction and reality is about 60 years.
100GB MK2 Green 080000171 + OEM tuner
v3.00a11 hijack v450 jEmpload v70

Top
Page 3 of 3 < 1 2 3