Code and Wiring for DB1 Motor Control
Is there a way to get the code and wiring for the complete motor control system? You had promised some time ago to make the code available on GitHub but I never saw that happen.
I'm ready to wire up and program the Arduino Mega and the two Nano's or Atmega328 chips (I'll actually be using STM32 boards in place of the Nano or Atmega chips) but the code should be similar enough.
I'd like to get the motors up and running with the nice smooth acceleration you had talked about in a previous DB1 episode. I could figure out how to do this on my own, but since this is what you are also planning to do I thought it would be nice to use your scheme so we can be on the same page. I'd like to see how you did this anyway. I think you also had emergency stop routines, etc. I wanted to duplicate all of that too so when it comes time for higher-level control we'll be on the same page.
It sure would be nice to get these robots up and running. There sitting here waiting to be wired up and programmed. I've been waiting for this wiring and code all summer. 😊
nice smooth acceleration
I found this...
The main page...
The main arduino page...
The main main page...
He's probably got an index with an actual web page in there someplace, but I didn't bother to look for the fancy bits, just the important parts
Thanks. But I'm driving PM motors. Besides, I want to see Bill's larger scheme. He's using a Mega to control two smaller microcontrollers, each one dedicated to a PM motor. And he also has an Emergency Stop system set up, as well as possible other features. So I want to try to duplicate what he's doing as closely as possible. This way when we get to the other layers I'll be in harmony with how he intends to give commands to the Mega to control the robot.
By the way. Thanks for the link to the stepper motor control library. That's a nice site, I saved the link for later possible use. I plan on building a stepper motor driven arm so these routines may indeed come in useful for that project. That's a really well-organized site.
You're welcome 🙂
Even if you can't immediately use it, you might be able to at some point, or it might be of use to somebody else, considering how many other Random Robots we're Collectively Constructing
I too have been waiting patiently for Bill's sketches for the DB-1 project that were referenced in Ep-11. I would like to test the two Nano motor control even though I will probably upgrade to the 328P when available. BTY, I posted a method for making cable assemblies using aviation connectors some time ago. It is quite elegant. Please check it out and let me know what you think of my method.