Editing Russ Hensel's EL Wire Project

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 12: Line 12:
 
* Triacs work with wire!
 
* Triacs work with wire!
 
* Wire works.
 
* Wire works.
 +
* First hardware tests real soon.
 
* Soldering of wire works OK even without coper foil, but hard to do a nice clean compact job.
 
* Soldering of wire works OK even without coper foil, but hard to do a nice clean compact job.
 
* Project is off the runway. ( Feb 26 )
 
* Project is off the runway. ( Feb 26 )
* Hardware works!
 
* Software works!
 
* IR remote works.
 
* Technical part done for now.
 
  
 
== Collaborator Criteria ==
 
== Collaborator Criteria ==
Line 31: Line 28:
 
== Plan ==
 
== Plan ==
  
=== Version 0 Done! ===
+
=== Version 0 ===
  
Control 8 segments of EL wire in an on-off or variable brightness mode.  Any segment can be off or on independent of any other.  Display can be divided into at least 100 time periods during which any combination of wires can be on or off.  The length of each time period can be independently set.  Microprocessor will is the 16F877A but could be one ( or more ) of the many PIC microcontrollers.  Uses a serial boot loader for programming ease.  Programming done in BoostC.  Now will try to uses these abilities to find interesting ways to use them.
+
Control 8 segments of EL wire in an on-off mode.  Any segment can be off or on independent of any other.  Display can be divided into at least 100 time periods during which any combination of wires can be on or off.  The length of each time period can be independently set.  Microprocess will be one ( or more ) of the many PIC microcontrollers.  Will use a serial boot loader for programming ease.  Programming will be done in BoostC.  Once we have this ability will try to find interesting ways to use it, perhaps strobe effects, or animation.
  
=== Version Later Partly Done! ===
+
=== Version Later ===
  
Switch from on-off to intensity control, the is control how dim or bright the wire is -- done. Added an infra-red control, had some noise problems with this, which I have managed to fix.
+
Switch from on-off to intensity control, the is control how dim or bright the wire is.  Design printed circuit boards for project, turn EL driver routines into a reusable library.  Will document procedures for more artistic types to do their own programming.
 
 
Still to do: Design printed circuit boards for project, turn EL driver routines into a reusable library.  Will document procedures for more artistic types to do their own programming.
 
 
 
=== Circuit and Code ===
 
 
 
Email Me [[russ_hensel]]  The circuit is pretty much an 16F877A plus 8 triacs.  I use the serial interface for control.  Thinking of adding an IR control.
 
 
 
=== Effects Ideas ===
 
 
 
Now is the time to think what can be done with the controller:
 
 
 
==== Blink ====
 
 
 
This is the simplest ( you can buy controllers with blink built in ) but now we can vary the blink rate and make each of the wires blink at a different rate.  A strobe effect for a dancing costume is basically a blink.
 
 
 
==== Animate ====
 
 
 
This is basically blinking through different pattern to simulate motion.  Done right you see motion, not blinking.  Can take a lot of wire.  Simple effects like spinning motions.
 
 
 
 
 
==== Morph ====
 
 
 
We can control the brightness so we can slowly change from one color/shape.... to another.  More like a mood ring than a warning flasher.
 
 
 
==== Combine ====
 
 
 
The effect can be a compound of the ones above.
 
 
 
==== Control ====
 
 
 
We can control with a computer, with switches or with a TV remote control.  More interesting might be to make it respond the the environment, music, light, closeness of other people......
 
 
 
== Hardware ==
 
16F877 driving triacs through 100 ohm resistor 8 bit port for now.
 
Commercial el wire power supply.
 
Supply running at about 2k Hz, Pwm done in a 10 ms period ( about 100 hz )  I have a 2 foot peice of wire always on so the supply never sees a load of 0.  A more elegant way of doing this might be a good idea.
 
 
 
I have not done a eagle files yet.
 
 
 
see download for more info
 
 
 
== Software ==
 
 
 
The archive has all the files for a BoostC project.  ElWire.c is the main program, there are other .c file for IR support and Serial support, which you can skip if converting to a different compiler.
 
 
 
Currently has IR and serial interface.
 
 
 
Here is a bit of not very good explanation.
 
 
 
For the main elwire routine see: doELLoop()  the basic idea is that we are in a loop that counts down for some period of time and count:  elCyclePeriod.  At the beginning of the loop all the wires are turned on and have their own counters initialized. Each time thru the loop all the counters are decremented.  When a wire's counter reaches 0 the wire is turned off.  No attemp is made to make the loop execute in some constant time, but it should be close.  To make the cycle time longer increase elCyclePeriod and everyting else, or put a delay in the loop.
 
 
 
Routines like altOddDim( ) intitalize the counters for some pattern.
 
 
 
Changing paterns are implemented by routines like: testLoopB( unsigned char aFast ).
 
 
 
 
 
see download for more info, or email me.
 
  
 
== Comments Anyone? ==
 
== Comments Anyone? ==
Line 100: Line 40:
 
We are interested in any comments, ideas, suggestions.  We may even do them.  If you do not like our ideas, suggest something better.
 
We are interested in any comments, ideas, suggestions.  We may even do them.  If you do not like our ideas, suggest something better.
  
== Download ==
 
 
[http://home.comcast.net/~russ_hensel/OC/ELWire.zip    Boost C project in ELWire.zip]
 
  
 
== Links ==
 
== Links ==
Line 108: Line 45:
 
*[[EL Wire]]
 
*[[EL Wire]]
  
*'''What's "EL Wire"?''' Electroluminescent Wire - you could even say it glows. More info: [http://en.wikipedia.org/wiki/Electroluminescent_wire].
+
*'''What's "EL Wire"?''' ElectroLuminescent Wire - you could even say it glows. More info: [http://en.wikipedia.org/wiki/Electroluminescent_wire].
*News Flash:  Spark fun has come out with something similar for the Arduino see:  [http://www.sparkfun.com/commerce/product_info.php?products_id=9203 EL Sequencer sku: COM-09203]
 
 
 
  
[[category:projects]][[category:PIC]][[category:Microcontroller]]
+
[[category:projects]]

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)