Loading ...
Sorry, an error occurred while loading the content.

25032Re: I2C bus problem

Expand Messages
  • clerew5
    Apr 4, 2012
      --- In nslu2-linux@yahoogroups.com, "clerew5" <clerew5@...> wrote:
      Replying to my own message:

      > Now the doco for the PCF8575 quite definitely states that upon power-on (specifically before the power supply has risen to 1.2V) the chip resets itself so that all the outputs are High (i.e. +ve, provided you provide a suitable pullup-resistor). And I have arranged one of those outputs so that when it is high it inhibits all those relays, so no boilers come on until the system has booted and the control program has started. The doco says clearly that after reseting these outputs to high they remain in that state until the i2c bus dictates otherwise.
      > Nevertheless, the relays are coming on as soon as power is plugged in, before the slug even begins its boot process. So what is happening? I cannot see how the i2c bus stuff in Slogos can have awoken that early and, in any case, it does not even know the bus address of these devices. So can it be the manner in which the power comes on? Note that I have bypassed the 'on' button (again according to the wiki), so the slug is on so long as its power supply is plugged it (and plugging it in starts the boot process).

      Nothing like composing a long message to this list to make you work out the problem for yourself :-( .

      Actually, the PCF8575 was working as advertised, but the pull-up resistor was not man enough to silence the relays (though it actually did reduce the voltage applied to them). A smaller resistor should fix it.
    • Show all 3 messages in this topic