Digistump Forums

The Digispark => Digispark (Original) Support => Topic started by: squakie on August 24, 2013, 02:41:56 am

Title: Digispark ds1307 real time clock shield
Post by: squakie 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.
Title: Re: Digispark ds1307 real time clock shield
Post by: digistump 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
Title: Re: Digispark ds1307 real time clock shield
Post by: Roger92706 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
Title: Re: Digispark ds1307 real time clock shield
Post by: digistump on September 03, 2013, 01:17:35 pm
Checkout examples-> DigisparkTinyRTClib