Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 12-11-2005, 05:45 PM   #1 (permalink)
wouldn't mind being a ninja.
 
MooseMan3000's Avatar
 
Location: Maine, the Other White State.
Timed LEDs?

Basically, what I want to do is this: to be able to have 50 or so LEDs light up at different times. They're going to (most likely, but I'm not decided entirely yet) be powered off a single 12 V DC connection, so I'd want to have a set number of them on at a single time (whatever gets me closest to that 12 V)

The only way I can think of to do this at the moment is to wire several circuits in parallel, each with X LEDs (whatever that number above is) in series. On each of those circuits, I would also throw varying capacitors/timers. The capacitors would sort of go off randomly. If I used an IC 555 timer, each set of LEDs would go off at a set interval. Is there something I'm missing, or something I should know?


Also, can someone think of a better way to do it than the method I've described above? (i.e. is there a way to make it totally random without running the risk of overshooting the voltage on a single LED and blowing it? Should I make individual circuits for all 50 with resistors to make up the rest of the voltage?)


Extra credit: Find a way to time it to music, rather than having it simply be random. I have two possibilities for this. One is using a microphone connected to the circuit somehow, most likely in combination with capacitors. The other is to somehow directly connect to my sound source (in this case a sound card), likely at line level, and with any luck, I can connect directly to the sub output. Extra extra credit: Find a way to do this without physically altering the sound card, so that it can be swapped out in the future without soldering/desoldering anything.


I've only just begun thinking of this specific part of the project, and I'm struggling to come up with a decent solution. Any help would be greatly appreciated.
MooseMan3000 is offline  
Old 12-11-2005, 09:31 PM   #2 (permalink)
Llama
 
goddfather40's Avatar
 
Location: Cali-for-nye-a
Remember that if you set up the LEDs in series, each LED will drop about 0.6 volts along with the resistor drop. I'm not quite sure off the top of my head what a 555 can drive current wise as well, you will have to watch how much current you're trying to source as well. I would use a single 555 timer driving some BJT's and put the capacitors in the base leg of the transistors, may have like 10 BJT's each driving 5 LED's. I know you want the blinking to be random, but you can also use flip flops to divide the 555 frequency how ever you like.
__________________
My name is goddfather40 and I approved this message.

I got ho's and I got bitches,
In C++ I branch with switches

-MC Plus+
goddfather40 is offline  
Old 12-11-2005, 10:36 PM   #3 (permalink)
Young Crumudgeon
 
Martian's Avatar
 
Location: Canada
The music part is easy. Grab yourself a set of stereo headphones. Now, here you can go two options. You cut off the earpieces, then you can either twist the signal wires together or keep them seperate and connect them to seperate clusters or LED's to have one set react to each channel (left/right). I'm not an electrical engineer, so I'm not sure if you'll need to amplify the signal or not as I have no idea how much current an LED will take. In any case, if you use that as the input on your LED's the signal will be amplitude modulated according to the signal(s) coming out of the line jack on your sound card (where the stereo jack plug you took off the headphones is connected) which, if I remember my electrical theory correctly, ought to give you the desired effect. If you want to get really fancy, you can build the LED's and amp (if necessary) into an enclosure and have yourself a little musical lightbox. It's portable and it will plug into any 1/4" headphone jack, which will make it suitable for use with a lot more than just a PC. Also, it'll be fucking cool.
__________________
I wake up in the morning more tired than before I slept
I get through cryin' and I'm sadder than before I wept
I get through thinkin' now, and the thoughts have left my head
I get through speakin' and I can't remember, not a word that I said

- Ben Harper, Show Me A Little Shame
Martian is offline  
Old 12-12-2005, 04:57 AM   #4 (permalink)
Very Insignificant Pawn
 
Location: Amsterdam, NL
Off the top of my un engineer head:

Use an AC to 5 VDC adapter and TTL logic.

Perhaps 7 segment LED drivers (7) and adjust the strobe rate for the effect you want.

You could AND this with an audio signal driven comparator output. Again adjust for effect.
flat5 is offline  
Old 12-12-2005, 08:43 AM   #5 (permalink)
wouldn't mind being a ninja.
 
MooseMan3000's Avatar
 
