Poll

having random  leds as well would make it...

really great, like a plasma ball!
3 (33.3%)
be too much.
1 (11.1%)
distracting, so put a switch on.
2 (22.2%)
ugly. (NOOO!)
1 (11.1%)
hard to do, but i'd like to see it.
2 (22.2%)

Total Members Voted: 9

Author Topic: Pressure sensitive, fading leds (PSP)  (Read 6093 times)

in_ducktape_armor

  • Guest
Pressure sensitive, fading leds (PSP)
« on: December 30, 2008, 08:39:39 PM »
 :psp: ok, so i've got this idea. i want to put Pressure sensitive, fading leds in my psp under all my buttons, but don't know how to go about doing it :sadno:, can someone help me out? :beg:

Offline j.s2ghetto

  • Millennium Poster
  • *
  • Posts: 1001
  • Post quality +0/-0
  • Gender: Male
  • GHETTO inside
Re: Pressure sensitive, fading leds (PSP)
« Reply #1 on: December 30, 2008, 10:36:07 PM »
that could work wit the fader and wiring up the buttons some how so when u press it that one lights up but idk if u could just wire to the button itself or need to add something
and it wouldn't fade the way u want it i think it would fade depending on how long u hold it but i think u want it to fade even if u let it go like push fade starts let go fade keeps going till it completely finishes

thank u P3nnywise for the sig
"See you have to understand the difference. The difference between me and you is to you, this is your job. To me, this is my life. The club; that's my job. The mall; that's my job. Your neighborhood; that's my job. This studio; this is my life. This is what I do better than anything."

Offline bustinthejustin

  • Registered BST
  • E = MC² Mad Scientist
  • *
  • Posts: 2326
  • Post quality +1/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #2 on: December 30, 2008, 10:49:54 PM »
Hmmm Ghetto is on to something. I think he's right. There are pinouts to all the positive signal points on the buttons (or is it ground? Idk I have no clue, not much electronics knowledge...). You'd probably need two faders for each individual trigger. Then, you wire up the positive of the fader to your R/L trigger, and then ground it. Then whenever you press the trigger, it'll start fading. When you let go, it'd stop. I don't know how you would wire it up to make it keep going, and I don't even know if my wiring idea would work O_O

Sig by Kenshinffx - Thanks!

Offline Alien_X

  • Club AM VIP
  • Millennium Poster
  • *
  • Posts: 1010
  • Post quality +3/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #3 on: December 31, 2008, 02:05:53 AM »
A PIC would be best.

And bustinthejustin, you have the wiring the wrong way round, buttons are active low.

Sigs by Alien_X
www.ax-elec.com

in_ducktape_armor

  • Guest
Re: Pressure sensitive, fading leds (PSP)
« Reply #4 on: December 31, 2008, 09:09:46 AM »
that could work wit the fader and wiring up the buttons some how so when u press it that one lights up but idk if u could just wire to the button itself or need to add something
and it wouldn't fade the way u want it i think it would fade depending on how long u hold it but i think u want it to fade even if u let it go like push fade starts let go fade keeps going till it completely finishes

:wacko: yeah, that's exactly what i'm talking about. idk, maybe pushing the button would build up a charge in a capacitor, and then the capacitor would redistribute it to led and slowly fade out depending on how long you pushed it for, i think this would also make it fade in which i'm more than fine with. :dntknw: just an idea (let me remind you all that im total noob). i attempted to draw a (very) basic idea of the concept in paint.



eh?

Offline pm666drummer

  • ♪♪♪ Tone deff ♪♪♪
  • *
  • Posts: 56
  • Post quality +0/-0
  • Gender: Male
    • Myspace
Re: Pressure sensitive, fading leds (PSP)
« Reply #5 on: December 31, 2008, 09:54:12 AM »
A PIC would be best.


Definitely what I was thinking. Or possibly if there is a regular IC you might be able to use that; haven't seen a fader IC mainly since most people want to change the 'pulse' rate
WNxh3av3nlyk1n9
xbox live: WNxheaven

Offline Alien_X

  • Club AM VIP
  • Millennium Poster
  • *
  • Posts: 1010
  • Post quality +3/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #6 on: December 31, 2008, 10:16:48 AM »
:wacko: yeah, that's exactly what i'm talking about. idk, maybe pushing the button would build up a charge in a capacitor, and then the capacitor would redistribute it to led and slowly fade out depending on how long you pushed it for, i think this would also make it fade in which i'm more than fine with. :dntknw: just an idea (let me remind you all that im total noob). i attempted to draw a (very) basic idea of the concept in paint.



eh?

Sorry that wouldn't work, you could wire the led's ground to the button though.

Sigs by Alien_X
www.ax-elec.com

