Adafruit and Raspberry Pi - Matrimony
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit:

Adafruit and Raspberry Pi - Matrimony

by marks3 on Sat Oct 27, 2012 7:09 pm

(2.47 KiB) Downloaded 136 times

Hi folks,

Thought I would share something.

I wired up a Rasberry Pi to an Adafruit Dallas Realtime Clock thru an Adafruit Level Shifter and an Adafruit Cobbler. The clock works fine. The python code to play with the Buttons and Led's work fine too. Thanks to the Adafruit tuturial on handling debouncing under Arduino.

I have attached a picture (attached) of the breadboard shot by my son's cell phone thru a 2.5 diopter desk lamp. (There is some curvature:)

Here is what this proto does:
1) Green LED lights when python program starts.
2) Red LED lights while red button is pressed.
3) Green button does nothing.
4) Blue Potentiometer varies the output voltage to red and brown wires at bottom - nothing connected yet.
5) Running "hwclock -r" or "hwclock -w " reads or writes to the DS1307.

And finally, I run 'omxplayer' to connect and stream Radio Paradise all day long...

Oh, one more thing - my son's Rasberry is going online in a week or so and will be powered by Solar. We hope to set uptime records.

Please don't hesitate for a better explanation of the 'schematic' if stuff is obscured in the photo.

(2.47 KiB) Downloaded 136 times

Today's project...
IMG-20121027-00550.jpg (924.28 KiB) Viewed 1153 times
Posts: 33
Joined: Fri Oct 12, 2012 1:07 pm
Location: Toronto, Ontario, Canada