UNO & Data Log Sheild vs Mega 2650 & Data Log Sheild

Hi all,

I have a sketch I have written which runs as expected (almost) on an UNO and a Data Log shield. However, when I uploaded it to a Megga 2650, the sketch cannot read the RTC or the SD card. Another anomaly is that the LED on pin 13 will not flash as instructed on the UNO, but does on the Mega … hence the “almost” comment at the start of this.

I was under the impression that the data Log shield will work on a 2650

Thanks in advance for all and any comments/advice.

Charles

The RTC probably runs on the I2C bus. This is on pins A4,A5 on a Uno but you need to change to pins 20,21 on the Mega. Wiring problem.

For a Uno, you need to have pin 10 as OUTPUT to use SD, as shown in examples in the IDE. Also as shown, pin 53 is used for this in a Mega. Code problem.

CharlesDavis:
I was under the impression that the data Log shield will work on a 2650

This may be true, and provision is made to re-route the RTC wiring.