Jump to content
43oh

munny

Members
  • Content Count

    16
  • Joined

  • Last visited

Everything posted by munny

  1. Hello, Thank you for your response. Can you please explain what do you mean straight ADC values to serial output? How to do that? If you please explain, I can then try and confirm that it's working or not.
  2. Hello, I am trying to record my voice using MSP430F5438A onboard microphone. So as a starting point I am reading the microphone data(Channel 5, ADC12). I am sending the data directly to PC and observing the output at tera term. But I am confused seeing the ADC output. After a certain amount of data, the value saturates and actually doesn't change at all even if I speak or make a sound. I don't catch where I'm doing wrong. I'm attaching my code and the data output snapshot. Any suggestion is highly appreciated. #include <msp430.h> unsigned int voice; volatile unsigned char vo
  3. Hello, I am trying to collect data from the following optical dust sensor: https://www.sparkfun.com/datasheets/Sensors/gp2y1010au_e.pdf According to page 5 of the datasheet, I generated the correct PWM signal using timer A for input PIN 3 of the sensor and observed the signal in my oscilloscope. Now at the same page Figure 2, they talked about the output pulse sample timing. Anyone can help me understand how should I set up my ADC12 for this? Few queries regarding this: 1. Should my sample and hold time be 0.28ms? 2. If so then should I wait for next 0.04ms + 9.68ms t
  4. Hello, I'm trying to write to a file and then reading back from it. I'm using code composer studio. After execution, I can see a file is created but nothing is written in it (Didn't get any error). Below is the code. What is the possible issue here? I omit the reading part as I couldn't able to write. #include <msp430.h> #include <stdio.h> void main() { WDTCTL = WDTPW + WDTHOLD; // Stop WDT FILE *fread; fread= fopen("testing", "w"); // not sure if I should add the file extention here like testing.txt but I tried including
  5. Yes, I looked for the separate MIC options. And yes you are right Spark fun and Adafruit has their breakout boards. I'll probably go for those for my project. Thanks for your response.
  6. I really appreciate your time for the writing. It's very informative. Yes, you are correct about the MIC choice. I actually haven't think about that details still regarding the practical challenges. Especially with my system (Has other sensors in it), it will be very challenging. For data processing, I am dealing with MATLAB also. I'll follow the blog you referred also for getting further idea. Thanks a lot.
  7. I haven't decided yet. I just read a paper where the respiration rate is calculated with speech recording. That's why thinking if I can utilize the microphone from the board I have. Thanks for your response.
  8. Hello, I am planning to analyze breathing pattern using a microphone. I have MSP430F5438A Experimental board. I found that the board itself has a microphone. I am looking for any documentation available about how to use the microphone from the board. I did a little bit of research but didn't find details other than the user guide for the board. I appreciate any recommendation. Thanks, Row
  9. Hello mph, Thank you for your time and response. I'll follow the instruction you have given and will let you know if that works. So I read the burst read case in the datasheet but confused seeing the pseudo-code format on page 17. In that code, they read all the sample available at a time. I am sorry for not being more clear. I am trying to develop the code from scratch. At his point my concern is reading RED, IR and GREEN LED data in real time. I am going to implement UART to observe the data. But as I am stuck in getting the number of available samples to read, that's why I trim
  10. Hello, I am trying to get RED, IR and GREEN led value in real time from MAX30101 sensor. I am using MSP430F5438A as my MCU. My IDE is CCS. The protocol required to communicate with the sensor is I2C. Now my problem is I am not any value except 0 in my read and write pointer (Indicated in the comment in my code). I am supposed to get some value in between 0 to 32. I'm attaching the link for the datasheet for the sensor: https://datasheets.maximintegrated.com/en/ds/MAX30101.pdf I know the datasheet is a whole lot. But I am referring page 17 which they have a pseudo code how to burs
  11. Trying to work with SPPDemo (MSP430F5438A+ CC2564B) according to the steps described at the link below: http://processors.wiki.ti.com/index.php/CC256x_TI_Bluetooth_Stack_SPPDemo_App I was able to open the server. But on the client side, I can't see the device list with DisplayInquiryList Command. I tried Inquiry command before it to initialize the process. Both the pictures of server and client are added.
  12. Hello, I am looking for a Bluetooth module which I can work with MSP430F5438A (Microcontroller). I am using Code Composer Studio (CCS) IDE. I searched Google a bit and also went through TI web pages about the possible module. I was wondering if anybody can suggest any module which I can work with that specific micro-controller? Other issue is please suggest a module which has enough documents and demo project (Possibly in CCS) to get started and go further. Thanks, Rowshon.
  13. Hello, So, the libraries available has specific things of the sensor. Do you think those libraries work with the Energia when ported? If so, what should be the possible changes? Thanks!
  14. Hello, Can anyone help me with the source code for the pulse oximeter of the MAX30100 sensor (I2C communication)? Following is the datasheet: https://datasheets.maximintegrated.com/en/ds/MAX30100.pdf I'm using MSP430F5438A. Thanks.
  15. Actually, I am using the AD8232 sensor that has 3 electrodes. I don't think I'll get better data than that (Might get a little bit better). So I need to do filtering to remove the noise. Do you have any idea how to do that processing in MSP430? Thanks for your response.
  16. Hello, I am working on a project where I am trying to acquire ECG data for further analysis. Using AD8232 sensor I was able to get my raw data. So far I am using MSP430F5438A and my compiler is Code Composer Studio (CCS). I was asking if anyone did the next processing like filtering to remove noise and interference, at msp430. Can you please share your work (Analysis algorithm and Code)? Here in the attachment the graph of the raw data I am getting from my sensor (ADC values actually). Following is the link to AD8232 sensor datasheet: http://www.analog.com/media/en/technical-docu
×
×
  • Create New...