Pages: [1]   Go Down
Author Topic: ICSP Header Pins & DS3234  (Read 232 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using the DS3234 Library from here

http://www.henningkarlsen.com/electronics/library.php?id=71

And the HW from here, with no battery

https://www.sparkfun.com/products/10160

I have an Arduino Mega 2560, connected to a 3.2" Sainsmart TFT, which is using the Pins

static const uint8_t SS   = 53;
static const uint8_t MOSI = 51;
static const uint8_t MISO = 50;
static const uint8_t SCK  = 52;

And so I connected my RTC to the ICSP pins
// ICSP header pinout:      +---+---+
//                1 - MISO  | X | X |  2 - Vcc
//                          +---+---+
//                3 - SCLK  | X | X |  4 - MOSI
//                          +---+---+
//                5 - Reset | X | X |  6 - GND
//                          +---+---+

MISO  -- MISO
SCLK  --  CLK
MOSI  --  MOSI
 SS =  Pin 9

VCC and GND connect to the Arduino Pin VCC and GND and not the ICSP header.  When I run the example code, I do not see any time.  Can I run from the pins and the ICSP at the same time?

Thanks.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just tried on an UNO, just that and nothing else and still no luck.  Changed pins to

SS  = D8
MOSI  = D11
MISO = D12
SCLK = D13
VCC = 3.3
GND = GND

Does it work without a battery?
Logged

Pages: [1]   Go Up
Jump to: