Forum >No SD Card being reported
No SD Card being reported

Any hints on why the SD card is not being recognized?
I have tried a low capacity 2gb card and a class 10 32gb card. Neither one are recognized.
At runtime, the software will act like it is logging and say it is using file 0. It in fact is not writing to the card.
I appreciate any help.
I have tried a low capacity 2gb card and a class 10 32gb card. Neither one are recognized.
At runtime, the software will act like it is logging and say it is using file 0. It in fact is not writing to the card.
I appreciate any help.
2013-09-25 13:44:32 Matt,
You were spot on. I made the changes you suggest and it is now finding the file. It creates the directory and increments file names as it should.
BUT - (Don't you hate those)..... The data in the log file is not ASCII like I expected. Is it encoded?
[code]
SU € q 43 ÀDj3
T p3 ðÈ^ù¢[email protected] ï €gD„3 ð<^ù¢[email protected]„3 €gD„3
ðXû™B㯧„3 ó È $ïF.4 ð§hù¢[email protected] à¨D.4
ðôû™B⯧Â.4 ó e $ïFô4 ðgrù¢[email protected]ô4 u €~Dô4
ð.û™B⯧Âô4 ó ¿ $ïF¾5 ð"|ù¢[email protected]¾5 õ @uD¾5
ðdû™B㯧¾5 ó ô $ïFn6 ø A PC ïÄ ŒÆn6 ù à qC ¤6 ðÁ†ù¢[email protected]¤6 ì @uD¤6
ð~ø™B㯧¤6 ó P ˜îFJ7 ø WD À!Å à€ÆJ7 ù €¢Ã FC ,Âr7 ð ù¢[email protected] X à¶Dr7
ð©ø™B㯧Âr7 ó ‡ ˜îF8 ð`šù¢[email protected]8 [ ŸD8
[/code]
It almost looks like it is a baud rate issue.
Following up on my idea that I was getting the wrong SD library. I have verified that the library in the Arduino program install folder takes priority over a duplicate library in the sketch folder. So where to put the lib's should also be highlighted in the much needed startup guide.
One final thing. I have duplicated your problem with the blank screen. I can make it happen, if I plug the OBD connector into the sensor board, THEN into the vehicle. Reset does nothing. It just glows.
So try this. Leave the OBD connector attached to the vehicle and unplug it from the sensor board. You can leave the I2C connector attached.
Breath once, cross your fingers and plug it back into the board. You know it is working when the display paints across at boot up.
Why does it do this? No idea. I think putting in some serial print lines and hooking to a laptop at startup might help diagnose where it is hanging.
Sb.
sbirdranch
You were spot on. I made the changes you suggest and it is now finding the file. It creates the directory and increments file names as it should.
BUT - (Don't you hate those)..... The data in the log file is not ASCII like I expected. Is it encoded?
[code]
SU € q 43 ÀDj3
T p3 ðÈ^ù¢[email protected] ï €gD„3 ð<^ù¢[email protected]„3 €gD„3
ðXû™B㯧„3 ó È $ïF.4 ð§hù¢[email protected] à¨D.4
ðôû™B⯧Â.4 ó e $ïFô4 ðgrù¢[email protected]ô4 u €~Dô4
ð.û™B⯧Âô4 ó ¿ $ïF¾5 ð"|ù¢[email protected]¾5 õ @uD¾5
ðdû™B㯧¾5 ó ô $ïFn6 ø A PC ïÄ ŒÆn6 ù à qC ¤6 ðÁ†ù¢[email protected]¤6 ì @uD¤6
ð~ø™B㯧¤6 ó P ˜îFJ7 ø WD À!Å à€ÆJ7 ù €¢Ã FC ,Âr7 ð ù¢[email protected] X à¶Dr7
ð©ø™B㯧Âr7 ó ‡ ˜îF8 ð`šù¢[email protected]8 [ ŸD8
[/code]
It almost looks like it is a baud rate issue.
Following up on my idea that I was getting the wrong SD library. I have verified that the library in the Arduino program install folder takes priority over a duplicate library in the sketch folder. So where to put the lib's should also be highlighted in the much needed startup guide.
One final thing. I have duplicated your problem with the blank screen. I can make it happen, if I plug the OBD connector into the sensor board, THEN into the vehicle. Reset does nothing. It just glows.
So try this. Leave the OBD connector attached to the vehicle and unplug it from the sensor board. You can leave the I2C connector attached.
Breath once, cross your fingers and plug it back into the board. You know it is working when the display paints across at boot up.
Why does it do this? No idea. I think putting in some serial print lines and hooking to a laptop at startup might help diagnose where it is hanging.
Sb.

2013-09-25 13:44:32 Matt,
You were spot on. I made the changes you suggest and it is now finding the file. It creates the directory and increments file names as it should.
BUT - (Don't you hate those)..... The data in the log file is not ASCII like I expected. Is it encoded?
[code]
SU € q 43 ÀDj3
T p3 ðÈ^ù¢[email protected] ï €gD„3 ð<^ù¢[email protected]„3 €gD„3
ðXû™B㯧„3 ó È $ïF.4 ð§hù¢[email protected] à¨D.4
ðôû™B⯧Â.4 ó e $ïFô4 ðgrù¢[email protected]ô4 u €~Dô4
ð.û™B⯧Âô4 ó ¿ $ïF¾5 ð"|ù¢[email protected]¾5 õ @uD¾5
ðdû™B㯧¾5 ó ô $ïFn6 ø A PC ïÄ ŒÆn6 ù à qC ¤6 ðÁ†ù¢[email protected]¤6 ì @uD¤6
ð~ø™B㯧¤6 ó P ˜îFJ7 ø WD À!Å à€ÆJ7 ù €¢Ã FC ,Âr7 ð ù¢[email protected] X à¶Dr7
ð©ø™B㯧Âr7 ó ‡ ˜îF8 ð`šù¢[email protected]8 [ ŸD8
[/code]
It almost looks like it is a baud rate issue.
Following up on my idea that I was getting the wrong SD library. I have verified that the library in the Arduino program install folder takes priority over a duplicate library in the sketch folder. So where to put the lib's should also be highlighted in the much needed startup guide.
One final thing. I have duplicated your problem with the blank screen. I can make it happen, if I plug the OBD connector into the sensor board, THEN into the vehicle. Reset does nothing. It just glows.
So try this. Leave the OBD connector attached to the vehicle and unplug it from the sensor board. You can leave the I2C connector attached.
Breath once, cross your fingers and plug it back into the board. You know it is working when the display paints across at boot up.
Why does it do this? No idea. I think putting in some serial print lines and hooking to a laptop at startup might help diagnose where it is hanging.
Sb.
sbirdranch
You were spot on. I made the changes you suggest and it is now finding the file. It creates the directory and increments file names as it should.
BUT - (Don't you hate those)..... The data in the log file is not ASCII like I expected. Is it encoded?
[code]
SU € q 43 ÀDj3
T p3 ðÈ^ù¢[email protected] ï €gD„3 ð<^ù¢[email protected]„3 €gD„3
ðXû™B㯧„3 ó È $ïF.4 ð§hù¢[email protected] à¨D.4
ðôû™B⯧Â.4 ó e $ïFô4 ðgrù¢[email protected]ô4 u €~Dô4
ð.û™B⯧Âô4 ó ¿ $ïF¾5 ð"|ù¢[email protected]¾5 õ @uD¾5
ðdû™B㯧¾5 ó ô $ïFn6 ø A PC ïÄ ŒÆn6 ù à qC ¤6 ðÁ†ù¢[email protected]¤6 ì @uD¤6
ð~ø™B㯧¤6 ó P ˜îFJ7 ø WD À!Å à€ÆJ7 ù €¢Ã FC ,Âr7 ð ù¢[email protected] X à¶Dr7
ð©ø™B㯧Âr7 ó ‡ ˜îF8 ð`šù¢[email protected]8 [ ŸD8
[/code]
It almost looks like it is a baud rate issue.
Following up on my idea that I was getting the wrong SD library. I have verified that the library in the Arduino program install folder takes priority over a duplicate library in the sketch folder. So where to put the lib's should also be highlighted in the much needed startup guide.
One final thing. I have duplicated your problem with the blank screen. I can make it happen, if I plug the OBD connector into the sensor board, THEN into the vehicle. Reset does nothing. It just glows.
So try this. Leave the OBD connector attached to the vehicle and unplug it from the sensor board. You can leave the I2C connector attached.
Breath once, cross your fingers and plug it back into the board. You know it is working when the display paints across at boot up.
Why does it do this? No idea. I think putting in some serial print lines and hooking to a laptop at startup might help diagnose where it is hanging.
Sb.

2013-09-25 11:15:08 [quote="sbirdranch"]
Matt,
Thanks so much for the specifics. I'll give this a try.
This software and set of hardware needs a wiki in the worst way. I asked Stanley how we could contribute back to his project, but haven't heard anything. Seems he has/is at the World Maker Fair.
I'll let you know how this goes.
SB.
[/quote]
I agree the information is scattered around and those updated libraries are not clear to find. It would have been good to have a getting started guide as I had my connectors in upside down. The breakout I/O board has no schematics and there are no schematics for the obd adapter itself.
I still cannot get anything on my TFT display when plugged into the obd port. I thought this would be a hardware problem with the adapter power converter. But if you had the same problem then maybe it is something in the programming?
mattt
Matt,
Thanks so much for the specifics. I'll give this a try.
This software and set of hardware needs a wiki in the worst way. I asked Stanley how we could contribute back to his project, but haven't heard anything. Seems he has/is at the World Maker Fair.
I'll let you know how this goes.
SB.
[/quote]
I agree the information is scattered around and those updated libraries are not clear to find. It would have been good to have a getting started guide as I had my connectors in upside down. The breakout I/O board has no schematics and there are no schematics for the obd adapter itself.
I still cannot get anything on my TFT display when plugged into the obd port. I thought this would be a hardware problem with the adapter power converter. But if you had the same problem then maybe it is something in the programming?

2013-09-25 11:15:08 [quote="sbirdranch"]
Matt,
Thanks so much for the specifics. I'll give this a try.
This software and set of hardware needs a wiki in the worst way. I asked Stanley how we could contribute back to his project, but haven't heard anything. Seems he has/is at the World Maker Fair.
I'll let you know how this goes.
SB.
[/quote]
I agree the information is scattered around and those updated libraries are not clear to find. It would have been good to have a getting started guide as I had my connectors in upside down. The breakout I/O board has no schematics and there are no schematics for the obd adapter itself.
I still cannot get anything on my TFT display when plugged into the obd port. I thought this would be a hardware problem with the adapter power converter. But if you had the same problem then maybe it is something in the programming?
mattt
Matt,
Thanks so much for the specifics. I'll give this a try.
This software and set of hardware needs a wiki in the worst way. I asked Stanley how we could contribute back to his project, but haven't heard anything. Seems he has/is at the World Maker Fair.
I'll let you know how this goes.
SB.
[/quote]
I agree the information is scattered around and those updated libraries are not clear to find. It would have been good to have a getting started guide as I had my connectors in upside down. The breakout I/O board has no schematics and there are no schematics for the obd adapter itself.
I still cannot get anything on my TFT display when plugged into the obd port. I thought this would be a hardware problem with the adapter power converter. But if you had the same problem then maybe it is something in the programming?

2013-09-25 10:57:48 Matt,
Thanks so much for the specifics. I'll give this a try.
This software and set of hardware needs a wiki in the worst way. I asked Stanley how we could contribute back to his project, but haven't heard anything. Seems he has/is at the World Maker Fair.
I'll let you know how this goes.
SB.
sbirdranch
Thanks so much for the specifics. I'll give this a try.
This software and set of hardware needs a wiki in the worst way. I asked Stanley how we could contribute back to his project, but haven't heard anything. Seems he has/is at the World Maker Fair.
I'll let you know how this goes.
SB.

2013-09-25 10:57:48 Matt,
Thanks so much for the specifics. I'll give this a try.
This software and set of hardware needs a wiki in the worst way. I asked Stanley how we could contribute back to his project, but haven't heard anything. Seems he has/is at the World Maker Fair.
I'll let you know how this goes.
SB.
sbirdranch
Thanks so much for the specifics. I'll give this a try.
This software and set of hardware needs a wiki in the worst way. I asked Stanley how we could contribute back to his project, but haven't heard anything. Seems he has/is at the World Maker Fair.
I'll let you know how this goes.
SB.

2013-09-25 06:16:08 [quote="sbirdranch"]
I appreciate the offer of help. I thought this forum was aimed specifically at the Telematics products on ArduinoDev, so I got lazy and didn't put in enough details.
So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]
The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]
The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url] In fact, the picture on this site is more accurate to what I have. Mine does not use the double row of pins on the mega. It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).
I am not drilled down into the specific pins being used as the card is being driven through a shield. I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]
Since my last post I have also tried an 8g class 4 card with the same result.
[/quote]
There are updated libraries from here [url=https://github.com/stanleyhuangyc/ArduinoOBD]https://github.com/stanleyhuangyc/ArduinoOBD[/url]. Update all of your libraries and the updated megalogger.ino and other files. I have the same setup, I have an 8GB Sony SDHC SD card working. Go into libraries/SD/utilities open file Sd2Card.h and find the line "#define MEGA_SOFT_SPI 0" change the 0 to 1. Then in the megalogger.ino change the SD pin to pin 10.
mattt
I appreciate the offer of help. I thought this forum was aimed specifically at the Telematics products on ArduinoDev, so I got lazy and didn't put in enough details.
So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]
The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]
The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url] In fact, the picture on this site is more accurate to what I have. Mine does not use the double row of pins on the mega. It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).
I am not drilled down into the specific pins being used as the card is being driven through a shield. I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]
Since my last post I have also tried an 8g class 4 card with the same result.
[/quote]
There are updated libraries from here [url=https://github.com/stanleyhuangyc/ArduinoOBD]https://github.com/stanleyhuangyc/ArduinoOBD[/url]. Update all of your libraries and the updated megalogger.ino and other files. I have the same setup, I have an 8GB Sony SDHC SD card working. Go into libraries/SD/utilities open file Sd2Card.h and find the line "#define MEGA_SOFT_SPI 0" change the 0 to 1. Then in the megalogger.ino change the SD pin to pin 10.

2013-09-25 06:16:08 [quote="sbirdranch"]
I appreciate the offer of help. I thought this forum was aimed specifically at the Telematics products on ArduinoDev, so I got lazy and didn't put in enough details.
So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]
The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]
The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url] In fact, the picture on this site is more accurate to what I have. Mine does not use the double row of pins on the mega. It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).
I am not drilled down into the specific pins being used as the card is being driven through a shield. I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]
Since my last post I have also tried an 8g class 4 card with the same result.
[/quote]
There are updated libraries from here [url=https://github.com/stanleyhuangyc/ArduinoOBD]https://github.com/stanleyhuangyc/ArduinoOBD[/url]. Update all of your libraries and the updated megalogger.ino and other files. I have the same setup, I have an 8GB Sony SDHC SD card working. Go into libraries/SD/utilities open file Sd2Card.h and find the line "#define MEGA_SOFT_SPI 0" change the 0 to 1. Then in the megalogger.ino change the SD pin to pin 10.
mattt
I appreciate the offer of help. I thought this forum was aimed specifically at the Telematics products on ArduinoDev, so I got lazy and didn't put in enough details.
So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]
The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]
The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url] In fact, the picture on this site is more accurate to what I have. Mine does not use the double row of pins on the mega. It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).
I am not drilled down into the specific pins being used as the card is being driven through a shield. I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]
Since my last post I have also tried an 8g class 4 card with the same result.
[/quote]
There are updated libraries from here [url=https://github.com/stanleyhuangyc/ArduinoOBD]https://github.com/stanleyhuangyc/ArduinoOBD[/url]. Update all of your libraries and the updated megalogger.ino and other files. I have the same setup, I have an 8GB Sony SDHC SD card working. Go into libraries/SD/utilities open file Sd2Card.h and find the line "#define MEGA_SOFT_SPI 0" change the 0 to 1. Then in the megalogger.ino change the SD pin to pin 10.

2013-09-25 05:54:38 I might have an idea of the issue. I will test it tonight.
The Arduino IDE ships with a copy of the SD library. The code from arduinodev for use with the kits they sell, has a newer version of the library. I'm going to try removing the stock library and putting this one in its place and see what happens.
sbirdranch
The Arduino IDE ships with a copy of the SD library. The code from arduinodev for use with the kits they sell, has a newer version of the library. I'm going to try removing the stock library and putting this one in its place and see what happens.

2013-09-25 05:54:38 I might have an idea of the issue. I will test it tonight.
The Arduino IDE ships with a copy of the SD library. The code from arduinodev for use with the kits they sell, has a newer version of the library. I'm going to try removing the stock library and putting this one in its place and see what happens.
sbirdranch
The Arduino IDE ships with a copy of the SD library. The code from arduinodev for use with the kits they sell, has a newer version of the library. I'm going to try removing the stock library and putting this one in its place and see what happens.

2013-09-24 13:42:56 [quote="sbirdranch"]Mine does not use the double row of pins on the mega.
[/quote]
On the mega, the SPI pins are 50 - 53, that is what the SD card *should* be using. They could also use the ISCP pins, but that shield does not have ISCP so if it is not connected to the SPI pins, there will be no connection.
snskreationz
[/quote]
On the mega, the SPI pins are 50 - 53, that is what the SD card *should* be using. They could also use the ISCP pins, but that shield does not have ISCP so if it is not connected to the SPI pins, there will be no connection.

2013-09-24 13:42:56 [quote="sbirdranch"]Mine does not use the double row of pins on the mega.
[/quote]
On the mega, the SPI pins are 50 - 53, that is what the SD card *should* be using. They could also use the ISCP pins, but that shield does not have ISCP so if it is not connected to the SPI pins, there will be no connection.
snskreationz
[/quote]
On the mega, the SPI pins are 50 - 53, that is what the SD card *should* be using. They could also use the ISCP pins, but that shield does not have ISCP so if it is not connected to the SPI pins, there will be no connection.

2013-09-24 10:26:37 I appreciate the offer of help. I thought this forum was aimed specifically at the Telematics products on ArduinoDev, so I got lazy and didn't put in enough details.
So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]
The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]
The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url] In fact, the picture on this site is more accurate to what I have. Mine does not use the double row of pins on the mega. It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).
I am not drilled down into the specific pins being used as the card is being driven through a shield. I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]
Since my last post I have also tried an 8g class 4 card with the same result.
sbirdranch
So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]
The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]
The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url] In fact, the picture on this site is more accurate to what I have. Mine does not use the double row of pins on the mega. It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).
I am not drilled down into the specific pins being used as the card is being driven through a shield. I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]
Since my last post I have also tried an 8g class 4 card with the same result.

