Shop OBEX P1 Docs P2 Docs Learn Events
interfacing the DS1302 to the prop — Parallax Forums

interfacing the DS1302 to the prop

edlikestoboogieedlikestoboogie Posts: 71
edited 2008-01-29 08:26 in Propeller 1
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?

Comments

  • Paul BakerPaul Baker Posts: 6,351
    edited 2008-01-29 05:58
    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
    Propeller Applications Engineer

    Parallax, Inc.
  • edlikestoboogieedlikestoboogie Posts: 71
    edited 2008-01-29 07:10
    no pull up or pull down resistors needed? I know nothing about these things..
  • Paul BakerPaul Baker Posts: 6,351
    edited 2008-01-29 08:26
    ah sorry, pull-ups on serial clock and serial data, 4.7k or there-abouts.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Paul Baker
    Propeller Applications Engineer

    Parallax, Inc.
Sign In or Register to comment.