{"id":481,"date":"2023-10-09T18:42:18","date_gmt":"2023-10-10T01:42:18","guid":{"rendered":"https:\/\/www.cafeelectric.com\/blog\/?p=481"},"modified":"2023-12-20T10:11:47","modified_gmt":"2023-12-20T18:11:47","slug":"smart-fortwo-ed3-ebs2-current-sensor-test","status":"publish","type":"post","link":"https:\/\/www.cafeelectric.com\/blog\/2023\/10\/09\/smart-fortwo-ed3-ebs2-current-sensor-test\/","title":{"rendered":"Smart ForTwo ED3 EBS2 Current Sensor Test"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you are repairing a bricked Smart ForTwo ED3 Electric Vehicle, this may be useful. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Sensor-closeup-1024x768.jpeg\" alt=\"\" class=\"wp-image-482\" style=\"width:820px;height:615px\" srcset=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Sensor-closeup-1024x768.jpeg 1024w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Sensor-closeup-300x225.jpeg 300w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Sensor-closeup-768x576.jpeg 768w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Sensor-closeup-1536x1152.jpeg 1536w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Sensor-closeup-2048x1536.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;m in the midst of replacing a dead cell in the traction battery pack on a 2014 Smart ForTwo ED3 electric car.<br>The forums at <a href=\"https:\/\/www.smartcarofamerica.com\/forums\/smart-fortwo-electric-drive.170\/\">smartcar of AMERICA<\/a> have been super helpful, and yet I was struggling to easily test my current sensor. Here I offer a simple bench method as well as an Arduino based setup for testing the sensor yourself. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As far as I know, the Bosch EDS2 sensor part number 0442B0301E in the Smart ED3 is not available as a replacement part. There is someone in the Ukraine who has found a way to modify a different sensor to work, presumably by transferring the ED3 firmware. This is wonderful, but at the current price of $650 including shipping on eBay I wanted to be able to test sensors first to see if I need one. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The sensor communicates using LIN bus. I&#8217;m no expert at LIN bus, and when I looked for a simple low cost LIN scanner I came up short. So I&#8217;ve decided to assemble one myself and offer up instructions here on how you can use it. This scanner can be used to test for response for other LIN devices with minor code modifications. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Simple Hardware Bench Test:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">But first, there is a simple test that can tell if the EBS2 sensor is totally blown. A common failure mode involves the sensor electronics being blown by excessive high voltage on the 12V power supply pin. If you have a 12V supply and meter that can read milliamps of current, you can check if the current draw is reasonable. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The sensor has a copper bar with two bolt holes, that is the negative connection. It also has two pins inside the connector. With the sensor sitting flat with the printing visible, the upper pin is for +12V (white wire in picture) and the lower pin is the LIN connection (grey wire in picture). Thanks to Jmk2020 for this info! <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_idle-1024x768.jpeg\" alt=\"\" class=\"wp-image-484\" srcset=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_idle-1024x768.jpeg 1024w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_idle-300x225.jpeg 300w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_idle-768x576.jpeg 768w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_idle-1536x1152.jpeg 1536w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_idle-2048x1536.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">First, connect the 12V supply and check that the current draw is very low. Mine would vary between 10 uA when warm and 93 uA when cold. That&#8217;s as low as 0.010 milliamps and may be difficult to see on many meters. If so, just move on to the next test.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_running-1024x768.jpeg\" alt=\"\" class=\"wp-image-491\" srcset=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_running-1024x768.jpeg 1024w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_running-300x225.jpeg 300w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_running-768x576.jpeg 768w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_running-1536x1152.jpeg 1536w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2_running-2048x1536.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, tie the LIN connection to ground to send it a Sync Break signal and you should see the current go up to somewhere between 1 and 15 milliamps. When you disconnect the LIN to ground connection, the current should drop back down after a delay of about 3 seconds. I find that the same sensor sometimes only draws 1 mA, and other times draws 10 mA. I don&#8217;t know why it does this, but I suspect some internal system might be using the current to warm up an internal circuit to maintain accurate readings. After storing a sensor in the freezer, I found it drew 10mA for a long time. <br>If the above tests are good, then you are starting to get lucky! I&#8217;ve heard of one that drew 100 mA and I suspect that would be a sign of a bad sensor, as would be one that does not respond to grounding of the LIN signal. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">LIN Communication Testing: <\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2-Test-Setup-1024x768.jpeg\" alt=\"\" class=\"wp-image-486\" srcset=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2-Test-Setup-1024x768.jpeg 1024w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2-Test-Setup-300x225.jpeg 300w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2-Test-Setup-768x576.jpeg 768w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2-Test-Setup-1536x1152.jpeg 1536w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/EBS2-Test-Setup-2048x1536.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next we can check that the sensor responds to LIN requests. <br>I am going to assume that you are familiar with loading Arduino sketches in general. If not, I&#8217;m sure there are many online resources to help. <br>For this you will need some equipment. In addition to a capable of supplying 12V, you&#8217;ll need some wires and the items below. If you are on a strict budget, ebay and Alibaba may have discount knock offs. I do like to support the Arduino official store when possible as they have empowered so many.<br><br><a href=\"https:\/\/amzn.to\/46EtsBp\">Arduino MEGA R3 Board ATmega 2560<\/a><br><br><a href=\"https:\/\/amzn.to\/3FfmLKd\">T151 Bus Module Transceiver,LIN Data Analysis Board LIN Converter Data Analyzer<\/a><br><br><a href=\"https:\/\/amzn.to\/48JAsid\">Jumper Wires Assorted Kit Male to Female Multicolored Ribbon Cables<\/a> These are handy for fitting on the EBS2 pins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively the <a href=\"https:\/\/amzn.to\/3LXS4NK\">Arduino UNO<\/a> can be used instead of the MEGA 2560 with different code<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A low cost current limited <a href=\"https:\/\/amzn.to\/46xrfba\">bench power supply<\/a> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ve written an Arduino sketch to do the scanning by modifying some library examples. My code and the library are both free to use open source with MIT license.<br><br>If you have the Arduino MEGA 2560 you&#8217;ll want to download LIN_PID_Scan below which contains the main file LIN_PID_Scan.ino<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-b206bd25-4bd0-4b21-86ab-2c895eb5226e\" href=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/LIN_PID_Scan_231008.zip\">LIN_PID_Scan_231008<\/a><a href=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/LIN_PID_Scan_231008.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-b206bd25-4bd0-4b21-86ab-2c895eb5226e\">Download<\/a><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have a Arduino UNO you&#8217;ll want to download LIN_PID_Scan_SoftSerial_231015 below and read the notes in the main file LIN_PID_Scan_SoftSerial.ino since it differs slightly from the comments in the video below as this version was an afterthought.<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-d49ee37c-edd2-48b6-807e-20f35a76a132\" href=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/LIN_PID_Scan_SoftSerial_231015.zip\">LIN_PID_Scan_SoftSerial_231015<\/a><a href=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/LIN_PID_Scan_SoftSerial_231015.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-d49ee37c-edd2-48b6-807e-20f35a76a132\">Download<\/a><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have the zip file with code, unpack it and put the whole folder titled &#8220;LIN_PID_Scan&#8221; or &#8220;LIN_PID_Scan_SoftSerial&#8221; in your Arduino sketch folder. Then open the .ino file and read the notes at the top. <br>In those notes you will find instructions for connecting the T151 to the Arduino board as shown in the pictures here. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"766\" height=\"592\" src=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Arduino-good-test.png\" alt=\"\" class=\"wp-image-492\" srcset=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Arduino-good-test.png 766w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Arduino-good-test-300x232.png 300w\" sizes=\"auto, (max-width: 766px) 100vw, 766px\" \/><figcaption class=\"wp-element-caption\">Arduino window with open file and serial monitor showing test results. <\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Above is the Arduino result of a test of a good working sensor using the MEGA 2560. <br><br>For additional guidance, I&#8217;ve made a short video showing how it should work and some possible diagnostics. <br>By the way, you can restart the scan by pressing the reset button on the Arduino, there is no need to unplug the USB cable or reload code like I was doing in the video.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"nv-iframe-embed\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/Oicj9lnEGOQ?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n<\/div><figcaption class=\"wp-element-caption\">Video of testing the EBS2 sensor. <\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/UNO_T151_Wiring-1024x768.jpeg\" alt=\"\" class=\"wp-image-504\" srcset=\"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/UNO_T151_Wiring-1024x768.jpeg 1024w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/UNO_T151_Wiring-300x225.jpeg 300w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/UNO_T151_Wiring-768x576.jpeg 768w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/UNO_T151_Wiring-1536x1152.jpeg 1536w, https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/UNO_T151_Wiring-2048x1536.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Arduino UNO testing the current sensor<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As an addendum, the above picture shows the wiring of the T151 with a Arduino UNO. The UNO version does not fail in the same way as the MEGA 2560 to incorrect or missing wiring, but it still works well to indicate a good current sensor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I hope this is helpful!<br>Please let me know if this helps you (I&#8217;m curious how many of us are struggling with this) and also if you find mistakes that I should fix. I&#8217;m sure I made some!<br><br>-Otmar<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This site contains paid links, by buying through these links I may receive a commission for the sale. This has no effect on the price for you.<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are repairing a bricked Smart ForTwo ED3 Electric Vehicle, this may be useful. I&#8217;m in the midst of replacing a dead cell in the traction battery pack on a 2014 Smart ForTwo ED3 electric car.The forums at smartcar of AMERICA have been super helpful, and yet I was struggling to easily test my&hellip;&nbsp;<a href=\"https:\/\/www.cafeelectric.com\/blog\/2023\/10\/09\/smart-fortwo-ed3-ebs2-current-sensor-test\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Smart ForTwo ED3 EBS2 Current Sensor Test<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":482,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[7],"tags":[26,25,27,24],"class_list":["post-481","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hacks-fixes-and-upgrades","tag-ebs2","tag-ed3","tag-lin-scanner","tag-smart-fortwo"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.cafeelectric.com\/blog\/wp-content\/uploads\/2023\/10\/Sensor-closeup-scaled.jpeg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paSKPd-7L","_links":{"self":[{"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/posts\/481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/comments?post=481"}],"version-history":[{"count":9,"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/posts\/481\/revisions"}],"predecessor-version":[{"id":649,"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/posts\/481\/revisions\/649"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/media\/482"}],"wp:attachment":[{"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/media?parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/categories?post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cafeelectric.com\/blog\/wp-json\/wp\/v2\/tags?post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}