Stepper Motor Mods Improve CNC Flat Coil Winder

Finding just the right off-the-shelf part to complete a project is a satisfying experience – buy it, bolt it on, get on with business. Things don’t always work out so easily, though, which often requires the even more satisfying experience of modifying an existing part to do the job. Modifying a stepper motor by drilling a hole down its shaft probably qualifies for the satisfying mod of the year award.

That’s what [Russ] did to make needed improvements to his CNC flat-coil winder, which uses a modified delta-style 3D-printer to roll fine magnet wire out onto adhesive paper to form beautiful coils of various sizes and shapes. [Russ] has been tweaking his design since we featured it and coming up with better and better coils. While experimenting, the passive roller at the business end proved to be a liability. The problem was that the contact point lagged behind the center axis of the delta, leading to problems with the G-code. [Russ] figured that a new tool with the contact point at the dead center would help. The downside would be having to actively swivel the tool in concert with the X- and Y-axis movements. The video below shows his mods, which include disassembling the NEMA-17 stepper and drilling out the shaft to pass the coil wire. [Russ] also spent some time reversing the rotor in the frame and provided a small preload spring to keep the coil roller in contact with the paper.

A real-time coil winding session starts at the 21:18 mark, and we’ve got to admit it’s oddly soothing to watch. We’re not sure exactly what [Russ] intends to do with these coils, and by his own admission, neither is he. But it’s still pretty cool to see, and the stepper motor mods are a neat trick to keep in mind.

Continue reading “Stepper Motor Mods Improve CNC Flat Coil Winder”

New Part Day: ST’s New 3D Printer Motor Driver

ST has released a new evaluation board for a stepper motor driver. It’ll plug right into your 3D printer, and if you’re looking for a chip to build a cheap 3D printer controller board around, this might be the one.

We’ve come a long way in the field of stepper motor drivers in just a few short years. The first popular driver for RepRap electronics was ‘the Pololu’, a stepper motor carrier board using Allegro’s A4988 driver. If you had a big heat sink, this driver could deliver 2 A per coil, operated between 8 and 35 V, and had microstep resolution down to 1/16th. Was it the best stepper driver around? No, but it was cheap, it was everywhere, and RAMPS, the popular RepRap control electronics picked up on its pinout and accidentally created a standard. The DRV8825 motor driver from TI followed next, with microstepping down to 1/32nd, a little more current per coil, and arguably a better thermal design.

Then the wave of Trinamic drivers happened. The Trinamic TMC2100 was a silent stepper motor driver when running a motor at medium or low speeds. With this driver, you could run a motor more efficiently, which means the motor doesn’t get as hot. There are diagnostics via SPI. Tom liked it, and now in every Prusa i3, you’ll find a bunch of Trinamic drivers.

ST’s new offering, the STSPIN820, doesn’t have the fancy-schmancy features the Trinamic driver does, but the chip itself is fantastically cheap, at about 1/5th the price of a Trinamic driver. As far as feature set, you should probably look at this new chip as an upgrade to the A4988, with much higher microstepping and slightly higher current handling.

If you’d like to experiment with the evaluation module, you can grab one from an ST distributor; at the time of this writing, there were seventeen of these modules available worldwide. If you’d just like to play with the STSPIN820 motor driver chip, ten thousand are available between Mouser and Digikey, starting at $2.97 in quantity one. If someone could tell electronics manufacturers to build more than a dozen evaluation boards at a time, that would be great.

Wind Turbine Pushes Limits Of Desktop 3D Printing

There was a time, not so long ago, when hype for desktop 3D printing as so high that it seemed you could print anything. Just imagine it, and your handy dandy magical 3D printer could manifest it into reality. But now that more people have had first hand experience with the technology, the bubble has burst. Reality has sobered us up a bit, and today we’ve got a much better idea of what can and cannot be printed on a traditional desktop 3D printer.

But that doesn’t mean we aren’t surprised from time to time. As a perfect example, take a look at this almost entirely 3D printed wind turbine designed and built by [Nikola Petrov]. Outside of the electronics, the pole it’s mounted to, and some assorted bits and bobs, he produced all the parts on his own large-format TEVO Black Widow printer. He mentions there are a few things he would do differently if he was to build another one, but it’s hard to find much to complain about with such a gorgeous build.

To be sure, this one isn’t for the 3D printing novice. First of all, you’ll need a printer with a bed that’s at least 370 mm wide just to print the blades. [Nikola] also recommends printing the parts in ABS and coating them with acetone to smooth and harden the outside surfaces. We’d be surprised if you could print such large objects in ABS without a heated enclosure as well, so plan on adding that to your shopping list.

On the flip side though, the electronics are about as simple as they come. The blades are spinning a standard NEMA 17 stepper motor (through a 1:5 gearbox) to produce AC power. This is then fed into two W02M rectifiers and a beefy capacitor, which gives him DC with a minimum of fuss. In theory it should be capable of producing 1A at 12V, which is enough to light LEDs and charge phones. In this design there’s no battery charging circuit or anything like that, as [Nikola] says it’s up to the reader to figure out how to integrate the turbine into their system.

If you don’t think your 3D printing skills are up to the task, no worries. In the past we’ve seen wind turbines built out of ceiling fans, and occasionally, even less.

DIY Wire Bender Gets Wires All Bent Into Shape

