Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] I2C again

2007-07-01 by David VanHorn

On 7/1/07, John Samperi <samperi@ampertronics.com.au> wrote:
> At 03:30 AM 2/07/2007, you wrote:
> >it's as if the sonar dosen't hear me.
>
> Does the TWI driver work ok with ANYTHING yet?

This is the only I2C device I have, so I don't know.
I have several, but they all act the same.

>Is there something (links??)  to set the address of the device?

I'm supposed to be able to set it by I2C commands, no links.
It should respond to $00, and $E0 as shipped.


> Ca you get a DS1307 RTC chip (easily available) and test the driver with that?

Not so easy here. If it's not at Radio Shack, it's a no-go at this point.

> Or post a link to the device you want to use so that we can have a
> pip? (Not a ping :-) )

http://www.robot-electronics.co.uk/htm/srf08tech.shtml

> >Tired different speeds, noticing that the devantech docs don't say
> >what speed to use.
>
> It "SHOULD" work with 100KHz TWI.

One would think so.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.