{"id":29548,"date":"2020-02-15T23:32:51","date_gmt":"2020-02-15T15:32:51","guid":{"rendered":"\/blog\/?p=29548"},"modified":"2020-02-15T23:32:53","modified_gmt":"2020-02-15T15:32:53","slug":"acs712-current-sensor-features-how-it-works-arduino-guide","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/","title":{"rendered":"ACS712 Current Sensor: Features, How it works, Arduino Guide"},"content":{"rendered":"\n<p>Have you ever stopped and wonder the amount of current each of your electrical appliances require? Well, it&#8217;s a tedious process to know it all but that&#8217;s where the functionality of a current sensor comes to play. With different devices having different current requirements, if a wrong amount of current is fed to them, it may result in severe circumstances (overloading, etc.). Hence, it&#8217;s necessary for one to monitor the required current for applications, and that&#8217;s when people turn to a current sensor to do the job, notably the ACS712 AC\/DC Current sensor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is the ACS712 AC\/DC Current Sensor?<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/1015855\/_XxWM0CwmsO.blob?auto=compress%2Cformat&amp;w=900&amp;h=675&amp;fit=min\" alt=\"\" width=\"481\" height=\"360\"\/><figcaption><a href=\"https:\/\/create.arduino.cc\/projecthub\/instrumentation-system\/acs712-current-sensor-87b4a6\">Ref<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>The ACS712 is a fully integrated, hall effect-based linear current sensor with 2.1kVRMS voltage isolation and a integrated low-resistance current conductor. Technical terms aside, it&#8217;s simply put forth as a current sensor that uses its conductor to calculate and measure the amount of current applied.<\/p>\n\n\n\n<p><strong>The features of ACS712 include:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>80kHz bandwith<\/li><li>66 to 185 mV\/A output sensitivity<\/li><li>Low-noise analog signal path<\/li><li>Device bandwith is set via the new FILTER pin<\/li><li>1.2 m\u03a9 internal conductor resistance <\/li><li>Total output error of 1.5% at TA = 25\u00b0C <\/li><li>Stable output offset voltage.<\/li><li>Near zero magnetic hysteresis<\/li><\/ul>\n\n\n\n<p>For more information on ACS712 pinout, schematics, and circuit diagram, you can download ACS712 datasheet <a href=\"https:\/\/www.allegromicro.com\/-\/media\/Files\/Datasheets\/ACS712-Datasheet.ashx\">here!<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How does the ACS712 Current Sensor work?<\/strong><\/h3>\n\n\n\n<p>Now that we&#8217;ve had an idea of what the ACS712 is capable of, we&#8217;ll take a look at its working principle. Well, when it comes to how a current sensor works, it can either be done through direct or indirect sensing. For the ACS712, it uses indirect sensing. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>For current sensors that work by direct sensing, ohm&#8217;s law is being applied to measure the drop in voltage when flowing current is detected. <\/li><\/ul>\n\n\n\n<p><strong>Here&#8217;s how the ACS712 work (Simplified)<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Current flows through the onboard hall sensor circuit in its IC<\/li><li>The hall effect sensor detects the incoming current through its magnetic field generation<\/li><li>Once detected, the hall effect sensor generates a voltage proportional to its magnetic field that&#8217;s then used to measure the amount of current<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>ACS712 Current Sensor Applications<\/strong><\/h3>\n\n\n\n<p>We&#8217;ve established a general idea of what current sensors are applicable for earlier. Well, with the ACS712 IC being able to detect both AC\/DC current, it can be used in a wider range of applications apart from electrical appliances. Be it Arduino\/other microcontroller usages, or industrial, commercial, and communication applications, it can be found applicable. <\/p>\n\n\n\n<p><strong>Here are the common list of applications:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Motor speed control in motor control circuits  <\/li><li>Electrical load detection and management<\/li><li>Switched-mode power supplies (SMPS) <\/li><li>Protection for over-current<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>ACS712 Alternatives<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/Grove-10A-DC-Current-Sensor-ACS725-p-2927.html?utm_source=blog&amp;utm_medium=blog\"><strong>Grove &#8211; 10A DC Current Sensor (ACS725)<\/strong> <\/a><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/media-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/ab187aaa5f626ad16c8031644cd2de5b\/1\/0\/101020616-preview.png\" alt=\"\" width=\"350\" height=\"263\"\/><\/figure><\/div>\n\n\n\n<p>With some users of the ACS712 not recommending it as your current sensor option due to its low sensitivity and bad linearity, we&#8217;ve come forth to provide our alternative recommendation; the Grove &#8211; 10A DC Current Sensor that&#8217;s based on ACS725! <\/p>\n\n\n\n<p>Based on the ACS725, this DC current sensor module is an economical and precise solution to your current sensing needs with capabilities of measuring up to 10A of DC current with a base sensitivity of 264mV\/A!  <\/p>\n\n\n\n<p>When drawing comparisons to the ACS712, the Grove &#8211; 10A DC Current Sensor (ACS725) has the following performance advantages:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Higher-bandwith; 120KHz compared to 80kHz of the ACS712 <\/li><li>Higher sensitivity; 264mV\/A compared to 66 &#8211; 185mV\/A of the ACS712<\/li><li><a href=\"http:\/\/wiki.seeedstudio.com\/Grove_System\/\">Grove-interface<\/a>; Easy plug-and-play pairing with your Arduino\/Raspberry Pi Board instead of having to solder and use breadboards<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong><a href=\"https:\/\/www.seeedstudio.com\/Grove-5A-DC-AC-Current-Sensor-ACS70331-p-2928.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; \u00b15A DC\/AC Current Sensor (ACS70331) <\/a><\/strong><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/media-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/ab187aaa5f626ad16c8031644cd2de5b\/1\/0\/101020615-preview.png\" alt=\"\" width=\"350\" height=\"263\"\/><\/figure><\/div>\n\n\n\n<p>If you&#8217;re looking for a current sensor that supports both AC and DC yet retaining performance advantages over the ACS712, the above Grove &#8211; <strong>\u00b15A DC\/AC Current Sensor (ACS70331) <\/strong>is your pick!<\/p>\n\n\n\n<p>Based on Allegro&#8217;s high sensitivity current sensor IC; ACS70331EESATR-005B3, it&#8217;s suitable for &lt;5A current sensing applications, alongside its base sensitivty of 200mV\/A!<\/p>\n\n\n\n<p><strong>Its features include:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>1 MHz bandwidth with response time &lt;550 ns<\/li><li>Low noise: 8 mA(rms) at 1 MHz<\/li><li>1.1 m\u03a9 primary conductor resistance results in low power loss<\/li><li>High DC PSRR enables use with low accuracy power supplies or batteries (3 to 4.5 V operation) <\/li><\/ul>\n\n\n\n<p style=\"background-color:#f5fcf3\" class=\"has-background\">Overall, this AC\/DC current sensor module is a superior performing option as compared to ACS712, falling in a similar price range as well. If you would like to find out more about the  Grove &#8211; <strong>\u00b15A DC\/AC Current Sensor (ACS70331)<\/strong>, you can check out <a href=\"https:\/\/www.seeedstudio.com\/Grove-5A-DC-AC-Current-Sensor-ACS70331-p-2928.html?utm_source=blog&amp;utm_medium=blog\">its product page!<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>ACS712 Current Sensor Arduino Guide<\/strong><\/h2>\n\n\n\n<p>The ACS712 current sensor can be connected to your Arduino board through a series of jumper wires connections based on its pinout. However, here at Seeed, we understand the complications and complexity of doing so. Hence, we&#8217;ve decided to provide a tutorial for our <strong><a href=\"https:\/\/www.seeedstudio.com\/Grove-5A-DC-AC-Current-Sensor-ACS70331-p-2928.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; \u00b15A DC\/AC Current Sensor (ACS70331)<\/a><\/strong> to display how easy our Grove plug-and-play system is!<\/p>\n\n\n\n<p>Here&#8217;s what you need for today&#8217;s tutorial:<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"525\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/02\/seeeduino-v4.2-1.jpg\" alt=\"\" data-id=\"29550\" data-link=\"\/blog\/?attachment_id=29550\" class=\"wp-image-29550\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/seeeduino-v4.2-1.jpg 700w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/seeeduino-v4.2-1-300x225.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"blocks-gallery-item__caption\"><a href=\"http:\/\/www.seeedstudio.com\/Seeeduino-V4.2-p-2517.html?utm_source=blog&amp;utm_medium=blog\">Seeeduino V4.2<\/a><\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"525\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/02\/Grove-Base-Shield-1.jpg\" alt=\"\" data-id=\"29551\" data-link=\"\/blog\/?attachment_id=29551\" class=\"wp-image-29551\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/Grove-Base-Shield-1.jpg 700w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/Grove-Base-Shield-1-300x225.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"blocks-gallery-item__caption\"><a href=\"https:\/\/www.seeedstudio.com\/Base-Shield-V2-p-1378.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Base Shield<\/a><\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"157\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/02\/ACDC-current-sensor.jpg\" alt=\"\" data-id=\"29552\" data-full-url=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/02\/ACDC-current-sensor.jpg\" data-link=\"\/blog\/?attachment_id=29552\" class=\"wp-image-29552\"\/><figcaption class=\"blocks-gallery-item__caption\"><a href=\"https:\/\/www.seeedstudio.com\/Grove-5A-DC-AC-Current-Sensor-ACS70331-p-2928.html?utm_source=blog&amp;utm_medium=blog\">Grove  <strong>&#8211; \u00b15A DC\/AC Current Sensor (ACS70331)<\/strong> <\/a><\/figcaption><\/figure><\/li><\/ul><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Seeeduino is Seeed\u2019s very own Arduino board, built with relative benefits over the original<ul><li>If you do not wish to purchase a Seeeduino, this tutorial is still applicable for the following Arduino boards: Arduino UNO, Arduino Mega, Arduino Leonardo, Arduino 101, Arduino Due<\/li><\/ul><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Hardware Assembly:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 1:<\/strong> Connect Grove &#8211; \u00b15A DC\/AC Current Sensor (ACS70331) to port A0 of the Grove &#8211; Base Shield<\/li><li><strong>Step 2:<\/strong> Connect the positive and negative poles of the circuit to be tested to the corresponding positive and negative poles of the screw terminal<\/li><li><strong>Step 3:<\/strong> Plug Grove &#8211; Base Shield into Seeeduino<\/li><li><strong>Step 4:<\/strong> Connect Seeeduino to PC via a USB cable<\/li><\/ul>\n\n\n\n<p>It should look something like this after completing the above steps:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/SeeedDocument\/Grove--5A_DC-AC_Current_Sensor-ACS70331\/raw\/master\/img\/101020615-connect.png\" alt=\"\" width=\"512\" height=\"342\"\/><\/figure>\n\n\n\n<p>Do note that the above hardware connection is done so with a DC power supply. Do set the current to 0A or do not power on at initial. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Software configurations and Arduino Library<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 1:<\/strong> Download the Grove Current Sensor Arduino Library from Github<\/li><li><strong>Step 2: <\/strong>In the \/example\/folder, you&#8217;ll find the demo code. Here, we&#8217;ll take the Grove &#8211; \u00b15A DC\/AC Current Sensor (ACS70331) for instance. Click the <strong>Grove_5A_DC_Current_Sensor.ino<\/strong>\u00a0to open the demo or copy the following Arduino code:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>#ifdef ARDUINO_SAMD_VARIANT_COMPLIANCE\n  #define RefVal 3.3\n  #define SERIAL SerialUSB\n#else\n  #define RefVal 5.0\n  #define SERIAL Serial\n#endif\n\/\/An OLED Display is required here\n\/\/use pin A0\n#define Pin A5\n\n\/\/ Take the average of 500 times\n\nconst int averageValue = 500;\n\nlong int sensorValue = 0;\n\nfloat sensitivity = 1000.0 \/ 200.0; \/\/1000mA per 200mV \n\n\nfloat Vref = 1508;\n\nvoid setup() \n{\n  SERIAL.begin(9600);\n}\n\nvoid loop() \n{\n  \/\/ Read the value 500 times:\n  for (int i = 0; i &lt; averageValue; i++)\n  {\n    sensorValue += analogRead(Pin);\n\n    \/\/ wait 2 milliseconds before the next loop\n    delay(2);\n\n  }\n\n  sensorValue = sensorValue \/ averageValue;\n\n\n  \/\/ The on-board ADC is 10-bits \n  \/\/ Different power supply will lead to different reference sources\n  \/\/ example: 2^10 = 1024 -> 5V \/ 1024 ~= 4.88mV\n  \/\/          unitValue= 5.0 \/ 1024.0*1000 ;\n  float unitValue= RefVal \/ 1024.0*1000 ;\n  float voltage = unitValue * sensorValue; \n\n  \/\/When no load,Vref=initialValue\n  SERIAL.print(\"initialValue: \");\n  SERIAL.print(voltage);\n  SERIAL.println(\"mV\"); \n\n  \/\/ Calculate the corresponding current\n  float current = (voltage - Vref) * sensitivity;\n\n  \/\/ Print display voltage (mV)\n  \/\/ This voltage is the pin voltage corresponding to the current\n  \/*\n  voltage = unitValue * sensorValue-Vref;\n  SERIAL.print(voltage);\n  SERIAL.println(\"mV\");\n  *\/\n\n  \/\/ Print display current (mA)\n  SERIAL.print(current);\n  SERIAL.println(\"mA\");\n\n  SERIAL.print(\"\\n\");\n\n  \/\/ Reset the sensorValue for the next reading\n  sensorValue = 0;\n  \/\/ Read it once per second\n  delay(1000);\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 3:<\/strong> Upload the demo<ul><li>If you&#8217;re unsure on how to upload the Arduino code above, do refer to our guide here<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 4: <\/strong>Open the serial monitor of your Arduino IDE by clicking on Tool -> Serial Monitor. Set the baud rate to 9600<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 5: <\/strong>Calibration<ul><li>When there&#8217;s no flow of current, the sensor will still produce an output value. This value is called zero offset. Hence, we&#8217;ll have to calibrate<\/li><\/ul><\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/SeeedDocument\/Grove--5A_DC-AC_Current_Sensor-ACS70331\/raw\/master\/img\/ca1.jpg\" alt=\"\"\/><figcaption>The Zero offset of this board is 595.70mV. When converted into current, it&#8217;ll be -4561.48mA<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 5.1:<\/strong> Set a parameter Vref to fix the value with the following code<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>float Vref = 1508; \n\/\/Vref is zero drift value, you need to change this value to the value you actually measured before using it.<\/code><\/pre>\n\n\n\n<p>In the demo code, we set the Vref to 1508, however, the zero offset value varies from board to board. Hence we&#8217;ll have to modify line 21.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>float Vref = 595.70;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 5.2:<\/strong> Save the code and upload it again by following step 2 and 3. We&#8217;ll now see the outputted value as shown:<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/SeeedDocument\/Grove--5A_DC-AC_Current_Sensor-ACS70331\/raw\/master\/img\/ca2.jpg\" alt=\"\"\/><figcaption>The current zero offset value turns to 0.02mA<\/figcaption><\/figure><\/div>\n\n\n\n<p>So long as the current output becomes to 0mA or a minimal value, calibration is considered completed.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 6: <\/strong>You can now power up the current. Feel free to test it out for yourself, but do note that your current cannot exceed 5A!<\/li><\/ul>\n\n\n\n<p style=\"background-color:#f6fff8\" class=\"has-background\">For a tutorial on AC load and its respective Arduino Demo code, do refer to our wiki page <a href=\"http:\/\/wiki.seeedstudio.com\/Grove-5A_DC_AC_Current_Sensor-ACS70331\/\">here!<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Summary<\/strong><\/h2>\n\n\n\n<p>Although the ACS712 is a known option when it comes to current sensor modules for Arduino usage, its performance disadvantages as compared to our alternatives here at Seeed are factors to consider!<\/p>\n\n\n\n<p>If you&#8217;re looking to get started with current sensing with a AC\/DC current sensor, do consider our recommended products:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>For DC current sensing only: <a href=\"https:\/\/www.seeedstudio.com\/Grove-10A-DC-Current-Sensor-ACS725-p-2927.html?utm_source=blog&amp;utm_medium=blog\"><strong>Grove &#8211; 10A DC Current Sensor (ACS725)<\/strong> <\/a><\/li><li>For both AC\/DC current sensing: <strong><a href=\"https:\/\/www.seeedstudio.com\/Grove-5A-DC-AC-Current-Sensor-ACS70331-p-2928.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; \u00b15A DC\/AC Current Sensor (ACS70331) <\/a><\/strong><\/li><\/ul>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever stopped and wonder the amount of current each of your electrical appliances<\/p>\n","protected":false},"author":2850,"featured_media":29557,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[1762,1324,1763,139],"class_list":["post-29548","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-ac","tag-current-sensor","tag-dc","tag-grove"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ACS712 Current Sensor: Features, How it works, Arduino Guide - Latest News from Seeed Studio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ACS712 Current Sensor: Features, How it works, Arduino Guide - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"Have you ever stopped and wonder the amount of current each of your electrical appliances\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-15T15:32:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-15T15:32:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png\" \/>\n\t<meta property=\"og:image:width\" content=\"824\" \/>\n\t<meta property=\"og:image:height\" content=\"461\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Shawn\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shawn\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/\",\"name\":\"ACS712 Current Sensor: Features, How it works, Arduino Guide - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png\",\"datePublished\":\"2020-02-15T15:32:51+00:00\",\"dateModified\":\"2020-02-15T15:32:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png\",\"width\":824,\"height\":461,\"caption\":\"A Guide to ACS712 and Current Sensors\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ACS712 Current Sensor: Features, How it works, Arduino Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2\",\"name\":\"Shawn\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g\",\"caption\":\"Shawn\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ACS712 Current Sensor: Features, How it works, Arduino Guide - Latest News from Seeed Studio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/","og_locale":"en_US","og_type":"article","og_title":"ACS712 Current Sensor: Features, How it works, Arduino Guide - Latest News from Seeed Studio","og_description":"Have you ever stopped and wonder the amount of current each of your electrical appliances","og_url":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2020-02-15T15:32:51+00:00","article_modified_time":"2020-02-15T15:32:53+00:00","og_image":[{"width":824,"height":461,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png","type":"image\/png"}],"author":"Shawn","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Shawn","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/","url":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/","name":"ACS712 Current Sensor: Features, How it works, Arduino Guide - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png","datePublished":"2020-02-15T15:32:51+00:00","dateModified":"2020-02-15T15:32:53+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2"},"breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png","width":824,"height":461,"caption":"A Guide to ACS712 and Current Sensors"},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/02\/15\/acs712-current-sensor-features-how-it-works-arduino-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"ACS712 Current Sensor: Features, How it works, Arduino Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2","name":"Shawn","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g","caption":"Shawn"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/"}]}},"modified_by":"Shawn","views":227992,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png",824,461,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712-300x168.png",300,168,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712-768x430.png",640,358,true],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png",640,358,false],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png",824,461,false],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png",824,461,false],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png",32,18,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png",824,461,false],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png",824,461,false],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712.png",824,461,false],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712-720x380.png",720,380,true],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/02\/ACS712-675x450.png",675,450,true]},"author_info":{"display_name":"Shawn","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/29548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/2850"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=29548"}],"version-history":[{"count":2,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/29548\/revisions"}],"predecessor-version":[{"id":29558,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/29548\/revisions\/29558"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/29557"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=29548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=29548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=29548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}