element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Current Detection with a Allegro ACS756 on an ATmega328
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 2 replies
  • Answers 1 answer
  • Subscribers 302 subscribers
  • Views 1739 views
  • Users 0 members are here
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Current Detection with a Allegro ACS756 on an ATmega328

Former Member
Former Member over 13 years ago

I'm trying to find the easiest and intrusive way to detect current on a doorbell line, so I picked up a couple of these Allegro Microsystems ACS756KCA-PFF-T linear current sensors. Their web page for this is at http://www.allegromicro.com/Products/Current-Sensor-ICs/Fifty-To-Two-Hundred-Amp-Integrated-Conductor-Sensor-ICs/ACS756.aspx and the datasheet is here:

 

http://www.allegromicro.com/Products/Current-Sensor-ICs/Fifty-To-Two-Hundred-Amp-Integrated-Conductor-Sensor-ICs/~/media/Files/Datasheets/ACS756-Datasheet.ashx

 

I'm a total n00b at electronics. I chose this particular part because it seemed from the datasheet that it would be fairly easy to connect it to an AVR microcontroller to get a good read on whether or not the doorbell line had current or not. Alas, I get minor fluctuations in the signal, but nothing to write home about.

 

I would put a schematic of what I did up here, but I exactly mimicked the one in the datasheet, so you'll see it there. I connected the output of the sample circuit to an ADC pin on my AVR MCU according to the way the sample schematic is shown in the datasheet for doing so. I connected a 24VAC Ikea lighting transformer with a little halogen bulb to the AC pins on the IC. When the light was off, the ADC reported a value that hovered around 500-ish. When I turned on the bulb, it might have climbed to 520, but usually didn't do much of anything. I tried a couple of the ICs, but got identical results. If I put a neodymium magnet next to it, I could get a change, so it seems the Hall effect part of it was functioning to some degree.

 

I was starting to think that perhaps the current that the little halogen bulb was drawing wasn't impressive enough for the seemingly super-beefy IC. To be sure it wasn't just that I was not giving it enough juice to read, I connected a 110VAC lightbulb through the sensing leads. Didn't see much difference there, either.

 

Could anyone with greater brain power than I have take a glance at the datasheet and tell me if they see anything that stands out that would make my setup not work? I know I'm missing something, but I'm afraid I've just been staring at it for too long or this is WAY over my head, even though the datasheet makes it look like it should be simple. image

 

Thanks!

Andy

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 13 years ago

    I am using ACS756KCA-50B  with CF = 0.1 uF  and RF = 1kOhm.

     

    analogRead with an arduino gives 511 (2.5V) without current. Passing AC (240V, 12 Watt) and it reads between 510 to 512, since the current is AC...

     

    1500W and it reads in the range 426 to 595. Reading 100 values spaced 1 ms gives a nice sinus signal.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    Thanks, The Antonius! I'm going to set that up and see what I get. I was seeing similar values, but didn't try anything with more draw than a 60W lightbulb and the readings didn't seem to change that much, so I thought maybe I was doing something wrong. Your 1500W readings give me hope!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube