Pages: [1]   Go Down
Author Topic: DataLogging with Arduino UNO: Won't work independent of computer  (Read 1343 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm using an Uno with a sensor and microSD Shield to store data to an SD card. Everything works fine when it is connected to the computer, but when I try to run it with a battery power supply, nothing is written to the card. Also, when I try the same code on an Arduino Mega, everything works fine independent of the computer. Any ideas on why it wouldn't work for the Uno?

Here is the Shield I'm using:
http://www.sparkfun.com/products/9802
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 check it with a multimeter.
What is the voltage between the pind GND and Vin?
What is the voltage between the pins GND and 5V?
What is the voltage of your batteries?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

0
Offline Offline
Full Member
***
Karma: 2
Posts: 107
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have similar problem with UNO.
try this.
1) power on
2) push reset button.
In my case, if I do this, de UNO work correctly, but need make reset after power on. I don't undestand this but...
Logged

Pages: [1]   Go Up
Jump to: