Spectrometer -- basic RTC and SD-Card writing

Hi, I'm trying to work out RTC and SD-Card writing for this spectrometer.
This is my first real Arduino project.

The RTC is available in 3 places. REV4 board, EnergyShield2 and one of the two SD-Card readers I ordered.
https://www.amazon.com/dp/B00PI6TQWO?psc=1&ref=ppx_yo2ov_dt_b_product_details

This SD-Card reader is preferable to avoid stacking the height with another shield.
https://www.amazon.com/dp/B07BJ2P6X6?psc=1&ref=ppx_yo2ov_dt_b_product_details

Should I rely on the EnergyShield2 for the RTC?
How do I power the microSD reader? Do I try and tap the power pin between the Arduino and the EnergyShield?

How would you go about this?

I would learn to use each device individually, using available library examples.

Once I fully understand how each device works, then I start with working code for any of them and add one feature at a time, debugging as I go.

1 Like

Throw that one out. There's no crystal so the RTC runs off the internal clock and is wildly inaccurate. I mean it loses or gains seconds per minute. It's enough to make it unusable.

I posted some code a while back that will correct it a little, but only if the board is running. It does nothing for it when the board is powered off.

If you have options other than the RTC on the R4, then use the other options. Forget the R4 has any RTC.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.