8 years, 5 months ago.

writing sensors data to SD card with different frequencies

Hello all, I looking for some assistance. For my project I would like to store sensors data to SD card. Accelerometr 800HZ and all other sensors with1 HZ. I used ticker object to creat new files on SD card after pre defined time by using tickers. I used ticker to print senors data to SD card, and I kept accelerometer in while loop. In total there are 3 tickers 1. Ticker to create new file after every 1 min on SD card 2. Ticker to store sensors data 3. ticker to blink led after 10 seconds. Problem is after writing for a minuite (sometimes not even a minuit) it blocks. Can someone suggest some logic that how can i make this happen. Thanks in advance.

RTOS also not working with above requirement.

posted by Mohan gandhi Vinnakota 13 Jun 2016
Be the first to answer this question.