Skip navigation

Smarter Life

8 Posts authored by: diodedan
diodedan

Final Project Status

Posted by diodedan Dec 25, 2013
Hi Everyone,   I have completed the project I set out to do. First, let's start with some results! The graph below shows the results of the temperature waveform compared to a reference (IR camera) under biological tests. I posted this in my last blog, but I wanted to show it again to highlight the interesting correlations between biological function and externally visible signals. Let me direct your attention to the mental strain portion between 50 - 60 minutes marks. The mental strain is ...
Hello All,   I've been busy working kinks out of my system. I thought I would share some of the data that I got while testing against a reference system. The graph below is a plot of temperature vs. time. You will notice that mental and physical stimuli cause the body to react by opening its sweat pores in select places. If you take measurements from them, you can see your temperature drop during those periods. Pretty cool! ...
Hello Everyone,   It has been a little while since I last checked in. In order to analyze the data from the sleep sensor, I need to get it off chip. I have been having problems with that component, as the entire FRAM memory consists of 131,072 samples. I noticed that smaller packets of data seemed to come across the line just fine, and this leads me to think that I might be having a handshaking problem. To that end, I have been working on a custom protocol to handle handshaking of my data. ...
diodedan

FRAM Works!

Posted by diodedan Nov 20, 2013
Hello All,   I hit a little stumbling block with the FRAM. I added a small delay ( CyDelay(10) ) to my UART printing code, and things worked better after that.   I ran a simple unit test in which I wrote the entire contents of the FRAM with an increasing counter, and then read the data back. As you can see in this plot, the data that was returned matched the expected up slope of the counter pattern. This is great news for my project, as it means that I can start logging real temperat ...
diodedan

Temperature Sensor

Posted by diodedan Nov 18, 2013
Hello All,   I have been having good momentum in the past few weeks. I was able to get the FRAM I2C to work. You can see the example code below:   /******************************************** writeSample - Writes one 16 bit (two byte) sample to FRAM - Uses FRAM automatic incrementing - Assumes that A1 and A0 lines are set to logic zero ********************************************/ void writeSample(uint32 addr, uint16 sample) {   uint8 slaveAddr = 0x50;   uint8 pageBit = 0; ...
Hello All,   As of the last time I wrote, I have received my parts in the mail! I got the basic thermistor sensor interface operational. The graph below shows the thermistor resistance as I pressed it, released it, and then pressed it again. .   Also, I've been working on getting the FRAM operational. I've gotten a successful read and write through I2C. See the logic analyzer capture below. Now that I have some of the basics working, I need to make sure that I can get the FRAM t ...
Hello All,   I've been taking a crack at the system. Here's where I am at so far:   I've gotten the ADC and analog chain to work in its most basic form. I substituted a potentiometer for the thermistor for the time being. The next step is to get the low-power FRAM memory operational and reading. When I get my parts, I'll integrate the thermistor and start testing the system in earnest. ...
diodedan

Kickoff

Posted by diodedan Oct 28, 2013
Hello Everyone,   This is my first blog post. The focus of my project will be using the PSoC 4's analog integration and low power modes to create a sleep sensor. The sleep sensor will use the observed tendency of humans peripheral body temperature drop (http://www.stanford.edu/~dement/temp.html) during sleep.   For this project, it is going to be critical to get very low power so that I can have a small battery to reduce the annoyance of having the solution attached to me. In a comme ...