{"action":"created","issue":{"url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/165","repository_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92","labels_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/165/comments","events_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/165/events","html_url":"https://github.com/luc-github/Repetier-Firmware-0.92/issues/165","id":162312596,"number":165,"title":"Second Fan Pin on 1.0A","user":{"login":"DecisiveMocha","id":18511288,"avatar_url":"https://avatars.githubusercontent.com/u/18511288?v=3","gravatar_id":"","url":"https://api.github.com/users/DecisiveMocha","html_url":"https://github.com/DecisiveMocha","followers_url":"https://api.github.com/users/DecisiveMocha/followers","following_url":"https://api.github.com/users/DecisiveMocha/following{/other_user}","gists_url":"https://api.github.com/users/DecisiveMocha/gists{/gist_id}","starred_url":"https://api.github.com/users/DecisiveMocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DecisiveMocha/subscriptions","organizations_url":"https://api.github.com/users/DecisiveMocha/orgs","repos_url":"https://api.github.com/users/DecisiveMocha/repos","events_url":"https://api.github.com/users/DecisiveMocha/events{/privacy}","received_events_url":"https://api.github.com/users/DecisiveMocha/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/labels/0.92.10","name":"0.92.10","color":"0052cc"},{"url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/labels/Need%20more%20information","name":"Need more information","color":"fbca04"},{"url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-26T04:54:07Z","updated_at":"2016-06-27T07:51:22Z","closed_at":"2016-06-27T07:51:22Z","body":"I added the transistor and load resistor on the main board to activate the second fan header on my 1.0A that's unused from the factory. I connected the extruder fan to the second header to test it, but it's not working.\r\n\r\nWhen I short collector to emitter on the transistor, the fan turns on, so it seems the electronics are sound but I'm not getting the current to the base of the transistor to switch it. I show continuity from the base to the current limiting resistor, but the other end of the current limiting resistor seems to have continuity to physical pin 129, not physical pin 137 as in pinout.xlsx and the pin configuration in the firmware. I'm not sure how to switch the firmware to use pin 129 - it's digital pin PB11 and seems to be normally used by the Arduino for USB.\r\n\r\nI don't think this is the issue, but here's the firmware change I made in Configuration.h to make this work:\r\n```\r\n/** Should support for fan control be compiled in. If you enable this make sure\r\nthe FAN pin is not the same as for your second extruder. RAMPS e.g. has FAN_PIN in 9 which\r\nis also used for the heater if you have 2 extruders connected. */\r\n#if REPURPOSE_FAN_TO_COOL_EXTRUSIONS==1\r\n#define FEATURE_FAN_CONTROL 1\r\n #define FAN_PIN ORIG_FAN_PIN\r\n  #if DAVINCI==2 || DAVINCI==3\r\n      #define EXT0_EXTRUDER_COOLER_PIN ORIG_FAN2_PIN\r\n      #define EXT1_EXTRUDER_COOLER_PIN ORIG_FAN2_PIN\r\n    #else //DaVinci 1.0\r\n        #define EXT0_EXTRUDER_COOLER_PIN -1 //Warning need to add a permanent fan with power supply to cool extruder\r\n    #endif\r\n#else\r\n  #define FAN_PIN -1\r\n  #define FEATURE_FAN_CONTROL 0\r\n#endif\r\n```\r\n\r\nto this:\r\n\r\n```\r\n/** Should support for fan control be compiled in. If you enable this make sure\r\nthe FAN pin is not the same as for your second extruder. RAMPS e.g. has FAN_PIN in 9 which\r\nis also used for the heater if you have 2 extruders connected. */\r\n#define FEATURE_FAN_CONTROL 1\r\n#define FAN_PIN ORIG_FAN2_PIN\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/comments/228676393","html_url":"https://github.com/luc-github/Repetier-Firmware-0.92/issues/165#issuecomment-228676393","issue_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/165","id":228676393,"user":{"login":"luc-github","id":8822552,"avatar_url":"https://avatars.githubusercontent.com/u/8822552?v=3","gravatar_id":"","url":"https://api.github.com/users/luc-github","html_url":"https://github.com/luc-github","followers_url":"https://api.github.com/users/luc-github/followers","following_url":"https://api.github.com/users/luc-github/following{/other_user}","gists_url":"https://api.github.com/users/luc-github/gists{/gist_id}","starred_url":"https://api.github.com/users/luc-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luc-github/subscriptions","organizations_url":"https://api.github.com/users/luc-github/orgs","repos_url":"https://api.github.com/users/luc-github/repos","events_url":"https://api.github.com/users/luc-github/events{/privacy}","received_events_url":"https://api.github.com/users/luc-github/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T07:51:22Z","updated_at":"2016-06-27T07:51:22Z","body":"Thanks for sharing - so it seems 1.0A has several level of populated components - good to know\r\n\r\nHappy to see you do not have any issues, waiting for your final confirmation\r\n"}}
{"actor":{"display_login":"luc-github"}}