User:Kshew12/ENES-100/project 2: BioFeedback

Week1 Narrative
The project that I chose to work on for my Project 2 is biofeedback. The purpose / final goal for this project is to program EL sequencer to produce light patterned LED lights / EL pannels.

Since there is no past documentation for this project, I utilized information on how to set up EL sequencer from https://www.sparkfun.com/products/11323.

These are the parts in my possession:

Next, I connected the EL sequencer on the computer to upload the sample Blink program. The computer notified that the port 16 was connected when EL Sequencer was plugged in and port 16 was disconnected when EL Sequencer was unplugged; therefore, I concluded that there was no problem with the connection between them since the computer registered my EL sequencer as port 16.

Sample blink program:

digitalWrite(x, HIGH);  // turn the EL channel on

delay(100);             // wait for 1/10 second

digitalWrite(x, LOW);   // turn the EL channel off

However, when I tried to upload the completed program version to my EL Sequencer, I had synch problem.

I tried all the different option for the boards but it all gave me the same error:

"avrdude: stk500_getsync: not in sync: resp=0x00

avrdude: stk500_disable: protocol error, expect=0x14, resp=0x51"

An example of final goal of this project can be seen at http://www.youtube.com/watch?v=u68zcDkumtU

Week2 Narrative
Continuing on with last week's approach on working with Arduino software to program "blink" function into my EL Sequencer, the soldered part that connects FTDI basic to my EL Sequencer broke out.

So I started using the other EL sequencer from Sparkfun, version COM-9203 instead of COM-11323, and I did the followings with it:
 * Connected to computer by USB [ Board type : Arduino Duemilanove or Nano w/ ATmega328 ]
 * Connected a new EL wire that works with the SPARKFUN EL sequencer
 * Uploaded sample Blink program provided by the Arduino software.
 * Checked that the EL wire light up and blink every 1 second. Delay(1000)
 * Checked that as long as power inverter is attached to EL sequencer, connecting the EL sequencer to computer itself can light up the EL wire without having battery.
 * Went on to SparkFun website to check the difference between the older version(COM-9203) vs newer version(COM-11323) of EL Sequencer.

Other Pics:

Other than that, I:

Found a better example of final goal: http://youtu.be/bVL2-wHWOi8?t=1m15s

Found a tutorial of setting up EL Sequencer: http://bildr.org/2011/06/el-sequencer/

My next goal is to find out which EL wire ( in terms of current/volt/resistance) work with the SPARKFUN EL sequencer.

Week3 Narrative
What I have done in week 3:
 * Found data sheet for "063450 1000mAh 3.7v" battery on https://www.sparkfun.com/datasheets/Batteries/UnionBattery-1000mAh.pdf 0416999-2-c-h.JPG

On the data sheet, it says standard charge current for the battery is C5, meaning the ampere-hours that can be delivered by a cell at constant current in 5 hours. 1000mAh = 1.000A/hr & the battery is C5 capacity therefore; (1.000A/hr) * (5hr) which yields the max value of standard charge current to .2A or 200mA.
 * Calculated max charge value of current for the battery


 * Reviewed a battery guide from the previous power-supply group, https ://en.wikiversity.org/wiki/User:Tntflash/ENES-100/Project_1_-_Power_Supply/Battery_guide


 * Watched a video on how to use Thunder A6 Charger on youtube, http://www.youtube.com/watch?v=4zvwAZc3Gpc


 * Practiced re-charging my current 1000mAh 3.7v battery with Thunder A6 Charger with help of John


 * Created a :/Tutorial on recharging LiPo 3.7V 1000mAh Battery/

resistance for the wire, http://www.amazon.com/GrayBean-15ft-Glowing-Strobing-Electroluminescent/dp/B005EGWIBE.
 * Looked up EL Wire on amazon to check the spec for the EL wires for the pre-programmed device; however, there weren't any information for voltage, current and


 * Found data sheet of speakfun EL wires that works with EL sequencer we have, https://www.sparkfun.com/datasheets/Components/LED/Technical%20Information%20of%20Flexible%20Neon%20wire.pdf

My next going to do will be further looking up other websites to find the spec of EL wires so that I can change the power inverter to make them work on my EL seuqencer.

Take pictures and write an inventory log for EL Sequencer project since there are multiple EL Wires, EL sequencers, FTDI Bsics and graybeen devices.

Week4 Narrative
For my week 4: I needed to write an inventory log for this project and figure out why the other EL wire did not work.

First, the inventory log for the project:
 * 2 Blue EL Wires
 * 2 Orange EL wires
 * 1 Purple EL wire
 * 2 Pre-programmed devices with 1 white wire that works with it
 * 1 EL Sequencer version(COM-9203)
 * 1 EL Sequencer version(COM-11323)
 * 3 FTDI Basic
 * 2 USB Connectors
 * 1 LiPo Battery
 * Electrical Tape
 * Micelenious Stuff like wires

Moving forward, next person who is assigned for this project can fix other 2 orange EL wires and find a new power source that when more than two EL wires are connected to EL sequencer, the brightness doesn't go away. Perhaps code them in a way that it follows the rhythm of a song, that would be cool too!