Parallel Port -> 4-bit DAC driven monolothic chopper controller
I got it semi-working. Had a little hardware hangup because I hadn't pulled up the DAC REF line. After that, I got motion!
The motor is very silent now, but the motion is quite irregular, especially in one direction. There's a bit of funkiness going on that I can't capture through HALSCOPE, so I'm going to set up my big boy scope on it and see what is going on at the hardware level. This does not appear to be a tuning issue (although the tuning is not correct).
I'm spread across 2 houses and my garage right now, so at no point do I have access to all my tools.
I'm very interested in how this turns out, as I intend to tinker with my own designs of velocity-mode amplifiers. This would enable simple & cheap analog communication with my designs!
fungus wrote: I'm very interested in how this turns out, as I intend to tinker with my own designs of velocity-mode amplifiers. !
You could do that, or you could join in with the STMBL project
fungus wrote: I had a lot of hope for STMBL, and I still do. I lost touch with it during the shortage/EOL of the MCU though. Have they overcome this yet?
The problem is not the MCU but the power bridge.
As far as I know there is no replacement design yet, but it is being worked on.
I'm not going to spend too much time digging into it, because as Andy said... This would be a lot better off as a separate HAL component.
I won't say that my priorities will not change in the coming year, but I would love to revisit this as I work my way through classes. It'd be a great intro to HAL components.
The following snips show the labeled channels:
DS1Z_QuickPrint3 was a slow jog in +X, it was smooth.
DS1Z_QuickPrint4 was a slow jog in -X, it was rough (approx 4Hz on the DIR pin).
DS1Z_QuickPrint1 was a fast jog in +X, it was a bit rough.
DS1Z_QuickPrint2 was a fast jog in -X, it was very smooth.
Bear in mind, this is still generating PWM at this point. I'm using the PWM component for direction.
Not that I have a whole lot of experience, but I would like to see it stay active.
fungus wrote: Andy, it looks like the IRC for STMBL hasn't been active in a while; the github repo hasn't had a hardware commit in a while. Do you know if the original maintainers/creators are actively working on the project?
Yes, very much so.
You might be looking in the wrong place:
Have a look at the message from 1st June.