Exposing ROY to Real Time Clocks and SD cards

After last weeks success in reading heart rate from a pulse oximeter I decided it was time to literally take the show on the road.  Well, the literal road, not a literal show.  I was hoping to do heart tests during my bike commute to and from school.

First I added an SD card breakout board and used the SD library built into Arduino to test functionality.  I was able to a string of readings to either a txt or csv file.

index

Next I wanted to sync the readings to linux time based in milliseconds from midnight, January 1st, 1979.  For this I used a real time clock breakout board.

00099-02

 

I was able to pair the data from the pulse oximeter to the software clock on my computer using the RTC but was unable to set the time on the clock using just the hardware.  Therefore my times would only tell me duration and not be comparable as a log of ROY data captured during another activity.

Syncing to software clock

ROY SoftwareClock

I can’t set the correct time

Roy RTCRead

Reading values.

ROY RTCClockDelay

 

For now I am going to drop this project in ordert to explore other parts of the rest of me.

 

Comments are closed.