2013-09-24 10:26:37 I appreciate the offer of help. I thought this forum was aimed specifically at the Telematics products on ArduinoDev, so I got lazy and didn't put in enough details.
So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]
The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]
The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url] In fact, the picture on this site is more accurate to what I have. Mine does not use the double row of pins on the mega. It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).
I am not drilled down into the specific pins being used as the card is being driven through a shield. I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]
Since my last post I have also tried an 8g class 4 card with the same result.
sbirdranch
So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]
The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]
The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url] In fact, the picture on this site is more accurate to what I have. Mine does not use the double row of pins on the mega. It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).
I am not drilled down into the specific pins being used as the card is being driven through a shield. I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]
Since my last post I have also tried an 8g class 4 card with the same result.

2013-09-23 16:50:29 If you have a link to the product being used, which arduino you are using, your code and your pins being connected I could definitely try to point out if something is wrong.
snskreationz

2013-09-23 16:50:29 If you have a link to the product being used, which arduino you are using, your code and your pins being connected I could definitely try to point out if something is wrong.
snskreationz

2013-09-23 11:53:36 The error code being returned in the init function of Sd2Card is 1. According to the .h file, a 1 is a timeout.
The error value being returned is 255.
Maybe this helps.
sbirdranch
The error value being returned is 255.
Maybe this helps.

2013-09-23 11:53:36 The error code being returned in the init function of Sd2Card is 1. According to the .h file, a 1 is a timeout.
The error value being returned is 255.
Maybe this helps.
sbirdranch
The error value being returned is 255.
Maybe this helps.

2013-09-23 11:26:43 Any hints on why the SD card is not being recognized?
I have tried a low capacity 2gb card and a class 10 32gb card. Neither one are recognized.
At runtime, the software will act like it is logging and say it is using file 0. It in fact is not writing to the card.
I appreciate any help.
sbirdranch
I have tried a low capacity 2gb card and a class 10 32gb card. Neither one are recognized.
At runtime, the software will act like it is logging and say it is using file 0. It in fact is not writing to the card.
I appreciate any help.
