2005-02-04 -+- Rodrigo Fagundes -+- darktopera@hotmail.com -+- Very interesting this article, a very good work. But I did not understand yet why to use I2C? I´m used to build a simple inverter circuit (with transistor, resistors and two clamp diodes), and then I can invert and protect the atmega8 serial output, and the computers I tested worked very well even with 0 to 5V signal inverted (without the -10 negative signal).
Thanks :) -+- 200.103.241.156 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 2005-02-04 -+- Mark -+- montafon(at)lycos(dot)com -+- I have to agree with Rodrigo. Two transistors and three (or better four) resistors is enough to communicate over rxd/txd. -+- 195.168.62.36 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) 2005-02-04 -+- Guido Socher -+- -+- Hi Rodrigo and Mark,
I know that but those transistors and resistors are still much
more than the parts used here.
The software is more complex here but software can be copied once
it is written.
-+- 195.71.95.32 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 2005-02-07 -+- Troy -+- -+- There are external I2C bus connection on most PC, The mouse and Keyboard coneecters, they us a bus called the SMbus but from what I understatnd there is very little difference between them, and one could use the mouse connector to talk I2C to a slave device. -+- 207.115.77.187 = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 2005-02-22 -+- Jay -+- -+- Thanks for this article-- its great. I've been planning to try and find a way to interface a mac to a device that has I2C as its only interface (a devantech SRF10 sonar unit.) I think I can work up a solution using the code you've provided and a USB to RS232 adapter.

If you do a followup article, I'd appreciate a little bit more detail about how the software works, and how the RS232 connection to the AVR circuit emulates I2C. It wasn't clear to me why the diodes were there and why the resisters were inline instead of tied to Vcc.

But much thanks! I won't be building the temperature circuit, but I will be building some sort of an RS232 to I2C cicuit to interface with these I2C devices. -+- 207.171.180.101 = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 2005-02-22 -+- Bob -+- -+- Thanks a lot for this wonderful project !

But is there a way to add a fan monitoring ?? -+- 82.225.192.66 = Mozilla/5.0 (compatible; Konqueror/3.3; Linux) KHTML/3.3.2 (like Gecko) 2005-02-22 -+- Edouardo -+- edouardo.manza@hotmail.com -+- I agree with Bob, the best would be
http://bit-tech.net/article/51/2
but with an avr for the rs232 interface

edouardo -+- 82.225.192.66 = Mozilla/5.0 (compatible; Konqueror/3.3; Linux) KHTML/3.3.2 (like Gecko) #2005-05-24 -+- misdrey mendez -+- MISDREY.MENDEZ@latinmail.com -+- DESEO LA DESCARGA DE ESTE ARCHIVO.
GRACIAS. -+- 200.69.103.2 = Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) 2005-06-25 -+- essadi -+- essa842000@yahoo.fr -+- je ss tres satisfe de tout se qui est ecrite
-+- 196.206.205.125 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) 2005-07-04 -+- Joeri -+- joeri@blauw.org -+- Hi Guido, it looks great and I just bought the package from the Tux shop...
One thing is not clear to me: to program the Atmel, you need to connect to the "load" plug, and issue the commands "make, make load" and after that has been done you can connect the RS232 to the "regular" plug (with the SDA/ SCL signals).
Right??

Thanks, Joeri -+- 132.189.76.10 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461; Guidant IE5 09302001 Win2000 Distribution; .NET CLR 1.0.3705; .NET CLR 1.1.4322) 2005-07-04 -+- Guido Socher -+- -+- Hello Joeri,
yes, that is if you have a rs232 based programer. If your programer
uses the parallel port then you do not re-connect anything.
-+- 195.71.95.98 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 2005-07-07 -+- Joeri -+- -+- Thanks Guido, but I actually meant "in circuit" progranmming the device. So I dont have a separate programmer... just the "I2C digital thermometer" circuit. -+- 195.212.52.6 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461; Guidant IE5 09302001 Win2000 Distribution; .NET CLR 1.0.3705; .NET CLR 1.1.4322) 2005-10-23 -+- David.fang -+- david_fang_cn@hotmail.com -+-

If you are sourcing NTC sensor. me! it your right contact for the cost and quality reason.


David Fang

Sensor advanced market Manager
Hengshinki Elec. Co.,
Qingdao,China
-+- 221.3.41.94 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) 2005-10-26 -+- success chinwe -+- success4real2007@yahoo.com -+- oh i'm very grateful to get to this site. realy i 'm presently writing a project on design , construction and testing of digital thermometer... i have gotten enough information here and as well hoping to get more
thanks
bye -+- 213.185.106.151 = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) 2005-11-01 -+- Rolf -+- rolf.freitag@email.de -+- Interesting, but i do prefer a DMM like the VC 820 at a serial port and with a PT1000 resistor for temperature measurement because the PTs are calibrated and long time stable. I'm using the PTs from 2 up to 1000 Kelvin.
And you don't need a microcontroller for I2C; you can use bit banging via the parallel port but you need hard realtime e. g. with the RTAI patch.
-+- 83.171.151.18 = Opera/8.5 (X11; Linux i686; U; en) 2006-06-06 -+- Stefan Groißmeier -+- punkundercover (at) gmx .de -+- It´s a great Article!

I want to build an pc interface via USB, that is very easy to build and that can be used on different operating systems.

I have found some I/O expander for the I2C Bus and analog digital converters. The new interface should be a basis for communication for external hardware.


Has anyone tried to simulate the I2C Bus with an RS-232 over USB adapter (/chip) ?

thx


Stefan -+- 84.151.33.224 = Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 2006-10-12 -+- chicolesky -+- chicolesky@hotmail.com -+- muy bueno, lo implementaremos a unos sensores de polvo, pero ahora tengo que convertir mi señal del sensor a voltaje, ya que el sensor que ocupare entrega de 4-20 mA
pero el esquema me sirve
adioss!! -+- 200.68.45.130 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) 2006-10-30 -+- Wolfgang Tomaschitz -+- wolfgang@info.dappach.at -+- Thanks for this very nice Produkt and the Software. I am a absolutly beginner
to build electronic circuits, and have bought the package from the Tux shop.
I dont have problems to build it, and now I can put the output into a postgres databaseserver. The little weatherstation can be fond at
http://dappach.at/portal/zope/temp/view
so everybody can see the functions.The Themperature will be actual every 30 min.
It stays in the northern part of Austria.
Greetings from Austria!. -+- 82.218.13.184 = Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5