[minima] Re: Wire.h library modifications

  • From: Michael Yancey <mikeyancey@xxxxxxxxx>
  • To: minima@xxxxxxxxxxxxx
  • Date: Tue, 28 Jan 2014 14:08:41 -0600

> Date: Fri, 24 Jan 2014 19:04:35 +1100
> Subject: [minima] Re: Wire.h library modifications

I've had excellent luck with the I2C Level Shifter. I used two (2) BS170
FETs, and
four (4) 10k resistors. I don't think the resistors are critical - 4.7k
would probably
be fine. Voltages on Si570 'side' are 3.2 to 3.3. No worries.

This way - when I update Arduino 1.0.5 to some newer version - WHEN (i.e.
not IF,
but WHEN) I forget to re-implement the 'comment out the pullup', the Si570
won't be
harmed.

Generally speaking, from a software development stance - I wouldn't make
changes
to my 'system' code, in this case, Arduino IDE / compiler, as I would
always be relying
on it to be always commented out in the future.

Solve the problem (use the I2C level shifter) and it's fixed. Also, no
cutting or
de-soldering any Mega's is necessary.

I'm also working on a general Si570 library for Arduino, just for reuse in
other projects.
It's a swell IC.

73 -
-- 
..
Mike Yancey, KM5Z
Dallas, Texas
http://www.km5z.us <http://www.mikeyancey.com>
............................................................................
"The problem with Internet quotations is that many are not genuine."
- Abraham Lincoln

Other related posts: