forum.hobbycomponents.com
http://forum.hobbycomponents.com/

Data Logger Shield (HCARDU0093)
http://forum.hobbycomponents.com/viewtopic.php?f=40&t=1779
Page 4 of 4

Author:  chrisbw66 [ Wed Nov 09, 2016 8:26 pm ]
Post subject:  Re: Data Logger Shield (HCARDU0093)

Thank you for your shortened program which just uses the RTC hardware.

I can confirm that I have uploaded this to my Arduino Uno and it doesn't display anything in the Serial Monitor Window at all when the program runs (also using 9600 baud as advised). I have also tried with a different CR1220 battery to see if this makes any difference but it didn't.

I'm guessing that this means that the RTC isn't working. Can I get this unit replaced with a working one ? How would I go about that please ?

Author:  andrew [ Thu Nov 10, 2016 9:55 am ]
Post subject:  Re: Data Logger Shield (HCARDU0093)

Yes, I think it's looking likely there is a problem with the shield. I think I've found you on our system but I'm going to DM you to confirm your details and we can sort it out from there.

Author:  atbukc [ Fri Jan 06, 2017 4:54 pm ]
Post subject:  Re: Data Logger Shield (HCARDU0093)

After downloading and installing Arduino version 1.8.0 I get SD Card error messages despite no hardware changes, after much experimenting I changed the SD library to an olfder one downloaded from here https://learn.adafruit.com/adafruit-dat ... d-leonardo
and all is now working fine again, this is with a Hobbycomponents UNO+ board.
Hope this might help someone..

Andy

Author:  Gingerbloke [ Sun Mar 26, 2017 7:44 am ]
Post subject:  Re: Data Logger Shield (HCARDU0093)

Hi Andrew, this is a great little board and works fine on the Uno. Can you confirm that the modifications you suggested for the Mega are also required when using the Leonardo?

andrew wrote:
The reason why the shield wont work on a Mega in its unmodified state is because it needs to use the I2C and the SPI interfaces on your Arduino board. As you are probably already be aware, these two interfaces are in a different location on a Mega compared to an Uno. Looking at the schematic it looks like you would need to do the following:...


For my application I found that the SD library used a bit too much SRAM on the Uno, but the extra half-a-kilobyte available on the Leonardo is perfect to cover my needs. I tried a smaller SDFat library with the Uno, which kind-of worked. https://github.com/greiman/SdFat. It reduced the memory footprint requirement but it also has significant restrictions, such as, it cannot create files, they must exist already on the SD card and cannot be resized. I think the better option is to add the hardware mods to the shield and use the extra memory of the Leonardo (32u4).

Thanks

John

Author:  andrew [ Mon Mar 27, 2017 9:02 am ]
Post subject:  Re: Data Logger Shield (HCARDU0093)

Quote:
Can you confirm that the modifications you suggested for the Mega are also required when using the Leonardo?


I'm afraid if you want to use the shield with a Leonardo you will also have to make modifications. For the I2C interface these can also be found on the two end pins of the 10 way header near the reset button (they are also on digital pins D2 & D3) on the Leonardo. For the SPI interface on a Leonardo this is only available via the 6 pin ICSP header. There is a pinnout of the SPI interface on the Arduino website here:

https://www.arduino.cc/en/reference/SPI

Author:  Gingerbloke [ Mon Mar 27, 2017 10:27 am ]
Post subject:  Re: Data Logger Shield (HCARDU0093)

Thank you Andrew. The modifications should not be a problem.
Best regards, John.

Page 4 of 4 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/