Location: Maine, the Other White State.
Quote:
Originally Posted by Martian
If you want to get really fancy, you can build the LED's and amp (if necessary) into an enclosure and have yourself a little musical lightbox. It's portable and it will plug into any 1/4" headphone jack, which will make it suitable for use with a lot more than just a PC. Also, it'll be fucking cool.
Perhaps I wasn't specific enough. It's in the computer. It's so simple! [/Zoolander] If it was simply a matter of plugging into a headphone jack, I would do exactly what you described. Right now I'm considering soldering in a second connection in parallel to the existing headphone jack, though I'd prefer not to physically alter the card, so I'm debating.


Quote:
Originally Posted by flat5
Use an AC to 5 VDC adapter and TTL logic.

Perhaps 7 segment LED drivers (7) and adjust the strobe rate for the effect you want
I wouldn't need an AC to 5 VDC, since I would be using a computer power supply which has a 5 V rail. However, using a seven segment driver seems unnecessarily complicated for this project... though it's an idea. I'll think on that. Thanks!
MooseMan3000 is offline  
Old 12-12-2005, 12:20 PM   #6 (permalink)
Very Insignificant Pawn
 
Location: Amsterdam, NL
I was thinking it might help the random effect - provide the drive current - and it's been many years, but, don't some segment drivers have an enable pin? This would allow the blinking along with sound (music) level.

It might be a mess to breadboard, but the pcb would look clean :-)

You don't need to alter the soundcard so much. Just tack solder a light cable to two pads on the card. You can find a large ground area for the shield and a perhaps the line output pad for signal. I would run this to a cmos comparator.

I have not fooled around with this stuff since the 70s - early 80s.
Designed an octive divider for saxophone (that worked).

Last edited by flat5; 12-12-2005 at 12:24 PM..
flat5 is offline  
Old 12-12-2005, 12:31 PM   #7 (permalink)
Young Crumudgeon
 
Martian's Avatar
 
Location: Canada
Quote:
Originally Posted by MooseMan3000
Perhaps I wasn't specific enough. It's in the computer. It's so simple! [/Zoolander] If it was simply a matter of plugging into a headphone jack, I would do exactly what you described. Right now I'm considering soldering in a second connection in parallel to the existing headphone jack, though I'd prefer not to physically alter the card, so I'm debating.
Well, why didn't you say so?

I'm still not clear.. couldn't you just do above and run the connector out through an open card slot in the back of the case?
__________________
I wake up in the morning more tired than before I slept
I get through cryin' and I'm sadder than before I wept
I get through thinkin' now, and the thoughts have left my head
I get through speakin' and I can't remember, not a word that I said

- Ben Harper, Show Me A Little Shame
Martian is offline  
Old 12-12-2005, 01:30 PM   #8 (permalink)
wouldn't mind being a ninja.
 
MooseMan3000's Avatar
 
Location: Maine, the Other White State.
Quote:
Originally Posted by Martian
I'm still not clear.. couldn't you just do above and run the connector out through an open card slot in the back of the case?
Well, I could... but that would be ugly . That's the only reason, but for me it's reason enough to avoid that solution. I mean, it's a custom case, here. I don't want it to look too amateur.

Quote:
Originally Posted by flat5
don't some segment drivers have an enable pin?
Not that I'm aware of, but that doesn't mean they don't exist. I'll look into that.

Quote:
Originally Posted by flat5
I would run this to a cmos comparator.
Eh? I haven't used a comparator before, so I'm not entirely sure what they do. If I understand it correctly, they work as an interface for an external sensor... would I use that to control the pulsing of the LEDs when connected to the audio source?
MooseMan3000 is offline  
Old 12-12-2005, 04:34 PM   #9 (permalink)
Very Insignificant Pawn
 
Location: Amsterdam, NL
Yes. Above a compared voltage, the output logic level switches.
Use that to control if an LED will light or not.
All segments off unless the comparator says "let there be light".
It's likely that you will have to play with de-glich stuff or time constants though.
Probably follow the trigger with a timer (555).
Switching at an audio rate is too fast.
http://hyperphysics.phy-astr.gsu.edu...opampvar8.html

Here is info on 7 segment drivers. You can enable or un-enable all segments.
http://www.play-hookey.com/digital/e...eg_driver.html

It might help you decide on an approch or the parent page may give you other ideas.
I'd like to know how you follow up on the project!

Oh yeah, you could use small clip leads to the soundcard or a double jack.
A tee jack (one input two output) connected to the line output on the soundcard.

Last edited by flat5; 12-12-2005 at 04:40 PM..
flat5 is offline  
 

Tags
leds, timed


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 11:34 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360