{"id":2437,"date":"2012-07-18T08:44:04","date_gmt":"2012-07-18T13:44:04","guid":{"rendered":"http:\/\/www.plastibots.com\/?p=2437"},"modified":"2015-03-14T06:17:18","modified_gmt":"2015-03-14T11:17:18","slug":"juke-custom-paddle-shifters-phase-1","status":"publish","type":"post","link":"https:\/\/www.plastibots.com\/index.php\/2012\/07\/18\/juke-custom-paddle-shifters-phase-1\/","title":{"rendered":"Juke &#8211; Custom Paddle Shifters &#8211; Phase 1"},"content":{"rendered":"<p><a href=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_wirelessRemote1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2448 alignright\" title=\"PaddleShifter_wirelessRemote\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_wirelessRemote1-300x154.png\" alt=\"\" width=\"300\" height=\"154\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_wirelessRemote1-300x154.png 300w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_wirelessRemote1.png 581w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>Not satisfied leaving well enough alone, I decided to add custom paddle shifters to my 2012 Nissan Juke. \u00a0For those that aren&#8217;t in the know, the Juke has a sport shift mode where you can &#8216;bump&#8217; the auto shift unit up or down to up\/down shift. \u00a0..but that&#8217;s no fun&#8230; \u00a0 I wanted paddle shifters, and since there is no stock option, I decided to go the custom route. \u00a0Before jumping into the project, the main hurdle to overcome was to figure out how to add the paddles to the steering wheel. \u00a0In this case, the custom milled paddles I&#8217;m making would be mounted to the backside of the steering wheel and had to be wireless (for obvious reasons). \u00a0I am aware that this is not conventional and that many paddles are mounted to the steering column, but I wanted them on the steering wheel. \u00a0A <a href=\"http:\/\/www.jukeforums.com\/forum\/nissan-juke-diy\/122943-diy-paddle-like-shifting-3.html#post1697379\" target=\"_blank\">suggestion<\/a> led me to a RF wireless remote (pic) that fit the ticket. \u00a0The plan is to embed the remote into the backside of the steering wheel, mod the buttons for &#8216;A&#8217; and &#8216;B&#8217; by adding wires out to the individual custom made paddle units.<\/p>\n<p>Phase 1 &#8211; enable functionality for controlling manual mode shifting using an RF remote. \u00a0This will be discussed here.<\/p>\n<p>Phase 2 &#8211; Custom CNC milled aluminum paddle shifter units mounted to the steering wheel. Stay tuned<\/p>\n<p><!--more--><\/p>\n<h1><\/h1>\n<h1><span style=\"text-decoration: underline;\"><strong>Phase 1:<\/strong><\/span><\/h1>\n<p><strong>Preface: \u00a0If you want to try this yourself, you take responsibility for anything that may result from it. \u00a0If you mess up, you risk frying one of the BCM which could cost you some serious coin. \u00a0There is no guarantee that this will work for you, or of the long term affects. \u00a0I know enough about electronics \/ car electrical systems to have confidence that this will work. \u00a0 If you don&#8217;t have this same confidence, then this may not be for you.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2447 alignright\" title=\"PaddleShifterSWModel\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifterSWModel-300x188.jpg\" alt=\"\" width=\"300\" height=\"188\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifterSWModel-300x188.jpg 300w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifterSWModel.jpg 389w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-thumbnail wp-image-2454\" title=\"paddle_shifter_switch\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/paddle_shifter_switch-150x150.png\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/paddle_shifter_switch-150x150.png 150w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/paddle_shifter_switch-64x64.png 64w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/paddle_shifter_switch-128x128.png 128w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/p>\n<p>Since I don&#8217;t have many hobbies (not), I&#8217;ve jumped into desktop CNC milling and recently picked up a <a href=\"http:\/\/www.mydiycnc.com\/\" target=\"_blank\">MyDIYCNC<\/a>. \u00a0My first project will be the paddles. \u00a0I&#8217;ve modeled the unit \u00a0as shown here. \u00a0This will come in Phase II, but I wanted to show the end goal. \u00a0The view here is of the backside of the paddle. \u00a0The recessed area to the right is where the finger would rest when triggering the paddle. \u00a0The blank area to the right is going to hold a small switch (see image). \u00a0The switch will be mounted upside-down inside the paddle and will rest against the steering wheel. \u00a0The switch itself will serve to both trigger a shift as well as provide the &#8216;spring&#8217; to allow the paddle to triggered as the switch compresses against the back of the steering wheel. \u00a0The far left side will be used to mount a tab to to attach the paddle to the steering wheel itself.<\/p>\n<p>The Juke manual mode shifter has some built-in checks to ensure that it is in the manual mode state and that the &#8216;up&#8217; and &#8216;down&#8217; shifts are not phantom shifts. \u00a0It does this with a few pins and an internal slide switch. Namely pins 7, 8, 9 and 10 (shown below). \u00a0 These pins can be seen circled red in the connector that mounts to the backside of the shifter pod. \u00a0The manual mode shifting is monitored by the car computer to ensure than a shift took place and also determines which way. \u00a0Reading the switching diagram to the right, the following can be interpreted:<\/p>\n<ol>\n<li>Manual Mode engaged: \u00a0Pin 8 &amp; 9 &#8211; no continuity between pin 10. \u00a0Pin 7 &#8211; continuity to 10.<\/li>\n<li>Shift Up &#8211; Pin 9 continuity to 10, pin 8 &amp;7 \u00a0no continuity<\/li>\n<li>Shift Dn &#8211; Pin 8 continuity to 10, pin 9 &amp; 7 no continuity<\/li>\n<li>Shift unit connector wire colours: pin 7=brown, 8=green, 9=grey, 10=yellow<\/li>\n<\/ol>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2440\" title=\"paddleshifter_modes diagrams\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/paddleshifter_modes-diagrams.png\" alt=\"\" width=\"945\" height=\"503\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/paddleshifter_modes-diagrams.png 945w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/paddleshifter_modes-diagrams-300x159.png 300w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/p>\n<p style=\"text-align: left;\">I wanted to do the mod as well as ensure the stock unit would still work as designed. \u00a0To do this, I had to tap into these wires to mimic the action of the shifter lever, but not disable the shifter itself. \u00a0The RF remote receiver has 2 relays &#8211; one for each button &#8216;A&#8217; and &#8216;B&#8217;. \u00a0This was perfect as it allowed me to run parallel lines off pins 8 &amp; 9 and connect them to pins A of each relay. \u00a0Pin 10 was connected to GND on both relays. \u00a0The default state of the relay had no continuity between Pin 8 &amp; 10 and pin 9 &amp; 10 (as per spec). When the RF remote buttons are pressed, continuity to pin 10 is triggered from (8 or 9). \u00a0The challenge was pin 7. \u00a0 Since pin 7 continuity needs to be broken when either 8 or 9 is triggered, it could not be connected to the relay as one of the relays would always keep continuity between 7 &amp; 10 while the other relay would try to open it &#8211; not gonna work!<\/p>\n<p style=\"text-align: left;\">Jumping ahead, here is a demo of first part. \u00a0The RF remote controlling the switching. \u00a0Choppy video warning in 3&#8230;2&#8230;1&#8230;.<\/p>\n<h2 style=\"text-align: left;\"><iframe loading=\"lazy\" src=\"http:\/\/www.youtube.com\/embed\/WRi77tmnNe0\" width=\"320\" height=\"240\"><\/iframe><\/h2>\n<p><a href=\"http:\/\/youtu.be\/WRi77tmnNe0\" target=\"_blank\">Link<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline; font-size: medium;\"><strong>The build:<\/strong><\/span><\/p>\n<p>To handle the pin 7 issue, I used an ATTiny85 Arduino micro controller to work as a NOT gate. \u00a0It monitors pins 8 &amp; 9 and, when either of them go LOW (no continuity), it would trigger pin 7 to go High (and vise-versa). \u00a0The following image shows the circuit. \u00a0The bottom shows the leads coming form pins 8 &amp; 9 and the connection to the relays of the RF remote receiver. \u00a0Recall that when in manual mode neutral state (still driving), pins 8 &amp; 9 are Low and 7 is high. \u00a0This is fed to a voltage divider for each of 8 &amp; 9 to drop the voltage to a range between 0 &#8211; 5V. \u00a0The ATTiny reads this, and triggers the output on pin 6 (top right in blue), which in turn triggers the 2222 transistor. \u00a0On the car, the wire for pin 7 leading into the shifter was cut and leads were taken into the circuit (shown below top right for pin 7). \u00a0 \u00a0One lead goes to the Collector and the other to the Emitter of the 2222. \u00a0The idea is that the ATTiny serves as a trigger to set pin 7 High or Low.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2443\" title=\"PaddleShifter_Circuit\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_Circuit.png\" alt=\"\" width=\"932\" height=\"715\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_Circuit.png 932w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_Circuit-300x230.png 300w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/p>\n<p style=\"text-align: left;\">Showing the wireless remote receiver and emitter. \u00a0Pin 8 &amp; 9 went to connector C on each relay while pin 10 when to both &#8216;B&#8217; connectors. \u00a0The &#8216;A&#8217; connectors are not needed.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2448\" title=\"PaddleShifter_wirelessRemote\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_wirelessRemote1.png\" alt=\"\" width=\"581\" height=\"300\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_wirelessRemote1.png 581w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_wirelessRemote1-300x154.png 300w\" sizes=\"auto, (max-width: 581px) 100vw, 581px\" \/><\/p>\n<p style=\"text-align: left;\">The below pic shows the ATTiny85 circuit connected to the RF receiver while testing. \u00a0 I had originally intended to build just use a quad NAND gate to make this work, but ran into difficulties with leaky voltage not triggering pin 7 to go Low. \u00a0I also realized that there would be a timing issue. \u00a0Consider that, when manually shifting by hand, it takes time (in hundreds of milliseconds) to go from the shifter neutral state to either an up or down shift. During that time, there is a mechanical switch that changes states for pins 7,8 and 9. \u00a0However, when using the method here, everything is instantaneous. Once you touch a button on the RF remote and the relay is triggered, the switching is much faster than you can do with your hand. \u00a0Once the relay is triggered, the output states of the pins switch from one state to the other and back very fast &#8211; too fast for the car to see them sometimes. \u00a0I realized this when the RF remote was not working at first, but then when I held the button for a little longer, it worked. \u00a0 I introduced a delay into the Arduino sketch to allow for approx 600 ms time to hold the pins in their switched state (High or Low).<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_circuit_final.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-2445\" title=\"PaddleShifter_circuit_final\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_circuit_final-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_circuit_final-300x169.jpg 300w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_circuit_final.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Showing some of the wiring. \u00a0This is for pins 8, 9 and 10. \u00a0Pin 7 missing as this is an early picture of the project. \u00a0For pin 7, the wire is cut and a line is taken from each side. \u00a0In the case of the other pins, I tapped into the line but left the wire intact. \u00a0This is necessary to ensure that the shifter pod will still work. \u00a0The pin 7 wire had to be cut or it would not be able to be triggered from the RF and Arduino units. \u00a0BTW &#8211; pin 7 is the brown wire.<\/p>\n<p style=\"text-align: left;\"><a href=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_Wiring.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-2489\" title=\"PaddleShifter_Wiring\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_Wiring-300x169.jpg\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_Wiring-300x169.jpg 300w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2012\/07\/PaddleShifter_Wiring.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Phase I is complete &#8211; the circuit and RF remote allow the manual mode shifting to be controlled. \u00a0I have yet to mill the paddles and hack the remote to get switching into the paddles &#8211; this is Phase II and will be coming in a bit. \u00a0Check back again!<\/p>\n<p>Source Code:<\/p>\n<pre>\r\n\r\n\/*\r\nJuke paddle shifter code - NOT gate. ATTiny85\r\nPurpose: monitor inputs on A2, A3. When either go High, output on digital pin 0 to go Low. NOT gate\r\nJuly 2012\r\nD. Astolfo\r\n*\/\r\n\r\n\/\/ On ATTiny85\r\nint pin7Juke = 0; \/\/pin #5\r\nint led = 1; \/\/pin #6\r\nint shiftUp = 3; \/\/pin #2 (note that pins are defined based on the \u2018analog input text 3\u2019 on the image at the below URL)\r\nint shiftDn = 2; \/\/pin #3 (note that pins are defined based on the \u2018analog input text 2\u2019 on the image at the below URL)\r\n\/\/http:\/\/hlt.media.mit.edu\/?p=1695\r\n\r\nvoid setup() {\r\n\/\/Serial.begin(115200);\r\n\/\/ initialize the digital pin as an output.\r\npinMode(pin7Juke, OUTPUT);\r\npinMode(led, OUTPUT);\r\npinMode(shiftUp, INPUT);\r\npinMode(shiftDn, INPUT);\r\n\r\ndigitalWrite(pin7Juke, HIGH); \/\/onstartup, pin7 needs to be supplying 12V.\r\n}\r\n\r\n\/\/ the loop routine runs over and over again forever:\r\nvoid loop() {\r\n\r\n\/\/Serial.print(\"Val1=\");\r\n\/\/Serial.print(analogRead(shiftUp), DEC);\r\n\/\/Serial.print(\" Val2=\");\r\n\/\/Serial.println(analogRead(shiftDn), DEC);\r\n\r\nif (analogRead(shiftUp) < 900 || analogRead(shiftDn) < 900)\r\n{\r\n\/\/will set pin 7 to LOW to tell the car that a shift up or dn has ocurred.\r\ndigitalWrite(pin7Juke, LOW);\r\nblink();\r\n\/\/keep the pin low for a bit as the relays and electrics trigger much faster than doing this by hand through the shifter\r\ndelay(500);\r\n}\r\nelse\r\n{\r\n\/\/sets the pin back high again.\r\ndigitalWrite(pin7Juke, HIGH);\r\n}\r\n\r\ndelay(100);\r\n\r\n}\r\n\r\nvoid blink()\r\n{\r\ndigitalWrite(led, HIGH); \/\/ turn the LED on (HIGH is the voltage level)\r\ndelay(100); \/\/ wait for a second\r\ndigitalWrite(led, LOW); \/\/ turn the LED off by making the voltage LOW\r\ndelay(100); \/\/ wait for a second\r\n}\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Not satisfied leaving well enough alone, I decided to add custom paddle shifters to my 2012 Nissan Juke. \u00a0For those that aren&#8217;t in the know, the Juke has a sport shift mode where you can &#8216;bump&#8217; the auto shift unit up or down to up\/down shift. \u00a0..but that&#8217;s no fun&#8230; \u00a0 I wanted paddle shifters, and since there is no stock option, I decided to go the custom route. \u00a0Before jumping into the project, the &hellip; <a href=\"https:\/\/www.plastibots.com\/index.php\/2012\/07\/18\/juke-custom-paddle-shifters-phase-1\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2437","post","type-post","status-publish","format-standard","hentry","category-uncategorized","has_no_thumb"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pK41j-Dj","jetpack_sharing_enabled":true,"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts\/2437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/comments?post=2437"}],"version-history":[{"count":0,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts\/2437\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/media?parent=2437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/categories?post=2437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/tags?post=2437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}