3D Printering: Trinamic TMC2130 Stepper Motor Drivers

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”

The Hackaday Prize: An Open Electric Wheelchair

[Irene Sans] and [Alvaro Ferrán Cifuentes] feel that electric wheelchairs are still too expensive. On top of that, as each person’s needs are a little different, usually don’t exactly fit the problems a wheelchair user might face. To this end they’ve begun the process of creating an open wheelchair design which they’ve appropriately dubbed OpenChair.

As has been shown in the Hackaday Prize before, there’s a lot of things left to be desired in the assistive space. Things are generally expensive. This would be fine, but often insurance doesn’t cover it or it’s out of the range of those in developing nations.  As always, the best way to finish is to start, so that’s just what [Irene] and [Alvaro] has done.

They based their initial design on the folding wheel chair we all know. It’s robust enough for daily use and is fairly standard around the world. They designed a set of accessories to make the wheelchair more livable for daily use as well as incorporating the controls.

The next problem was locomotion. Finding an off-the-shelf motor that was powerful enough without breaking the budget was proving  difficult, but they had an epiphany. Why not use mass production toy crap to their advantage. The “hoverboards” that were all the rage this past commerical holiday season were able to roll a person around, so naturally a wheelchair would be within the power range.

They extracted the two 350 watt hub motors, batteries, and control boards. It took a bit of reverse engineering but they were able to get the hub drive motors of the hoverboard integrated with the controls on their wheelchair.

In the end they were able to cut the price of a regular electric wheelchair in half with their first iteration and set the foundation for future work on an open electric wheelchair system. Certainly more work could bring even better improvements.

The Healthy Maker: Tackling Vapors, Fumes And Heavy Metals

Fearless makers are conquering ever more fields of engineering and science, finding out that curiosity and common sense is all it takes to tackle any DIY project. Great things can be accomplished, and nothing is rocket science. Except for rocket science of course, and we’re not afraid of that either. Soldering, welding, 3D printing, and the fine art of laminating composites are skills that cannot be unlearned once mastered. Unfortunately, neither can the long-term damage caused by fumes, toxic gasses and heavy metals. Take a moment, read the material safety datasheets, and incorporate the following, simple practices and gears into your projects.

Continue reading “The Healthy Maker: Tackling Vapors, Fumes And Heavy Metals”

An ESP8266 In Every Light Switch And Outlet

[Hristo Borisov] shows us his clever home automation project, a nicely packaged WiFi switchable wall socket. The ESP8266 has continuously proven itself to be a home automation panacea. Since the ESP8266 is practically a given at this point, the bragging rights have switched over to the skill with which the solution is implemented. By that metric, [Hristo]’s solution is pretty dang nice.

esp8266-smart-lightswitchIt’s all based around a simple board. An encapsulated power supply converts the 220V offered by the Bulgarian power authorities into two rails of 3.3V and 5V respectively. The 3.3V is used for an ESP8266 whose primary concern is the control of a triac and an RGB LED. The 5V is optional if the user decides to add a shield that needs it. That’s right, your light switches will now have their own shields that decide the complexity of the device.

The core module seen to the right contains the actual board. All it needs is AC on one side and something to switch or control on the other The enclosure is not shown (only the lid with the shield connectors is seen) but can be printed in a form factor that includes a cord to plug into an outlet, or with a metal flange to attach to an electrical box in the wall. The modules that mate with the core are also nicely packaged in a 3D printed shield. For example, to convert a lamp to wireless control, you use a shield with a power socket on it. To convert a light switch, use the control module that has a box flange and then any number of custom switch and display shields can be hot swapped on it.

It’s all controllable from command line, webpage, and even an iOS app; all of it is available on his GitHub. We’d love to hear your take on safety, modularity, and overall system design. We think [Hristo] has built a better light switch!

Custom Gaming Keypad Developed With PSoC And Fusion 360

There was a time when building something yourself probably meant it didn’t look very much like a commercial product. That’s not always a bad thing. We’ve seen many custom builds that are nearly works of art. We’ve also seen plenty of builds that are–ahem–let’s say were “hacker chic”.

[AlexanderBrevig] decided to take on a project using a PSoC development board he picked up. In particular, he wanted to build a custom game keypad. He prototyped a number of switches with the board and got the firmware working so that the device looks like a USB HID keyboard.

Continue reading “Custom Gaming Keypad Developed With PSoC And Fusion 360”

3D Printing School Of Knocks

Unless you are under age 20, there are probably things you know now that you wish you knew growing up. Even on hacker projects, it isn’t unusual to do better on your second whatchamacallit than on your first one. After all, you learn something each time and apply it to subsequent builds.

[James Lewis] (sometimes known as the [Bald Engineer]) has spent a couple of years with a 3D printer. He says that as of March this year, he had used the machine for about 75 hours. Since then his usage went up to 300 hours because he’s finally learned his lessons about how to get good prints.

If you are experienced, you might not be surprised at the first tip: level the bed. Don’t let that fool you, though. [James] has some good tips on advanced bed materials and print filament, too.

Continue reading “3D Printing School Of Knocks”

NES Zapper: Improved With Lasers

The Zapper gun from the original Nintendo was ahead of its time. That time, though, was around 30 years ago and the iconic controller won’t even work with most modern televisions. With a little tinkering they can be made to work, but if you want to go in a different direction they can be made to do all kinds of other things, too. For example, this one can shoot green lasers and be used as a mouse.

The laser pointer was installed in the gun using a set of 3D printed rings to make sure the alignment was correct. It’s powered with a Sparkfun battery pack and control board which all fit into the gun’s case. The laser isn’t where the gun really shines, though. There’s a Wiimote shoved in there too that allows the gun to be used as a mouse pointer when using it with a projector. Be sure to check out the video below to see it in action. Nothing like mixing a little bit of modern Nintendo with a classic!

The Wiimote is a great platform for interacting with a computer. Since the Wii was released it’s been relatively easy to interface with them via Bluetooth. One of the classic Wiimote hacks is using an IR pen and projector to create a Smart Board of sorts for a fraction of the price. They’ve also been used with some pretty interesting VR displays.

Continue reading “NES Zapper: Improved With Lasers”