Shop OBEX P1 Docs P2 Docs Learn Events
I2C with a BS1 — Parallax Forums

I2C with a BS1

Roy CarlsonRoy Carlson Posts: 46
edited 2009-11-03 15:45 in BASIC Stamp
Has anyone developed code to do I2C with a BS1?

I purchased the Prop1 from ETX-TEK and it uses the BS1 with 8 pins.· I am looking for a way (software) to read and adjust a Futurelec DS1307 Time Clock board I purchased last year.· I want to use the battery backed up clock board to calculate days until Chirstmas.· Maybe even the hours.

Post Edited By Moderator (Joshua Donelson (Parallax)) : 11/2/2009 6:41:04 PM GMT

Comments

  • Redd DawgRedd Dawg Posts: 26
    edited 2009-11-02 18:19
    I don't think bs1 does it, but I'm not the expert. Mike will eventually answer, I'm sure, but don't forget to edit and put in a subject line.....

    Mark

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Mike GreenMike Green Posts: 23,101
    edited 2009-11-02 18:34
    The BS1 doesn't have enough program memory to hold the code needed to do I2C. Use an SPI clock instead like the DS1302. Check the Nuts and Volts Columns. You may find sample code for the BS1.
  • Mike GreenMike Green Posts: 23,101
    edited 2009-11-02 18:59
    Column #33 discusses the DS1302 with a BS2 and mentions that there's not much room left in a BS1 once the DS1302 code is put in. #34 discusses the Pocket Watch B module which is obsolete, easier to use than a plain DS1302, but hard to find.
  • Roy CarlsonRoy Carlson Posts: 46
    edited 2009-11-03 15:45
    Thanks!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    ·
Sign In or Register to comment.