The Complete Beginner’s Guide To Building A CNC Machine

Despite appearances, [This Old Tony]’s latest series has little to do with CNC-ifying an Etch A Sketch. Although he certainly achieves that, more or less, automating the classic toy is just the hook for a thorough lesson in CNC machine building starting with the basics.

Fair warning: we said basics, and we mean it. [Old Tony]’s intended audience is those who haven’t made the leap into a CNC build yet and need the big picture. Part one concentrates on the hardware involved – the steppers, drivers, and controller. He starts with one of those all-in-one eBay packages, although he did upgrade the motion controller to a Mach4 compatible board; still, the lessons should apply to most hardware.

By the end of part one, the Etch A Sketch is connected to two of the steppers and everything is wired up and ready to go for part two, the first part of which is all about inputs and outputs. Again, this is basic stuff, like how relays work and why you might need to use them. But that’s the kind of stuff that can baffle beginners and turn them off to the hobby, so kudos to [Old Tony] for the overview. The bulk of the second part is about configuring Mach4 Hobby, with a ton of detail and some great tips and tricks for getting a machine ready to break some end mills.

For someone looking to get into a CNC build, [Old Tony]’s hard-won CNC experience really fills in the gaps left by other tutorials. And it looks like a third part, dealing with making all this into something more than an automated Etch A Sketch, is in the works. We’re looking forward to that.

Continue reading “The Complete Beginner’s Guide To Building A CNC Machine”

One-Legged Jumping Robot Shows That Control Is Everything

Robots that can jump have been seen before, but a robot that jumps all the time is a little different. Salto-1P is a one-legged jumping robot at UC Berkeley, and back in 2017 it demonstrated the ability to hop continuously with enough control to keep itself balanced. Since then it has been taught some new tricks; having moved beyond basic stability it can now jump around and upon things with an impressive degree of control.

Key to doing this is the ability to plant its single foot exactly where it wants, which allows for more complex behaviors such as hopping onto and across different objects. [Justin Yim] shows this off in the video embedded below, which demonstrates the Salto-1P bouncing around in a remarkably controlled fashion, even on non-ideal things like canted surfaces. Two small propellers allow the robot to twist in midair, but all the motive force comes from the single leg.

Continue reading “One-Legged Jumping Robot Shows That Control Is Everything”

Maker Faire NY: Getting Physical with Minecraft

If you’ve been hanging around Hackaday for a while, you’ve likely seen a few attempts to bridge the real world with the voxel paradise that is Minecraft. In the past, projects have connected physical switches to virtual devices in the game, or took chunks of the game’s blocky landscape and turned it into a 3D printable file. These were interesting enough endeavors, but fairly limited in their scope. They assumed you had an existing world or creation in Minecraft that you wanted to fiddle with in a more natural way, but didn’t do much for actually playing the game.

But “Physical Minecraft” presented at the 2018 World Maker Faire in New York, offered a unique way to bring players a bit closer to their cubic counterparts. Created by [Manav Gagvani], the physical interface has players use a motion detecting wand in combination with an array of miniature Minecraft blocks to build in the virtual world.

The wand even detects various gestures to activate an array of “Spells”, which are effectively automated build commands. For example, pushing the wand forward while making a twisting motion will automatically create a tunnel out of the selected block type. This not only makes building faster in the game, but encourages the player to experiment with different gestures and motions.

A Raspberry Pi 3 runs the game and uses its onboard Bluetooth to communicate with the 3D printed wand, which itself contains a MetaWear wearable sensor board. By capturing his own moves and graphing the resulting data with a spreadsheet, [Manav] was able to boil down complex gestures into an array of integer values which he plugged into his Python code. When the script sees a sequence of values it recognizes, the relevant commands get passed onto the running instance of Minecraft.

You might assume the wand itself is detecting which material block is attached to it, but that bit of magic is actually happening in the base the blocks sit on. Rather than trying to uniquely identify each block with RFID or something along those lines, [Manav] embedded an array of reed switches into the base which are triggered by the presence of the magnet hidden in each block.

These switches are connected directly to the GPIO pins of the Raspberry Pi, and make for a very easy way to determine which block has been removed and installed on the tip of the wand. Things can get tricky if the blocks are put into the wrong positions or more than one block are removed at a time, but for the most part it’s an effective way to tackle the problem without making everything overly complex.

We’ve often talked about how kid’s love for Minecraft has been used as a way of getting them involved in STEM projects, and “Physical Minecraft” was a perfect example. There was a line of young players waiting for their turn on the wand, even though what they were effectively “playing” was the digital equivalent of tossing rocks. [Manav] would hand them the wand and explain the general idea behind his interface, reminding them that the blocks in the game are large and heavy: it’s not enough to just lower the wand, it needs to be flicked with the speed and force appropriate for the hefty objects their digital avatar is moving around.

Getting kids excited about hardware, software, and performing physically demanding activities at the same time is an exceptionally difficult task. Projects like “Physical Minecraft” show there can be more to playing games than mindless button mashing, and represent something of a paradigm shift for how we handle STEM education in an increasingly digital world.

Gesture Control without Fancy Sensors, Just Pots and Weights

