PDA

View Full Version : I2C with a BS1



Roy Carlson
11-03-2009, 01:53 AM
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

Redd Dawg
11-03-2009, 02:19 AM
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 Green
11-03-2009, 02:34 AM
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 Green
11-03-2009, 02:59 AM
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 Carlson
11-03-2009, 11:45 PM
Thanks!

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