{"action":"created","issue":{"url":"https://api.github.com/repos/jcchurch13/Mechaduino-Firmware/issues/4","repository_url":"https://api.github.com/repos/jcchurch13/Mechaduino-Firmware","labels_url":"https://api.github.com/repos/jcchurch13/Mechaduino-Firmware/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jcchurch13/Mechaduino-Firmware/issues/4/comments","events_url":"https://api.github.com/repos/jcchurch13/Mechaduino-Firmware/issues/4/events","html_url":"https://github.com/jcchurch13/Mechaduino-Firmware/issues/4","id":178288477,"number":4,"title":"Debugging units: No movement in closed loop","user":{"login":"SloMusti","id":1584734,"avatar_url":"https://avatars.githubusercontent.com/u/1584734?v=3","gravatar_id":"","url":"https://api.github.com/users/SloMusti","html_url":"https://github.com/SloMusti","followers_url":"https://api.github.com/users/SloMusti/followers","following_url":"https://api.github.com/users/SloMusti/following{/other_user}","gists_url":"https://api.github.com/users/SloMusti/gists{/gist_id}","starred_url":"https://api.github.com/users/SloMusti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SloMusti/subscriptions","organizations_url":"https://api.github.com/users/SloMusti/orgs","repos_url":"https://api.github.com/users/SloMusti/repos","events_url":"https://api.github.com/users/SloMusti/events{/privacy}","received_events_url":"https://api.github.com/users/SloMusti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-21T09:07:31Z","updated_at":"2016-10-20T07:27:16Z","closed_at":null,"body":"Self-built Mechaduino while waiting for Kickstarter units to arrive. Performed calibration routine and programmed it. Step mode with \"s\" command works. After sending \"y\" and \"x\" and \"r 1080\" no rotation occurs. Stepper axis can be easily moved my hand, there is some minor resistance, but no closed-loop control action occurs.\r\n\r\nWhat parameters in the firmware to observe or print to evaluate what is going on."},"comment":{"url":"https://api.github.com/repos/jcchurch13/Mechaduino-Firmware/issues/comments/255029625","html_url":"https://github.com/jcchurch13/Mechaduino-Firmware/issues/4#issuecomment-255029625","issue_url":"https://api.github.com/repos/jcchurch13/Mechaduino-Firmware/issues/4","id":255029625,"user":{"login":"bretskee","id":11582153,"avatar_url":"https://avatars.githubusercontent.com/u/11582153?v=3","gravatar_id":"","url":"https://api.github.com/users/bretskee","html_url":"https://github.com/bretskee","followers_url":"https://api.github.com/users/bretskee/followers","following_url":"https://api.github.com/users/bretskee/following{/other_user}","gists_url":"https://api.github.com/users/bretskee/gists{/gist_id}","starred_url":"https://api.github.com/users/bretskee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretskee/subscriptions","organizations_url":"https://api.github.com/users/bretskee/orgs","repos_url":"https://api.github.com/users/bretskee/repos","events_url":"https://api.github.com/users/bretskee/events{/privacy}","received_events_url":"https://api.github.com/users/bretskee/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T07:27:16Z","updated_at":"2016-10-20T07:27:16Z","body":"Hi,\r\n\r\nI have exactly the same issue. I too have built a Mechaduino. It seems to be fine in that it steps and calibrates. On power up, the motor is fixed in position with lots of resistance. As soon as I enable closed loop mode, I can spin the motor freely, the led lights and nothing happens. It has at times become unresponsive to further serial commands. A reset brings it back to life. My motor is a 0.9 degree motor. I have changed the spr value with no effect. I have not looked into it deeply, but there are some other numbers hard coded as '200' that look suspiciously like they should be defined as spr. I have not looked closely as my calibration numbers but I will as soon as I get a little time. I have verified however that I get reasonable numbers from my encoder and I have definitely got a correctly oriented magnet."}}
{"actor":{"display_login":"bretskee"}}