I'd be lost without people like you!
I think we are on the same page in terms of the big picture theory of how this all should work. I do pretty well in conceptualizing electronics systems, I struggle significantly at determining the exact components (sizing caps / resistors ect).
Where did we land on using the SAMD21 at the primary controller (vs the sub axis controllers)?
well ****, when you make me think about, I see how silly it is.I'm a little perplexed at it's purpose, considering that the SAMD21 is available in a QFP,
re: bldc motor sensor vs sensorless: that remains unclear. I have two of these motors, used for electric steering in cars. That black case at the end, holds a driver of its own. The first one had been wired wrong & let out the smoke and then I thoroughly destroyed it trying to take it apart. In taking it apart, I found a small ceramic magnet at the end of the shaft. It only has two poles, but I suppose with 3 hall sensors 120 degrees out of phase, that would probably get the job done. The thing is, I cannot find the sensors! So I am hoping to use the one I destroyed to workout the pinout of the good one and build a driver for the second.
good calland the rest to an expansion header in case you think of anything you want to add later.
this is helpful, I need to continue to study it.I would suggest having a look at the schematic for the Arduino M0
never been successful at this, but I have only tried in an effort to repair chips. honestly I am not sure I totally understand what bootloaders do, it is fair to think of them like the operating system of the chip?A programming header for flashing the bootloader
re: crystal - a bit confused here, I understand the relevance of 32.768 khz, but I thought the oscillator was responsible for timing cpu cycles....but how does a 32.768 kh produce a 48 mhz cpu cycle?
re: precision voltage reference: is a zener diode sufficient for this, or is that not considered to be a precision reference?
encoder: these are hedl 5540 encoders. Looks like 500 lines of resolution. optical. That seems both sufficient for accurate positioning and not too high that the pulses are difficult to process. Would you agree? datasheet
the spindles: I would like to work out what kind of speed I can get out of the spindles. the motors are maxon 248530 (EC series) --maxon's documentation is normally really good, but there is nothing on this motor, its as if it never existed. I have an email into them.
The spindles are made by GMN they have different serial numbers (r339423 & r337051) and the common marking of TS 25x56 -s6. Not finding any info on those either. The TS is a class of spindles with a max 20k rpm. I think the 25x56 is ID and OD of the bearings, no idea what s6 means.
It seems like developing these boards is gonna take a bit, I was thinking about ordering a SAMD21 dev board to start familiarizing myself with it, thoughts?
I did some more breakdown on the machine, one unsettling discovery: the lead screws have no rear support bearings on any of the axis! Back end of the screw is just hanging in the air. wtf ? That's the sort of thing I expect from harbor freight machines, not a precision dental mill that cost tens of thousands (when it was new). So I guess I will add that to the TODO list.