For his entry into the 2019 Hackaday Prize, [Tobius Daichi] is working on adding some motion control capabilities to everyone’s favorite Linux SBC. His 3+Pi board attaches to the Raspberry Pi’s GPIO header and gives you a convenient way to control four individual stepper motors. Perfect for a 3D printer, laser cutter, CNC, or anything else you can think of that needs to move in a few dimensions.
But such a simplistic description of the 3+Pi might be underselling it a bit. While [Tobius] says he was inspired by the classic Arduino CNC Shield that powers countless DIY 3D printers, he’s managed to improve on the concept. Rather than having the host Pi communicate directly with the stepper drivers, the 3+Pi features an onboard STM32F302CBT6 that handles the actual motor control. The Pi just needs to tell it what to do over UART.
If you’re looking to do things in real-time, having an onboard microcontroller handle the low-level aspects of talking to the stepper drivers can be a big help. A natural extension for this board could be support for the Klipper firmware, which leverages the fact that the Raspberry Pi is many times more powerful than your average 3D printer control board. With the Pi handling the math and providing the microcontroller instructions, Klipper allows for faster and more accurate printing than the microcontroller alone could accomplish.
As for the stepper drivers themselves, [Tobius] has decided to go with the Trinamic TMC2041-LA-T. This chip is notable as it puts dual drivers in one 48-QFN package, which is great if you’re looking to save space on your board. Some might complain that the 3+Pi doesn’t allow for easily swapping out the stepper drivers if you manage to cook one like on the Arduino CNC shield, but realistically you could say the same about many purpose-built stepper control boards.
[Tobius] is tackling this project by himself currently, but does mention that he’s open to teaming up with anyone who’s got an interest in this sort of thing. There have been previous attempts at creating Linux-powered 3D printer controllers in the past, but we think this approach holds particular promise if for no other reason than the Raspberry Pi’s popularity.
The entry-level 3D-printer market is a rich one, with offerings from many vendors that are surprisingly good. But nothing is perfect, and to hit the $200 price point some compromises are inevitable. That doesn’t mean you have to live with those engineering choices, of course, which makes these cheap printers a great jumping off point for aftermarket mods.
[Linas K] took this route and in the process made his Cetus 3D-printer essentially silent. The first part of the video below reviews the shortcomings of the stock machine and the mechanical changes [Linas] made, including new brackets for the Z-axis slide, relocating the WiFi antenna to someplace sensible, and adding limit switches for each slide. Inside the case, the electronics get a complete reworking, with a custom PCB to house Trinamic stepper drivers for ultraquiet operation. The new board also supports the limit switches as well as thermostatic control of the extruder fan and pads for a platform heater. As a bonus, the new PCB is much smaller than the original, leaving room to tuck the power supply into the case, which is a nice touch. It wasn’t cheap, and it meant basically gutting the printer, but the results are impressively quiet.
We’re tempted to try these silencing mods on our own Cetus, if [Linas] ever publishes the BOM and PCB designs (hint, hint). And Cetus hacking is becoming quite a thing around here. From a trio of Cetus pro-tips to turning a Cetus into a PCB machine, the little printer has a lot to offer.
Continue reading “This Cetus Printer Is Rigged For Silent Running”
File this one under, ‘don’t do this yourself, but we’re glad they filmed it.’ [Denis Koryakin] flew a quadcopter to 10km, or about 33,000 feet. This was just an experiment to see if it was possible. A few items of note from the video: this thing was climbing at 14-15 m/s when it first took off. It was barely climbing at 2 m/s at 10km. Second: it was really, really cold. The ground temperature was -10 C, and temperatures at 8km reached -50 C. Density altitude is on this guy’s side, and I don’t know if this would be possible in warmer temperatures.
Hold on to your hats, there’s a gigantic space station that’s going to crash sometime in the next few weeks. Tiangong-1, an 8-ton space station launched in 2011, is going to reenter the atmosphere ‘sometime between March 30 and April 6’. Because of orbits and stuff, it’s more likely to reenter at the highest latitudes, and this space station has an inclination of 42.7 degrees. If your latitude is 42° N or 42° S, you should probably pull a Liza Minnelli on this situation and spend the next month in bed.
Hey, cool! The Tindie Badge is being used to teach orphans in Bosnia how to solder.
The BBC has decided to cancel Robot Wars. No, it’s not Battlebots — the house robots always seemed to be a bit overkill and added too much drama. No, it’s not Scrapheap Challenge or Junkyard Wars, but Robot Wars was legitimately fun, and cheap-to-produce reality TV. The engineering that went into these bots was amazing, and this is a loss for the entire engineering community. Here’s a change.org petition against its cancellation, but we all know how successful those change.org petitions can be.
FREE CHIPS!. Free motor drivers, actually, which is even more impressive. Aisler puts together BOMs for projects and such — think of it as an on-demand kitting service. They’re throwing in free Trinamic drivers with orders. Someone should build a motor driver breakout.
It’s understood that 3D printers and CNC machines need to control motors, but there are a few other niceties that are always good to have. It would be great if the controller board ran Linux, had support for a nice display, and had some sort of networking. The usual way of going about this is either driving a CNC machine from a desktop, or by adding a Raspberry Pi to a 3D printer.
The best solution to this problem is to just drive everything from a BeagleBone. This will give you Linux, and with a few motor drivers you can have access to the fancy PRUs in the BeagleBone giving you fast precise control. For the last few years, the Replicape has been the board you need to plug a BeagleBone into a few motors. Now, there’s a better, cheaper solution. At the Midwest RepRap Festival this weekend, [Elias Bakken] has unveiled the Revolve, a single board that combines Octavo Systems’ OSD3358 ‘BeagleBone On A Chip’ with silent TMC2130 motor drivers from Trinamic. It’s an all-in-one 3D printer controller board that runs Linux.
The specs for the Revolve are more or less exactly what you would expect for a BeagleBone with a 3D printer controller. The main chip is the Octavo Systems OSB3358, there are six TMC2130 stepper drivers from Trinamic connected directly to the PRUs, 4 GB of eMMC, 4 USB host ports, 10/100 Ethernet, 1080p HDMI out, and enough headers for all the weird and wonderful 3D printers out there. The software is based on Redeem, a daemon that simply turns G-code into spinning motors and switching MOSFETs.
The price hasn’t been set, but [Elias] expects it to be somewhere north of $100, and a bit south of $150. That’s not bad for a board that effectively does everything from online printer monitoring to real-time motion control. There’s no date for the release of this board, but as with most things involving 3D printer, the best place to check for updates is Google+.
A few months ago, [Marco] picked up a cheap, cheap, cheap laser engraver from one of the familiar Chinese resellers. It’s a simple affair with aluminum extrusions, a diode laser, and a control board that seems like it was taken from a 3D printer controller designed five years ago. Now, [Marko] is building some upgrades for this engraver and his PCB production skills have gone through the roof.
The laser engraver [Marko] picked up is called the EleksMaker, and lucky for him there are quite a few upgrades available on Thingiverse. He found two 3D printable parts, one that keeps the belt parallel to the aluminum extrusion, and another that provides adjustable x-axis tightness on the belt. With these two mods combined, [Marko] actually has a nice, smooth motion platform that’s more precise and makes better engravings.
These upgrades weren’t all 3D-printable; [Marko] also got his hands on a few Trinamic TMC2130 stepper motor drivers. These stepper drivers are the new hotness in 3D printing and other desktop CNC machines, and looking at the waveform in an oscilloscope, it’s easy to see why. These drivers produce a perfectly smooth waveform via interpreted microstepping, and they’re almost silent in operation. That’s terrible if you want to build a CNC chiptune player, but great if you want smooth engraving on a piece of copper clad board.
This project has come a long way since the last time we took a look at it a few months ago, and the results just keep getting better. [Marko] is making real PCBs with a laser engraver that cost less than $200, and the upgrades he’s already put into it don’t add up to much, either. You can take a look at [Marko]’s progress in the video below.
Thanks [dechemist] for the tip.
Continue reading “Improving Cheap Laser Engravers For PCB Fabrication”
Adjust the phase current, crank up the microstepping, and forget about it — that’s what most people want out of a stepper motor driver IC. Although they power most of our CNC machines and 3D printers, as monolithic solutions to “make it spin”, we don’t often pay much attention to them.
In this article, I’ll be looking at the Trinamic TMC2130 stepper motor driver, one that comes with more bells and whistles than you might ever need. On the one hand, this driver can be configured through its SPI interface to suit virtually any application that employs a stepper motor. On the other hand, you can also write directly to the coil current registers and expand the scope of applicability far beyond motors.
Continue reading “3D Printering: Trinamic TMC2130 Stepper Motor Drivers”