Home     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   

Author Topic: X mas lights  (Read 11577 times)

0 Members and 1 Guest are viewing this topic.

spic0m

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 841
X mas lights
« on: September 02, 2008, 21:32:56 PM »
Here's the drift, first of all it's to early for xmas i know :).

My parents have a grocery store, every year my dad is fixing the lights decoration, not fancy stuff, just the usuall light hoses.
This year i decided to make the deco myself (make him proud  :P) and i ask:

I want to put the light hoses in shapes (that's my prob).
I want the different shapes to light in some (controllable and changeble) sequense.
Maybe working in a music theme (I searched for dmx controllers and light o rama but are out of my budget)

Can anything be done? I have mediocre soldering skills and even less electronic knowledge.
But most of all the will to try!  ;D

Mercury

  • Guest
Re: X mas lights
« Reply #1 on: September 02, 2008, 22:28:47 PM »
Of course something can be done. First of all with ahat will you control the lights? Computer is a nice way to control lights with music. If you have an old one you can dedicate it for this purpose.

Also you may make some filters that will act in sound waves, something like disco lights. These are extremely easy to make. Have you ever make a pcb before?

spic0m

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 841
Re: X mas lights
« Reply #2 on: September 02, 2008, 22:32:44 PM »
I don't have the option of a pc, anything else? As a younger i made some pcbs, not all of them worked  :).

Mercury

  • Guest
Re: X mas lights
« Reply #3 on: September 02, 2008, 22:44:44 PM »
I don't have the option of a pc, anything else? As a younger i made some pcbs, not all of them worked  :).
Yes of course, the first ones might not work. This is normal. And if you design them yourself, it would be ABnormal to work...

Anyway, it is not so important to make a pcb nowadays, as you may get a pcb template... Extremely extremely easy to work on it, similar to breadboards, no chemical or any other etching/printing needed.

What about the crazy disco lights board?

spic0m

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 841
Re: X mas lights
« Reply #4 on: September 02, 2008, 22:55:44 PM »
Quote
crazy disco lights board


????????

spic0m

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 841
Re: X mas lights
« Reply #5 on: September 03, 2008, 13:43:37 PM »
After a short search i find music syncronization also out of my budget.

So, just a "module" with programable outpouts. Any suggestions?
 

kammenos

  • Guest
Re: X mas lights
« Reply #6 on: September 03, 2008, 18:19:30 PM »
After a short search i find music syncronization also out of my budget.

So, just a "module" with programable outpouts. Any suggestions?
 

Programmable outputs? You mean outputs to be controlled by sound filters?

spic0m

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 841
Re: X mas lights
« Reply #7 on: September 03, 2008, 21:18:32 PM »
No sound filters , i'll get to choose the out1 for example to open for n time then out 2 for n time and then out 3-4 for n time also. Something like that. A whole sequence like this will be a program and maybe i can have not 1 but 7-8 programs stored somewhere and get to choose which one will be executed or all of them in a particular order, you know, first prog 1 then 5 then 3 etc etc in a loop.

Supernova

  • Full Member
  • ***
  • Posts: 149
Re: X mas lights
« Reply #8 on: September 07, 2008, 09:57:51 AM »
My idea: A microcontroller will have for example expandable inputs and outputs using PISO and SIPO, connected in series with RJ54...
The μC will be programmed with scripts. This script is up to you to design it but here is a example to get the point what i mean:


You may have many scripts. Each script will have a setup. This is as follows:

Script Number: #1 (This is the script number. You may have several scripts)
Loop: YES (If the script ends and this is 'YES', it will run again)
Time Base: 500 (How fast will scroll the script lines in mSeconds)
Trigger: I1H (The action that will trigger this script to start. In this example, when Input 1 goes High, the script start)
Break: I1L (The action that will stop this script. In this example, when Input 1 goes Low, the script stop)

After the setup of the script, will be the script lines. It may have a limitation of for example 50 lines per script. This is up to you, what memory or chip will you use. Each line will have for example an action, and an output that this action will be applied. The action should be 1 for ON and0 for OFF and the output should be any number corresponding to an output. The action lines will be scrolled according to the Time Base. Here are some examples:

#ActionOutput
111
212
313
401
502
603

So, to put things together, this script will start running when Input 1 goes high and will keep on running until it goes low. The actions will scroll every 500mSec. Only outputs 1 2 and 3 takes place and what it does is:
1: Turn on output 1
2: Turn on output 2
3: Turn on output 3
4: Turn off output 1
5: Turn off output 2
6: Turn off output 3

« Last Edit: September 07, 2008, 10:00:10 AM by Supernova »

spic0m

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 841
Re: X mas lights
« Reply #9 on: September 07, 2008, 12:53:49 PM »
Sound nice even for me who know s**t about microcontrollers. And what about the pcb layout?

kam

  • Administrator
  • Hero Member
  • *****
  • Posts: 1849
Re: X mas lights
« Reply #10 on: September 07, 2008, 16:53:40 PM »
For the PCB layout you may:
1. Check this link and DIY: Manufacturing PCBs
2. Order by internet, will cost approx 20 to 30 euro
3. Get it from local market...


spic0m

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 841
Re: X mas lights
« Reply #11 on: September 07, 2008, 20:05:35 PM »
Getting one is not a problem, designing is the problem if you don't know what to design.  ;D

Supernova

  • Full Member
  • ***
  • Posts: 149
Re: X mas lights
« Reply #12 on: September 07, 2008, 23:31:19 PM »
kam will help you. He owns this case  ;D

Kam, wake up

spic0m

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 841
Re: X mas lights
« Reply #13 on: September 08, 2008, 17:34:06 PM »
SPLAAAASHHH! (bucket of water in kam's face  ;D).
Mr. kam would you be kind enough to leave your eternal and intrenal quest for knowledge and give us a hand?  ;D

kam

  • Administrator
  • Hero Member
  • *****
  • Posts: 1849
Re: X mas lights
« Reply #14 on: September 08, 2008, 17:56:57 PM »
Of course. But i will start coming week. This week is not possible