in_ducktape_armor

  • Guest
Re: Pressure sensitive, fading leds (PSP)
« Reply #7 on: December 31, 2008, 10:45:36 AM »
Sorry that wouldn't work, you could wire the led's ground to the button though.
what?

Offline bustinthejustin

  • Registered BST
  • E = MC² Mad Scientist
  • *
  • Posts: 2326
  • Post quality +1/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #8 on: December 31, 2008, 01:27:45 PM »
Wait, so the button points are the button's ground? Meaning if I were to wire up an led to any positive point, and used the button point as ground, it would light up whenever I press the button? I still don't understand buttons   :sadno:

Sig by Kenshinffx - Thanks!

Offline j.s2ghetto

  • Millennium Poster
  • *
  • Posts: 1001
  • Post quality +0/-0
  • Gender: Male
  • GHETTO inside
Re: Pressure sensitive, fading leds (PSP)
« Reply #9 on: December 31, 2008, 01:33:31 PM »
NO the buttons share a ground u would have to use a pic to detect when u press it or something like that i am not an expert on it but i kno that it won't work the way u wanna do it
buttons share gnd but have different + points

thank u P3nnywise for the sig
"See you have to understand the difference. The difference between me and you is to you, this is your job. To me, this is my life. The club; that's my job. The mall; that's my job. Your neighborhood; that's my job. This studio; this is my life. This is what I do better than anything."

Offline Alien_X

  • Club AM VIP
  • Millennium Poster
  • *
  • Posts: 1010
  • Post quality +3/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #10 on: December 31, 2008, 01:43:28 PM »
Wait, so the button points are the button's ground? Meaning if I were to wire up an led to any positive point, and used the button point as ground, it would light up whenever I press the button? I still don't understand buttons   :sadno:

Yup just like that, ignore js2ghetto he is wrong - the buttons are active low!!(  :rofl: ).


See this image I made several months ago:


Sigs by Alien_X
www.ax-elec.com

Offline bustinthejustin

  • Registered BST
  • E = MC² Mad Scientist
  • *
  • Posts: 2326
  • Post quality +1/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #11 on: December 31, 2008, 01:54:57 PM »
Okay that's pretty cool, thanks.

Sig by Kenshinffx - Thanks!

in_ducktape_armor

  • Guest
Re: Pressure sensitive, fading leds (PSP)
« Reply #12 on: December 31, 2008, 02:39:16 PM »
Yup just like that, ignore js2ghetto he is wrong - the buttons are active low!!(  :rofl: ).


See this image I made several months ago:



very helpful thnx. :hifive:

in_ducktape_armor

  • Guest
Re: Pressure sensitive, fading leds (PSP)
« Reply #13 on: December 31, 2008, 07:48:44 PM »
:tup: I GOT IT!!!  :tup:
my uncle gave me some help.
close LED and Capacitor in parallel. the value of the capacitor will effect the speed of discharge. google "RC time constant" to find the equation.
next from what i was reading when you press the button it sends a positive voltage out to a pin.
depending on the voltage this might be enough to power the led if not I'd have to put in a transistor to "switch" on another circuit to power the led from the battery

Offline Alien_X

  • Club AM VIP
  • Millennium Poster
  • *
  • Posts: 1010
  • Post quality +3/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #14 on: January 01, 2009, 01:31:25 AM »
For goodness sake!!!

Why over complicate it?

Just wire the ground of your leds to the buttons, and the positive to the pulse board.


But it is very good that you know what a capacitor is, that majority of people on here don't  :#1:

Anyway, BUTTONS!!!!

The individual button signal pin is an input to a microcontroller. This signal is brought high by the use of a pull up resistor.
When the button is pressed it connects the microcontroller's input pin straight to ground, bypassing the (around 10k) pull up resistor ( we all know electrons take the path of least resistance).

So if you were to read the voltage of one of the psp button signals (pins), when it was open (not pressed) the voltage would be around 2.5-5V (rough figure) and when pressed it would become low (ground voltage level - 0v - 0.8v approx.).

So if you solder the negative of an led straight to the button signal, and the positive to a positive point, when the button is pressed it will supply the ground.

This is all basic MCU logic.

This is how buttons are made to work with cpu's and microcontrollers in the most basic form, there are more advanced ways which utilize logic gates and diodes.. I am not 100 percent sure the psp works with a pull up resistor as aforementioned, since I cannot trace the signals path back to the processor entirely (Because it has multiple signal layers), but the rest is all correct.
« Last Edit: January 31, 2009, 12:40:24 AM by Alien_X »

Sigs by Alien_X
www.ax-elec.com

Offline 123sample

  • Registered BST
  • Who Farted ???
  • *
  • Posts: 231
  • Post quality +1/-0
