Hi,
I'm trying to interface four laboratory balances to the UART serial pins on a Mega 2560 Rev 3 board. The data collection rate is minimal - a 20 character string from each balance once every 5 minutes.
I'd like to log data to the data logging shield to use the RTC feature to timestamp. I'd also like to display a graph of the data on the 2.8" TFT V2 shield. Is is possible to use both shields together?
If not, is it possible to write to the micro SD card on the 2.8" TFT shield - the Adafruit help for this shield indicates reading, but not writing, to this card. I'd sacrifice the timestamp if absolutely required.
Thanks for the help!
Robert
Using the data logging shield with the 2.8" TFT V2 shield
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 1
- Joined: Thu Jul 03, 2014 11:20 pm
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Using the data logging shield with the 2.8" TFT V2 shiel
You can do it. However, you will have to cut a trace on the logger shield to disconnect the SD card chip select line (the trace is a thin strip of copper bonded to the board. It is underneath the blue coating. Make sure you cut all the way through it).
Also, make sure you get a set of stacking headers for the logger shield, so that you can stack the TFT on top of it.
https://www.adafruit.com/product/85
This will disable the SD card on the logger. You can then read and write to the SD card on the TFT shield. To do that, set up the SD.begin call in your sketch with pin 4 as the Chip Select.Also, make sure you get a set of stacking headers for the logger shield, so that you can stack the TFT on top of it.
https://www.adafruit.com/product/85
- wdickenson
- Posts: 184
- Joined: Fri Nov 16, 2012 8:43 pm
Re: Using the data logging shield with the 2.8" TFT V2 shiel
How about the other way around ? I would rather use the datalogger shield and not the TFT Shield ?
Thanks
Thanks
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Using the data logging shield with the 2.8" TFT V2 shiel
You mean use the SD card on the logger instead of on the TFT? You can't really do that. Pin 10 is a conflict. You can't move it on the TFT, and you can't move it on the logger. The only solution I can think of is to cut it on the logger.
- wdickenson
- Posts: 184
- Joined: Fri Nov 16, 2012 8:43 pm
Re: Using the data logging shield with the 2.8" TFT V2 shiel
ugh.. so no jumper on TFT to cut ? ahh well. That limits it for my application. Thank you for checking
- wdickenson
- Posts: 184
- Joined: Fri Nov 16, 2012 8:43 pm
Re: Using the data logging shield with the 2.8" TFT V2 shiel
of course, in a blinding flash of the obvious, I could skip the shield and just not connect pin 4 ? or, cut the post on the shield so pin 4 is unconnected ? obviously the TFT tends to be the top .............. that should solve my problem. A bit crude but workable
Please be positive and constructive with your questions and comments.