Last visited

About munny

Profile Information

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.

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 to collect my next ADC value as the next input pulse needs that much time to arrive?
3. If 1 and 2 are correct, how can I set up my ADC for this?
Just for information, I am using MSP430F5438A, IDE: Code Composer Studio
Thanks,
Row

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 the extension also
fprintf(fp, "Writing\n");
fclose(fp);
}
Thanks,
Row

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.

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.

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

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 my code and omit the UART part for now.

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.

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.

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.

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.