Continuing on the quest to find the electronics to drive my new still-building 3D printer. Started with the question of using a Raspberry Pi 3.
After too much reading, my head wants to explode.
My prior exploration of using a Pi 3 for low-level operations:
https://plus.google.com/u/0/+PrestonBannister/posts/VS3CMnmzBfj
Seems the above was not needed. Again, I am a software guy who has not directly driven hardware for a couple of decades. What is common in current hardware was not my concern.
First, seems we can buy boards to stack onto a Pi that control stepper motors over the I2C interface, with relatively high level operations that take us away from “hard” real-time. Examples include:
Adafruit DC & Stepper Motor HAT for Raspberry Pi
MOTORplate
Each of the above controls two steppers, and costs ~$20-30. To do XYZ and one extruder, I need two boards. If I want a second extruder, and perhaps fan control, then I need a third board. Right.
Frankly, I will likely just buy a stack of the above Adafruit boards. Though that would limit(?) to 12V motors and fans. Maybe not enough power?
Also, a three-board stack on-top of a Pi is a bit clunky. From the online tutorials, I get the impression I could build the needed function on a single board (with chips offering fairly high-level service). Right. Mentioned prior I am a software guy. Not really wanting to cook my own hardware.
Second, there are the BeagleBone boards - an attempt by TI unseat the Raspberry Pi, apparently. The cost per “cape” to control steppers seems to be about the same.
https://www.seeedstudio.com/Motor-Bridge-Cape-p-2569.html
The BeagleBone boards have less CPU and memory compared to a Pi 3. Might be sufficient, or might not. Not convinced as yet.
Third, there is the wildcard. There are adapter boards to use Arduino “shields” with a Raspberry Pi.
Raspberry Pi to Arduino Shields Connection Bridge
https://www.cooking-hacks.com/documentation/tutorials/raspberry-pi-to-arduino-shields-connection-bridge
Raspberry Pi to Arduino/Genuino Shield Bridge.
Which might be used with:
SilentStepStick TMC2100 5V Stepper Motor Driver
The cost looks to be about a wash. The above shield looks able to drive motors at 24V (or higher). The software … and this point the rabbit-hole becomes deep. Not sure how much trouble is there.
This part is not fun.