It’s been a while since we’ve shown a DIY wire bending machine, and [How To Mechatronics] has come up with an elegant design with easy construction through the use of 3D-printed parts which handle most of the inherent complexity. This one also has a Z-axis so that you can produce 3D wire shapes. And as with all wire bending machines, it’s fun to watch it in action, which you can do in the video below along with seeing the step-by-step construction.

One nice feature is that he’s included a limit switch for automatically positioning the Z-axis when you first turn it on. It also uses a single 12 volt supply for all the motors, and the Arduino that acts as the brains. The 5 volts for the one servo motor is converted from 12 using an LM7805 voltage regulator. He’s also done a nice job packaging the Arduino, stepper motor driver boards, and the discrete components all onto a single custom surface mount PCB.

Wire straightener and feeder
Wire straightener and feeder

The bender isn’t without some issues though, such as that there’s no automatic method for giving it bending instructions. You can write code for the steps into an Arduino sketch, which is really just a lot of copy and paste, and he’s also provided a manual mode. In manual mode, you give it simple commands from a serial terminal. However, it would be only one step more to get those same commands from a file, or perhaps even convert from G-code or some other format.

Another issue is that the wire straightener puts too much tension on the wire, preventing the feeder from being able to pull the wire along. One solution is to feed it pre-straightened wire, not too much to ask for since it’s really the bending we’re after. But fixing this problem outright could be as simple as changing two parts. For the feeder, the wire is pulled between copper pipe and a flat steel bearing, and we can’t help wondering whether perhaps replacing them with a knurled cylinder and a grooved one would work as the people at [PENSA] did with their DIWire which we wrote about back in 2012. Sadly, the blog entries we linked to no longer work but a search shows that their instructable is still up if you want to check out their feeder parts.

As for the applications, we can think of sculpting, fractal antennas, tracks for marble machines, and really anything which could use a wireframe for its structure. Ideas anyone?

Continue reading “DIY Wire Bender Gets Wires All Bent Into Shape”

Sushi-Snarfing Barbie Uses Solenoid to Swallow

The view from America has long seen French women as synonymous with thin and/or beautiful. France is well-known for culinary skill and delights, and yet many of its female inhabitants seem to view eating heartily as passé. At a recent workshop devoted to creating DIY amusements, [Niklas Roy] and [Kati Hyyppä] built an electro-mechanical sushi-eating game starring Barbie, American icon of the feminine ideal. The goal of the game is to feed her well and inspire a happy relationship with food.

Built in just three days, J’ai faim! (translation: I’m hungry!) lets the player satiate Barbie one randomly lit piece of sushi at a time. Each piece has a companion LED mounted beneath the surface that’s connected in series to the one on the game board. Qualifying sushi are determined by a photocell strapped to the underside of Barbie’s tongue, which detects light from the hidden LED. Players must race against the clock to eat each piece, taking Barbie up the satisfaction meter from ‘starving’ to ‘well-fed’. Gobble an unlit piece, and the score goes down.

The game is controlled with a lovely pink lollipop of a joystick, which was the main inspiration for the game. Players move her head with left and right, and pull down to engage the solenoid that pushes her comically long tongue out of her button-nosed face. Barbie’s brain is an Arduino Uno, which also controls the stepper motor that moves her head.

[Niklas] and [Kati] wound up using cardboard end stops inside the box instead of trying to count the rapidly changing steps as she swivels around. The first motor they used was too weak to move her head. The second one worked, but the game’s popularity combined with the end stops did a number on the gears after a day or so. Click past the break to sink your teeth into the demo video.

Barbie can do more than teach young girls healthy eating habits. She can also teach them about cryptography.

Continue reading “Sushi-Snarfing Barbie Uses Solenoid to Swallow”

Open Source Laboratory Rocker is Super Smooth

Lab equipment is often expensive, but budgets can be tight and not always up to getting small labs or researchers what they need. That’s why [akshay_d21] designed an Open Source Lab Rocker with a modular tray that uses commonly available hardware and 3D printed parts. The device generates precisely controlled, smooth motion to perform automated mild to moderately aggressive mixing of samples by tilting the attached tray in a see-saw motion. It can accommodate either a beaker or test tubes, but since the tray is modular, different trays can be designed to fit specific needs.

Source code and schematics are available from [akshay_d21]’s Google Drive and the 3D models are also available from the National Institute of Health’s 3D Print Exchange. A demonstration video is embedded below, in which you can see how smooth and controlled the motions are.

Continue reading “Open Source Laboratory Rocker is Super Smooth”

Stepper Motor? Encoder? It’s Both!

We always think it is interesting that a regular DC motor and a generator are about the same thing. Sure, each is optimized for its purpose, but inefficiencies aside, you can use electricity to rotate a shaft or use a rotating shaft to generate electricity. [Andriyf1] has a slightly different trick. He shows how to use a stepper motor as an encoder. You can see a video of the setup below.

It makes sense. If the coils in the stepper can move the shaft, then moving the shaft should induce a current in the coils. He does note that at slow speeds you can miss pulses, however. Again, the device isn’t really optimized for this type of operation.

The circuit uses an opamp-based differential amplifier to read the pulses from the coil. Two opamps on two coils produce a quadrature signal just like a normal encoder. When the shaft turns in one direction, one pulse will lead the other. In the other direction, the lead pulse will be reversed.

There’s code to let an Arduino read the pulses. And here’s plenty of code that will read quadrature on an Arduino or other processors. We’ve seen similar hacks done with hard drive motors which are quite similar, by the way.

Continue reading “Stepper Motor? Encoder? It’s Both!”