Author Topic: Digispark ds1307 real time clock shield  (Read 3787 times)

squakie

  • Newbie
  • *
  • Posts: 1
Digispark ds1307 real time clock shield
« on: August 24, 2013, 02:41:56 am »
I bought this kit with the hopes of using it as a rtc on a raspberry pi.  I haven't been able to find anything yet in the way of a schematic for the kit or for the pin-outs on the digispark.

Has anyone done this and if so can you give me some pointers?

Thank you.

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: Digispark ds1307 real time clock shield
« Reply #1 on: August 24, 2013, 10:57:53 am »
Every product page on digistump.com has a "Resources" tab with schematics and all source files - that should be all you need. Short version is P0 is SDA, P2 is SCK, for the raspi put 3.3v on 5V pin and connect GND to GND

Roger92706

  • Newbie
  • *
  • Posts: 1
Re: Digispark ds1307 real time clock shield
« Reply #2 on: September 03, 2013, 01:09:55 pm »
I got the digispark and the real time clock shield too. I was also thinking of getting it to work on my rpi. First i would like to know that it is working. I got blink to work after i changed pin 13 to 1. Also played with something that printed a string back to the arduino interface. Is there a sketch that you can set the time and have it display back to the arduino interface or is there a monitor it will print to.  Im on a mac.  If you get a sketch working on your pi please post it. If i get one together i will post mine. Thanks. R

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: Digispark ds1307 real time clock shield
« Reply #3 on: September 03, 2013, 01:17:35 pm »
Checkout examples-> DigisparkTinyRTClib