Page 1 of 5 12345 LastLast
Results 1 to 10 of 44

Thread: Tutorial - Voltage divider - Measuring Voltages greater than 5vDC

  1. #1
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221

    Tutorial - Voltage divider - Measuring Voltages greater than 5vDC

    Often times, there is a need to measure a voltage greater than 5volts.

    As long as the ground of the device we want to measure is the same as the ground of the Fusion Brain, we can use a voltage divider. WARNING: If the grounds are not the same, damage can be done to the Brain.

    Here is a simple voltage divider:


    Vin is what you want to measure, Vout goes to the input pin of the brain (towards the edge of the board) and the symbol at the bottom indicates ground. R1 and R2 need to be selected on a application by application basis.


    This formula will help select R1 and R2. For the Fusion Brain, it is a good idea to keep R1 and R2 under 1k-ohm.


    Example
    Lets say you want to monitor the voltage in your car:

    We will assume 20vDC maximum, to allow headroom for voltage spikes.

    Vout = 100/(300+100)*Vin
    5 = 1/4*20

    so the voltage divider, with a 300ohm R1 and a 100ohm R2, would have a scaling factor of 25%, meaning we could measure up to 20vDC without overloading the brain... perfect for car applications.

  2. #2
    Constant Bitrate
    Join Date
    Dec 2007
    Location
    Boulder, CO
    Posts
    206
    what would be needed to allow FB to monitor voltages up to 400 volts? Is this too much? Would an external device (such that a volt gauge would have) made for high voltages be needed?

  3. #3
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by booksix View Post
    what would be needed to allow FB to monitor voltages up to 400 volts? Is this too much? Would an external device (such that a volt gauge would have) made for high voltages be needed?
    What are you measuring that is up to 400v?

    But it is the same idea however I would recommend a buffer on between the divider and the Brain just in case. So if something spikes on either end, buffer blows up, not the FB or what is sending the 400v.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  4. #4
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    you need a transformer and a rectifier to measure that safely.

  5. #5
    Low Bitrate
    Join Date
    Dec 2007
    Posts
    105
    Are you using 12 volt batteries to get to that voltage. This is for your car. Right?

  6. #6
    Constant Bitrate
    Join Date
    Dec 2007
    Location
    Boulder, CO
    Posts
    206
    yeah, it's for the Z3. Planning a 3-phase ac drivetrain that may go as high as 400 volts. But it'll more likely be 3.2v lithium batteries strung together. Just curious if it can do it... My eventual goal is to replace the stock gauges with an LCD display with custom graphic gauges made to mimic the factory stuff but read things like 0-12k rpm, speed, traction pack and 12v accessory batt voltage, amperage (draw from the traction pack) motor temp, etc...

    So why the rectifier? Thats to convert ac to dc right? The batteries will be dc already... Maybe you were thinking I was talking about a home solution?


    And one more thing... the transformer: So, from what I get, I'd put the transformer inline with the 400v and the secondary circuit will see a voltage which has been stepped down to a voltage the FB can handle and this voltage (say, 0-4v for example) would represent the actual 400v (1v=100v, 2v=200v, etc...)?

  7. #7
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    yeah I figured anything that high would be AC.

    if you are doing DC a voltage divider would work in theory but be dangerous if implemented wrong or if it fails/shorts.

  8. #8
    Constant Bitrate
    Join Date
    Dec 2007
    Location
    Boulder, CO
    Posts
    206
    well, the issue is, I think I'd want to measure it on the DC side, not the ac side because I want to measure the voltage of the combined DC pack.

  9. #9
    Low Bitrate
    Join Date
    Dec 2007
    Posts
    105
    I wonder if measuring one of the 3.2's would work. Just watch the voltage on that. Or multiply the voltage of one battery by 125 to get the total. Not sure how good that would work.

  10. #10
    Constant Bitrate
    Join Date
    Dec 2007
    Location
    Boulder, CO
    Posts
    206
    could work but the cells don't stay perfectly balanced so one cell may be an inaccurate measurement

Page 1 of 5 12345 LastLast

Similar Threads

  1. Tutorial - Steering Wheel Controls
    By greenman100 in forum FB Documentation and Tutorials
    Replies: 195
    Last Post: 10-19-2010, 01:03 AM
  2. Powering car from a 13.8V power supply ok?
    By PURDooM in forum Power Supplies
    Replies: 27
    Last Post: 06-12-2006, 11:56 AM
  3. n00b question about voltage divider
    By masch in forum Power Supplies
    Replies: 7
    Last Post: 04-12-2004, 07:39 PM
  4. voltage divider to get higher voltage query...
    By THEMP3KID in forum Power Supplies
    Replies: 2
    Last Post: 09-23-2002, 07:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •