{"id":1394,"date":"2015-08-26T21:15:10","date_gmt":"2015-08-27T07:15:10","guid":{"rendered":"http:\/\/blog.familjenjonsson.org\/blog\/?p=1394"},"modified":"2017-02-25T18:34:42","modified_gmt":"2017-02-26T04:34:42","slug":"microsquirting-the-nc30-part-6-its-alive","status":"publish","type":"post","link":"https:\/\/blog.familjenjonsson.org\/blog\/2015\/08\/26\/microsquirting-the-nc30-part-6-its-alive\/","title":{"rendered":"Microsquirting the NC30, part #6: It&#8217;s alive!"},"content":{"rendered":"<p>All that remained before we&#8217;d have the Microsquirt alive when the <a href=\"http:\/\/blog.familjenjonsson.org\/blog\/2015\/08\/23\/microsquirting-the-nc30-part-5-more-wiring\/\">last post<\/a> ended was to plug everything into the connector&#8230; only there was a small setback.<\/p>\n<p>The minimal test was to only wire up the power and the serial lines and make sure that we could talk to it over the Bluetooth modem. Except when I did, I got nothing.<\/p>\n<p>After some troubleshooting with the scope, I concluded that transmission from the laptop to the Microsquirt made it fine through the bluetooth modem and the RS-232 transceiver. Nothing came back, however. And looking at the circuit board, I suddenly noticed&#8230;<\/p>\n<div id=\"attachment_1396\" style=\"width: 540px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_155957.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1396\" class=\"size-medium-size wp-image-1396\" src=\"http:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_155957-530x600.jpg\" alt=\"This is where the RS-232 tranceiver breakout board is plugged in. Notice something funny? \" width=\"530\" height=\"600\" srcset=\"https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_155957-530x600.jpg 530w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_155957-132x150.jpg 132w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_155957-265x300.jpg 265w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_155957.jpg 883w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_155957-730x827.jpg 730w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><p id=\"caption-attachment-1396\" class=\"wp-caption-text\">This is where the RS-232 tranceiver breakout board is plugged in. Notice something funny with the traces?<\/p><\/div>\n<p>In the picture, note how there are traces going to &#8220;T1IN&#8221; and &#8220;T1OUT&#8221; (that&#8217;s the transmitter 1 input and output) and &#8220;R2IN&#8221; and &#8220;R1OUT&#8221;&#8230; Whoops. The board has 2 transmitters and 2 receivers, and apparently I had wired up the inputs and outputs to different recievers. That certainly explains why nothing was coming back.<\/p>\n<p>I think I know what happened here. My custom-made EAGLE symbol for the breakout board had the inputs on one side and the outputs on the other, but I never bothered to line up the two inputs with the corresponding outputs. So when I made the connections, I must have just connected the pins that lined up, without verifying the labels.<\/p>\n<p>Oh well. While annoying, it&#8217;s easy to fix.<\/p>\n<div id=\"attachment_1397\" style=\"width: 605px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_172432.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1397\" class=\"size-medium-size wp-image-1397\" src=\"http:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_172432-595x600.jpg\" alt=\"Problem solved. After this change, the communication worked perfectly.\" width=\"595\" height=\"600\" srcset=\"https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_172432-595x600.jpg 595w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_172432-150x150.jpg 150w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_172432-298x300.jpg 298w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_172432.jpg 992w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_172432-730x736.jpg 730w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/a><p id=\"caption-attachment-1397\" class=\"wp-caption-text\">Problem solved. After this change, the communication worked perfectly.<\/p><\/div>\n<p>With that, the Microsquirt connected up to the tuner software on the laptop fine, so I proceeded to wire up the remaining connections.<\/p>\n<div id=\"attachment_1399\" style=\"width: 460px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_203128.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1399\" class=\"size-medium-size wp-image-1399\" src=\"http:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_203128-450x600.jpg\" alt=\"After connecting all remaining wires to the appropriate pins on the 35-pin connector, it's getting quite crowded in that little space.\" width=\"450\" height=\"600\" srcset=\"https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_203128-450x600.jpg 450w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_203128-113x150.jpg 113w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_203128-225x300.jpg 225w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_203128.jpg 750w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_203128-730x973.jpg 730w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><p id=\"caption-attachment-1399\" class=\"wp-caption-text\">After connecting all remaining wires to the appropriate pins on the 35-pin connector, it&#8217;s getting quite crowded in that little space.<\/p><\/div>\n<p>After entering the correct calibration constants for the pressure and temperature sensors, I now have sane-looking sensor readouts.<\/p>\n<div id=\"attachment_1395\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_204454.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1395\" class=\"size-medium-size wp-image-1395\" src=\"http:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_204454-600x450.jpg\" alt=\"Both pressures and temperatures look reasonable.\" width=\"600\" height=\"450\" srcset=\"https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_204454-600x450.jpg 600w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_204454-150x113.jpg 150w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_204454-300x225.jpg 300w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_204454.jpg 1000w, https:\/\/blog.familjenjonsson.org\/blog\/wp-content\/uploads\/2015\/08\/IMG_20150826_204454-730x548.jpg 730w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-1395\" class=\"wp-caption-text\">Both pressures and temperatures look reasonable.<\/p><\/div>\n<p>The manifold and ambient pressure reads 99kPa (the weather station says the current pressure is 99.8kPa) and the coolant and intake (not shown) temperatures were 29C. Seems satisfactory.<\/p>\n<p>I also verified that the control of the radiator fan works by telling it to turn on at 25C. This did indeed turn the fan on.<\/p>\n<p>The only remaining thing to wire up is to connect the oxygen sensor wires to the wideband controllers. I didn&#8217;t want to cut those wires until I knew what things were going to look like, but now the time for that has come too.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>All that remained before we&#8217;d have the Microsquirt alive when the last post ended was to plug everything into the connector&#8230; only there was a small setback. The minimal test was to only wire up the power and the serial lines and make sure that we could talk to it over the Bluetooth modem. Except &#8230;<\/p>\n<p><a href=\"https:\/\/blog.familjenjonsson.org\/blog\/2015\/08\/26\/microsquirting-the-nc30-part-6-its-alive\/\" class=\"more-link\">Continue reading &lsquo;Microsquirting the NC30, part #6: It&#8217;s alive!&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[4,29],"tags":[11,13,15],"class_list":["post-1394","post","type-post","status-publish","format-standard","hentry","category-motorcycle","category-nc30","tag-electronics","tag-motorcycles","tag-nc30"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/posts\/1394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/comments?post=1394"}],"version-history":[{"count":1,"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/posts\/1394\/revisions"}],"predecessor-version":[{"id":1400,"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/posts\/1394\/revisions\/1400"}],"wp:attachment":[{"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/media?parent=1394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/categories?post=1394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.familjenjonsson.org\/blog\/wp-json\/wp\/v2\/tags?post=1394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}