Author Topic: Measure current and voltage via ADC  (Read 3234 times)

0 Members and 1 Guest are viewing this topic.

Offline powermosfetTopic starter

  • Newbie
  • Posts: 6
  • Country: nl
Measure current and voltage via ADC
« on: June 01, 2012, 05:09:19 pm »
Hi,


How to measure current and voltage using microcontroller ADC input.

voltage range is up to +11v and current is about 5 amps.

I use a voltage divider to get the voltage


Vi=11V
RA=1k2
RB=1k

Vo=RB/RA+RB*Vi  -> with about .2 error

are there any better ways to protect the microcontroller input?


thank you.
« Last Edit: June 01, 2012, 05:24:22 pm by powermosfet »
 

Offline Erwin Ried

  • Regular Contributor
  • *
  • Posts: 206
  • Country: no
Re: Measure current and voltage via ADC
« Reply #1 on: June 02, 2012, 12:29:17 am »
Have you seen http://www.ebay.com/itm/5A-range-Current-Sensor-Module-ACS712-Module-NEW-/130704791796?pt=LH_DefaultDomain_0&hash=item1e6e9cd8f4 this kind of modules?

I bought ones but I never used them (I am using a small coil with a TA-220) to do the same
My website: http://ried.cl
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf