Page 1 of 1

I2C and a Dallas temperature sensor at the serial port

Posted: Mon Jun 07, 2010 11:44 am
by infratec
Hi,

since I did't find anything about I2C in the forum and it is not mentioned in the original topic,
I thought it will be a good idea to make a hint to

http://www.purebasic.fr/english/viewtop ... 6&start=15

There you can find a I2C implementation over the serial port.
A Dallas DS1631 I2C temperature sensor is handled by this code.

Best regards,

Bernd

:oops: I hope CrazyFrog112 has nothing against this topic

Re: I2C and a Dallas temperature sensor at the serial port

Posted: Mon Jun 07, 2010 12:45 pm
by CrazyFrog112
I have nothing against this :D

Re: I2C and a Dallas temperature sensor at the serial port

Posted: Mon Jun 07, 2010 1:41 pm
by jamba
great!
I see I2C in my future...so thanks for posting the link! :mrgreen:

Re: I2C and a Dallas temperature sensor at the serial port

Posted: Mon Jun 07, 2010 6:22 pm
by infratec
Hi,

here you can find the hardware which will fit the software :D

Image

:oops: I hope that this 'graphic' link is allowed.

Simply use a DS1631 instead of U1
Remove U2 and C4

That's all.

Bernd

Re: I2C and a Dallas temperature sensor at the serial port

Posted: Mon Jun 07, 2010 8:44 pm
by CrazyFrog112
Or you can use this version ( the one I've built ). It powers directly from USB port and the component-list is smaller.
You can add up to 8 sensors in parallel-conection.

Image

The project I'll be working in couple of weeks is for a thermometer that uses 1-wire technology and I will try to translate some codes again.

Re: I2C and a Dallas temperature sensor at the serial port

Posted: Tue Jun 08, 2010 11:57 am
by User_Russian
CrazyFrog112 wrote:It powers directly from USB port and the component-list is smaller.
Maybe once a temperature sensor connected to the bus USB?
An example can be found here
PC program written in PureBasic :) :)