[minima] Re: Some Updates from Me!

  • From: DuWayne KV4QB <duwayne@xxxxxxxx>
  • To: minima@xxxxxxxxxxxxx
  • Date: Tue, 28 Jan 2014 19:40:43 -0500

Here is a simple level converter I have seen used on several different projects.

Wouldn't be too hard to add to the radiono board.
DuWayne
KV4QB

--
Of all the things I lost, I miss my mind the most.


On 1/28/2014 7:25 PM, Steve VK2SJA wrote:
I just looked at the radiono code I downloaded when this list first
started and found this line:
IMPORTANT, the wire.h is modified so that the internal pull up resisters
are not enabled.
This is required to interface Arduino with the 3.3v Si570's I2C
interface.
routines to interface with si570 via i2c (clock on analog pin 5, data on
analog pin 4) */
Does this mean that the comment was already done at that time and I
My understanding:-

The modification *does* need to be done. If in any doubt measure the
voltage on the the two I2C pins while the software is *running* and
double-check that you have 3v3 and not 5v.

My confusion is that the comment refers to a modification in the header
file wire.h whereas Mark actually found and changed a line or two in a
file called twi.c as per his Wiki post.

So there may be more than one way to do this. I'll look into it later when
I get the chance.

Someone recently posted that they have had great success with using a
hardware level convertor circuit. BTW: You can buy these (at expense)
ready made from the likes of Adafruit etc. The more I think about it the
more I like the idea. Bullet proof. Can someone post a circuit or a link
to same for one of these? Sorry if I missed it in the previous post.

73, Steve




Attachment: level converter.png
Description: PNG image

Other related posts: