Protocentral / protocentral-healthypi-v3

HealthyPi is the first fully open-source, full-featured vital sign monitor. Using the Raspberry Pi as its computing and display platform, the HealthyPi add-on HAT turns the Raspberry Pi into a vital sign monitoring system.
http://healthypi.protocentral.com
Other
194 stars 51 forks source link

Working with higher sample rate #18

Open kyokusei opened 5 years ago

kyokusei commented 5 years ago

Is it possible to increase the sample rate? I've tried to increase the sample rate by changing:

ADS1292_Reg_Write(0x01, 0x000); //Set sampling rate to 125 SPS to ADS1292_Reg_Write(0x01, 0x010);

I've temporary removed the sending of data through the serial line (usb and rpi), and changed the SPI max frequency from: ads1292rSPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE1)); to ads1292rSPI.beginTransaction(SPISettings(2000000, MSBFIRST, SPI_MODE1));

Someone tried?

davidacolburn commented 5 years ago

I've tried as well, but have been unsuccessful thus far. Anyone get it to work?