Im new to Arduino and Im having trouble with some data sampling. I’m using a MAX30102 Sensor in wich I’ve configured the Sampling Rate at 200 Hz (8 bits for the ADC range), through I2C comunication. and sending the data through serial COM3 at 115200 bauds.
When I read the data on matlab I get a 5000 sample vector (reading data for 120 seconds or 3 minutes). So Im wondering why this is happening since Im getting around 40 SPS.
I must add Im also using the Analog Read for a thermistor. But Ive read the clock for ARDUINO UNO is 16 MHz so I guess it should be a problem.
Then Again Im a bit of a noob with this stuff, so any guidance in this matter would be most Helpful.
Thanks in advance