Comments on: Laboratories, Accelerometers And Kitchen Crockery https://blog.nearfuturelaboratory.com/2009/05/29/laboratories-accelerometers-and-kitchen-crocker/ Clarify Today, Design Tomorrow Fri, 18 Aug 2017 18:01:36 +0000 hourly 1 https://wordpress.org/?v=5.5.1 By: Julian https://blog.nearfuturelaboratory.com/2009/05/29/laboratories-accelerometers-and-kitchen-crocker/#comment-489 Sun, 05 Jul 2009 16:55:23 +0000 http://www.nearfuturelaboratory.com/?p=3477#comment-489 In reply to Len.

It is a 3V device. You can get it to work with an Arduino running at 5v. It’s not a “good” thing to do as you’ll be out of tolerance, but if you pull up the I2C lines to the Arduino logic rail, you’ll probably get away with this logic level mismatch for a bit, but it’s not advisable for anything “production.” There are alternatives, such as the Spark Fun logic level converter (http://bit.ly/3edAb0) or some of the Arduino variants that run at 3.3v (the “Pro” editions such as http://bit.ly/eZeT2).

The I2C stuff is pretty straight forward once you get around the handful of “gotchas” – including the addressing and so forth. It helps if you have one of these inexpensive USB logic analyzers or a scope nearby to watch the bits and debug some of the initial kinks. It really is worth the $150 or so for a USB logic analyzer, if only because it’ll save you time and stress!

I review one here: http://www.nearfuturelaboratory.com/2008/05/29/logical-analysis/

And here: http://www.nearfuturelaboratory.com/2008/10/24/a-new-logic-analyzer-and-an-i2c-compass/

Julian

]]>
By: Len https://blog.nearfuturelaboratory.com/2009/05/29/laboratories-accelerometers-and-kitchen-crocker/#comment-488 Sun, 05 Jul 2009 09:50:58 +0000 http://www.nearfuturelaboratory.com/?p=3477#comment-488 I thought this device was 3V? How does this work with the Arduino at 5V?
Thanks for the code, I am struggling to get my head around this I2C stuff!

]]>