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 73: Line 73:
 
16F877 driving triacs through 100 ohm resistor 8 bit port for now.
 
16F877 driving triacs through 100 ohm resistor 8 bit port for now.
 
Commercial el wire power supply.
 
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.
+
Supply running at about 2k Hz, Pwm done in a 10 ms period ( about 100 hz )
 
 
I have not done a eagle files yet.
 
  
 
see download for more info
 
see download for more info
Line 81: Line 79:
 
== Software ==
 
== 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.
+
BoostC
  
Currently has IR and serial interface.
+
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.
+
see download for more info
 
 
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 102: Line 92:
 
== Download ==
 
== Download ==
  
[http://home.comcast.net/~russ_hensel/OC/ELWire.zip    Boost C project in ELWire.zip]
+
Email me [[russ_hensel]]  will give you what I have.
  
 
== Links ==
 
== Links ==
Line 109: Line 99:
  
 
*'''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)