{"id":237,"date":"2012-08-19T23:58:39","date_gmt":"2012-08-19T21:58:39","guid":{"rendered":"http:\/\/majek.mamy.to\/?p=237"},"modified":"2012-08-26T01:49:39","modified_gmt":"2012-08-25T23:49:39","slug":"current-sensor-30a","status":"publish","type":"post","link":"https:\/\/majek.sh\/en\/current-sensor-30a\/","title":{"rendered":"Current sensor (30A)"},"content":{"rendered":"<p>Current sensor for OSD or FrSky elemetry up to 30A.<\/p>\n<p>Just another useful brick in telemetry equipment is current sensor. With right OSD or FrSky software it allows to show not only current draw but also remaining battery capacity, and this feature is VERY helpful in FPV.<br \/>\nI checked market for possible solutions and easiest (but not very cheap) way of doing this is to use Allego MicroSystems hall chips. I chose ACS713 chip because it is available at reasonable price, is available :-), and have current range sufficient for me (I don&#8217;t expect to go beyond this in my current models). It has also linear output proportional to passing current and moreover: it has separation between sensor and output, so one can use it to sense on high or low side.<\/p>\n<p>So, chips arrived and there was time to design sensor. Agrhhh, it requires 5V of supply voltage so I had to add voltage regulator. 2 chips, let&#8217;s make schematic:<br \/>\n<div id=\"attachment_236\" style=\"width: 534px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor-schemat\/\" rel=\"attachment wp-att-236\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-236\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor-schemat.png\" alt=\"Current sensor 30A - schematic diagram\" title=\"Current sensor 30A - schematic diagram\" width=\"524\" height=\"299\" class=\"size-full wp-image-236\" \/><\/a><p id=\"caption-attachment-236\" class=\"wp-caption-text\">Current sensor 30A &#8211; schematic diagram<\/p><\/div><br \/>\nI set filtering capacitor to 100uF to average current, so few redings per second should be accurate with it. If not, larger capacitor will be needed.<\/p>\n<p>PCB size is designed to fit XT-60 connectors on both sides:<br \/>\n<div id=\"attachment_235\" style=\"width: 512px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor-pcb\/\" rel=\"attachment wp-att-235\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-235\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor-pcb.png\" alt=\"Current sensor 30A - PCB\" title=\"Current sensor 30A - PCB\" width=\"502\" height=\"330\" class=\"size-full wp-image-235\" \/><\/a><p id=\"caption-attachment-235\" class=\"wp-caption-text\">Current sensor 30A &#8211; PCB<\/p><\/div><\/p>\n<p>So, let&#8217;s make PCB:-)<br \/>\n<div id=\"attachment_225\" style=\"width: 625px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor1\/\" rel=\"attachment wp-att-225\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-225\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor1-615x480.jpg\" alt=\"Current sensor 30A - making PCB step 1\" title=\"Current sensor 30A - making PCB step 1\" width=\"615\" height=\"480\" class=\"size-medium wp-image-225\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor1-615x480.jpg 615w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor1.jpg 1024w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/a><p id=\"caption-attachment-225\" class=\"wp-caption-text\">Current sensor 30A &#8211; making PCB step 1<br \/>Traces printed on paper and laminate ready to operation.<\/p><\/div><br \/>\n<div id=\"attachment_226\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor2\/\" rel=\"attachment wp-att-226\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-226\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor2-640x348.jpg\" alt=\"Current sensor 30A - making PCB step 2\" title=\"Current sensor 30A - making PCB step 2\" width=\"640\" height=\"348\" class=\"size-medium wp-image-226\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor2-640x348.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor2.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-226\" class=\"wp-caption-text\">Current sensor 30A &#8211; making PCB step 2<br \/>Toner transferred from paper to laminate.<\/p><\/div><br \/>\n<div id=\"attachment_227\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor3\/\" rel=\"attachment wp-att-227\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-227\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor3-640x428.jpg\" alt=\"Current sensor 30A - making PCB step 3\" title=\"Current sensor 30A - making PCB step 3\" width=\"640\" height=\"428\" class=\"size-medium wp-image-227\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor3-640x428.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor3.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-227\" class=\"wp-caption-text\">Current sensor 30A &#8211; making PCB step 3<br \/>Etching pcb.<\/p><\/div><\/p>\n<p>Laminate etched. It looks like it was a little too long in bath, but it will be tinned anyway, so no problem this time.<br \/>\n<div id=\"attachment_228\" style=\"width: 568px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor4\/\" rel=\"attachment wp-att-228\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-228\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor4-558x480.jpg\" alt=\"Current sensor 30A - PCB ready to solder parts\" title=\"Current sensor 30A - PCB ready to solder parts\" width=\"558\" height=\"480\" class=\"size-medium wp-image-228\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor4-558x480.jpg 558w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor4.jpg 1024w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/a><p id=\"caption-attachment-228\" class=\"wp-caption-text\">Current sensor 30A &#8211; PCB ready to solder parts<\/p><\/div><\/p>\n<p>Soldering time:-) Because copper traces could be too thin to pass such high current, I added additional copper wires on its path.<br \/>\n<div id=\"attachment_229\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor5\/\" rel=\"attachment wp-att-229\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-229\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor5-640x294.jpg\" alt=\"Current sensor 30A - soldering parts and wires\" title=\"Current sensor 30A - soldering parts and wires\" width=\"640\" height=\"294\" class=\"size-medium wp-image-229\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor5-640x294.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor5.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-229\" class=\"wp-caption-text\">Current sensor 30A &#8211; soldering parts and wires<\/p><\/div><br \/>\n<div id=\"attachment_230\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor6\/\" rel=\"attachment wp-att-230\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-230\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor6-640x239.jpg\" alt=\"Current sensor 30A - soldering parts and wires\" title=\"Current sensor 30A - soldering parts and wires\" width=\"640\" height=\"239\" class=\"size-medium wp-image-230\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor6-640x239.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor6.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-230\" class=\"wp-caption-text\">Current sensor 30A &#8211; soldering parts and wires<\/p><\/div><br \/>\n<div id=\"attachment_231\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor7\/\" rel=\"attachment wp-att-231\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-231\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor7-640x231.jpg\" alt=\"Current sensor 30A - almost ready\" title=\"Current sensor 30A - almost ready\" width=\"640\" height=\"231\" class=\"size-medium wp-image-231\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor7-640x231.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor7.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-231\" class=\"wp-caption-text\">Current sensor 30A &#8211; almost ready<\/p><\/div><\/p>\n<p>Current sensor is also excellent place to branch power supply for other sensors, OSD and Video transmitter, so I added small JST connector.<br \/>\n<div id=\"attachment_232\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor8\/\" rel=\"attachment wp-att-232\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-232\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor8-640x167.jpg\" alt=\"Current sensor 30A - adding additional power connector\" title=\"Current sensor 30A - adding additional power connector\" width=\"640\" height=\"167\" class=\"size-medium wp-image-232\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor8-640x167.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor8.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-232\" class=\"wp-caption-text\">Current sensor 30A &#8211; adding additional power connector for powering OSD and other stuff.<\/p><\/div><\/p>\n<p>With heatshrink wrap cover sensor is ready.<br \/>\n<div id=\"attachment_233\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor9\/\" rel=\"attachment wp-att-233\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-233\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor9-640x286.jpg\" alt=\"Current sensor 30A ready to use:-)\" title=\"Current sensor 30A ready to use:-)\" width=\"640\" height=\"286\" class=\"size-medium wp-image-233\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor9-640x286.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor9.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-233\" class=\"wp-caption-text\">Current sensor 30A ready to use:-)<\/p><\/div><br \/>\n<div id=\"attachment_234\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/current-sensor-30a\/current-sensor10\/\" rel=\"attachment wp-att-234\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-234\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor10-640x283.jpg\" alt=\"Current sensor 30A - sensor output\" title=\"Current sensor 30A ready - output\" width=\"640\" height=\"283\" class=\"size-medium wp-image-234\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor10-640x283.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/current-sensor10.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-234\" class=\"wp-caption-text\">Current sensor 30A &#8211; sensor output<\/p><\/div><\/p>\n<p>Tested and it (of course \ud83d\ude42 ) works.<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Current sensor for OSD or FrSky elemetry up to 30A. Just another useful brick in telemetry equipment is current sensor. With right OSD or FrSky software it allows to show not only current draw but also remaining battery capacity, and <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/majek.sh\/en\/current-sensor-30a\/\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[24,26,25,13],"_links":{"self":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts\/237"}],"collection":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":26,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":390,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts\/237\/revisions\/390"}],"wp:attachment":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/media?parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/categories?post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/tags?post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}