[Dennis] aims to make robotic control a more intuitive affair by ditching joysticks and buttons, and using wireless gesture controls in their place. What’s curious is that there isn’t an accelerometer or gyro anywhere to be seen in his Palm Power! project.

The gesture sensing consists not of a fancy IMU, but of two potentiometers (one for each axis) with offset weights attached to the shafts. When the hand tilts, the weights turn the shafts of the pots, and the resulting readings are turned into motion commands and sent over Bluetooth. The design certainly has a what-you-see-is-what-you-get aspect to it, and as a whole it works much like an inverted, weighted joystick hanging from one’s palm.

It’s an economical way to play with the idea of motion sensing, and when it comes to prototyping, being able to test a concept while keeping costs to a minimum is a good skill to have.

Simple Camera Slider Adds a Dimension or Two to Your Shots

Camera sliders are a popular build, and properly executed they can make for impressive shots for both time-lapse sequences or real-time action. But they seem best suited for long shots, as dollying a camera in a straight line just moves subjects close to the camera through the frame.

This slider with both pan and tilt axes can make moving close-ups a lot easier. With his extremely detailed build log, [Dejan Nedalkovski] shows how he went about building his with only the simplest of materials and tools. The linear rail is simply a couple of pieces of copper pipe supported by an MDF frame. The camera trolley rides the rails on common skateboard bearings and is driven by a NEMA-17 stepper, as are the pan and tilt axes. [Dejan] also provided a barn-door style pivot to tilt the camera relative to the rails, allowing the camera to slide up and down an inclined plane for really interesting shots. The controller uses an Arduino and a joystick to drive the camera manually, or the rig can be programmed to move smoothly between preset points.

This is a step beyond a simple slider and feels a little more like full-blown motion control. We’ve got a feeling some pretty dramatic shots would be possible with such a rig, and the fact that it’s a simple build is just icing on the cake.

Continue reading “Simple Camera Slider Adds a Dimension or Two to Your Shots”

Nintendo Switch Gets Making with Labo

Over the years, Nintendo has had little trouble printing money with their various gaming systems. While they’ve had the odd misstep here and there since the original Nintendo Entertainment System was released in 1983, overall business has been good. But even for the company that essentially brought home video games to the mainstream, this last year has been pretty huge. The release of the Nintendo Switch has rocketed the Japanese gaming giant back into the limelight in a way they haven’t enjoyed in a number of years, and now they’re looking to keep that momentum going into 2018 with a killer new gaming accessory: a cardboard box.

Some of the contraptions feature surprisingly complex internal mechanisms.

Well, it doesn’t have to be a box, necessarily. But no matter which way you fold it, it’s definitely a piece of cardboard. Maybe a few bits of string here and there. This is the world of “Nintendo Labo”, a recently announced program which promises to let Switch owners create physical objects which they can interact with via specially designed software for the console.

The Labo creations demonstrated in the bombastic announcement video make clever use of the very unique Switch hardware. The removable Joy-Con controllers are generally still used as input devices, albeit in less traditional ways. Twisting and tilting the cardboard creations, which take varied forms such as a fishing rod or motorcycle handlebars, relays input to the appropriate game thanks to the accelerometers and gyroscopes they contain.

Many of the more complex contraptions rely on a less-known feature of the controller: the IR depth camera. By pointing the controller’s camera inside of the devices, the motion of internal components, likely helped along by IR-reflective tape, can be tracked in three dimensions. In the video, the internal construction of some of the devices looks downright intimidating.

Which leads into the natural question: “Who exactly is this for?”

Clearly some of the gadgets, not to mention the folded cardboard construction, are aimed at children, an age group Nintendo has never been ashamed to appeal to. But some of the more advanced devices and overall concept seems like it would play better with creative teens and adults looking to push the Switch in new directions.

Will users be empowered to create their own hardware, and by extension, associated software? Will hackers and makers be able to 3D print new input devices for the Switch using this platform? This is definitely something we’ll be keeping a close eye on as it gets closer to release in April.

The popularity of the Switch has already given rise to a surprising amount of hacking given how new the console is. It will be interesting to see if the introduction of Labo has any effect on the impressive work already being done to bend the console to the owner’s will.

Continue reading “Nintendo Switch Gets Making with Labo”

Derek Schulte: Path Planning for 3D Printers

[Derek Schulte] designed and sells a consumer 3D printer, and that gives him a lot of insight into what makes them tick. His printer, the New Matter MOD-t, is different from the 3D printer that you’re using now in a few different ways. Most interestingly, it uses closed-loop feedback and DC motors instead of steppers, and it uses a fairly beefy 32-bit ARM processor instead of the glorified Arduino Uno that’s running many printers out there.

The first of these choices meant that [Derek] had to write his own motor control and path planning software, and the second means that he has the processing to back it up. In his talk, he goes into real detail about how they ended up with the path planning system they did, and exactly how it works. If you’ve ever thought hard about how a physical printhead, with momentum, makes the infinitely sharp corners that it’s being told to in the G-code, this talk is for you. (Spoiler: it doesn’t break the laws of physics, and navigating through the curve involves math.)

Continue reading “Derek Schulte: Path Planning for 3D Printers”