Re: Pressure sensitive, fading leds (PSP)
« Reply #15 on: January 01, 2009, 06:49:05 AM »
I might try this, looks good XD

Offline bustinthejustin

  • Registered BST
  • E = MC² Mad Scientist
  • *
  • Posts: 2326
  • Post quality +1/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #16 on: January 01, 2009, 12:33:53 PM »
WOW Alien made sense to me! Thank you... Now I somewhat understand buttons :P

Sig by Kenshinffx - Thanks!

in_ducktape_armor

  • Guest
Re: Pressure sensitive, fading leds (PSP)
« Reply #17 on: January 01, 2009, 01:04:32 PM »
For goodness sake!!!

Why over complicate it?

Just wire the ground of your leds to the buttons, and the positive to the pulse board.


But it is very good that you know what a capacitor is, that majority of people on here don't  :#1:

Anyway, BUTTONS!!!!

The individual button signal pin is an input to a microcontroller. This signal is brought high by the use of a pull up resistor.
When the button is pressed it connects the microcontroller's input pin straight to ground, bypassing the 10k pull up resistor ( we all know electrons take the path of least resistance).

So if you were to read the voltage of one of the psp button signals (pins), when it was open (not pressed) the voltage would be around 2.5-5V (rough figure) and when pressed it would become low (ground voltage level - 0v - 0.8v approx.).

So if you solder the negative of an led straight to the button signal, and the positive to a positive point, when the button is pressed it will supply the ground.

This is all basic MCU logic.

thnx, I appreciate input from someone who knows what they're talking about.

in_ducktape_armor

  • Guest
Re: Pressure sensitive, fading leds (PSP)
« Reply #18 on: January 02, 2009, 06:44:12 PM »
Thanks everyone for your input, it was lt all very helpful, i now know how i will do it.  :tup:



GREEN= RESISTOR
BLUE= LED
YELLOW= CAPACITOR

[edit]

i made a mock-up, it works perfectly! :tup:
« Last Edit: January 02, 2009, 06:52:01 PM by in_ducktape_armor »

Offline Slim Hacker

  • Mr PS3
  • Millennium Poster
  • *
  • Posts: 1140
  • Post quality +0/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #19 on: January 04, 2009, 09:58:46 AM »
WOW a lot of tech talk well I understand all of this
and it is pretty awsome that you/they have figured it out in 3 little
parts
1 resistor
1 capacitor and
1 led

:tup: good job!

Quote from: Jumbo
I herd you like stealing quotes ey?

Offline LaCozTe-2028

  • BANNED
  • E = MC²
  • *
  • Posts: 353
  • Post quality +0/-0
  • Gender: Male
  • I love My Lacoste shirts
Re: Pressure sensitive, fading leds (PSP)
« Reply #20 on: January 04, 2009, 06:15:58 PM »
Yup alien did you got to electronique school or something

try droping it again
my retared friend fixed by droping it
 1Sniper- not to be an :censored: but, its special friend

in_ducktape_armor

  • Guest
Re: Pressure sensitive, fading leds (PSP)
« Reply #21 on: January 04, 2009, 06:20:10 PM »
WOW a lot of tech talk well I understand all of this
and it is pretty awsome that you/they have figured it out in 3 little
parts
1 resistor
1 capacitor and
1 led

:tup: good job!

:hifive: thnx, i'm fairly experienced with soddering so im hoping it will a go smoothly. :psp:

Offline LaCozTe-2028

  • BANNED
  • E = MC²
  • *
  • Posts: 353
  • Post quality +0/-0
  • Gender: Male
  • I love My Lacoste shirts
Re: Pressure sensitive, fading leds (PSP)
« Reply #22 on: January 04, 2009, 06:40:26 PM »
but with a pic its still ways better

try droping it again
my retared friend fixed by droping it
 1Sniper- not to be an :censored: but, its special friend

Offline whuthefxk

  • King of the Wii-tards
  • *
  • Posts: 181
  • Post quality +1/-0
  • Gender: Male
Re: Pressure sensitive, fading leds (PSP)
« Reply #23 on: January 20, 2009, 08:12:51 PM »
for this too work with 0603 LEDs, what capacitor should i use?
MY CONSOLE LIST:

-1 PS   )                -1 GameCube
-1 PS2 (fa              -2 OG Gameboys
-1 PS2 (slim           -2 color gameboys -1 PS3                   -1 GBA -5 PSP                   -1 Gameboy SP -1 iPod TOUCH                   -2 NDS w/r4 -1 iPod video 5g                 -1 Wii -1 iPod nano (2-1g)(1-3g)    -1 Sega Genisis -2 NES                             -1 Atari Lynx -1 Gameboy micro

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.5 © 2008-2012, SimplePortal