PDA

View Full Version : interfacing the DS1302 to the prop



edlikestoboogie
01-29-2008, 12:36 PM
I noticed there is a an object for it in the object exchange.. but there is no schematic for connecting the IC to the prop. Does anyone know this information?

Paul Baker
01-29-2008, 12:58 PM
There are 3 pins which connect the DS1302 to the Propeller, they are chip select, serial clock and serial data. These are the 3 arguments to the method init, so whichever I/O pin you tie each to, you use that value in the method.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker (mailto:pbaker@parallax.com)
Propeller Applications Engineer
[/url][url=http://www.parallax.com] (http://www.parallax.com)
Parallax, Inc. (http://www.parallax.com)

edlikestoboogie
01-29-2008, 02:10 PM
no pull up or pull down resistors needed? I know nothing about these things..

Paul Baker
01-29-2008, 03:26 PM
ah sorry, pull-ups on serial clock and serial data, 4.7k or there-abouts.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker (mailto:pbaker@parallax.com)
Propeller Applications Engineer
[/url][url=http://www.parallax.com] (http://www.parallax.com)
Parallax, Inc. (http://www.parallax.com)