Hi
I have the following shields(datalogger and Xbee)
http://www.ladyada.net/make/logshield/
http://www.sparkfun.com/products/8471
Can i stack one on top of the other(pin-conflicts)? I plan to put female headers on the Datalogger shield
Will the 2 shields draw too much power and fry something?
I am planning to stack the shields in the following order
Arduino->Data Logger->Xbee
Pls help as i need to get this going urgently and have been looking at the xbee datasheets without much luck.
Thanks
Sam
Combining the data-logger shield, and the x-bee shield
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 10
- Joined: Sun Mar 20, 2011 2:11 am
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Combining the data-logger shield, and the x-bee shield
Check this handy site for pin usage information on shields: http://shieldlist.org/
-
- Posts: 10
- Joined: Sun Mar 20, 2011 2:11 am
Re: Combining the data-logger shield, and the x-bee shield
Thanks so much
That's an awesome site.
Luckily the Datalogger shield and the Xbee shield don't use the same set of pins.
Can both shields draw power from a single Arduino board?
Is there a way to power the Datalogger shield independently?
Regds
Sam
That's an awesome site.
Luckily the Datalogger shield and the Xbee shield don't use the same set of pins.
Can both shields draw power from a single Arduino board?
Is there a way to power the Datalogger shield independently?
Regds
Sam
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Combining the data-logger shield, and the x-bee shield
You should be able to power both from an Arduino.
-
- Posts: 10
- Joined: Sun Mar 20, 2011 2:11 am
Re: Combining the data-logger shield, and the x-bee shield
Hi
I got the datalogger shield to start logging data, but for some reason the led's don't glow.
I am using
#define redLEDpin 3
#define greenLEDpin 4, in the code. Is this correct?
Could i have damaged the LED's with clumsy soldering?
I don't understand why LOG_INTERVAL and SYNC_INTERVAL should be different?
Don't we want to sync as soon as often as we log? Wouldn't we drop data otherwise?
Thanks
Sam
I got the datalogger shield to start logging data, but for some reason the led's don't glow.
I am using
#define redLEDpin 3
#define greenLEDpin 4, in the code. Is this correct?
Could i have damaged the LED's with clumsy soldering?
I don't understand why LOG_INTERVAL and SYNC_INTERVAL should be different?
Don't we want to sync as soon as often as we log? Wouldn't we drop data otherwise?
Thanks
Sam
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Combining the data-logger shield, and the x-bee shield
The LEDs are multi-purpose. You need to install jumpers to make them work. In the photo below, they are jumpered to pins 2 and 3.
-
- Posts: 10
- Joined: Sun Mar 20, 2011 2:11 am
Re: Combining the data-logger shield, and the x-bee shield
Thanks, for that.
What about LOG_Interval and SYNC_interval.
How can they be different?
I use 20ms for LOG and 50ms for Sync. Does this make sense? What if i chose 50000ms for sync? Where would it buffer all the data in-between?
Thanks
Sam
What about LOG_Interval and SYNC_interval.
How can they be different?
I use 20ms for LOG and 50ms for Sync. Does this make sense? What if i chose 50000ms for sync? Where would it buffer all the data in-between?
Thanks
Sam
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Combining the data-logger shield, and the x-bee shield
The issue is addressed in the tutorial: http://www.ladyada.net/make/logshield/l ... kthru.html
A sync required writing a whole 2048 byte block of data, even if you only added a few bytes to the file. This is time consuming. It also consumes power which is a major concern in battery-powered logging applications. Flash memory in general has a limited number of write/erase cycles (about 10,000) per block also.
The ultimate fail-safe system would sync on every write, but you should trade this off against logging volume, timeliness, flash lifetime and power considerations.
A sync required writing a whole 2048 byte block of data, even if you only added a few bytes to the file. This is time consuming. It also consumes power which is a major concern in battery-powered logging applications. Flash memory in general has a limited number of write/erase cycles (about 10,000) per block also.
The ultimate fail-safe system would sync on every write, but you should trade this off against logging volume, timeliness, flash lifetime and power considerations.
Please be positive and constructive with your questions and comments.