View Single Post
  #3  
Old 19-11-2015, 06:08 PM
codemonkey's Avatar
codemonkey (Lee)
Lee "Wormsy" Borsboom

codemonkey is offline
 
Join Date: Jul 2013
Location: Kilcoy, QLD
Posts: 2,058
Honestly, probably would have been better to just write my own code for that, but eh, I was being lazy and just wanted to get things going fast.

Microstepping is fine as long as you have enough torque in the end. Keep in mind I'm using a nema 17 which is apparently what's used in the EQ6, so it's way overkill for my purposes.

I'd have to revisit the serial input code (not on this computer). It did have fixed size buffers, but it wasn't overflowing them as it was limiting the number of characters read in... at first I assumed it was probably an "off-by-one" error common in loops, but that turned out not to be the case.

I found that without waiting for more characters to become available before reading, it would fill the buffer to the max size with rubbish data, and then somewhere down the line things stopped working.

I decided to fix the rubbish data issue and once that was fixed the problem went away, so I didn't bother going down to find out what exactly caused it to manifest in the way that it did.
Reply With Quote