View Single Post
  #5   Spotlight this post!  
Unread 02-02-2010, 16:52
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Wiring 3.3V Sensors to 5V Analog Breakout...

Quote:
Originally Posted by RyanN View Post
Any reason not to use a resistor connected to the 5V Analog Breakout?

Let's do the math.

V=IR
R=V/I

Voltage drop needed across the resistor will be 5V - 3.3V = 1.7V

From the data sheet, it uses 500μA typical. I'm not sure how the sleep current will work out.

So..
R = V/I
R = 1.7V/500μA
R = 1.7/500x10^-6
R = 1.7/0.0005
R = 3400Ω = 3.4kΩ

Now, the accelerometer has a bit of flexibility. You should be good with any resistor between:

V = 5V-2.2V = 2.8V
R = 2.8V/500μA = 5.6kΩ

and

V= 5V-3.6V = 1.4V
R = 1.4V=500μA = 2.8kΩ

I would stay away from either extreme, preferably lower since I'm not sure what will happen with the sleep current.

Before doing this though, let some of the more experience engineers take a look at what I provided before going with it. You could get a 3.3V voltage regulator, and it will work fine. Resistors seemed simpler and easier to acquire (@ RadioShack or in your shop).
Ryan, your logic is sound, but there may be other things to consider. The one that pops to mind is, how is the output of this device affected by varying input voltage. If the device is stable across the input range, then your process will work. Now, if the output varies much at all with varying supply voltage, then I would go for a clean requlator.


Here is a quote from the spec sheet for this device
Quote:
Within the supply range of 2.2 and 3.6 V, the device operates as a fully calibrated linear accelerometer. Beyond these supply limits the device
may operate as a linear device but is not guaranteed to be in calibration.
So, I would say it should work.

( Honestly, you can pick up a 3.3v regulator at Radio Shack for a couple bucks and just be more confident.)
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist