2011年11月7日星期一

Generate xml file in crysis and analys the data





EXP2_Week 4 short video of analysing data




The data from the feed is actually an AD value of the voltage. normally the data is around 40, but when a user cover a LED the the output data of that LED will be aroung 1000. There is a big gap between the false value(no user cover a LED) and the true value(user cover a led then the LED lighting itself). Therefore, I created this flow graph, I have size down the data to make sure they can be observed clearly, and then test if the data is below the true value range, if below then turn of the lighting box whereas if the data is above the true value range then turn the light on.