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

1. ## 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. 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. Originally Posted by booksix
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.

4. you need a transformer and a rectifier to measure that safely.

5. Are you using 12 volt batteries to get to that voltage. This is for your car. Right?

6. 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. 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. 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. 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. could work but the cells don't stay perfectly balanced so one cell may be an inaccurate measurement

Page 1 of 5 12345 Last

#### Posting Permissions

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