CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ACS712 Help

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
BOB_SANTANA



Joined: 16 Oct 2006
Posts: 110
Location: HOVE, EAST SUSSEX

View user's profile Send private message

ACS712 Help
PostPosted: Sun Sep 14, 2008 11:34 am     Reply with quote

Hi All
I just need to pick your brain once more .
i am using the ACS712 to measure a current 0-1A and the device is working but i need to know how i can remove the 2.5v offset because when i applied my load the voltage out is only about 2.8V
Is there a way i can remove this offset

http://www.allegromicro.com/en/Products/Part_Numbers/0712/index.asp
_________________
BOB_Santana Smile
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Sun Sep 14, 2008 12:24 pm     Reply with quote

By design, the ACS sensors (as other manufacturers current sensors, too) have a bipolar output range with a midscale zero. The most simple way is to substract the offset measurement from result. Alternatively, an analog preprocessing with a differential amplifier could increase the resolution.

But as far as I see from the datasheet, the sensor noise has already a magnitude of several LSB in 10 bit ADC mode without additional gain, thus an additional amplification would be only meaningful with a strong low pass filtering.
BOB_SANTANA



Joined: 16 Oct 2006
Posts: 110
Location: HOVE, EAST SUSSEX

View user's profile Send private message

PostPosted: Sun Sep 14, 2008 2:50 pm     Reply with quote

Yes thanks for that.
But for my application I am not reading the voltage from the sensor
to the A/D of the Pic.
What I intend to do is to read the current being sent from the sensor but with the sensitivity cranked up ... the output will be "High" (output saturated) with any current being drawn, and "Low" when there's no current.
This way I can then feed it to the PIC via a schmit trigger.
_________________
BOB_Santana Smile
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Sun Sep 14, 2008 3:45 pm     Reply with quote

In this case, a comparator with an exactly dimensioned voltage divider for the threshold would be needed.
Guest








PostPosted: Mon Sep 15, 2008 10:35 am     Reply with quote

are there any examples anywhere i can have a look at?

Bob
Guest








PostPosted: Wed Sep 17, 2008 1:11 pm     Reply with quote

Anyone know if this can done with the LM311N as I have a few at home.
BOB_SANTANA



Joined: 16 Oct 2006
Posts: 110
Location: HOVE, EAST SUSSEX

View user's profile Send private message

PostPosted: Wed Sep 17, 2008 1:15 pm     Reply with quote

I am not sure how to use the Balance/strobe pins.
Can you help ?

Regards
Bob
_________________
BOB_Santana Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group