{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3139","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3139/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3139/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3139/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/3139","id":140434462,"number":3139,"title":"Rotary encoder moves modifies the HotEnd0 temp and freeze Märlin + RAMPS 1.4 + MAX6675 + Thermocouple + FULL GRAPHIC SMART DISPLAY","user":{"login":"zeeproduction","id":17774277,"avatar_url":"https://avatars.githubusercontent.com/u/17774277?v=3","gravatar_id":"","url":"https://api.github.com/users/zeeproduction","html_url":"https://github.com/zeeproduction","followers_url":"https://api.github.com/users/zeeproduction/followers","following_url":"https://api.github.com/users/zeeproduction/following{/other_user}","gists_url":"https://api.github.com/users/zeeproduction/gists{/gist_id}","starred_url":"https://api.github.com/users/zeeproduction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeeproduction/subscriptions","organizations_url":"https://api.github.com/users/zeeproduction/orgs","repos_url":"https://api.github.com/users/zeeproduction/repos","events_url":"https://api.github.com/users/zeeproduction/events{/privacy}","received_events_url":"https://api.github.com/users/zeeproduction/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-13T01:25:02Z","updated_at":"2016-03-13T02:39:35Z","closed_at":null,"body":"Hi everybody. I'm stuck and I really need help. I just signed up on github so if this is not the right place to post this please excuse me and do the appropriate modifications.\r\n\r\nI have no idea what else to test to make this thing work.\r\nI use:\r\nArduino IDE 1.6.5\r\nArduino Mega 2580\r\nRAMPS 1.4\r\nREPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER\r\nADC MAX6675\r\nThermocouple Hot end (-2)\r\nThermistor 100K NTC Hot bed (1)\r\n\r\nI tested:\r\nMärlin 1.0.2\r\nMärlin Marlin-1.1.0-RC2\r\nMärlin Marlin-1.1.0-RC3\r\nMärlin RCBugFix latest versions\r\nAnHardt Marlin latest versions\r\n\r\nMAX6675 is connected on RAMPS pins:\r\nSCK/CLK D52\r\nSO/DO (MISO) D50\r\nCS/SS D53\r\nVDC AUX2 pin +\r\nGND AUX2 pin GND\r\n\r\nlike in this video: https://www.youtube.com/watch?v=6JciilNAgA8\r\n\r\nThe best I could get is at start up, without moving anything I get temp readings from both sensors. If I click the encoder the menu swaps forth and back and keep have temps readings. BUT as soon as I turn the encoder any direction the software freezes and it displays weird temps on hotend0 of thermocouple. And this happens in any point any time.\r\n\r\nEven if first move I do is to rotate the encoder, the software freezes and displays temp error.\r\n\r\nThis ERROR, for some reason (what has one to do with the other?) is dependent on ENCODER_PULSES_PER_STEP and ENCODER_STEPS_PER_MENU_ITEM setting in Configuration.h.\r\n\r\nIf ENCODER_PULSES_PER_STEP has a greater than 4 value the MAXTEMP error is triggered and the Hotend shows temperatures above 300ºC.\r\n\r\nIf ENCODER_PULSES_PER_STEP is under 4 the MINTEMP error is triggered and Hotend (Thermocouple + MAX6675) displays around -100 - 0ºC.\r\n\r\nWith values 4 and 1 for these variables, behaves as it should (IMO) but even if I don't do anything after a while it freezes...\r\n\r\nI tried even with disabled vars and with -1 and 0 combinations but it didn't worked.\r\n\r\nIt seems to be important the last position where the encoder last remained because sometimes the software doesn't start until I rotate a bit the encoder.\r\n\r\nI'm stuck. I have a thermocouple attached to the hot end and I need to use this. The temp reading with thermocouple 100K are not reliable. I checked with a very accurate infra red gun that reads up to 900ºC and the values read are far from reliable.\r\n\r\nAnd by the way the 100K thermistor is rated up to 125ºC. How it is supposed to measure temperatures above without firing it?\r\nI also realized that pin SCK from RAMPS doesn't have a function on the module in any point. It only reaches the other end of ribbon cable but no point responds to it as a contact. So here is another question: How is it possible for the LCD module and SD card module to work without the clock? I wonder.\r\n\r\nWith the RCBugFix Märlin versions, the software keeps resetting itself and it doesn't let me do anything but with temp readings or, if it doesn't freezes it behaves as described above.\r\n\r\nSo, where else should I look? What else can I try to start the thing?\r\nI am working on this printer for a year now. I finally got the ADC MAX a week ago and since then... oh boy...\r\n\r\nI think the encoder rotation corrupts the temp readings and therefore a move of the rotary gets put into temp variables and modifies the values of the temp but even if it is so I have no idea how to fix this.\r\n\r\nPlease give me a hand or at list some directions where to look for.\r\nLet me know if you need me to put some code in here or to send it somewhere.\r\n\r\nThank you so much for what you are doing."},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/195858582","html_url":"https://github.com/MarlinFirmware/Marlin/issues/3139#issuecomment-195858582","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3139","id":195858582,"user":{"login":"zeeproduction","id":17774277,"avatar_url":"https://avatars.githubusercontent.com/u/17774277?v=3","gravatar_id":"","url":"https://api.github.com/users/zeeproduction","html_url":"https://github.com/zeeproduction","followers_url":"https://api.github.com/users/zeeproduction/followers","following_url":"https://api.github.com/users/zeeproduction/following{/other_user}","gists_url":"https://api.github.com/users/zeeproduction/gists{/gist_id}","starred_url":"https://api.github.com/users/zeeproduction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeeproduction/subscriptions","organizations_url":"https://api.github.com/users/zeeproduction/orgs","repos_url":"https://api.github.com/users/zeeproduction/repos","events_url":"https://api.github.com/users/zeeproduction/events{/privacy}","received_events_url":"https://api.github.com/users/zeeproduction/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T02:39:35Z","updated_at":"2016-03-13T02:39:35Z","body":"I just found them with a countinuity check of a multimeter. I have them splitted correctly now.\nOn EXP2 (p18 prr BOB) the pins are the first two. Only MISO reacehs the display on pin 3 around SD card.The SCK has no correspondent pin on the siplay board !!!It's weird.\nNot the pins are the issue. The weird thing is when I move the rotary encoder it actaully displays weird temps on HE0 and freezes.\nI had a terrible week reading and reading and uploading sketches in big volume.I don't know what else to do.\nThanks for your answer. \n \n\n    On Sunday, March 13, 2016 3:10 AM, AnHardt <notifications@github.com> wrote:\n \n\n When i tested it i used this kind of adapter to split the signals out, without soldering.\n\nBut i don't remember the exact holes.\n@Grogyan can you describe how to find SCK?—\nReply to this email directly or view it on GitHub.  \n\n  "}}