Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] i2c temperature sensor code

2007-04-12 by Ranjit Puri

Hi,

Heres some classic bit-banged I2C code (written for AVR GCC) that talks to a
DS1631 I2C temperature sensor (see attached).

Regards
Ranjit

On 11 Apr 2007 18:25:08 -0700, jasonparkerhendrix <hendrix.jason@gmail.com>
wrote:
>
>    Does anyone have example winavr code for working with temperature
> sensors via i2c?
>
> Specifically I'm working with a TMP75AIDR
> (http://focus.ti.com/lit/ds/symlink/tmp75.pdf) and an ATMEGA32
> (http://www.atmel.com/dyn/resources/prod_documents/doc2503.pdf)
>
> However, any winavr code for any other i2c sensor and/or avr would be
> very welcomed.
>
> Thanks!
>
>
>  
>



-- 
Ranjit


[Non-text portions of this message have been removed]

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.