Pages: [1]   Go Down
Author Topic: DS1307 resetting and SCP1000 stalls..  (Read 507 times)
0 Members and 1 Guest are viewing this topic.
Gistrup Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks Malawi!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

I'm trying to make a logger that stores measurements on a uDrive with a timestamp using the DS1307.

If system is pulled of power it sometimes loses time and starts in year 2000 again.

I have checked battery and it is 3V, xtal looks stable.

Also when running complete setup the program stops at SCP1000 but works when only using the SCP1000

Any suggestions on what to look for?
Logged

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

Are the contacts clean of the battery? Have you measured it when connected?
Logged

Rob Tillaart

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

Gistrup Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks Malawi!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Battery contacts are clean and we measure Vbat away from battery so we don't push connectors down for better contact.
Logged

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

Quote
If system is pulled of power it sometimes loses time and starts in year 2000 again.
Is the RTC reset or the Arduino timekeeping code?

Can you post your code?

Have a link to the datasheet of the SCP1000?

What pins do the uDrive use?

many questions, I know ...
Logged

Rob Tillaart

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

Gistrup Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks Malawi!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What I can measure system isn't reset.

The SCP1000 used is this one:
http://www.sparkfun.com/products/8161

uDrive is on RS232 so not connected to DS1307 or SCP1000
Logged

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


What starts in the year 2000 again if it is not the RTC?
Logged

Rob Tillaart

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

Gistrup Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks Malawi!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Fault found with RTC, was problem with soldering on DS1307 socket.
Problem started when slightly bending board!

So now just the  SCP1000 problem..
Logged

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

Describe the problem, what do you expect, what do you get, and post your code...
Logged

Rob Tillaart

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

Pages: [1]   Go Up
Jump to: