CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-15-2011, 04:50 AM
 
Join Date: Nov 2009
Location: england
Posts: 32
kaighn80 is on a distinguished road
not for cnc but need help with 555's

i know its not a cnc problem but i think that i'm more likely to find some one here who will be able to help me. what i want to do is build an led fishtank light but i want to simulate sunrise/sunset, so far i think that my best bet is to use 555 timers and daisy chain them so that they each trigger the next but i need a diagram to do this as i have no idea about building electronics from scratch i can however follow a diagram, any one help please?
Reply With Quote

  #2   Ban this user!
Old 06-15-2011, 08:58 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

Can you clarify the effect that you are looking for?

Is your goal simply to turn on the LEDs after a certain delay period, leave them on for a specific time, and then turn them off for a specific period (and repeat), or,

is it to ramp up the intensity of the LEDs over a period of time to simulate sunrise, eventually reaching full intensity, leave it at that intensity for a period of time, and then ramp down the intensity to simulate sunset,

or something else?

Also, are you looking to vary the LED intensity by pulse-modulating the current that drives the LEDs and varying the pulse duty cycle or frequency, or some other method?

And, are you looking to use an array of ordinary LEDs that are typically used as indicator lamps, or do you plan to use high-intensity white LEDs that are used for flashlights?
Reply With Quote

  #3  
Old 06-15-2011, 09:09 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

How many LED's are you using, if several or more than one you could set up a time of day timer which would trigger a pulse chain that inputs to a BCD or Binary output IC.
This would count the light up to full on and just before switch off count down to off?.
The IC's to do this are relatively cheap.
There are probabally a few circuits out there on the net, and/or pick your self up a Logic IC cookbook that should steer you in the right direction.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #4   Ban this user!
Old 06-15-2011, 09:43 AM
 
Join Date: Nov 2009
Location: england
Posts: 32
kaighn80 is on a distinguished road

Originally Posted by doorknob View Post
Can you clarify the effect that you are looking for?

Is your goal simply to turn on the LEDs after a certain delay period, leave them on for a specific time, and then turn them off for a specific period (and repeat), or,

is it to ramp up the intensity of the LEDs over a period of time to simulate sunrise, eventually reaching full intensity, leave it at that intensity for a period of time, and then ramp down the intensity to simulate sunset,

or something else?

Also, are you looking to vary the LED intensity by pulse-modulating the current that drives the LEDs and varying the pulse duty cycle or frequency, or some other method?

And, are you looking to use an array of ordinary LEDs that are typically used as indicator lamps, or do you plan to use high-intensity white LEDs that are used for flashlights?
sorry should have made it a bit more understandable, what i hope to do is have led's in banks or strips, that will turn on in sequence then stay on for a predetermined amount of time ie:8 hours, then turn off one by one in sequence, i'm not worried about an accurate simulation just yet i just want something that resembles the effect, i intend on using a mix of colours with mostly white/bluewhite but will include green, red and uv. for the min i'm doing this on a shoe string, so the led's will be replaced as and when funds allow.
Reply With Quote

  #5   Ban this user!
Old 06-15-2011, 09:45 AM
 
Join Date: Nov 2009
Location: england
Posts: 32
kaighn80 is on a distinguished road

Originally Posted by Al_The_Man View Post
How many LED's are you using, if several or more than one you could set up a time of day timer which would trigger a pulse chain that inputs to a BCD or Binary output IC.
This would count the light up to full on and just before switch off count down to off?.
The IC's to do this are relatively cheap.
There are probabally a few circuits out there on the net, and/or pick your self up a Logic IC cookbook that should steer you in the right direction.
Al.
something like this would be great but i think it may be a bit beyond my designing or understanding skill.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-15-2011, 10:18 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

The key is to break down your desired behavior into simpler functional blocks.

For example, one block that you need is a night timer with the ability to be triggered and then perform a time delay for 16 hours, after which it can shut off and trigger a day timer and a LED ramp up circuit. The day timer needs to be able to be triggered and then perform a time delay for 8 hours, after which it can shut off and trigger the night timer and an LED ramp down circuit.

So, you may be able to simplify things further by figuring out an 8-hour timer circuit as a basic building block, and then figure out how to either use multiple ones or reuse a single one to get your desired day and night timing requirements.

555 timers may not be stable enough to reliably do an 8-hour time delay with a single timer, so it may be necessary to build the 8-hour delay out of a couple of timers. You can probably find some suitable long-delay timer 555 circuits on the net. You will have to decide whether you want a "one-shot", triggered timer or a free-running, repeating timer (you could probably design it either way).

Independently of the 8-hour timing block, you can work on a separate LED ramp up or ramp down circuit block which can be triggered by an external signal. First you need to decide on the timing for the ramp up/ramp down - for example, maybe you want five minutes between each step on the ramp - then go ahead and make a repeating timer with a five-minute time delay. Once you have that, then you need to figure out how to turn the LEDs on (or off) one LED at a time for each five-minute cycle. That would probably involve a separate circuit block made up from a BCD counter and LED driver (or you could even separate that into a BCD counter block and an LED driver block). You also need to figure out how to turn off the five-minute timer once you have turned all of the LEDs on (or off). You also need to figure out how to trigger the five-minute timer to start timing. And you need to figure out how to switch the BCD counter from counting up at sunrise to counting down at sunset. You will probably want to learn how to use a "flip flop" circuit to alternate states between ramp up and ramp down, and/or learn to use simple logic gates for AND and OR and NOT logic.

So, once you break it down like that, you will have a small set of building blocks to figure out and experiment with, after which you will just connect them together, and voila you have a working sunrise/sunset system.
Reply With Quote

  #7  
Old 06-15-2011, 11:17 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

If you want to by-pass the design and building stage using logic IC's, another option might be a Smart Relay the likes of Siemens Logo, there are quite a few different makes that are the same but re-labeled.
It is a miniature PLC (Programmable Logic Controller), they come with a real time clock, which you are probably going to need anyway.
The nice thing is if you screw up you just have to play with the instructions set until you get the program to work, no rewiring etc.
They can also be had on ebay a bit cheaper.
Al.
.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #8   Ban this user!
Old 06-16-2011, 05:36 PM
 
Join Date: Sep 2010
Location: usa
Posts: 838
mike_Kilroy is on a distinguished road
Buy me a Beer?

Originally Posted by kaighn80 View Post
i.....what i want to do is build an led fishtank light but i want to simulate sunrise/sunset,
How about a different approach/idea? I have a friend with a beautiful fish tank set up with LED liting and dusk/dawn, etc, etc, etc.... I showed him x10.com

Here you can buy little $ 5/10 sensors that sense dusk/dawn, turn led liteing on/off accordingly with little $ 5/10 modules pluged in with liteing pluged into them. add a complete controller with timers, sensors, etc etc that can effects, dimmers, etc for a few tens of dollars more... cm15 it is called for the controller that you program with computer then it is stand alone unit. add security sensors for $ 5/10 each and add an alarm to your house. turn the coffee pot on in the morning just before you get up.... all on the cheap.

anyway you may find their stuff for $ 50 for a batch of sensors and controllers is just what the fish ordered.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 -5. The time now is 10:36 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

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 361