Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/09/10 13:48
Read: times


 
#177190 - Bit Bang on Serial Port
Responding to: ???'s previous message


This example is a bit bang implementation. It is not a "serial" transfer using a UART to talk to I2C.

Specifically the SCL line is driven from the RTS handshake signal output from the PC. The SDA signal is driven by the DTR handshake signal coming out from the PC. Reading the SDA line at time of input from the DS1621's in the example is done by monitoring the state of the CTS input hand shake signal.

There is a serious design flaw with this circuit. If one has the RTS and the DTR handshake signals swinging through range of +/- 10V as may be typical for some PC serial ports then when the signal lines are at -10V the input signal levels on SCL and SDA at the DS1621 will be at levels of some negative voltage determined by the clamping action of the zener diodes being forward biased. Typical zeners like this will clamp at voltage of about 0.7 volts. This makes the inputs to the chip be -0.7 volts. If you check the data sheet for the DS1621 you will note that in the critical ratings:

http://datasheets.maxim-ic.com/en/ds/DS1621.pdf

ABSOLUTE MAXIMUM RATINGS
Voltage on Any Pin Relative to Ground -0.5V to +6.0V


This ends up operating the temp sensors outside the absolute limits allowed by the manufacturer. Chip damage is likely to occur over time!!.

Just to qualify my point I looked up a typical 5.1V zener diode at this link:
http://www.diodes.com/datasheets/ds30414.pdf

The zener in the referenced circuit with -10V on the serial port hand shake signal will be biased at right about 2 mA through the 4.7K series resistor. The data sheet shows the VF of the diode to be 0.9V at 10mA and so my estimate at 0.7 volts is totally reasonable.

Another zener diode with 5.1V rating:
http://www.onsemi.com/pub/Colla...1BT1-D.PDF

Specs the VF of the zener at 0.95V at 10mA.

So be very careful about suggesting to deploy circuits of this type that you find on the web. Sometimes, like in this case, the circuits are crap.

Michael Karas








List of 44 messages in thread
TopicAuthorDate
USB to IIC cable            01/01/70 00:00      
   http://i2cchip.com/ ?            01/01/70 00:00      
   FTDI?            01/01/70 00:00      
   Proper test tools            01/01/70 00:00      
   clarification            01/01/70 00:00      
      no, I have no experience with what I wrote above            01/01/70 00:00      
      TotoalPhase - Aardvark            01/01/70 00:00      
         Aardvark            01/01/70 00:00      
            That should be harmless            01/01/70 00:00      
               Unless you're an ant or termite            01/01/70 00:00      
            Aardvark Today            01/01/70 00:00      
         could you explain a bit further            01/01/70 00:00      
            Re: could you explain a bit further            01/01/70 00:00      
         Aardvark....            01/01/70 00:00      
      I have used MCC            01/01/70 00:00      
         Now I used it            01/01/70 00:00      
   without IC            01/01/70 00:00      
      "easy" ?            01/01/70 00:00      
         No need IC            01/01/70 00:00      
         like this            01/01/70 00:00      
            can (peobably) be done, but            01/01/70 00:00      
            Not a great idea!            01/01/70 00:00      
               "Microcontrollers with USB and I2C are now common"            01/01/70 00:00      
                  elaborating            01/01/70 00:00      
            Bit Bang on Serial Port            01/01/70 00:00      
               my opinion expressed by editing the above            01/01/70 00:00      
               remote area..            01/01/70 00:00      
                  No USB without USB protocol            01/01/70 00:00      
                     with minimum MCU            01/01/70 00:00      
                        Forget about it - no bitbanged USB!            01/01/70 00:00      
                        Additonal Comments            01/01/70 00:00      
                           budget and stock            01/01/70 00:00      
                              Silabs C8051F326            01/01/70 00:00      
                                 the package            01/01/70 00:00      
                                    ease of soldering            01/01/70 00:00      
                                       re: ease of soldering            01/01/70 00:00      
                                          handmade            01/01/70 00:00      
                                          Good yield            01/01/70 00:00      
                                             always possible to machine solder at near 100% yield            01/01/70 00:00      
                                                Important proviso            01/01/70 00:00      
                                             Better subcontractor            01/01/70 00:00      
                           found but..            01/01/70 00:00      
                              Found what?            01/01/70 00:00      
                                 reffering            01/01/70 00:00      

Back to Subject List